@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1f5f3;
  --foam: #ffffff;
  --ink: #0d3640;
  --ink-2: #3e5c63;
  --line: #c9d8d4;
  --tide: #2a7f86;
  --tide-wash: #dcecea;
  --sticker: #f7c948;
  --sold: #d62839;
  --radius-s: 6px;
  --radius-l: 18px;
  --wrap: 1120px;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.3rem;
  --step-4: clamp(2.6rem, 6vw, 4.4rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 "Bricolage", system-ui, sans-serif;
  font-variation-settings: "opsz" 14;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tide); }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 750; line-height: 1.05; letter-spacing: -0.02em; margin: 0; font-variation-settings: "opsz" 72; }
h2 { font-size: var(--step-3); max-width: 20ch; }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--foam); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

/* header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 1.3rem; text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 0.98rem; }
.top nav a { text-decoration: none; }
.top nav a.btn { padding: 9px 16px; }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--foam); border: 0; border-radius: 999px;
  padding: 14px 24px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--tide); color: var(--foam); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--foam); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; }
.hero .soon { display: inline-block; background: var(--tide-wash); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; font-weight: 600; margin: 0 0 18px; }
.hero .lede { font-size: var(--step-1); color: var(--ink-2); max-width: 34ch; margin: 22px 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* demo */
.demo { overflow: hidden; background: var(--foam); border-radius: var(--radius-l); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13, 54, 64, 0.5); position: relative; }
.demo-item { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.demo-photo { width: 64px; height: 64px; border-radius: var(--radius-s); background: #5a7fa8; flex: none; overflow: hidden; }
.demo-item strong { display: block; font-size: 1.05rem; }
.demo-item span { color: var(--ink-2); font-size: 0.92rem; }
.demo-tag { margin-left: auto; background: var(--sticker); color: var(--ink); font-weight: 750; border-radius: 999px; padding: 6px 12px; font-size: 1rem; flex: none; }
.channels { list-style: none; margin: 8px 0 16px; padding: 0; }
.channel { display: grid; grid-template-columns: 112px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); position: relative; overflow: hidden; }
.channel:last-child { border-bottom: 0; }
.channel .name { font-weight: 650; }
.channel .state { font-size: 0.92rem; color: var(--ink-2); transition: color 0.3s; }
.channel .time { font-size: 0.86rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 4.2em; text-align: right; }
.channel .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tide); margin-right: 8px; vertical-align: 1px; }
.channel.is-sold .state { color: var(--sold); font-weight: 700; }
.channel.is-sold .dot { background: var(--sold); }
.channel.is-pulled .state { color: var(--tide); font-weight: 650; }
.channel.is-pulled .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--tide); }
.channel.is-waiting .state { color: var(--ink); font-weight: 650; }
.channel.is-waiting .dot { background: var(--sticker); }
.channel::after {
  content: ""; position: absolute; inset: 0; background: var(--tide-wash); transform: translateX(-102%); z-index: -1;
}
.channel.is-pulled::after { animation: tide 0.9s ease-out forwards; }
@keyframes tide { 0% { transform: translateX(-102%); } 60% { transform: translateX(0); } 100% { transform: translateX(102%); } }
.stamp { position: absolute; right: 22px; top: 18px; border: 3px solid var(--sold); color: var(--sold); font-weight: 800; font-size: 1.5rem; padding: 2px 12px; border-radius: 6px; transform: rotate(-8deg) scale(1.6); opacity: 0; pointer-events: none; }
.demo.sold .demo-tag { visibility: hidden; }
.demo.sold .stamp { animation: stamp 0.35s cubic-bezier(.2,1.6,.4,1) forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.demo-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.demo-controls select { font: inherit; padding: 10px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--foam); color: var(--ink); }
.demo-note { font-size: 0.86rem; color: var(--ink-2); margin: 12px 0 0; }
@media (max-width: 480px) { .channel { grid-template-columns: 88px 1fr auto; gap: 8px; font-size: 0.95rem; } .stamp { right: 12px; } }
@media (prefers-reduced-motion: reduce) { .channel.is-pulled::after, .demo.sold .stamp { animation: none; } .demo.sold .stamp { opacity: 1; transform: rotate(-8deg); } html { scroll-behavior: auto; } }

/* sections */
section.band { padding: 80px 0; }
section.band.alt { background: var(--foam); }
.lead-in { max-width: 60ch; color: var(--ink-2); font-size: var(--step-1); margin: 18px 0 40px; }

.switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.switch p { color: var(--ink-2); margin-top: 10px; }
.switch .quote { font-size: 0.93rem; border-left: 3px solid var(--sticker); padding-left: 12px; margin-top: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .switch { grid-template-columns: 1fr; gap: 32px; } }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.compare-wrap { overflow-x: auto; background-image: linear-gradient(to left, rgba(13,54,64,.08), transparent 24px); background-attachment: local, scroll; border-radius: var(--radius-l); background: var(--foam); box-shadow: 0 0 0 1px var(--line); }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.95rem; color: var(--ink-2); font-weight: 600; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare .us { background: var(--tide-wash); }
.compare .us th { font-weight: 760; }
.compare td.big { font-weight: 700; white-space: nowrap; }
.source { font-size: 0.86rem; color: var(--ink-2); margin-top: 12px; }

/* calculator */
.calc { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.calc form { background: var(--paper); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field .hint { font-size: 0.86rem; color: var(--ink-2); margin-top: 4px; }
.money { display: flex; align-items: center; background: var(--foam); border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; }
.money:focus-within { border-color: var(--tide); }
.money span { color: var(--ink-2); }
.money input { border: 0; outline: 0; font: inherit; font-size: 1.3rem; font-weight: 650; padding: 10px 6px; width: 100%; background: transparent; color: var(--ink); }
.results { list-style: none; margin: 0; padding: 0; }
.results li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.results .mk { font-weight: 700; }
.results .take { font-weight: 760; font-size: 1.3rem; text-align: right; }
.results .how { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-2); }
.results .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.results .bar i { display: block; height: 100%; background: var(--tide); border-radius: 4px; transition: width 0.35s ease; }
.results li.best .bar i { background: var(--sticker); }
.results li.best .take::after { content: " best"; font-size: 0.8rem; font-weight: 650; color: var(--ink-2); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* honesty table */
.chan th, .chan td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.chan thead th { color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 0.86rem; font-weight: 650; white-space: nowrap; }
.pill.auto { background: var(--tide-wash); color: var(--ink); }
.pill.assist { background: #fdf1c9; color: var(--ink); }
.pill.no { background: #f7dde0; color: #7a1420; }

/* pricing */
.plans { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: stretch; }
.plan { background: var(--foam); border-radius: var(--radius-l); padding: 28px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan .price { font-size: var(--step-3); font-weight: 780; letter-spacing: -0.02em; margin: 12px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan ul { padding-left: 1.1em; margin: 16px 0 24px; color: var(--ink-2); }
.plan ul li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; }
.plan.tag { background: var(--sticker); box-shadow: none; position: relative; border-radius: 14px 14px 14px 44px; padding-top: 44px; }
.plan.tag::before { content: ""; position: absolute; top: 18px; left: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px rgba(13, 54, 64, 0.25); }
.plan.tag ul { color: var(--ink); }
.plan.tag .btn { background: var(--ink); }
.plan .later { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* join */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.join form { background: var(--foam); border-radius: var(--radius-l); padding: 26px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; }
.join input[type=email] { width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); color: var(--ink); background: var(--foam); }
.join input[type=email]:focus { border-color: var(--tide); outline: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.95rem; }
.checks input { accent-color: var(--tide); }
.checks label:has(input:checked) { border-color: var(--tide); background: var(--tide-wash); }
.form-msg { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-msg.err { color: var(--sold); }
.done { background: var(--tide-wash); border-radius: var(--radius-l); padding: 26px; }
.done h3 { font-size: var(--step-2); margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; font-size: var(--step-1); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--tide); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 64ch; }

/* footer */
footer { padding: 40px 0 56px; font-size: 0.93rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* legal and tool pages */
.page { padding: 32px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: var(--step-3); margin-bottom: 20px; }
.page h2 { font-size: var(--step-2); margin: 36px 0 12px; max-width: none; }
.page p, .page li { color: var(--ink-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fees-join { margin-top: 48px; background: var(--foam); border-radius: var(--radius-l); padding: 28px; box-shadow: 0 0 0 1px var(--line); max-width: 760px; }
.fees-join h2 { margin: 0 0 10px; }
.fees-join form { display: grid; gap: 14px; margin-top: 16px; }
.fees-join input[type=email] { width: 100%; font: inherit; font-size: 1.1rem; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); }
.fees-join .btn { justify-self: start; }
.page.wide .wrap { max-width: var(--wrap); }
.page .lead-in { margin-bottom: 32px; }
.text { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); color: var(--ink); background: var(--foam); }
.text:focus { border-color: var(--tide); outline: 0; }
#contact-form { display: grid; gap: 16px; margin: 24px 0; }
#contact-form .btn { justify-self: start; }
.results .flag { grid-column: 1 / -1; font-size: 0.85rem; color: #7a1420; }
