/* GetAccounted Global - site stylesheet
   Single light theme by decision: the site renders identically on devices set to dark mode.
   Layout: white page, navy type, soft-grey alternating bands, champagne gold as hairline accents only.
   One gold-accented action per screen. Typography and structured diagrams over photography. */

:root {
  --navy: #10294B;
  --navy-deep: #0B1D36;
  --gold: #8C6D2F;
  --gold-light: #C9AE78;
  --bg: #FFFFFF;
  --bg-soft: #F4F5F7;
  --fg: #10294B;
  --fg-muted: #51607A;
  --line: #D8DEE8;
  --card: #FFFFFF;
  --band: #10294B;
  --band-fg: #FFFFFF;
  --band-muted: #C3CCDB;
  --focus: #C9AE78;
  --btn-bg: #10294B; --btn-fg: #FFFFFF; --btn-shadow: inset 0 -3px 0 #C9AE78;
  --font: "Inter Tight", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.measure { max-width: 68ch; }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); padding-bottom: 8px; border-bottom: 1px solid var(--gold-light); margin-bottom: 20px; }
.muted { color: var(--fg-muted); }
.small { font-size: 0.92rem; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--fg-muted); }
strong { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand .mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--fg); border-radius: 6px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; color: var(--fg); }
.brand .mark span { color: var(--gold); }
.brand .word { font-size: 1.05rem; }
.brand .logo { height: 44px; width: auto; display: block; }
@media (max-width: 480px) { .brand .logo { height: 36px; } }
.foot-logo { height: 72px; width: auto; display: block; background: #fff; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.brand .word em { font-style: normal; font-weight: 400; color: var(--fg-muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 16px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.nav-list > li { position: relative; }
.nav-list a, .sub-toggle { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--fg); padding: 6px 0; border-bottom: 2px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; cursor: pointer; white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current="page"], .sub-toggle:hover, .sub-toggle[data-current="true"], .sub-toggle[aria-expanded="true"] { border-bottom-color: var(--gold-light); }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: -12px; top: calc(100% + 8px); min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(16,41,75,0.12); display: none; z-index: 30; }
.sub li a { display: block; padding: 10px 16px; border-bottom: 0; white-space: normal; }
.sub li a:hover, .sub li a[aria-current="page"] { background: var(--bg-soft); border-bottom: 0; }
.has-sub.open > .sub, .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.nav-list .nav-cta a.btn-primary { display: inline-block; padding: 10px 16px; background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bg); border-radius: 6px; box-shadow: var(--btn-shadow); font-weight: 600; }
.nav-list .nav-cta a.btn-primary:hover, .nav-list .nav-cta a.btn-primary[aria-current="page"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); opacity: 0.9; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; color: var(--fg); font: inherit; cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .sub-toggle { display: block; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sub { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 4px 14px; min-width: 0; background: transparent; }
  .sub li a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sub-toggle span { display: none; }
  .nav-cta { padding-top: 12px; }
  .nav-cta .btn { display: block; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.98rem; border: 1.5px solid var(--fg); color: var(--fg); background: transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .15s, color .15s, opacity .15s; }
.btn:hover { background: var(--bg-soft); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); box-shadow: var(--btn-shadow); }
.btn-primary:hover { opacity: 0.92; background: var(--btn-bg); }
.band .btn { border-color: var(--band-fg); color: var(--band-fg); }
.band .btn:hover { background: rgba(255,255,255,0.08); }
.band .btn-primary { background: var(--gold-light); color: var(--navy-deep); border-color: var(--gold-light); box-shadow: none; }
.band .btn-primary:hover { background: #D8C394; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.soft { background: var(--bg-soft); }
.section.band, .band { background: var(--band); color: var(--band-fg); }
.band .muted, .band .lead { color: var(--band-muted); }
.band .eyebrow { color: var(--gold-light); border-color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { margin-top: 14px; }
.hero { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero .lead { margin-top: 22px; }
.hero .note { margin-top: 18px; font-size: 0.9rem; color: var(--fg-muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-aside { display: none; } }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-5, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; min-width: 0; }
.card.rule { border-top: 2px solid var(--gold-light); }
.card h3 { margin-bottom: 10px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--fg-muted); font-size: 0.95rem; }
.card ul li + li { margin-top: 4px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-top: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; }
@media (max-width: 620px) { .kv { grid-template-columns: 1fr; } }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--fg-muted); }
.note-line { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg-muted); font-size: 0.95rem; }
.callout { border-left: 3px solid var(--gold-light); padding: 6px 0 6px 20px; font-weight: 600; font-size: 1.05rem; }

/* Retain / strengthen split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split .card h3 { display: flex; align-items: center; gap: 10px; }
.split .tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-light); border-radius: 4px; padding: 3px 7px; }

/* Flow diagrams (horizontal on desktop, vertical on mobile) */
.flow { display: flex; align-items: stretch; gap: 0; margin: 8px 0; }
.flow .step { flex: 1 1 0; min-width: 0; position: relative; padding: 18px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.flow .step + .step { margin-left: 28px; }
.flow .step + .step::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; height: 1.25px; background: var(--gold); }
.flow .step + .step::after { content: ""; position: absolute; left: -10px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 1.25px solid var(--gold); border-right: 1.25px solid var(--gold); transform: rotate(45deg); }
.flow .num { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.flow .step h4 { font-size: 1rem; margin: 6px 0 4px; }
.flow .step p { font-size: 0.9rem; color: var(--fg-muted); }
.flow .step.accent { border-color: var(--gold-light); box-shadow: inset 0 2px 0 var(--gold-light); }
@media (max-width: 900px) {
  .flow { flex-direction: column; }
  .flow .step + .step { margin-left: 0; margin-top: 26px; }
  .flow .step + .step::before { left: 50%; top: -22px; width: 1.25px; height: 16px; }
  .flow .step + .step::after { left: calc(50% - 4px); top: -12px; transform: rotate(135deg); }
}
.zones { display: grid; grid-template-columns: 3fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .zones { grid-template-columns: 1fr; } }
.zone { border: 1px dashed var(--line); border-radius: 10px; padding: 18px; }
.zone-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--fg-muted); margin-bottom: 12px; }
.zone.yours { border-color: var(--gold-light); }
.zone.yours .zone-label { color: var(--gold); }

/* Partnership diagram */
.partner-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; margin: 8px 0 24px; }
.partner-diagram .node { border: 1px solid var(--line); border-radius: 8px; padding: 16px 12px; background: var(--card); min-width: 0; }
.partner-diagram .node.main { border-color: var(--gold-light); box-shadow: inset 0 2px 0 var(--gold-light); }
.partner-diagram .node strong { display: block; font-size: 0.98rem; }
.partner-diagram .node span { font-size: 0.82rem; color: var(--fg-muted); }
.partner-diagram .arrow { color: var(--gold); font-size: 1.1rem; }
@media (max-width: 760px) { .partner-diagram { grid-template-columns: 1fr; } .partner-diagram .arrow { transform: rotate(90deg); } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--fg-muted); max-width: 70ch; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--fg); width: 100%; min-width: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--fg-muted); }
.band .field input, .band .field select, .band .field textarea { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); color: var(--band-fg); }
.band .field label { color: var(--band-fg); }
.band .field .hint { color: var(--band-muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.check input { margin-top: 5px; width: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--fg-muted); }
.band .form-note { color: var(--band-muted); }
.form-result { border: 1px solid var(--gold-light); border-radius: 8px; padding: 20px 22px; }
.form-result h3 { margin-bottom: 8px; }
.form-result pre { white-space: pre-wrap; font-family: inherit; font-size: 0.9rem; margin: 12px 0; padding: 14px; border-radius: 6px; background: rgba(127,127,127,0.1); max-height: 260px; overflow: auto; }
.form-error { color: #B3261E; font-size: 0.9rem; }
.band .form-error { color: #F2B8B5; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.contact-card { border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 22px 24px; }
.contact-card .email { font-weight: 600; word-break: break-all; }
.copybtn { font: inherit; font-size: 0.85rem; padding: 6px 10px; border-radius: 5px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; margin-left: 8px; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-fg); border-top: 3px solid var(--gold); padding-block: 44px 36px; font-size: 0.9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold-light); }
.site-footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); color: var(--band-muted); font-size: 0.85rem; }
.site-footer .pending { color: var(--band-muted); }
.site-footer .pending small { opacity: 0.8; }

/* Utilities */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer headings (h2 for landmark semantics, styled as labels) */
.foot-h { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; font-weight: 600; }

/* Form states */
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field .err { font-size: 0.85rem; color: #B3261E; }
.band .field .err { color: #F2B8B5; }
.form-status { font-size: 0.95rem; }
.form-fallback { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--gold-light); border-radius: 8px; font-size: 0.92rem; }
.check a { text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 3px; }

/* Draft banner for legal pages */
.draft-banner { background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 6px; font-size: 0.95rem; }
.legal-doc h2 { font-size: 1.25rem; margin-top: 36px; }
.legal-doc p, .legal-doc li { color: var(--fg-muted); }
.legal-doc ul { padding-left: 20px; }
.legal-doc p + p { margin-top: 12px; }

/* Services detail */
.service { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.service:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 10px; } }
.service ul { margin: 8px 0 0; padding-left: 18px; color: var(--fg-muted); }
.service .boundary { font-size: 0.9rem; color: var(--fg-muted); margin-top: 10px; }

/* Models table */
.models { display: grid; gap: 22px; }
.model { border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; } }
.model h3 { margin-bottom: 6px; }
.model .lbl { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.model ul { margin: 0; padding-left: 18px; color: var(--fg-muted); font-size: 0.95rem; }

/* Admin desk */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.admin-table select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--fg); }
.small-btn { padding: 7px 12px; font-size: 0.85rem; margin: 2px 6px 2px 0; }

/* Native select option lists draw on the OS popup: give options explicit colours so they never inherit white-on-white from the navy band */
select option { color: #10294B; background: #FFFFFF; }
.band .field select { color-scheme: dark; }
.band .field select option { color: #10294B; background: #FFFFFF; }
