/* Styles for the /answers/ pages. Same night-blue ground and amber accent as
   the home page, set up for reading instead of scrolling a film. */
:root {
  --canvas: #070A0E;
  --surface: #0F141A;
  --line: #1E2630;
  --ink: #F1EEE8;
  --ink-soft: #A3AAB1;
  --accent: #F2A23A;
  --accent-ink: #0B0C0A;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.75rem; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
       padding: calc(0.75rem + env(safe-area-inset-top, 0px)) clamp(1.1rem, 4vw, 2.5rem) 0.75rem;
       background: color-mix(in oklab, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 92; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
       padding: 0.7rem 1.1rem; border-radius: 4px; white-space: nowrap; font-size: 0.95rem;
       box-shadow: 0 0 14px rgb(242 162 58 / 0.32), 0 0 32px rgb(242 162 58 / 0.14); transition: filter 150ms ease-out, transform 150ms ease-out; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2rem) 3rem; }
.eyebrow { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
h1, h2, .cta h2 { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 88; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 6.2vw, 3.4rem); line-height: 1; }
h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); line-height: 1.08; margin-bottom: 1rem; }
section { margin-top: 3.25rem; }
p { margin: 0 0 1rem; }
article p, article li, article dd, article td { color: #D5D3CE; }
strong { color: var(--ink); font-weight: 600; }
ol, ul { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.6rem; }
li::marker { color: var(--accent); font-family: var(--mono); font-size: 0.9em; }

.short { margin-top: 2rem; padding: 1.4rem 1.5rem 0.6rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; }
.short__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.7rem; }
.short p:not(.short__label) { font-size: 1.14rem; line-height: 1.5; color: var(--ink); }
.lede { font-size: 1.14rem; color: var(--ink-soft); margin-top: 1.25rem; max-width: 36rem; }

.opts { margin: 0; display: grid; gap: 0.75rem; }
.opts > div { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.opts dt { font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.opts dd { margin: 0; }

.tablewrap { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.8rem 0.9rem; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; background: var(--surface); }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:last-child { background: rgb(242 162 58 / 0.07); }
/* On a phone each option becomes its own card, so nothing scrolls sideways. */
@media (max-width: 640px) {
  .tablewrap { border: 0; overflow: visible; }
  table { min-width: 0; display: block; }
  thead { display: none; }
  tbody { display: grid; gap: 0.75rem; }
  tbody tr { display: block; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
  tbody tr:last-child { background: rgb(242 162 58 / 0.07); border-color: rgb(242 162 58 / 0.35); }
  tbody th, tbody td { display: block; padding: 0; border: 0; }
  tbody th { font-size: 1.05rem; margin-bottom: 0.5rem; }
  tbody td { margin-top: 0.3rem; }
  tbody td::before { content: attr(data-label) ": "; color: var(--ink-soft); }
}
.note { color: var(--ink-soft); font-size: 0.97rem; }

blockquote { margin: 0 0 1rem; padding: 1rem 1.25rem; background: var(--surface); border-radius: 8px 8px 8px 2px; border: 1px solid var(--line); color: var(--ink); max-width: 30rem; }

.proof { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.proof li { margin: 0; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.proof span { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.35rem; }
.proof strong { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--accent); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { margin: 0; font-size: 1.05rem; font-weight: 600; font-family: var(--text); }
.faq details p { padding: 0 2rem 1rem 0; }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--accent); transition: transform 200ms ease-out; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }

.cta { margin-top: 4rem; padding: clamp(1.75rem, 5vw, 2.75rem); border-radius: 14px; border: 1px solid var(--line);
       background: radial-gradient(120% 140% at 100% 100%, rgb(242 162 58 / 0.16), transparent 60%), var(--surface); }
.cta h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1; margin-bottom: 0.85rem; }
.cta p { color: var(--ink-soft); }
.cta .btn { margin-top: 0.5rem; }
.cta .small { font-size: 0.85rem; margin: 0.9rem 0 0; }

.more { margin-top: 3.25rem; }
.more ul { list-style: none; padding: 0; margin: 0; }
.more li { margin: 0; border-top: 1px solid var(--line); }
.more li:last-child { border-bottom: 1px solid var(--line); }
.more a { display: block; padding: 0.9rem 0; text-decoration: none; color: var(--ink); }
.more a:hover { color: var(--accent); }
.updated { margin-top: 2rem; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-soft); }

.cards { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 0.85rem; }
.cards li { margin: 0; }
.cards a { display: block; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color 150ms ease-out; }
.cards a:hover { border-color: var(--accent); }
.cards h2 { font-size: 1.25rem; line-height: 1.15; margin-bottom: 0.5rem; }
.cards p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.5rem; max-width: 72rem; margin: 0 auto;
        padding: 1.5rem clamp(1.1rem, 4vw, 2.5rem) calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.foot li { margin: 0; }
.foot a:not(.brand) { color: var(--ink-soft); text-decoration: none; }
.foot a:not(.brand):hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
