/* Jersey Kitchen Match — funnel landing page. One stylesheet, no external requests. */
:root {
  --bg: #f5f6f2;
  --paper: #ffffff;
  --ink: #14202b;
  --ink-soft: #51606d;
  --line: #dde2dc;
  --teal: #0f5c5c;
  --teal-dark: #0a4545;
  --teal-soft: #e3efec;
  --amber: #e2a13b;
  --amber-dark: #b97c1c;
  --error: #b3261e;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(20, 32, 43, .35);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header: brand only, no menu (funnel page) */
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--teal); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.header-note { font-size: .88rem; color: var(--ink-soft); text-align: right; }
@media (max-width: 560px) { .header-note { display: none; } }

/* Hero */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.hero-copy { padding-top: clamp(0px, 3vw, 36px); }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.ticks li { display: flex; gap: 12px; margin-bottom: 12px; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--teal); }
.disclosure { margin-top: 26px; padding: 14px 16px; border-left: 4px solid var(--amber); background: #fbf4e6; border-radius: 0 10px 10px 0; font-size: .93rem; color: #4a3b1c; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-top: 0; }
  .hero-copy .ticks, .hero-copy .disclosure { display: none; }
  .hero-below { display: block !important; }
}
.hero-below { display: none; }

/* Quiz card */
.quiz { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 34px); scroll-margin-top: 16px; }
.progress { height: 8px; background: var(--teal-soft); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress span { display: block; height: 100%; width: 14%; background: var(--teal); border-radius: 99px; transition: width .25s; }
.progress-label { font-size: .84rem; color: var(--ink-soft); margin: 0 0 18px; }
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.js .step { display: none; margin-bottom: 0; }
.js .step.is-active { display: block; }
.step legend { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; padding: 0; margin-bottom: 6px; }
.step .hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: block; padding: 15px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 600; background: #fff; transition: border-color .12s, background .12s; }
.opt small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .86rem; }
.opt:hover span { border-color: var(--teal); }
.opt input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input { width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 92, 92, .15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: var(--ink-soft); margin: 4px 0 16px; }
.consent input { width: 22px; height: 22px; flex: none; margin: 2px 0 0; accent-color: var(--teal); }
.error { color: var(--error); font-weight: 600; font-size: .93rem; min-height: 1.4em; margin: 10px 0 0; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: flex; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 12px; border: 2px solid transparent; font: 700 1.02rem/1 var(--font); cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: #2a1c02; }
.btn--primary:hover { background: #d4922b; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }
.btn--back { background: none; border: 0; padding: 10px 6px; color: var(--ink-soft); font-weight: 600; text-decoration: underline; }
.btn[hidden] { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--wide { width: 100%; }
.quiz-foot { font-size: .82rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }

/* How it works */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps3 li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps3 li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps3 p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
@media (max-width: 800px) { .steps3 { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cardlet { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cardlet p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.cardlet svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 30px; }

/* Closing band */
.band { background: var(--teal); color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; color: #cfe3df; }

/* Footer */
.footer { padding: 36px 0 48px; font-size: .88rem; color: var(--ink-soft); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer p { margin: 0; max-width: 640px; }
.footer nav a { margin-left: 18px; color: var(--ink-soft); }
.footer nav a:first-child { margin-left: 0; }

/* Thank-you + legal pages */
.narrow { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }
.tickbig { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.tickbig svg { width: 32px; height: 32px; }
.next { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: n; }
.next li { position: relative; padding: 0 0 18px 48px; }
.next li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.next strong { display: block; }
.next span { color: var(--ink-soft); font-size: .97rem; }
.notice { background: #fbf4e6; border: 1px solid #ecd9ae; border-radius: 10px; padding: 12px 16px; font-size: .92rem; color: #4a3b1c; margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
