/* Public pages (about, how it works, pricing, privacy): plain HTML, no JavaScript. Brand palette from src/styles.css. */
@font-face { font-family: 'Fredoka'; src: url('/fonts/fredoka-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
:root { --navy: #0E3A53; --orange: #F08A24; --cream: #FDF8EC; --green: #3FA66B; --pebble: #E6E1D6; --ink: #0E3A53; --muted: #55697A; --card: #fff; --orange-ink: #8A4500; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 2; }
.skip:focus { left: 8px; top: 8px; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--pebble); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { border-radius: 10px; display: block; }
.wordmark { font-family: 'Fredoka', 'Nunito', ui-rounded, system-ui, sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--navy); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-weight: 600; }
.site-header nav a { text-decoration: none; padding: 6px 0; }
.site-header nav a[aria-current="page"] { border-bottom: 3px solid var(--orange); }
.site-header nav a.signin { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; }
.site-header nav a.signin:hover { background: #164c6b; color: #fff; }
.status { margin: 0; background: var(--navy); color: var(--cream); font-size: 0.92rem; padding: 8px 0; }
main { padding-top: 28px; padding-bottom: 40px; }
h1, h2, h3 { font-family: 'Fredoka', 'Nunito', ui-rounded, system-ui, sans-serif; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0.2em 0 0.4em; }
h2 { font-size: 1.55rem; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 0.3em; }
.lead { font-size: 1.15rem; max-width: 46em; }
.hero h1 { color: var(--navy); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.button { display: inline-block; padding: 10px 20px; border-radius: 12px; border: 1px solid var(--pebble); background: var(--card); font-weight: 700; text-decoration: none; }
.button.primary { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--pebble); border-radius: 16px; padding: 4px 20px 12px; }
.card h3 { margin-top: 0.9em; }
.card:nth-child(1) { border-top: 5px solid var(--orange); }
.card:nth-child(2) { border-top: 5px solid var(--green); }
.steps { padding-left: 1.3em; }
.steps li::marker { font-family: 'Fredoka', sans-serif; font-weight: 700; color: var(--orange); font-size: 1.3rem; }
.steps h2 { font-size: 1.3rem; margin-top: 1.2em; }
.notice { background: #FDEBD7; border: 1px solid var(--orange); border-radius: 12px; padding: 12px 16px; }
.notice.draft { border-width: 2px; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--pebble); border-radius: 12px; overflow: hidden; margin: 8px 0 16px; }
caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--pebble); }
thead th { background: var(--pebble); border-top: none; font-size: 0.9rem; }
td.price { font-weight: 700; white-space: nowrap; }
.faq h3 { font-size: 1.1rem; }
.site-footer { border-top: 1px solid var(--pebble); background: var(--pebble); font-size: 0.92rem; padding: 18px 0 24px; }
.site-footer p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wordmark { font-size: 1.3rem; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav { gap: 2px 14px; font-size: 0.95rem; }
  /* the price table stacks: one plan per block */
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { position: absolute; left: -9999px; }
  tr { border-top: 1px solid var(--pebble); padding: 8px 0; }
  th, td { border: none; padding: 2px 12px; }
  td.price { white-space: normal; }
}
