@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800&f[]=switzer@400,500,600,700&display=swap');

:root{
  --bg-dark:#111111;
  --bg-dark-card:#1a1a1a;
  --cream:#F7F4EE;
  --cream-card:#FFFFFF;
  --text-d:#F0EEE8;
  --text-d-muted:#9a948c;
  --text-l:#1C1712;
  --text-l-muted:#6E665D;
  --accent:#E06B15;
  --accent-dark:#B8500E;
  --accent-warm:#F0954A;
  --gradient-brand: linear-gradient(135deg, #B8500E 0%, #E06B15 55%, #F0954A 100%);
  --border-d:#2a2626;
  --border-l:#E7E1D8;
  --radius:10px;
  --radius-lg:16px;
  --max-w:880px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Switzer', 'Segoe UI', system-ui, sans-serif;
  background:var(--cream);
  color:var(--text-l);
  line-height:1.65;
}
h1, h2, h3, h4, h5 {
  font-family:'Cabinet Grotesk', 'Switzer', 'Segoe UI', system-ui, sans-serif;
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.1;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--max-w); margin:0 auto; padding-inline:24px; }

.gradient-text{
  background:var(--gradient-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-style:normal;
}

/* ---------- Hero ---------- */
.hero{
  background:var(--bg-dark);
  color:var(--text-d);
  padding-block:72px 56px;
}
.byline{
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent-warm);
  display:block;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(2.1rem, 5vw, 3.2rem);
  font-weight:800;
  line-height:1.12;
  margin:0 0 22px;
  text-wrap:balance;
}
.hero-row{
  display:flex;
  gap:32px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-bottom:44px;
}
.hero-sub{
  color:var(--text-d-muted);
  font-size:1.02rem;
  max-width:52ch;
  margin:0;
  flex:1 1 320px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 30px;
  border-radius:var(--radius);
  font-size:0.95rem;
  font-weight:600;
  white-space:nowrap;
  cursor:pointer;
  border:2px solid transparent;
  transition:transform .15s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  flex:0 0 auto;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-dark); transform:translateY(-1px); }
.btn-outline-dark{ background:transparent; border-color:var(--border-d); color:var(--text-d); }
.btn-outline-dark:hover{ border-color:var(--accent); color:var(--accent-warm); }
.btn-outline-light{ background:transparent; border-color:var(--border-l); color:var(--text-l); }
.btn-outline-light:hover{ border-color:var(--accent); color:var(--accent-dark); }
.btn-sm{ padding:10px 20px; font-size:0.85rem; }

/* --- Flow button (see docs/effects/flow-button.md) --- */
.flow-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:4px;
  overflow:hidden;
  border-radius:100px;
  border:1.5px solid rgba(240,238,232,.4);
  background:transparent;
  padding:17px 36px;
  font-family:inherit;
  font-size:1rem;
  font-weight:600;
  color:var(--text-d);
  cursor:pointer;
  transition: border-color .6s cubic-bezier(.23,1,.32,1), color .6s cubic-bezier(.23,1,.32,1), border-radius .6s cubic-bezier(.23,1,.32,1);
}
.flow-btn:active{ transform:scale(.95); }
.flow-btn:hover{ border-color:transparent; color:#fff; border-radius:12px; }
.flow-btn .arr{
  position:absolute; width:16px; height:16px; z-index:9;
  transition: left .8s cubic-bezier(.34,1.56,.64,1), right .8s cubic-bezier(.34,1.56,.64,1), stroke .8s cubic-bezier(.34,1.56,.64,1);
}
.flow-btn .arr-left{ left:-25%; stroke:var(--text-d); }
.flow-btn:hover .arr-left{ left:16px; stroke:#fff; }
.flow-btn .arr-right{ right:16px; stroke:var(--text-d); }
.flow-btn:hover .arr-right{ right:-25%; stroke:#fff; }
.flow-btn .flow-text{
  position:relative; z-index:1;
  transform:translateX(-12px);
  transition:transform .8s ease-out;
}
.flow-btn:hover .flow-text{ transform:translateX(12px); }
.flow-btn .flow-circle{
  position:absolute; top:50%; left:50%;
  width:16px; height:16px;
  border-radius:50%;
  background:var(--accent);
  opacity:0;
  transform:translate(-50%,-50%);
  transition: width .8s cubic-bezier(.19,1,.22,1), height .8s cubic-bezier(.19,1,.22,1), opacity .8s cubic-bezier(.19,1,.22,1);
}
.flow-btn:hover .flow-circle{ width:220px; height:220px; opacity:1; }

.media-block{
  background:var(--bg-dark-card);
  border:1px solid var(--border-d);
  border-radius:var(--radius-lg);
  padding:64px 24px 28px;
  text-align:center;
}
.play-btn{
  width:76px; height:76px;
  border-radius:50%;
  background:var(--accent-warm);
  color:#1c1712;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 36px;
  font-size:0;
  border:none;
  cursor:pointer;
}
.play-btn::before{
  content:"";
  width:0; height:0;
  border-style:solid;
  border-width:12px 0 12px 20px;
  border-color:transparent transparent transparent #1c1712;
  margin-left:5px;
}
.media-caption{
  font-size:0.85rem;
  color:var(--text-d-muted);
  margin:0;
}

/* ---------- Transition / divider ---------- */
.transition{
  padding-block:40px 0;
}
.transition p{
  color:var(--text-l-muted);
  max-width:60ch;
  font-size:0.95rem;
}
.icon-divider{
  display:flex;
  align-items:center;
  gap:18px;
  margin:32px 0 0;
  color:var(--accent-warm);
}
.icon-divider::before, .icon-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--border-l);
}
.icon-divider span{ font-size:1.1rem; }

/* ---------- Options section ---------- */
.options{ padding-block:56px 64px; }
.section-label{
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 10px;
}
.options h2{
  font-size:clamp(1.5rem, 3vw, 2.1rem);
  font-weight:800;
  margin:0 0 8px;
}
.options > .container > p{
  color:var(--text-l-muted);
  margin:0 0 36px;
}

.tier{
  border-radius:var(--radius-lg);
  margin-bottom:20px;
  padding:36px;
}
.tier-top{
  background:var(--bg-dark);
  color:var(--text-d);
}
.tier-top .tier-label{ color:var(--accent-warm); }
.tier-top p.tier-desc{ color:var(--text-d-muted); }
.tier-best{
  background:var(--cream-card);
  border:2px solid var(--accent);
}
.tier-label{
  display:block;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent-dark);
  margin-bottom:10px;
}
.tier h3{ font-size:1.3rem; font-weight:700; margin:0 0 10px; }
.tier .tier-desc{
  color:var(--text-l-muted);
  max-width:50ch;
  margin:0 0 24px;
  font-size:0.95rem;
}
.tier-price-row{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.price{ font-size:2rem; font-weight:800; }
.price-was{
  font-size:1.1rem;
  color:var(--text-l-muted);
  text-decoration:line-through;
}
.tier-top .price-was{ color:var(--text-d-muted); }
.tier-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:20px 0 24px;
  font-size:0.85rem;
  color:var(--text-l-muted);
}
.tier-note span.ic{ color:var(--accent); flex-shrink:0; }

.tier-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  padding:22px 28px;
  border:1px solid var(--border-l);
  border-radius:var(--radius);
  margin-bottom:14px;
  background:var(--cream);
}
.tier-row-info h4{ margin:0 0 4px; font-size:1.02rem; font-weight:700; }
.tier-row-info p{ margin:0; font-size:0.88rem; color:var(--text-l-muted); }
.tier-row-cta{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.tier-row-cta .price{ font-size:1.25rem; }

/* ---------- FAQ accordion (see docs/effects/accordion.md) ---------- */
.faq{ padding-block:8px 8px; }
.faq h2{ font-size:clamp(1.5rem, 3vw, 2.1rem); font-weight:800; margin:0 0 8px; }
.faq > .container > p.faq-sub{ color:var(--text-l-muted); margin:0 0 8px; }
.faq-list{ max-width:720px; margin-top:24px; }
.faq-item{ border-bottom:1px solid var(--border-l); }
.faq-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 4px;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color:var(--accent-dark); }
.faq-item .chev{ flex-shrink:0; transition:transform .2s ease; color:var(--text-l-muted); }
.faq-item[open] .chev{ transform:rotate(180deg); }
.faq-item .faq-a{
  padding:0 4px 20px;
  color:var(--text-l-muted);
  font-size:0.92rem;
  line-height:1.7;
  margin:0;
  max-width:65ch;
}

/* ---------- Waitlist ---------- */
.waitlist{ padding-block:20px 72px; }
.waitlist-card{
  background:var(--cream-card);
  border:1px solid var(--border-l);
  border-radius:var(--radius-lg);
  padding:40px;
  max-width:560px;
}
.waitlist-card h2{ font-size:1.4rem; font-weight:800; margin:0 0 8px; }
.waitlist-card > p{ color:var(--text-l-muted); font-size:0.92rem; margin:0 0 28px; }
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:0.82rem;
  font-weight:600;
  margin-bottom:6px;
}
.field input, .field select{
  width:100%;
  padding:12px 14px;
  border-radius:var(--radius);
  border:1px solid var(--border-l);
  background:var(--cream);
  color:var(--text-l);
  font-family:inherit;
  font-size:0.92rem;
}
.field input:focus, .field select:focus{
  outline:2px solid var(--accent);
  outline-offset:1px;
}
.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:0.78rem;
  color:var(--text-l-muted);
  margin-bottom:22px;
}
.consent input{ margin-top:3px; flex-shrink:0; }

/* ---------- Footer ---------- */
footer{
  background:var(--bg-dark);
  color:var(--text-d);
  padding-block:48px 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:32px;
  margin-bottom:32px;
}
.footer-grid h4{
  font-size:0.78rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--text-d-muted);
  margin:0 0 14px;
}
.footer-grid p, .footer-grid a{ font-size:0.88rem; color:var(--text-d-muted); }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.footer-grid a:hover{ color:var(--accent-warm); }
.footer-brand strong{ color:var(--text-d); font-size:1rem; display:block; margin-bottom:8px; }
.footer-bottom{
  border-top:1px solid var(--border-d);
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  font-size:0.78rem;
  color:var(--text-d-muted);
}

@media (max-width:680px){
  .footer-grid{ grid-template-columns:1fr; }
  .tier-row{ flex-direction:column; align-items:flex-start; }
  .tier-row-cta{ width:100%; justify-content:space-between; }
}

/* ---------- Feature hover grid (see docs/effects/feature-hover-grid.md) ---------- */
.features{ padding-block:8px 56px; }
.features .section-label{ margin-bottom:10px; }
.features h2{ font-size:clamp(1.5rem, 3vw, 2.1rem); font-weight:800; margin:0 0 8px; }
.features > .container > p.features-sub{ color:var(--text-l-muted); margin:0 0 8px; }

.feat-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  border-top:1px solid var(--border-l);
  border-left:1px solid var(--border-l);
  border-radius:var(--radius-lg);
  overflow:hidden;
  margin-top:32px;
}
.feat{
  position:relative;
  padding:36px 28px;
  border-right:1px solid var(--border-l);
  border-bottom:1px solid var(--border-l);
  overflow:hidden;
}
.feat::before{
  content:"";
  position:absolute; inset:0;
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
  background:linear-gradient(to bottom, var(--cream), transparent);
}
.feat:nth-child(n+5)::before{ background:linear-gradient(to top, var(--cream), transparent); }
.feat:hover::before{ opacity:1; }
.feat .feat-icon{
  position:relative; z-index:1;
  color:var(--text-l-muted);
  margin-bottom:14px;
}
.feat .feat-icon svg{ width:24px; height:24px; }
.feat-title{
  position:relative; z-index:1;
  padding-left:18px;
  margin-bottom:8px;
}
.feat-title h4{
  font-size:1.02rem;
  font-weight:700;
  margin:0;
  transition:transform .2s ease;
  display:inline-block;
}
.feat-title .bar{
  position:absolute; left:0; top:2px;
  width:4px; height:20px;
  border-radius:0 4px 4px 0;
  background:var(--border-l);
  transition:height .2s ease, background-color .2s ease;
}
.feat:hover .feat-title .bar{ height:26px; background:var(--accent); }
.feat:hover .feat-title h4{ transform:translateX(6px); }
.feat p{
  position:relative; z-index:1;
  font-size:0.88rem;
  color:var(--text-l-muted);
  margin:0;
  max-width:32ch;
}

@media (max-width:900px){
  .feat-grid{ grid-template-columns:repeat(2, 1fr); }
  .feat:nth-child(2n){ border-right:none; }
  .feat:nth-child(n+5)::before{ background:linear-gradient(to bottom, var(--cream), transparent); }
}
@media (max-width:520px){
  .feat-grid{ grid-template-columns:1fr; }
  .feat{ border-right:none !important; }
}
