/* Own The Contract: local preview styles. Mobile-first. Fonts are self-hosted from assets/fonts/ (OFL, licenses in assets/fonts/OFL-*.txt); no external assets or third-party font URLs. */
@font-face{
  font-family:"Inter";
  src:url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight:400 700;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:"Source Serif 4";
  src:url("assets/fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:"IBM Plex Mono";
  src:url("assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
  --navy:#1F2A44; --bg:#FAF8F4; --white:#fff; --green:#2F6B4F; --green-dark:#24543E;
  --amber:#F3E3B5; --muted:#4A5468; --line:#E3DED3; --red:#9B2C2C;
  --info-tint:#E8EEF6; --amber-text:#7A5A12; --input-border:#4A5468;
  /* OC-20: checkbox/radio group borders. #8A93A6 on #fff (.band-white) = 3.09:1 (WCAG relative luminance 0.290 vs 1.0). */
  --group-border:#8A93A6;
  --font-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-serif:"Source Serif 4",Georgia,serif;
  --font-mono:"IBM Plex Mono",ui-monospace,monospace;
  --radius:12px; --shadow:0 1px 2px rgba(31,42,68,.06),0 6px 20px rgba(31,42,68,.07);
}
*,*::before,*::after{box-sizing:border-box}
/* OC-05: anchor jumps and keyboard focus scrolling clear the sticky header (one row, 64px, at every width). */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:80px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--navy);font-family:var(--font-sans);font-size:17px;line-height:1.6}
h1,h2,h3{font-family:var(--font-serif);font-weight:600;line-height:1.2;margin:0 0 .6em}
h1{font-size:34px;line-height:1.15;letter-spacing:-.01em}
h2{font-size:26px}
h3{font-size:20px}
p{margin:0 0 1em}
a{color:var(--green)}
a:hover{color:var(--green-dark)}
:focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:4px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.measure{max-width:65ch}
.measure-wide > *{max-width:820px}
/* OC-11: center the FAQ and form column (820px content + 32px side padding); text stays left-aligned. */
.wrap.measure-wide{max-width:884px}
.small{font-size:.9rem;color:var(--muted)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Placeholders that need Cal: must be impossible to miss */
.todo,mark.todo{background:var(--amber);color:var(--navy);padding:.05em .3em;border-radius:4px;box-shadow:0 0 0 1px #D9B85C inset}
.todo-block{padding:1rem 1.25rem;border-radius:var(--radius);border:2px dashed #B58A1E}
.todo-block ol{margin:0 0 1em;padding-left:1.3em}

.skip-link{position:absolute;left:12px;top:-60px;background:var(--navy);color:#fff;padding:12px 16px;border-radius:8px;z-index:100;text-decoration:none}
.skip-link:focus{top:12px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,248,244,.96);border-bottom:1px solid var(--line)}
/* OC-06: header stays one row (no wrap); see the small-screen rules below. */
.header-inner{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px 12px;min-height:64px}
.logo,.footer-name{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-serif);font-weight:600;color:var(--navy);font-size:19px;line-height:1.2;white-space:nowrap}
.logo{text-decoration:none;padding:10px 0;min-height:44px;flex:none}
.logo:hover{color:var(--navy)}
.logo-mark{width:22px;height:22px;flex:none;display:block}
main:focus{outline:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:44px;padding:12px 22px;border-radius:10px;font-weight:700;font-size:16px;text-decoration:none;border:2px solid transparent;cursor:pointer;font-family:inherit;line-height:1.2}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark);color:#fff}
.btn-outline{border-color:var(--green);color:var(--green);background:#fff}
.btn-outline:hover{background:#EEF5F1}
.btn-light{background:#fff;color:var(--navy)}
.btn-light:hover{background:var(--bg);color:var(--navy)}
.btn-small{min-height:44px;padding:8px 14px;font-size:16px}
.text-link{font-weight:700;display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
/* OC-19: flex drops the space before the arrow; put a small gap back. */
.text-link > span[aria-hidden="true"]{margin-left:.3em}

/* Sections */
.band{padding:56px 0}
.band-white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Hero */
.hero{padding:40px 0 56px}
.hero-grid{display:grid;gap:36px}
.lead{font-size:1.1rem;max-width:62ch}
/* Price line: the two prices stay together on one line; the founding note sits below as a pill (no separator). */
.price-line{font-size:1.15rem;display:flex;flex-direction:column;align-items:flex-start;gap:.5em}
.prices{white-space:nowrap}
/* OC-07: bigger hero prices, always 18px or more, never a line that starts with "·".
   Measured: the pair needs about 18.1px of width per px of font (326px at 18px), so one line at 18px fits from a 366px viewport.
   370px and up: one line, size scales with the viewport (18px at 370, 20px from about 406), capped by the 640/1024 rules below.
   Below 370px: the two prices stack on two lines at 20px and the "·" is hidden visually (it is aria-hidden in the markup either way). */
.hero .price-line{margin-top:1.6rem}
.hero .prices{white-space:nowrap;font-size:clamp(18px,calc((100vw - 40px) / 18.3),20px);font-weight:700;line-height:1.3}
@media (max-width:369.98px){
  .hero .prices{white-space:normal;font-size:20px}
  .hero .prices strong{display:block;white-space:nowrap}
  .hero .price-half > [aria-hidden="true"]{display:none}
}
/* #1E4A35 on #E2F0E8 = about 8.6:1 */
.founding-pill{display:inline-block;background:#E2F0E8;color:#1E4A35;font-weight:600;font-size:15px;line-height:1.4;padding:4px 12px;border-radius:999px}
.cta-band .price-line{align-items:center;margin:0 0 1.4em}
.cta-row{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin:1.4em 0 1em}

/* Sample visuals */
.sample-frame{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.ribbon{position:absolute;top:22px;right:-44px;transform:rotate(35deg);background:var(--navy);color:#fff;font-weight:700;letter-spacing:.15em;font-size:14px;padding:6px 52px;pointer-events:none}
.hero-card{padding:22px 22px 18px;align-self:start}
.hero-card .card-title,.hero-card .card-meta{padding-right:72px}
.card-title{font-weight:700;margin:0 0 .2em}
.card-meta{font-size:15px;color:var(--muted);margin:0 0 1em}
.mini-list{list-style:none;margin:0;padding:0}
/* Name + ref take the room they need; the status pill wraps below them on narrow cards instead of squeezing the name. */
.mini-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:10px 0;border-top:1px solid var(--line);font-size:16px}
.mini-main{display:flex;flex-direction:column;flex:1 1 10rem;min-width:0}
.mini-name{font-weight:600}
.mini-ref{font-family:var(--font-mono);font-weight:500;color:var(--muted);font-size:14px}
.mini-list .status{flex:none}
.status{display:inline-block;font-size:14px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap}
.status-review{background:var(--info-tint);color:#1F2A44}
.status-ok{background:#E2F0E8;color:#1E4A35}
.status-action{background:var(--amber);color:#4A3500}

/* Guarantee */
.promise-grid{list-style:none;padding:0;margin:0 0 1.2em;display:grid;gap:20px}
.promise-grid li{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.icon{width:32px;height:32px;color:var(--green);display:block;margin-bottom:10px}

/* Tables */
.table-scroll{overflow-x:auto;margin:1.5em 0;border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;background:#fff}
caption{text-align:left;font-weight:700;padding:0 0 .6em}
th,td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line)}
.compare{min-width:620px;border:1px solid var(--line)}
.compare thead th{background:var(--navy);color:#fff}
.compare thead td{background:var(--navy)}
.compare tbody th{background:#F4F1EA;width:28%}
.compare td:last-child{background:#F1F7F3}

/* Steps */
.steps{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:20px}
.steps li{counter-increment:step;position:relative;padding:20px 20px 16px 76px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius)}
.steps li::before{content:counter(step);position:absolute;left:20px;top:18px;width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.steps p{margin:0}

/* Sample status card */
.status-card{margin:1.5em 0 0;padding:24px 20px}
.sample-label{display:inline-block;background:var(--navy);color:#fff;font-weight:700;font-size:1.05rem;letter-spacing:.03em;padding:8px 14px;border-radius:8px;margin-bottom:1.1em}
.status-table{min-width:720px;font-size:.95rem}
.status-table thead th{background:#F4F1EA;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
/* OC-16: keep "Insurer A/B/C" on one line */
.status-table tbody th{white-space:nowrap}
.mono{font-family:var(--font-mono);font-weight:500;font-size:15px;white-space:nowrap}
.banner{background:var(--amber);border-radius:8px;padding:12px 16px;font-weight:600}
.status-card figcaption{margin:0}

/* Pricing */
.founding-line{font-weight:700;color:var(--green-dark);font-size:1.1rem}
.price-grid{display:grid;gap:22px;margin:1.2em 0}
.price-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.price-card .btn{margin-top:auto;align-self:flex-start}
.price-card.featured{border:2px solid var(--green)}
.tag{position:absolute;top:-14px;left:22px;background:var(--green);color:#fff;font-weight:700;font-size:14px;padding:4px 12px;border-radius:999px;margin:0}
.price{font-size:1.1rem;margin:0 0 1em}
.amount{font-size:3rem;font-weight:700;letter-spacing:-.02em;line-height:1.1;margin-right:.15em}
.worked{max-width:70ch}
.checks,.crosses{list-style:none;padding:0;margin:0 0 1.4em}
.checks li,.crosses li{position:relative;padding-left:30px;margin-bottom:.55em}
.checks li::before{content:"";position:absolute;left:4px;top:.45em;width:12px;height:7px;border-left:3px solid var(--green);border-bottom:3px solid var(--green);transform:rotate(-45deg)}
.crosses li::before,.crosses li::after{content:"";position:absolute;left:4px;top:.75em;width:15px;height:3px;background:var(--red);transform:rotate(45deg)}
.crosses li::after{transform:rotate(-45deg)}
.two-col{display:grid;gap:24px;margin-top:1.5em}
.note-box{background:var(--bg);border-left:4px solid var(--green);border-radius:8px;padding:18px 20px;margin-top:.5em}
.note-box p{margin:0}
.fit-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}

/* FAQ */
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{cursor:pointer;font-weight:700;padding:16px 36px 16px 4px;min-height:44px;position:relative;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:8px;top:12px;font-size:1.5rem;font-weight:400;color:var(--green)}
.faq details[open] summary::after{content:"−"}
.faq details > :not(summary){margin-left:4px;margin-right:4px}
.faq details[open]{padding-bottom:10px}
.faq details:target summary{background:#F1F7F3}

/* Founder */
.founder-grid{display:grid;gap:24px}
.photo-placeholder{width:160px;height:160px;border-radius:var(--radius);border:2px dashed #B58A1E;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;font-size:.9rem}

/* Form */
.warning{display:flex;gap:12px;align-items:flex-start;background:#FFF6DD;border:2px solid #B58A1E;border-radius:var(--radius);padding:16px 18px;margin:1.4em 0;font-weight:600}
.warning .icon{color:#7A5A00;flex:none;margin:0}
.warning p{margin:0}
form{margin-top:1em}
.field{margin:0 0 22px;padding:0;border:0;min-width:0}
fieldset.field{border:1px solid var(--group-border);border-radius:var(--radius);padding:14px 16px 10px}
legend{font-weight:700;padding:0 6px}
/* OC-20: no box around the state group, so "Main state" lines up with Name and Email. The legend stays as the group heading. */
fieldset.field.states{border:0;border-radius:0;padding:0}
.states > legend{padding:0;margin-bottom:4px}
label{font-weight:600}
.field > label,.other > label,.subfield > label{display:block;margin-bottom:6px}
.subfield{margin:6px 0 14px}
/* All form control borders use --input-border (#4A5468, 7.6:1 on white). --line stays decorative only. */
input[type=text],input[type=email],select,textarea{width:100%;font:inherit;color:var(--navy);background:#fff;border:2px solid var(--input-border);border-radius:8px;padding:10px 12px;min-height:48px}
textarea{resize:vertical}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--navy);outline-offset:2px;border-color:var(--navy)}
[aria-invalid=true]{border-color:var(--red)!important}
/* OC-09: the whole label row is the tap target (44px tall). The box's top margin lines it up with the label's first line. */
.choice{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:0}
.choice input{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin:11px 0 0;flex:none;display:inline-grid;place-content:center;background:#fff;border:2px solid var(--input-border);border-radius:4px;cursor:pointer}
.choice input[type=radio]{border-radius:50%}
.choice input[type=checkbox]:checked{background:var(--green);border-color:var(--green)}
.choice input[type=checkbox]:checked::before{content:"";width:6px;height:11px;border:solid #fff;border-width:0 3px 3px 0;transform:translateY(-1px) rotate(45deg)}
.choice input[type=radio]:checked{border-color:var(--green)}
.choice input[type=radio]:checked::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--green)}
@media (forced-colors:active){.choice input{-webkit-appearance:auto;appearance:auto}.choice input::before{display:none}}
.choice label{font-weight:400;flex:1;display:flex;align-items:center;min-height:44px;padding:8px 0;cursor:pointer}
.other{margin-top:12px}
.hint{font-size:.9rem;color:var(--muted);margin:.4em 0 0}
.err{color:var(--red);font-weight:600;font-size:.95rem;margin:.3em 0 0}
.err:empty{display:none}
.error-summary:empty{display:none}
.error-summary{border:2px solid var(--red);border-radius:8px;padding:12px 16px;margin-bottom:18px;color:var(--red);font-weight:600}
/* OC-12: count sentence + one link per failing field */
.error-summary p{margin:0 0 .4em}
.error-summary ul{margin:0;padding-left:1.2em}
.error-summary li{margin:.2em 0}
.error-summary a{color:var(--red);display:block;padding:4px 0}
/* OC-13: .warning sets display, so hidden needs an explicit rule to win. */
.warning[hidden]{display:none}
/* OC-23: chosen plan, filled by form.js; takes no space while empty. */
.plan-line{margin:0 0 18px;font-size:16px;color:var(--navy)}
.plan-line:empty{display:none}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.success{background:#F1F7F3;border:2px solid var(--green);border-radius:var(--radius);padding:22px;font-size:1.1rem}
.success h3{margin:0 0 .4em}
#s-email{overflow-wrap:anywhere}

/* Final CTA + footer */
.cta-band{background:var(--navy);color:#fff;padding:56px 0;text-align:center}
.cta-band h2{color:#fff}
.site-footer{padding:36px 0 48px;font-size:.95rem}
.site-footer p{margin:0 0 .5em}
.site-footer .footer-name{display:flex;margin-bottom:.7em}
/* OC-17: Terms / Privacy links are 44px+ tap targets */
.site-footer a{display:inline-block;padding:12px 4px}

@media (min-width:640px){
  body{font-size:18px}
  h1{font-size:48px}
  h2{font-size:32px}
  .wrap{padding:0 32px}
  .price-grid,.two-col{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .founder-grid{grid-template-columns:180px 1fr;align-items:start}
  .status-card{padding:30px}
  .hero .prices{font-size:22px}
}
/* Toni brand review #3: three promise columns only from 900px; below that they stack, so no card title breaks into 3 lines. */
@media (min-width:900px){
  .promise-grid{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1024px){
  .hero .prices{font-size:24px}
  .hero{padding:72px 0 80px}
  .hero-grid{grid-template-columns:1.45fr 1fr;align-items:center;gap:56px}
  .band{padding:80px 0}
  #founder.band{padding:48px 0} /* OC-21: short 2-line section */
  .steps{grid-template-columns:repeat(4,1fr)}
  .steps li{padding:76px 20px 20px}
}

/* Small screens: stack table rows into cards (explicit ARIA roles in the HTML keep table semantics) */
@media (max-width:639.98px){
  .site-header .logo{font-size:16px;gap:5px}
  .site-header .logo-mark{width:18px;height:18px}
  /* OC-06: if the label can't fit on one line, it wraps inside the button, so the header stays one 64px row. */
  .site-header .btn-small{font-size:14px;padding:8px 10px;flex:0 1 auto;min-width:0;white-space:normal;text-align:center;line-height:1.15}
  .price-line{font-size:clamp(14px,4vw,1.15rem)}
  .btn[type=submit]{width:100%} /* OC-18 */
  .price-line .founding-pill{font-size:14px}
  .table-scroll{overflow:visible}
  .stack{min-width:0!important;border:0!important;background:transparent}
  .stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .stack,.stack tbody,.stack tr,.stack th,.stack td{display:block;width:100%!important}
  .stack tr{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;overflow:hidden}
  .stack tbody th{background:#F4F1EA!important;border-bottom:1px solid var(--line)}
  .stack td{border-bottom:1px solid var(--line);background:#fff}
  .stack td:last-child{border-bottom:0}
  .stack td::before{content:attr(data-label);display:block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:2px}
  .compare td:last-child{background:#F1F7F3}
  .status-table .mono{white-space:normal}
}
/* OC-08: tablets (640-1023px): the sample status table uses the same stacked cards as phones, so it never clips or scrolls sideways. */
@media (min-width:640px) and (max-width:1023.98px){
  .status-card .table-scroll{overflow:visible}
  .status-table{min-width:0;background:transparent}
  .status-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .status-table,.status-table tbody,.status-table tr,.status-table th,.status-table td{display:block;width:100%}
  .status-table tr{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;overflow:hidden}
  .status-table tbody th{background:#F4F1EA;border-bottom:1px solid var(--line)}
  .status-table td{border-bottom:1px solid var(--line);background:#fff}
  .status-table td:last-child{border-bottom:0}
  .status-table td::before{content:attr(data-label);display:block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:2px}
}
/* Q7 / OC-24: header button label. "Get started" below 400px only; display:none keeps exactly one label in the link's accessible name. */
.site-header .lbl-short{display:none}
@media (max-width:399.98px){.site-header .lbl-long{display:none}.site-header .lbl-short{display:inline}}
/* OC-06: narrowest phones (320-379px): smaller wordmark and header button so the header stays one row. */
@media (max-width:379.98px){
  .site-header .wrap{padding:0 16px}
  .site-header .logo{font-size:15px;gap:4px}
  .site-header .logo-mark{width:16px;height:16px}
}
/* Very narrow phones: let the price pair wrap rather than overflow sideways. */
@media (max-width:359.98px){
  .prices{white-space:normal}
}

/* Legal pages (terms/, privacy/) */
.legal{max-width:760px;padding-top:40px;padding-bottom:56px}
.legal h1{margin-bottom:.4em}
.legal h2{font-size:clamp(22px,3.2vw,26px);margin:1.8em 0 .5em}
.legal ul,.legal ol{padding-left:1.3em;margin:0 0 1em}
.legal li{margin:0 0 .35em}
.legal li ul{margin:.35em 0 0}
.legal hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.legal-table{overflow-x:auto;margin:0 0 1.2em;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.legal-table table{min-width:0}
.legal-table th,.legal-table td{font-size:16px}
.legal-table thead th{background:var(--navy);color:#fff}
.legal-table tbody th{font-weight:400;width:38%}
.legal-table tr:last-child th,.legal-table tr:last-child td{border-bottom:0}
