:root {
  --ink: #18212b;
  --muted: #5f6b75;
  --line: #d9e2e8;
  --paper: #fbfcfb;
  --soft: #eef5f2;
  --accent: #0f766e;
  --accent-dark: #0a4f49;
  --warm: #b8643b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(251, 252, 251, 0.92);
  border-bottom: 1px solid rgba(217, 226, 232, 0.8);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.3rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.88) 38%, rgba(251, 252, 251, 0.42) 70%, rgba(251, 252, 251, 0.1) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 84px);
  padding: 48px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  max-width: 980px;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #32404b;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.notice {
  margin: 0;
  padding: 18px clamp(20px, 6vw, 84px);
  color: #27343d;
  background: #fff7ed;
  border-block: 1px solid #fed7aa;
}

.urgent-care {
  max-width: 980px;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #fecaca;
  border-left: 6px solid #dc2626;
  border-radius: 8px;
  color: #44211f;
  background: #fff5f5;
}

.urgent-care h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.urgent-care p {
  margin: 0;
}

.urgent-care .warning-grid {
  margin-top: 18px;
}

.urgent-care .warning-grid > div {
  border-color: #fecaca;
  background: var(--white);
}

.question-callout {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #bdd4ce;
  border-radius: 8px;
  background: #f3f7f5;
}

.question-callout h2 {
  margin-top: 0 !important;
}

.question-callout .check-list {
  margin-bottom: 0;
}

.question-callout .check-list li {
  background: var(--white);
}

.section,
.page {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 84px);
}

.section.no-pad {
  padding-inline: 0;
  padding-bottom: 0;
}

.intro-grid,
.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section h2,
.page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.section p,
.page p {
  color: var(--muted);
}

.quick-panel,
.question-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-panel h3,
.question-box h2 {
  margin-top: 0;
}

.patient-start {
  background: var(--soft);
}

.patient-start .section-heading p:last-child {
  max-width: 720px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.start-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
}

.start-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 900;
}

.start-card strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.start-card p {
  margin: 0;
  color: var(--muted);
}

.drug-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.drug-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px;
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.drug-card span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.drug-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.drug-card p {
  margin: 0;
}

.drug-card a {
  align-self: end;
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.drug-card.is-hidden {
  display: none;
}

.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.reimbursement-summary {
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.decision-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.decision-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.decision-grid p,
.quick-answer p {
  margin: 0;
}

.quick-answer {
  margin-top: 18px;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid,
.topic-grid,
.process-grid,
.article-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.topic-card,
.article-list article,
.process-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.feature-card h3,
.topic-card h2,
.article-list h3,
.article-list h2 {
  margin: 0 0 10px;
}

.feature-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link,
.article-list a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.quick-links,
.quick-access,
.related-grid,
.document-grid,
.reader-guide,
.page-meta {
  display: grid;
  gap: 12px;
}

.quick-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 28px;
  position: sticky;
  top: 72px;
  z-index: 12;
  padding: 10px 0;
  background: rgba(251, 252, 251, 0.94);
  backdrop-filter: blur(12px);
}

.quick-links::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.quick-links::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #bdd4ce;
}

.quick-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--white);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.quick-access,
.related-grid,
.document-grid,
.reader-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-access a,
.related-grid a,
.document-grid div,
.reader-guide div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
}

.quick-access strong,
.quick-access span,
.related-grid strong,
.related-grid span {
  display: block;
}

.quick-access strong,
.related-grid strong,
.document-grid strong,
.reader-guide strong {
  color: var(--ink);
}

.quick-access span,
.related-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.flow-list {
  display: grid;
  gap: 14px;
  padding-left: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.flow-list li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 900;
}

.flow-list strong {
  color: var(--ink);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: var(--reading-progress, 0%);
  height: 4px;
  background: var(--accent);
}

.page-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -10px 0 24px;
}

.page-meta span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-weight: 750;
}

.reader-guide {
  margin: 28px 0;
}

.reader-guide p {
  margin-bottom: 0;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  font-weight: 850;
  text-decoration: none;
}

.muted-band {
  background: var(--soft);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.latest {
  background: var(--paper);
}

.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page {
  min-height: 68vh;
}

.page-hero {
  max-width: 920px;
  margin-bottom: 34px;
}

.page-hero p:last-child {
  font-size: 1.15rem;
}

.tool-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tool-strip label {
  font-weight: 800;
  white-space: nowrap;
}

.tool-strip input {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.site-search-strip {
  margin-inline: clamp(20px, 6vw, 84px);
}

.search-results {
  max-width: 980px;
  margin: 0 clamp(20px, 6vw, 84px) 28px;
}

.page .search-results {
  margin-inline: 0;
}

.search-results[hidden] {
  display: none;
}

.search-results p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card.is-hidden {
  display: none;
}

.question-box {
  margin-top: 28px;
}

.content-section,
.faq,
.article-body {
  max-width: 980px;
  margin-top: 34px;
}

.content-section h2,
.faq h2,
.article-body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.content-section h3,
.article-body h3 {
  margin: 0 0 8px;
}

.two-column,
.warning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.two-column > div,
.warning-grid > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.warning-grid > div {
  border-color: #fed7aa;
  background: #fffaf3;
  color: #56321d;
  font-weight: 750;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq p {
  margin-bottom: 0;
}

.article-page .page-hero {
  max-width: 980px;
}

.article-body {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-body h2:not(:first-child) {
  margin-top: 32px;
}

.article-body p {
  font-size: 1.06rem;
}

.patient-roadmap {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f7f5;
}

.patient-roadmap h2 {
  max-width: 720px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.roadmap-grid > div {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.roadmap-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.98rem;
}

.roadmap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-card {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 14px;
}

.molecule-detail {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.molecule-detail h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.fact-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid strong {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.source-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.source-list a {
  color: var(--accent-dark);
  font-weight: 750;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.table-wrap::before {
  display: none;
  content: "Tabloyu yana kaydırabilirsiniz";
  position: sticky;
  left: 0;
  padding: 10px 14px;
  color: var(--muted);
  background: #f3f7f5;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
}

.molecule-table {
  max-height: 74vh;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--accent-dark);
  background: var(--soft);
}

.molecule-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 84px);
  color: #dbe7e4;
  background: #13231f;
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #b7c9c4;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #dbe7e4;
  text-decoration: none;
}

@media (max-width: 980px) {
  .feature-grid,
  .topic-grid,
  .article-list,
  .article-list.wide,
  .start-grid,
  .drug-index,
  .quick-links,
  .quick-access,
  .related-grid,
  .document-grid,
  .reader-guide,
  .page-meta,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .intro-grid,
  .two-column,
  .warning-grid,
  .fact-grid,
  .decision-grid,
  .bio-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section,
  .page {
    padding-inline: 16px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
    padding-top: 130px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(251, 252, 251, 0.28) 0%, rgba(251, 252, 251, 0.95) 42%, rgba(251, 252, 251, 1) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .feature-grid,
  .topic-grid,
  .article-list,
  .article-list.wide,
  .start-grid,
  .drug-index,
  .quick-links,
  .quick-access,
  .related-grid,
  .document-grid,
  .reader-guide,
  .page-meta,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    position: static;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 10px 16px 14px;
    scroll-snap-type: x proximity;
  }

  .quick-links a {
    flex: 0 0 auto;
    min-width: max-content;
    max-width: 78vw;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }

  .tool-strip,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-strip {
    padding: 14px;
  }

  .site-search-strip,
  .search-results {
    margin-inline: 0;
  }

  .page-hero {
    margin-bottom: 24px;
  }

  .page-hero p:last-child,
  .article-body p {
    font-size: 1rem;
  }

  .article-body,
  .content-section,
  .patient-roadmap,
  .urgent-care {
    margin-top: 24px;
  }

  .article-body,
  .patient-roadmap,
  .urgent-care {
    padding: 20px;
  }

  .drug-card {
    min-height: auto;
  }

  .table-wrap {
    margin-inline: -16px;
    border-inline: 0;
    border-radius: 0;
  }

  .table-wrap::before {
    display: block;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 12px;
    font-size: 0.95rem;
  }

  .summary-actions .button {
    width: 100%;
  }
}
