:root {
  --navy: #16324f;
  --teal: #1f7a8c;
  --saffron: #f4a261;
  --cream: #f8f5ef;
  --slate: #475569;
  --ink: #1f2937;
  --white: #ffffff;
  --line: #dbe4e7;
  --soft-teal: #e8f4f5;
  --soft-saffron: #fff2df;
  --shadow: 0 18px 48px rgba(22, 50, 79, .10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
a { color: #126476; text-decoration-thickness: .09em; text-underline-offset: .16em; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 10; background: var(--white); padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(248,245,239,.96); border-bottom: 1px solid rgba(22,50,79,.10); backdrop-filter: blur(14px); }
.header-inner { position: relative; width: min(1160px, calc(100% - 40px)); margin: auto; min-height: 82px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { display: block; width: 310px; height: auto; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.primary-nav a { color: var(--navy); font-size: .93rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--teal); }
.nav-cta { background: var(--navy); color: var(--white)!important; padding: .6rem .95rem; border-radius: 999px; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(22,50,79,.2); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; font-size: 1.55rem; line-height: 1; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { background: var(--soft-teal); border-color: var(--teal); }
.mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 230px; padding: .55rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.mobile-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: .55rem .8rem; border-radius: 10px; color: var(--navy); font-weight: 750; text-decoration: none; }
.mobile-menu-panel a:hover, .mobile-menu-panel a[aria-current="page"] { background: var(--soft-teal); color: var(--teal); }
.preview-banner { background: var(--soft-saffron); border-bottom: 1px solid #efce9f; color: #6f4411; text-align: center; font-size: .85rem; font-weight: 750; padding: .35rem 1rem; letter-spacing: .02em; }
.page-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 4.5rem 0 5rem; }
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: 30px; padding: clamp(2.2rem, 6vw, 5.5rem); box-shadow: var(--shadow); margin-bottom: 3.5rem; }
.hero::before { content:""; position:absolute; right:-90px; top:-110px; width:360px; height:360px; border-radius:50%; background: rgba(244,162,97,.16); }
.hero::after { content:""; position:absolute; right:110px; bottom:-165px; width:310px; height:310px; border:34px solid rgba(31,122,140,.35); border-radius:50%; }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { color: var(--saffron); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; margin: 0 0 .8rem; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.045em; max-width: 800px; margin: 0 0 1.2rem; }
.hero p { color: #e9f2f3; font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 660px; margin: 0 0 1.6rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.15rem; border-radius: 999px; background: var(--saffron); color: #3d2a10; text-decoration: none; font-weight: 800; }
.button.secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.content-layout { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 3.8rem; align-items: start; }
article.content, .page-content { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 3.5rem); }
.page-content { max-width: 850px; margin: 0 auto; }
.content h1, .page-content h1 { color: var(--navy); font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 1rem; }
h2 { color: var(--navy); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.2; margin: 2.4rem 0 .8rem; letter-spacing: -.018em; }
h3 { color: var(--teal); font-size: 1.18rem; line-height: 1.35; margin: 1.7rem 0 .45rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; margin: .7rem 0 1.2rem; }
li { margin: .36rem 0; }
strong { color: #173957; }
.meta { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 1.7rem; }
.meta span { background: var(--soft-teal); color: #145a68; border-radius: 999px; padding: .28rem .68rem; font-size: .82rem; font-weight: 750; }
.quick-summary { background: var(--soft-teal); border-left: 5px solid var(--teal); border-radius: 16px; padding: 1.15rem 1.35rem; margin: 1.4rem 0 2.1rem; }
.quick-summary h2 { font-size: 1.15rem; margin: 0 0 .45rem; }
.quick-summary ul { margin-bottom: 0; }
.experience-section { background: var(--soft-saffron); border-left: 5px solid var(--saffron); border-radius: 16px; padding: 1.15rem 1.35rem; margin: 2rem 0; }
.experience-section h2 { font-size: 1.15rem; margin: 0 0 .55rem; }
.experience-section p { color: var(--ink); margin-bottom: 0; }
.testing-note { color: #b42318; font-weight: 800; }
.source-list { font-size: .9rem; overflow-wrap: anywhere; }
.source-list li { margin: .65rem 0; }
.disclaimer { margin-top: 2.4rem; padding: 1rem 1.2rem; color: var(--slate); background: #f7f8f9; border-radius: 12px; font-weight: 650; }
.sidebar { position: sticky; top: 120px; }
.sidebar-card { background: var(--navy); color: #eef6f7; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.sidebar-card h2 { color: var(--white); font-size: 1.25rem; margin: 0 0 .6rem; }
.sidebar-card a { color: #f9c183; font-weight: 700; }
.pillar-grid, .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 3rem; }
.card { background: var(--white); border: 1px solid rgba(22,50,79,.09); border-radius: 18px; padding: 1.35rem; box-shadow: 0 10px 30px rgba(22,50,79,.06); }
.card h2, .card h3 { margin: 0 0 .45rem; color: var(--navy); }
.card p { color: var(--slate); font-size: .95rem; }
.card a { font-weight: 800; }
.pillar-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-saffron); color: var(--navy); font-weight: 900; margin-bottom: .8rem; }
.articles-index { max-width: none; }
.pillar-section { padding-top: .4rem; }
.pillar-section + .pillar-section { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.pillar-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.guide-card { display: flex; flex-direction: column; }
.guide-card a { margin-top: auto; align-self: flex-start; }
.empty-state { display: inline-block; margin: .35rem 0 0; padding: .65rem .85rem; border-radius: 10px; background: #f4f6f7; color: var(--slate); font-weight: 700; }
.section-heading { margin: 3.8rem 0 1rem; }
.footer { background: var(--navy); color: #dce9eb; padding: 3rem 0; }
.footer-inner { width: min(1160px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer img { width: 260px; opacity: 1; }
.footer a { color: #f5c28c; }
.footer h2 { color: var(--white); font-size: 1rem; margin: 0 0 .6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer-note { color: #bed0d4; font-size: .86rem; }
.mobile-nav { display: none; }
blockquote { margin: 1.2rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--saffron); background: var(--soft-saffron); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

@media (max-width: 920px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 240px; }
  .primary-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-nav { display: inline; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .pillar-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner, .page-shell, .footer-inner { width: min(100% - 28px, 1160px); }
  .header-inner { gap: .6rem; }
  .brand img { width: 188px; }
  .nav-cta { padding: .5rem .72rem; font-size: .82rem!important; }
  .page-shell { padding: 1.7rem 0 3rem; }
  .hero { border-radius: 22px; padding: 2rem 1.35rem 2.2rem; margin-bottom: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero::before { width: 230px; height: 230px; }
  article.content, .page-content { border-radius: 16px; padding: 1.3rem; }
  .content h1, .page-content h1 { font-size: 2.15rem; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .article-grid { grid-template-columns: 1fr; }
  .topic-card { min-width: 0; padding: 1rem .85rem; }
  .topic-card .pillar-icon { width: 36px; height: 36px; margin-bottom: .55rem; }
  .topic-card h3 { font-size: 1rem; }
  .topic-card p { font-size: .82rem; line-height: 1.45; margin-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
