@font-face{font-family:Marcellus;src:url('https://rvuckfbfxrcypiqcdnxm.supabase.co/storage/v1/object/public/waiver-public/fonts/marcellus.ttf') format('truetype');font-display:swap}
@font-face{font-family:Albert;src:url('https://rvuckfbfxrcypiqcdnxm.supabase.co/storage/v1/object/public/waiver-public/fonts/albert-sans.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Albert;src:url('https://rvuckfbfxrcypiqcdnxm.supabase.co/storage/v1/object/public/waiver-public/fonts/albert-sans-semibold.ttf') format('truetype');font-weight:600 900;font-display:swap}

:root{
  --bg:#f9f7f1;--ink:#28352f;--green:#273e35;--green-deep:#1b2e27;--gold:#bb9457;--gold-ink:#8c6c37;--gold-light:#e4d2a7;
  --muted:#657065;--line:#e2e3d9;--cream:#f5efdf;--paper:#fffefa;--error:#a3302d;--lime:#8cc63f;--lime-deep:#6e9f2c;--lime-soft:#edf5df;
  font-family:Albert,'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;
  -webkit-text-size-adjust:100%;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);min-height:100vh}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button,a,input,label{-webkit-tap-highlight-color:transparent}
a{color:inherit}
h1,h2,h3,p{margin-top:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
[tabindex="-1"]:focus{outline:none}

.test-bar{text-align:center;background:#f3d9a6;color:#5c4415;padding:7px 14px;font-size:11px;letter-spacing:1.4px;font-weight:700}
.test-bar span{font-weight:400;letter-spacing:.1px;margin-left:8px}

.site-header{display:flex;align-items:center;justify-content:center;height:64px;border-bottom:1px solid var(--line);padding:0 16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:Marcellus,Georgia,serif;font-size:19px;white-space:nowrap}
.brand-mark{font-size:26px;color:#ac8649;line-height:1}
.brand-rest{font-family:Albert,'Segoe UI',sans-serif;font-size:10px;letter-spacing:2.2px;margin-left:4px}

main{max-width:680px;margin:0 auto;padding:18px 16px 28px}

/* ------------------------------------------------------------ hero */
.hero{position:relative;overflow:hidden;
  background:radial-gradient(120% 90% at 100% 0%,rgba(187,148,87,.32),transparent 55%),radial-gradient(70% 60% at 90% 85%,rgba(140,198,63,.20),transparent 60%),var(--green);
  color:#f6f2e6;border-radius:22px;padding:24px 22px 24px;box-shadow:0 18px 40px -26px rgba(20,40,32,.7)}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;margin:0 0 12px;color:var(--gold-ink)}
.hero .eyebrow{color:var(--gold-light);padding-right:64px}
.hero h1{font-family:Marcellus,Georgia,serif;font-weight:400;font-size:clamp(29px,8vw,44px);line-height:1.08;letter-spacing:-.6px;margin:0 0 12px;color:#fff;padding-right:64px}
.hero-text{font-size:15px;line-height:1.55;color:rgba(246,242,230,.84);margin:0;max-width:470px}
.hero-art{position:absolute;top:22px;right:18px;width:50px}
.rod{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 14px rgba(0,0,0,.35))}
.rod .bars rect{fill:var(--lime);opacity:.22;animation:charge 3.2s infinite}
.rod .bars rect:nth-child(1){animation-delay:0s}
.rod .bars rect:nth-child(2){animation-delay:.35s}
.rod .bars rect:nth-child(3){animation-delay:.7s}
.rod .bars rect:nth-child(4){animation-delay:1.05s}
@keyframes charge{0%,8%{opacity:.22}18%,78%{opacity:1}92%,100%{opacity:.22}}

/* ------------------------------------------------------------ how it works */
.steps{list-style:none;margin:12px 0 0;padding:4px 16px;display:grid;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.step{display:flex;gap:13px;align-items:center;padding:11px 0}
.step+.step{border-top:1px solid #eeeee5}
.step-icon{flex:none;width:36px;height:36px;border-radius:10px;background:var(--lime-soft);display:grid;place-items:center}
.step-icon svg{width:20px;height:20px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.step strong{display:flex;align-items:center;gap:7px;font-size:14.5px;margin-bottom:1px}
.step-num{font-size:11px;font-weight:600;color:var(--gold-ink);letter-spacing:.5px}
.step-num::after{content:'·';margin-left:7px;color:#c9bfa6}
.step p{margin:0;font-size:13.5px;line-height:1.45;color:var(--muted)}

/* ------------------------------------------------------------ card */
.card{margin-top:16px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:26px 18px 24px;box-shadow:0 14px 34px -28px rgba(30,50,40,.55);scroll-margin-top:12px}
.card h2{font-family:Marcellus,Georgia,serif;font-weight:400;font-size:30px;line-height:1.15;letter-spacing:-.4px;margin-bottom:8px}
.intro{font-size:15px;line-height:1.6;color:var(--muted);margin-bottom:22px}
.loading{color:var(--muted);text-align:center;margin:20px 0}

.field{margin-bottom:18px}
.field-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
input[type=text]{width:100%;min-height:52px;border:1px solid #d3d7c9;background:#fff;border-radius:12px;padding:12px 14px;font-size:16px;color:var(--green);transition:border-color .15s,box-shadow .15s}
input[type=text]::placeholder{color:#9b9e93}
input[type=text]:focus{outline:none;border-color:#8c9a80;box-shadow:0 0 0 4px rgba(140,198,63,.2)}
[aria-invalid=true]{border-color:var(--error)!important}
.field-error{color:var(--error);font-size:13px;margin:7px 0 0}
.error-summary{border-left:3px solid var(--error);background:#fff0e8;border-radius:0 10px 10px 0;padding:12px 14px;margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--error)}
.error-summary .text-button{color:var(--error);margin-left:6px}

.ack{border:1px solid var(--line);background:#fbfaf5;border-radius:16px;padding:18px 16px 4px;margin:0 0 12px;min-width:0;transition:border-color .15s,background .15s}
.ack-head{float:left;width:100%;padding:0;display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600;line-height:1.35;margin-bottom:10px}
.ack-head+*{clear:both}
.ack-num{flex:none;width:26px;height:26px;border-radius:50%;background:var(--green);color:#f3ecd9;font-size:12px;display:grid;place-items:center}
.ack p{font-size:14.5px;line-height:1.65;color:#5a6559;margin-bottom:12px}
.fee{display:flex!important;gap:14px;align-items:center;background:var(--cream);border-radius:12px;padding:12px 14px;color:#4f4a3c!important}
.fee-badge{flex:none;display:flex;flex-direction:column;align-items:center;font-family:Marcellus,Georgia,serif;font-size:26px;line-height:1;color:var(--green)}
.fee-badge small{font-family:Albert,'Segoe UI',sans-serif;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--gold-ink);margin-top:5px;white-space:nowrap}
.check{display:flex;gap:12px;align-items:flex-start;border-top:1px dashed #d9dccf;margin:4px -16px 0;padding:14px 16px 16px;font-size:14.5px;line-height:1.5;font-weight:600;cursor:pointer;border-radius:0 0 16px 16px}
.check input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--green);cursor:pointer}
.ack.checked{border-color:#a9bc95;background:#f4f8ec}
.ack.checked .check{color:var(--green)}
.ack.invalid{border-color:var(--error);background:#fff8f4}
.ack.invalid .check{color:var(--error)}

.primary{width:100%;min-height:56px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:14px;background:var(--green);color:#fff;font-size:16px;font-weight:600;letter-spacing:.2px;box-shadow:0 10px 22px -14px rgba(20,45,35,.9);transition:transform .12s,filter .15s}
.primary svg{width:20px;height:20px;fill:var(--lime)}
.primary:hover:not(:disabled){filter:brightness(1.08)}
.primary:active:not(:disabled){transform:scale(.985)}
.primary:disabled{opacity:.72;cursor:default}
.fineprint{font-size:12.5px;line-height:1.5;color:#7b8173;text-align:center;margin:14px 0 0}
.text-button{border:0;background:none;padding:6px 2px;text-decoration:underline;text-underline-offset:3px;font-size:13px;color:#56634f}

/* ------------------------------------------------------------ done */
.done{text-align:center}
.done-badge{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--lime-soft);box-shadow:0 0 0 6px rgba(140,198,63,.18);display:grid;place-items:center;animation:pop .45s cubic-bezier(.2,1.4,.4,1) both}
.done-badge svg{width:30px;height:30px;fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
.done .intro{max-width:420px;margin:0 auto 18px}
.video{position:relative;width:min(100%,330px);aspect-ratio:9/16;margin:0 auto;border-radius:18px;overflow:hidden;background:#10231c;box-shadow:0 22px 40px -24px rgba(16,35,28,.8)}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-loading{position:absolute;inset:0;display:grid;place-items:center;color:rgba(246,242,230,.7);font-size:14px;animation:breathe 1.6s ease-in-out infinite}
@keyframes breathe{50%{opacity:.45}}
.yt-link{display:inline-block;margin-top:12px;font-size:13px;color:var(--muted);text-underline-offset:3px}
.reminder{text-align:left;background:var(--cream);border-radius:16px;padding:16px 18px;margin-top:22px}
.reminder h3{display:flex;align-items:center;gap:9px;font-size:15px;margin-bottom:6px;color:var(--green)}
.reminder h3 svg{width:19px;height:19px;fill:none;stroke:var(--gold-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reminder p{font-size:14.5px;line-height:1.6;color:#575244;margin:0}
.receipt{font-size:12.5px;color:#7b8173;margin:16px 0 2px}
#receipt-ref{white-space:nowrap}

body.is-done .steps,body.is-done .hero-text{display:none}
body.is-done .hero{padding:20px 22px}
body.is-done .hero h1{font-size:26px;margin:0}
body.is-done .hero-art{width:34px;top:16px}

.site-footer{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:12px;color:#8a8d81;padding:26px 0 calc(8px + env(safe-area-inset-bottom))}
.noscript{margin:20px;padding:16px;background:#fff0e8}

@media (min-width:640px){
  main{padding-top:32px}
  .hero{padding:38px 40px}
  .hero-art{top:34px;right:40px;width:78px}
  .hero .eyebrow,.hero h1{padding-right:110px}
  .hero-text{font-size:16px}
  .steps{grid-template-columns:repeat(3,1fr);gap:0;padding:0}
  .step{flex-direction:column;align-items:flex-start;gap:12px;padding:18px}
  .step+.step{border-top:0;border-left:1px solid #eeeee5}
  .card{padding:34px 34px 30px}
  .card h2{font-size:34px}
  .ack{padding:20px 20px 4px}
  .check{margin:4px -20px 0;padding:14px 20px 18px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .rod .bars rect{opacity:1}
}
