:root {
  --cotton: #FFF8F3;
  --peach: #FCE3D3;
  --tide: #FBD9C6;
  --red: #EF4A46;
  --number: #C8302E;
  --yarn: #F9A274;
  --ink: #2B1A16;
  --ink2: #7A6259;
  --line: rgba(43, 26, 22, .12);
  --ember: #130D0B;
  --ember2: #201714;
  --ember-ink: #FFF1EA;
  --ember-yarn: #FFB08A;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  --gutter: 16px;
  --max: 1160px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cotton); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--number); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.eyebrow { font: 800 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--number); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 1l3.25 6L6.5 1l3.25 6L13 1l3.25 6L19.5 1l3.25 6L26 1' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 1l3.25 6L6.5 1l3.25 6L13 1l3.25 6L19.5 1l3.25 6L26 1' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.red { color: var(--number); }
.small { font-size: 14px; color: var(--ink2); margin: 0; }
.answer { font-size: 19px; color: var(--ink2); max-width: 62ch; margin: 18px 0 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; background: color-mix(in srgb, var(--cotton) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 900 19px var(--display); }
.brand img { border-radius: 10px; box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(200, 48, 46, .14); }
.top nav { display: none; gap: 26px; }
.top nav a { color: var(--ink2); text-decoration: none; font: 800 15px var(--display); }
.top nav a:hover { color: var(--ink); }
@media (min-width: 760px) { .top nav { display: flex; } }

section { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 96px var(--gutter); }
section h2 { font-size: clamp(34px, 5.4vw, 56px); max-width: 20ch; }

/* Hero */
.hero { display: grid; gap: 48px; align-items: center; padding-top: 40px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr .95fr; padding-top: 56px; min-height: calc(100vh - 70px); } }
.hero h1 { font-size: clamp(54px, 9.5vw, 104px); letter-spacing: -.035em; line-height: .95; }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--ink2); max-width: 30ch; margin: 26px 0 30px; }
.cta { display: grid; gap: 12px; justify-items: start; }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 99px; background: var(--ink); color: var(--cotton); font: 800 16px var(--display); }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--yarn); box-shadow: 0 0 0 4px rgba(249, 162, 116, .25); }
.down { display: inline-block; margin-top: 34px; font: 800 16px var(--display); color: var(--number); text-decoration: none; }

/* Live demo phone */
.hero-demo { display: grid; place-items: center; }
.phone { width: min(360px, 86vw); aspect-ratio: 9 / 19.2; border-radius: 54px; padding: 11px; background: var(--ink); box-shadow: 0 50px 90px -30px rgba(120, 40, 20, .45), 0 0 0 1px rgba(0,0,0,.2); transform: rotate(2deg); }
@media (prefers-reduced-motion: no-preference) { .phone { animation: settle .9s var(--spring) both; } }
@keyframes settle { from { transform: translateY(30px) rotate(5deg); opacity: 0; } }
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--cotton); display: flex; flex-direction: column; user-select: none; -webkit-user-select: none; }
.bar { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 46px 18px 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: #fff; box-shadow: 0 2px 10px rgba(43, 26, 22, .08); font: 900 14px var(--display); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hint { font: 800 13px var(--display); color: var(--ink2); transition: opacity .4s; }
.tap { all: unset; position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; touch-action: pan-y; }
.tap:focus-visible { outline: 3px solid var(--red); outline-offset: -8px; border-radius: 44px; }
.num { font: 900 clamp(120px, 34vw, 168px)/1 var(--display); color: var(--number); letter-spacing: -.04em; font-variant-numeric: proportional-nums; display: inline-block; }
.unit { font: 900 20px var(--display); color: var(--ink2); margin-top: 2px; }
.num.up { animation: rollup .42s var(--spring); }
.num.back { animation: rollback .42s var(--spring); }
@keyframes rollup { from { transform: translateY(26%) scale(.96); opacity: .2; } }
@keyframes rollback { from { transform: translateY(-26%) scale(.96); opacity: .2; } }
.vpop { position: absolute; z-index: 3; width: 30px; height: 18px; margin: -9px 0 0 -15px; pointer-events: none; color: var(--red); animation: vpop .7s ease-out forwards; }
@keyframes vpop { 0% { transform: scale(.4); opacity: 1; } 60% { opacity: 1; } 100% { transform: translateY(-34px) scale(1.15); opacity: 0; } }
.tide { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: var(--tide); transition: height .55s var(--spring); }
.knit { position: absolute; top: -7px; left: 0; width: 100%; height: 8px; fill: var(--tide); }
.readout { position: relative; z-index: 2; margin-top: auto; padding: 0 22px 30px; pointer-events: none; }
.readout .row { display: flex; justify-content: space-between; align-items: baseline; font: 900 13px var(--display); color: var(--ink2); }
.readout b { font-size: 30px; color: var(--ink); margin-right: 4px; }
.readout .row span:first-child b { color: var(--red); }
.needle { position: relative; display: flex; align-items: center; height: 26px; margin-top: 8px; }
.needle::before { content: ""; position: absolute; left: 10px; right: 0; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--yarn) 92%, transparent); clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); }
.needle .head { position: relative; width: 22px; height: 16px; border-radius: 50%; background: var(--yarn); }
.loops { position: relative; display: flex; flex: 1; justify-content: space-between; padding: 0 18px 0 8px; }
.loops i { width: 10px; height: 22px; border-radius: 6px; border: 2.5px solid rgba(122, 98, 89, .35); background: var(--cotton); transition: border-color .3s, transform .3s var(--spring); }
.loops i.on { border-color: var(--red); transform: scale(1.06); }
.loops.done i { animation: slide .6s ease-in forwards; }
@keyframes slide { to { transform: translateX(60px); opacity: 0; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 22px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(120, 40, 20, .35); padding-bottom: 26px; }
.steps figure { margin: 0 0 22px; background: var(--peach); aspect-ratio: 1 / 1.05; overflow: hidden; }
.steps figure img { width: 100%; }
.steps .k, .steps h3, .steps p { margin-left: 24px; margin-right: 24px; }
.k { font: 900 13px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--number); margin-top: 0; margin-bottom: 8px; }
.steps h3 { font-size: 30px; margin-bottom: 8px; }
.steps p:last-child { color: var(--ink2); margin-top: 0; margin-bottom: 0; }

/* Split */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.split-img, .price-img { margin: 0; border-radius: 34px; background: var(--peach); overflow: hidden; max-height: 640px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; max-width: 52ch; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Ember band */
.nos { max-width: none; background: var(--ember); color: var(--ember-ink); display: grid; gap: 0; padding-top: 0; padding-bottom: 0; }
.nos > div { padding: 64px var(--gutter); border-bottom: 1px solid rgba(255, 241, 234, .12); }
.nos h2 { font-size: clamp(44px, 6vw, 72px); max-width: none; }
.nos h2 span { color: var(--ember-yarn); }
.nos p { color: rgba(255, 241, 234, .7); margin: 14px 0 0; max-width: 30ch; }
@media (min-width: 900px) { .nos { grid-template-columns: repeat(3, 1fr); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); } .nos > div { padding: 110px 28px; border-bottom: 0; border-left: 1px solid rgba(255, 241, 234, .12); } .nos > div:first-child { border-left: 0; padding-left: 0; } }

/* Details grid */
.grid { list-style: none; padding: 0; margin: 50px 0 0; display: grid; gap: 1px; background: var(--line); border-radius: 26px; overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid li { background: var(--cotton); padding: 28px 24px; }
.grid h3 { font-size: 21px; margin-bottom: 8px; }
.grid p { margin: 0; color: var(--ink2); font-size: 15.5px; }

/* Price */
.price { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .price { grid-template-columns: 1.2fr .8fr; } .price-copy, .price .table-wrap { grid-column: 1; } .price-img { grid-column: 2; grid-row: 1 / span 2; } }
.table-wrap { overflow-x: auto; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(120, 40, 20, .35); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 900 15px var(--display); color: var(--ink); background: var(--peach); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
td { color: var(--ink2); }
.price tbody td:last-child, .versus tbody td:nth-child(2) { color: var(--number); font-weight: 700; }
.verdict { margin: 22px 0 0; font-weight: 600; max-width: 70ch; }
.versus .table-wrap { margin-top: 40px; }

/* FAQ */
.qs { margin-top: 44px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary h3 { font-size: clamp(21px, 2.6vw, 26px); display: inline; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .3s var(--spring); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: -6px 0 26px; color: var(--ink2); max-width: 68ch; font-size: 18px; }

/* End */
.end { text-align: center; display: grid; justify-items: center; gap: 26px; padding-bottom: 120px; }
.end img { border-radius: 24px; box-shadow: 0 20px 50px -20px rgba(200, 48, 46, .45); }
.end h2 { max-width: 14ch; }
.foot { border-top: 1px solid var(--line); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 34px var(--gutter) 48px; display: grid; gap: 12px; color: var(--ink2); font-size: 15px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot a:hover { color: var(--number); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--spring); }
  .rv.in { opacity: 1; transform: none; }
}

/* Simple pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.doc h1 { font-size: clamp(44px, 7vw, 68px); margin-bottom: 16px; }
.doc h2 { font-size: 28px; margin: 44px 0 10px; max-width: none; }
.doc p, .doc li { color: var(--ink2); font-size: 18px; }
.doc .updated { font-size: 14px; }
.doc .card { background: #fff; border-radius: 26px; padding: 28px; margin: 32px 0; box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(120, 40, 20, .35); }
.doc .card h2 { margin-top: 0; }
.mail { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 99px; background: var(--ink); color: var(--cotton); font: 800 17px var(--display); text-decoration: none; margin-top: 8px; }
