/* Landing page. Mobile first; two columns from 900px. */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.top .btn { min-height: 38px; padding: 0 14px; font-size: 14px; box-shadow: 3px 4px 0 var(--ink); }
.top .logo b { font-size: 19px; }

/* Hero */
.hero { padding-bottom: 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 26px; padding-top: 14px; }
.hero-form .lede { margin-top: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--keep); margin: 0 0 14px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(44px, 13.4vw, 92px); line-height: .9; letter-spacing: -.035em; margin: 0;
}
.hero h1 span { display: block; }
.hero h1 .swipe { color: var(--keep); }
.lede { font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.86); margin: 18px 0 0; max-width: 34ch; }

.stage-wrap { display: grid; justify-items: center; gap: 22px; }
.stage { position: relative; --card-w: min(60vw, 290px); margin-left: 48px; margin-bottom: 26px; }
.ruler {
  position: absolute; top: 0; bottom: 0; right: calc(100% + 12px); width: 40px;
  border-right: 1.5px solid rgba(255,255,255,.55);
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.45) 0 1px, transparent 1px 2.5%) right / 7px 100% no-repeat;
  font-family: var(--f-mono); font-size: 9px; color: rgba(255,255,255,.75);
}
.ruler span { position: absolute; right: 12px; top: calc(var(--y) * 1%); transform: translateY(-50%); }
.ruler span::after { content: ""; position: absolute; left: calc(100% + 2px); top: 50%; width: 12px; border-top: 1.5px solid currentColor; }
.ruler .cut { color: var(--keep); }
.ruler .feed {
  position: absolute; top: 14.84%; bottom: 14.84%; right: 30px; width: 10px;
  border: 1.5px solid var(--keep); border-right: 0; border-radius: 3px 0 0 3px;
}
.ruler .feed i {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-style: normal; color: var(--keep); white-space: nowrap; letter-spacing: .08em;
}
.why { width: min(100%, 340px); text-align: center; }
.why p { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.why-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.why-chips button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.why[hidden] { display: none; }
.hint { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: -6px 0 0; text-align: center; }

/* Waitlist form */
.join { display: grid; gap: 10px; margin-top: 26px; max-width: 460px; }
.join input {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 2.5px solid var(--ink);
  background: var(--white); color: var(--ink); font-size: 16px;
}
.join input::placeholder { color: #7d8783; }
.join .btn { width: 100%; min-height: 54px; font-size: 17px; }
.join .note { font-size: 13px; color: rgba(255,255,255,.7); margin: 2px 0 0; }
.join .msg { font-weight: 600; font-size: 15px; margin: 0; min-height: 1.4em; }
.join .msg.ok { color: var(--keep); }
.join .msg.err { color: #FFB4AD; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join.done input, .join.done .btn, .join.done .note { display: none; }
.join.done .msg { font-size: 18px; }

/* Sections */
.sec { padding: 64px 0; }
.sec h2 {
  font-family: var(--f-display); font-weight: 850; font-stretch: 108%;
  font-size: clamp(32px, 9vw, 56px); line-height: .95; letter-spacing: -.03em; margin: 0;
}
.sec .lead { font-size: 17px; color: var(--ink-soft); margin: 14px 0 0; max-width: 46ch; }
.kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mat); margin: 0 0 12px; }

/* Works with */
.works { padding: 30px 0 8px; }
.works .kicker { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px 9px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--white); box-shadow: 3px 3px 0 var(--ink);
}
.chip:nth-child(1) { transform: rotate(-1.5deg); }
.chip:nth-child(2) { transform: rotate(1deg); }
.chip:nth-child(3) { transform: rotate(-.5deg); }
.chip:nth-child(4) { transform: rotate(1.5deg); }
.chip code { font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.chip small { font-size: 12px; color: var(--ink-soft); }

/* How it works */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; padding: 18px 18px 18px 74px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white);
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; background: var(--mat); color: var(--white); font-family: var(--f-display); font-weight: 900; font-size: 24px;
}
.steps h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.steps p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.steps .dirs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.steps .dirs span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px 4px; border: 2px solid var(--ink); border-radius: 6px; }
.dirs .k { background: var(--keep); }
.dirs .x { background: var(--kill); color: var(--white); }
.dirs .m { background: var(--more); color: var(--white); }
.dirs .n { background: var(--new); }
.dirs .r { background: var(--revise); }

/* Safe zone */
.safe { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.safe-demo { display: grid; justify-items: center; gap: 18px; margin-top: 30px; }
.phone {
  position: relative; width: min(64vw, 280px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); background: #000;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .trim { position: absolute; left: 0; right: 0; height: 14.84%; background: rgba(11,19,16,.78); display: grid; place-items: center; transition: transform .35s cubic-bezier(.2,.8,.3,1); }
.phone .trim span { font-family: var(--f-mono); font-size: 10px; color: var(--keep); letter-spacing: .06em; }
.phone .trim.t { top: 0; border-bottom: 2px dashed var(--keep); transform: translateY(-101%); }
.phone .trim.b { bottom: 0; border-top: 2px dashed var(--keep); transform: translateY(101%); }
.safe-demo.feed .trim.t, .safe-demo.feed .trim.b { transform: none; }
.seg { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.seg button { border: 0; background: transparent; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.dims { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); text-align: center; margin: 0; }

/* Learns */
.taste { margin-top: 28px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); overflow: hidden; }
.taste header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink); color: var(--white); }
.taste header span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.taste ul { list-style: none; margin: 0; padding: 4px 16px; }
.taste li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1.5px solid var(--line); }
.taste li:last-child { border-bottom: 0; }
.taste li b { font-size: 16px; }
.taste li em { font-style: normal; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px 3px; border-radius: 6px; border: 2px solid var(--ink); }
.taste li em.up { background: var(--keep); }
.taste li em.down { background: var(--kill); color: var(--white); }
.taste li em.fix { background: var(--revise); }
.taste .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.taste .bar i { display: block; height: 100%; width: var(--w); background: var(--mat); border-radius: 99px; }
.taste li small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 13px; margin-top: -2px; }

/* Formats */
.formats { background: var(--ink); color: var(--white); }
.formats .kicker { color: var(--keep); }
.formats .lead { color: rgba(255,255,255,.75); }
.reel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 28px 20px 10px; margin: 0 -20px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; flex: 0 0 auto; width: 46vw; max-width: 200px; scroll-snap-align: start; }
.reel img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255,255,255,.9); }
.reel figcaption { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; margin-top: 10px; color: rgba(255,255,255,.85); }
.credit { font-size: 13px; color: rgba(255,255,255,.55); margin: 14px 0 0; }

/* Claims */
.claims { display: grid; gap: 14px; margin-top: 28px; }
.claims div { border: 2px solid var(--ink); border-radius: 16px; padding: 16px; background: var(--white); }
.claims h3 { margin: 0 0 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.claims ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.claims li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.claims li i { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--ink); display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 800; }
.claims .yes i { background: var(--keep); }
.claims .no li { color: #8a938f; text-decoration: line-through; text-decoration-thickness: 2px; }
.claims .no i { background: var(--kill); color: var(--white); }

/* Final CTA */
.final { padding: 64px 0 72px; }
.final h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(40px, 12vw, 80px); line-height: .9; letter-spacing: -.035em; margin: 0; }
.final .lede { max-width: 38ch; }

/* FAQ */
.faq details { border-bottom: 2px solid var(--ink); }
.faq details:first-of-type { border-top: 2px solid var(--ink); margin-top: 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-weight: 900; font-size: 26px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -4px 0 18px; color: var(--ink-soft); font-size: 16px; max-width: 56ch; }

footer { padding: 28px 0 40px; border-top: 2px solid var(--ink); font-size: 13px; color: var(--ink-soft); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer p { margin: 10px 0 0; }

@media (min-width: 700px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .claims { grid-template-columns: 1fr 1fr; }
  .join { grid-template-columns: 1fr auto; }
  .join .btn { width: auto; }
  .join .note, .join .msg, .join .link-field { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy stage" "form stage"; column-gap: 40px; row-gap: 22px; align-items: end; padding-top: 40px; }
  .hero-copy { grid-area: copy; }
  .hero-form { grid-area: form; align-self: start; }
  .stage-wrap { grid-area: stage; align-self: center; }
  .stage { --card-w: 300px; }
  .sec { padding: 96px 0; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .split .safe-demo, .split .taste { margin-top: 0; }
  .reel { margin: 0 -40px; padding: 32px 40px 10px; scroll-padding-inline: 40px; }
  .reel figure { width: 200px; }
}
