/* Surokkha Guide - independent information site. Deep teal + warm neutrals. */
:root {
  --ink: #1d2a2e;
  --muted: #56666b;
  --teal-900: #0f3d44;
  --teal-800: #134e57;
  --teal-700: #1a5f68;
  --teal-600: #1f6f78;
  --teal-100: #dcecec;
  --teal-50: #eef6f5;
  --amber: #b86e2c;
  --amber-600: #9a5a20;
  --amber-100: #fbeedd;
  --sand: #f7f3ec;
  --paper: #fffdf9;
  --line: #e4ddd1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 61, 68, .06), 0 6px 22px rgba(15, 61, 68, .07);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--amber-600); }
h1, h2, h3 { font-family: var(--serif); color: var(--teal-900); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin: .25em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 1.7em 0 .5em; }
h3 { font-size: 1.22rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal-900); color: #fff; padding: 10px 16px; z-index: 50; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Disclaimer strip */
.disclaimer-strip { background: var(--teal-900); color: #e7f2f1; font-size: .84rem; line-height: 1.5; }
.disclaimer-strip .wrap { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; }
.disclaimer-strip strong { color: #f6c177; font-weight: 600; white-space: nowrap; }
.disclaimer-strip a { color: #fff; font-weight: 600; }
.disclaimer-strip a:hover { color: #f6c177; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand img { width: 200px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; align-items: center; }
.main-nav a { display: block; padding: 7px 9px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .88rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.main-nav .nav-official a { background: var(--amber-100); color: var(--amber-600); font-weight: 600; }
.main-nav .nav-official a:hover { background: #f6dfc0; }
.nav-toggle { display: none; background: var(--teal-800); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font: 600 .95rem var(--sans); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--teal-700); color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid var(--teal-700); line-height: 1.3; }
.btn:hover { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-800); }
.btn-ghost:hover { background: var(--teal-50); color: var(--teal-900); }
.btn-official { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-official:hover { background: var(--amber-600); border-color: var(--amber-600); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sand), var(--paper)); padding: 56px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 1216 / 704; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--amber-600); margin: 0 0 .3em; }
.lead { font-size: 1.16rem; color: #36464b; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); border-left: 3px solid var(--amber); padding-left: 12px; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { margin-top: .15em; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: .2em 0; font-size: 1.16rem; }
.card h3 a { color: var(--teal-900); text-decoration: none; }
.card h3 a:hover { color: var(--amber-600); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .meta { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 10px; }
.pill { align-self: flex-start; display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--teal-50); color: var(--teal-700); padding: 4px 10px; border-radius: 999px; text-decoration: none; }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-top: .4em; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 62px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--amber-100); color: var(--amber-600); font-weight: 700; display: grid; place-items: center; }

.band { background: var(--teal-800); color: #eaf4f3; border-radius: 20px; padding: 36px 40px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 .3em; }
.band p { margin: 0; max-width: 640px; }
.person { display: flex; gap: 18px; align-items: flex-start; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.person h3 { margin: 0; }
.person .role { color: var(--amber-600); font-weight: 600; font-size: .9rem; margin: .1em 0 .4em; }

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; padding: 18px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b3aa9b; }
.breadcrumbs a { color: var(--muted); }

/* Article */
.page-head { max-width: 860px; padding: 10px 0 20px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .9rem; color: var(--muted); margin-top: 14px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline .reviewed { color: var(--teal-700); font-weight: 600; }
.featured-img { border-radius: 18px; width: 100%; aspect-ratio: 1024 / 640; object-fit: cover; max-height: 520px; margin-bottom: 30px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 10px 0 56px; align-items: start; }
.prose { max-width: 760px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose h2:first-child { margin-top: .3em; }
.review-line { display: flex; flex-wrap: wrap; gap: 8px 18px; background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 12px; padding: 12px 16px; font-size: .9rem; margin-bottom: 26px; }
.review-line strong { color: var(--teal-800); }
.key-takeaways { background: var(--amber-100); border: 1px solid #f0d6b4; border-left: 5px solid var(--amber); border-radius: 12px; padding: 18px 22px 8px; margin: 26px 0; }
.key-takeaways .kt-title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--teal-900); margin-bottom: .4em; }
.callout { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 12px; padding: 18px 20px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }
.official-cta { border-left: 5px solid var(--teal-700); }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px 6px; margin: 12px 0; background: #fff; }
.faq-item h3 { margin: .8em 0 .3em; font-size: 1.08rem; }
.sources { font-size: .92rem; }
.sources a { word-break: break-word; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; background: #fff; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-50); color: var(--teal-900); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.toc h2 { font-size: 1.05rem; margin: 0 0 .6em; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.toc li { margin-bottom: .45em; }
.toc a { text-decoration: none; }
.toc a[aria-current="page"] { font-weight: 700; color: var(--amber-600); }

.author-box { display: flex; gap: 20px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 36px; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box h2 { font-size: 1.2rem; margin: 0 0 .1em; }
.author-box .label { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.author-box .role { color: var(--amber-600); font-weight: 600; font-size: .9rem; margin-bottom: .4em; }
.author-box p { font-size: .95rem; margin-bottom: .5em; }
.updated { font-size: .88rem; color: var(--muted); }

.profile-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; padding: 26px 0 10px; }
.profile-head img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; box-shadow: var(--shadow); }
.cred-list li { margin-bottom: .5em; }
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-cols h2 { margin-top: .4em; }

/* Footer */
.site-footer { background: var(--teal-900); color: #cfe2e0; padding: 54px 0 24px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f6c177; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #f6c177; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { display: inline-block; background: var(--paper); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.footer-logo img { width: 190px; }
.footer-disclaimer { margin-top: 36px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 18px 20px; font-size: .9rem; line-height: 1.6; }
.footer-disclaimer p { margin: 0 0 .6em; }
.footer-disclaimer p:last-child { margin: 0; }
.footer-disclaimer a { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 26px; padding-top: 18px; font-size: .84rem; color: #a9c6c3; }

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1140px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 16px; }
  .main-nav a { font-size: .98rem; padding: 10px 12px; }
  .header-inner { position: relative; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .profile-head { grid-template-columns: 1fr; text-align: left; }
  .profile-head img { width: 160px; height: 160px; }
  .sitemap-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 26px 22px; }
  .brand img { width: 168px; }
  .author-box { flex-direction: column; }
  .disclaimer-strip .wrap { flex-direction: column; gap: 2px; }
  .section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
