@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }

:root {
  --navy-deep: #061e3a;
  --navy: #0a3d67;
  --cyan: #19cbe3;
  --cyan-dark: #0b6f80;
  --lime: #bcf35b;
  --white: #fff;
  --pale: #eef5fa;
  --ink: #243443;
  --rule: #d5e1ea;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
h1, h2, h3 { color: var(--navy-deep); line-height: 1.2; font-weight: 600; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
a { color: var(--cyan-dark); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow > *, .text-limit { max-width: 760px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-pale { background: var(--pale); }
.section-dark { background: var(--navy-deep); color: rgba(255, 255, 255, .9); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a:not(.btn) { color: var(--cyan); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: .8em; }
.section-dark .eyebrow { color: var(--cyan); }
.lead { font-size: 1.2rem; }
.more { font-weight: 600; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 12px 16px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons: 44px touch target */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--lime); color: var(--navy-deep); }
.btn-primary:hover { background: #d3f98c; color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy-deep); }
.btn-ghost-dark { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost-dark:hover { background: var(--navy-deep); color: var(--white); }
.btn-small { padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
.btn[disabled], button[disabled] { opacity: .65; cursor: progress; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--navy-deep); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { color: var(--white); font-weight: 600; font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
a.brand:hover { color: var(--cyan); }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--white); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--lime); }
.nav-wide { margin-left: auto; }
.nav-wide ul { display: flex; gap: 22px; }
.menu { display: none; margin-left: auto; color: var(--white); }
.menu summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; list-style: none; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--navy-deep); padding: 8px 20px 20px; }
.menu nav a { display: block; padding: 11px 0; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero { background: radial-gradient(circle at 78% 35%, #0f4d80 0, var(--navy-deep) 55%); color: rgba(255, 255, 255, .88); padding-block: clamp(48px, 7vw, 96px) 28px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--cyan); }
.hero-claim { color: var(--white); font-weight: 600; }
.btn-link { color: var(--cyan); text-decoration: underline; padding-inline: 8px; }
.btn-link:hover { color: var(--white); }
.ring { margin: 0; text-align: center; }
.ring svg { width: min(100%, 440px); height: auto; }
.ring figcaption { color: var(--white); font-size: 1.3rem; font-weight: 600; margin-top: 12px; }
.ring figcaption span { display: block; color: var(--cyan); font-size: .95rem; font-weight: 500; }
.milestones { margin: clamp(32px, 5vw, 56px) 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); color: var(--lime); font-size: 1.15rem; font-weight: 600; }

/* Cards */
.card-grid, .principle-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.principle-grid { grid-template-columns: repeat(5, 1fr); counter-reset: none; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 3px rgba(6, 30, 58, .06); }
.card p:last-child { margin-bottom: 0; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.council { background: var(--navy-deep); border-color: var(--navy-deep); }
.council h3 { color: var(--white); margin: 0; }
.icon { display: block; width: 36px; height: 36px; color: var(--cyan-dark); margin-bottom: 14px; }
.section-dark .icon { color: var(--lime); width: 44px; height: 44px; }
.split-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); margin-bottom: 36px; }
.two-col.center { align-items: center; }
.section-pale .card { border-color: transparent; }
.principle-grid .card { padding: 0; }
.principle-grid a { display: block; padding: 18px; color: var(--navy-deep); font-weight: 500; font-size: .95rem; line-height: 1.35; text-decoration: none; height: 100%; }
.principle-grid .num { display: block; font-size: 1.6rem; margin-bottom: 8px; }
.principle-grid a:hover { background: var(--pale); border-radius: var(--radius); }
.num { color: var(--cyan-dark); font-weight: 600; margin-right: 4px; }
.status, .meta { font-size: .9rem; color: #4d6070; margin-bottom: .6em; }
.status { display: inline-block; font-weight: 600; color: var(--navy); background: var(--pale); border-radius: 999px; padding: 3px 12px; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.flow { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 32px; }
.flow-box { background: var(--pale); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--navy-deep); height: 100%; }
.flow-box strong, .flow-box span { display: block; }
.flow-box strong { font-size: 1.15rem; }
.flow-box span { font-size: .9rem; margin-top: 4px; }
.flow-box.mid { background: var(--navy-deep); color: var(--white); }
.flow-box.lime { background: var(--lime); }
.flow-arrow { color: var(--cyan-dark); font-size: 1.5rem; text-align: center; }
.tagline { margin-top: 24px; }

/* Forum chart */
.org { display: grid; gap: 14px; justify-items: center; margin-block: 28px; }
.org-box { background: var(--pale); border-radius: var(--radius); padding: 16px 20px; text-align: center; width: min(620px, 100%); }
.org-box strong { display: block; color: var(--navy-deep); }
.org-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.org-row .org-box { width: auto; }
.org > * + * { position: relative; }
.org > * + *::before { content: ""; position: absolute; left: 50%; top: -14px; height: 14px; border-left: 2px solid var(--cyan-dark); }
.proposed-note { font-weight: 600; color: var(--navy); }

/* Principles page */
.principle { padding-block: 32px; border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.principle h2 { font-size: 1.5rem; }
.principle-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principle h3 { margin: 0 0 .3em; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-dark); }
.principle p { margin: 0; font-size: 1rem; }

/* Home extras */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefits li { background: var(--white); border-radius: var(--radius); padding: 18px; font-weight: 500; color: var(--navy-deep); line-height: 1.35; }
.deadline { border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.deadline .year { color: var(--lime); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; line-height: 1; margin-bottom: .2em; }
.section-dark .deadline h3 { font-size: 1.3rem; }
.stats { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.stats p { margin: 0; line-height: 1.3; }
.stats strong { display: block; color: var(--navy-deep); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; }
.stats .plus { color: var(--cyan-dark); font-size: 2rem; }
.founder { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder figure { margin: 0; }
.founder img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.founder figcaption { font-size: .8rem; color: #4d6070; margin-top: 6px; }

/* Publications */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters a { padding: 9px 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; color: var(--navy-deep); }
.filters a[aria-current] { background: var(--navy-deep); color: var(--white); }
.card h2 { font-size: 1.25rem; }

/* Forms */
.form { display: grid; gap: 10px; margin-top: 16px; }
.form label { font-weight: 500; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #7d93a5; border-radius: 8px; font: inherit; color: var(--ink); background: var(--white); }
.form .check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 400; font-size: .95rem; margin-top: 6px; }
.form .check input { width: 22px; height: 22px; margin: 2px 0 0; }
.form button { justify-self: start; margin-top: 8px; }
.helper { font-size: .9rem; margin: 0; }
.trap { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.errors { background: #fdecea; border: 1px solid #b3261e; border-radius: 8px; padding: 14px 16px; color: #5c1410; }
.errors p { margin-bottom: .3em; font-weight: 600; }
.errors ul { margin: 0; }
.notice { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--cyan-dark); border-radius: 8px; padding: 16px; color: var(--ink); }
.panel { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.panel h2, .panel h3 { color: var(--navy-deep); }
.panel a:not(.btn) { color: var(--cyan-dark); }

/* Footer */
.site-footer { border-top: 4px solid var(--lime); background: var(--navy-deep); color: rgba(255, 255, 255, .85); padding-block: 48px; font-size: .95rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--cyan); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }

/* Console */
.console .counts { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; padding: 0; }
.console .table { overflow-x: auto; margin-bottom: 36px; }
.console table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.console th, .console td { border-bottom: 1px solid var(--rule); padding: 8px; text-align: left; vertical-align: top; }
.filters-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 16px; }

@media (max-width: 1040px) {
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three, .principle-cols { grid-template-columns: 1fr; }
  .nav-wide { display: none; }
  .menu { display: block; }
}
@media (max-width: 800px) {
  .hero-grid, .two-col, .footer-grid, .org-row, .split-head, .founder, .principle-grid { grid-template-columns: 1fr; }
  .founder figure { max-width: 200px; }
  .principle-grid .num { display: inline; font-size: 1rem; margin: 0 4px 0 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 460px) {
  .brand { font-size: 1rem; }
  .btn-small { padding: 8px 10px; font-size: .85rem; }
  .header-row { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
