/* Offcut landing page. Brand tokens mirror docs/brand/BRAND.md in the app repo. */
:root {
  --paper: #FFF8EC;
  --paper2: #F7F1E6;
  --ink: #2A1F18;
  --ink2: #6B5F55;
  --hair: #ECE2D2;
  --sun: #FFDF8F;
  --peach: #FF9F5C;
  --snip: #E84B17;
  --buy: #C93A0A;
  --night: #16141D;
  --night2: #201D29;
  --night-ink: #F6F0E8;
  --night-ink2: #B3A9A0;
  --night-accent: #FF6A3D;
  --ok: #1B7A45;
  --font: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.55 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--buy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--snip); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 720px); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8.2vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; max-width: 34ch; }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .pill { background: var(--ink); color: var(--paper); padding: .55rem 1.05rem; border-radius: 999px; }
.nav .pill:hover { text-decoration: none; background: #000; }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* hero: the page opens on the icon's own gradient, cut off with a ragged scissor edge */
.hero { position: relative; background: linear-gradient(180deg, var(--sun) 0%, var(--peach) 100%); padding: 8.5rem 0 7.5rem; clip-path: polygon(0 0, 100% 0, 100% 93%, 96% 95.2%, 91% 93.6%, 86% 96%, 80% 94%, 74% 95.8%, 68% 93.8%, 61% 96.2%, 55% 94.2%, 48% 96%, 41% 93.9%, 35% 95.6%, 28% 94%, 21% 96%, 15% 94.1%, 8% 95.7%, 3% 94%, 0 95.5%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero h1 { max-width: 9ch; }
.hero .lede { margin-top: 1.6rem; color: #4a3a2e; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin-top: 2.2rem; }
.store { display: inline-flex; align-items: center; gap: .7rem; background: #000; color: #fff; text-decoration: none; padding: .7rem 1.4rem .7rem 1.1rem; border-radius: 14px; border: 1px solid #3a3a3a; }
.store:hover { background: #1b1b1b; }
.store svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.store small { display: block; font-size: .72rem; line-height: 1; letter-spacing: .01em; opacity: .85; font-weight: 500; }
.store strong { display: block; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.fine { font-size: .95rem; color: var(--ink2); }
.hero .fine { color: #5b4636; max-width: 20ch; }
.stage { position: relative; min-height: 560px; }
.phone { position: absolute; width: min(300px, 62%); aspect-ratio: 1179 / 2556; border-radius: 15% / 7%; background: #0b0a10; padding: 2.6%; box-shadow: 0 40px 70px -25px rgba(42, 31, 24, .55), 0 0 0 2px #2c2a33 inset; }
.phone img { width: 100%; height: 100%; border-radius: 13% / 6.2%; object-fit: cover; }
.phone.a { right: 4%; top: 0; transform: rotate(4deg); z-index: 2; }
.phone.b { right: 42%; top: 70px; transform: rotate(-5deg); z-index: 1; width: min(260px, 54%); }

/* the cut: a dashed line that draws across the hero while Snip travels along it, once */
.cut { position: absolute; left: 0; right: 0; bottom: 12%; height: 0; z-index: 3; pointer-events: none; }
.cut line { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 10; stroke-linecap: round; }
.cut svg { width: 100%; height: 40px; overflow: visible; }
.snipper { position: absolute; left: 0; top: -34px; width: 68px; height: 68px; }
.js .cut line { stroke-dashoffset: 1; }
.js .cut-run line { animation: draw 2.4s .5s cubic-bezier(.5, 0, .2, 1) forwards; }
.js .snipper { opacity: 0; }
.js .cut-run .snipper { animation: travel 2.4s .5s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes draw { from { stroke-dasharray: 0 2000; } to { stroke-dasharray: 10 10; } }
@keyframes travel { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 68px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding: 7rem 0 6rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; }
  .stage { min-height: 520px; margin-top: 1rem; }
  .phone.a { right: 8%; }
  .phone.b { right: 46%; }
  .cut { bottom: 6%; }
}

/* sections */
section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.kicker { font-weight: 700; color: var(--buy); font-size: 1rem; margin-bottom: 1rem; }

/* demo */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.demo-copy p { margin-top: 1.2rem; max-width: 30ch; color: var(--ink2); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.chip { font: inherit; font-weight: 700; font-size: 1.05rem; padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--snip); border-color: var(--snip); color: #fff; }
.chip[aria-pressed="true"] { color: #1d0a02; }
.board { background: #fff; border-radius: 28px; padding: clamp(1rem, 3vw, 1.6rem); box-shadow: 0 30px 60px -30px rgba(42, 31, 24, .35); border: 1px solid var(--hair); }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; transition: opacity .35s, transform .35s, filter .35s; }
.tile.dim { opacity: .14; transform: scale(.92); filter: saturate(0); }
.tile.photo { background: linear-gradient(180deg, var(--c1), var(--c2)); }
.tile.photo::before { content: ""; position: absolute; left: 62%; top: 20%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 243, 200, .9); }
.tile.photo::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -22%; height: 55%; border-radius: 50% 50% 0 0; background: var(--c3); }
.tile.blurry { filter: blur(3px); }
.tile.blurry.dim { filter: blur(3px) saturate(0); }
.tile.shot { background: #f4f1ec; border: 1px solid #e3ddd3; }
.tile.shot i { position: absolute; left: 12%; height: 8%; border-radius: 4px; background: #c9c2b6; }
.tile.shot i:nth-child(1) { top: 16%; width: 38%; background: #b7b0a4; }
.tile.shot i:nth-child(2) { top: 36%; width: 72%; }
.tile.shot i:nth-child(3) { top: 52%; width: 60%; }
.tile.shot i:nth-child(4) { top: 68%; width: 44%; }
.tile .age { position: absolute; right: 5px; bottom: 4px; font-size: .62rem; font-weight: 700; background: rgba(42, 31, 24, .78); color: #fff; padding: 1px 5px; border-radius: 6px; }
.readout { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.readout b { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.04em; font-weight: 800; line-height: 1; }
.readout span { color: var(--ink2); font-size: .95rem; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo-copy p { max-width: 40ch; } }

/* tour of screens */
.tour { background: var(--paper2); }
.tour h2 { max-width: 14ch; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3.5rem; align-items: start; }
.shot { display: block; }
.shot:nth-child(2) { margin-top: 3.5rem; }
.shot .frame { aspect-ratio: 1179 / 2556; border-radius: 15% / 7%; background: #0b0a10; padding: 2.6%; box-shadow: 0 30px 50px -25px rgba(42, 31, 24, .5); }
.shot .frame img { width: 100%; height: 100%; border-radius: 13% / 6.2%; object-fit: cover; }
.shot h3 { margin-top: 1.4rem; }
.shot p { margin-top: .5rem; color: var(--ink2); font-size: 1.02rem; max-width: 28ch; }
.note { margin-top: 2.4rem; }
@media (max-width: 900px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.2rem; margin-inline: -1rem; padding: 0 1rem 1.5rem; }
  .shot { flex: 0 0 74%; scroll-snap-align: center; }
  .shot:nth-child(2) { margin-top: 0; }
}

/* how */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; padding: 0; list-style: none; counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 1.2rem; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--snip); letter-spacing: -0.05em; margin-bottom: .8rem; }
.steps p { margin-top: .6rem; color: var(--ink2); font-size: 1.05rem; max-width: 28ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* privacy: the one dark moment */
.night { background: var(--night); color: var(--night-ink); position: relative; }
.night .kicker { color: var(--night-accent); }
.night h2 { max-width: 12ch; }
.night-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.night p.big { margin-top: 1.4rem; color: var(--night-ink2); max-width: 34ch; font-size: 1.25rem; line-height: 1.5; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts li { background: var(--night2); border: 1px solid #35313F; border-radius: 20px; padding: 1.3rem 1.5rem; }
.facts b { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.facts span { color: var(--night-ink2); font-size: 1rem; }
.night a { color: #FF8A63; }
@media (max-width: 900px) { .night-grid { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.plan { background: #fff; border: 1px solid var(--hair); border-radius: 24px; padding: 1.8rem; position: relative; }
.plan .price { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 1.1rem 0 .6rem; }
.plan .price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ink2); }
.plan p { color: var(--ink2); font-size: 1.02rem; }
.plan.best { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan.best p, .plan.best .price small { color: #cdbfb0; }
.plan .tag { position: absolute; top: -13px; left: 1.8rem; background: var(--snip); color: #1d0a02; font-weight: 800; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }
.offer { margin-top: 1.6rem; padding: 1.2rem 1.5rem; border-radius: 18px; background: #FCE9E3; color: #5a1d06; }
.offer strong { color: #A82F08; }
.small { margin-top: 1.4rem; font-size: .95rem; color: var(--ink2); max-width: 70ch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { background: var(--paper2); }
details { border-top: 2px solid var(--ink); padding: 1.15rem 0; }
details:last-of-type { border-bottom: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--snip); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details div { margin-top: .8rem; color: var(--ink2); max-width: 60ch; }
.faq h2 { margin-bottom: 2.4rem; }

/* contact + closing */
.close { text-align: center; padding-bottom: 6rem; }
.close img.snip { width: 132px; margin: 0 auto 1.6rem; }
.close h2 { max-width: 12ch; margin-inline: auto; }
.close .cta-row { justify-content: center; }
.contact { margin-top: 3.5rem; padding-top: 2.4rem; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; text-align: left; }
.contact h3 { margin-bottom: .4rem; }
.contact p { color: var(--ink2); max-width: 36ch; }
.mail { display: inline-block; margin-top: .4rem; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink); text-decoration-color: var(--snip); text-decoration-thickness: 3px; }
footer { background: var(--night); color: var(--night-ink2); padding: 2.5rem 0 3rem; font-size: .95rem; }
footer a { color: var(--night-ink); }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0 0 1.4rem; }
footer p + p { margin-top: .6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .cut line { stroke-dashoffset: 0; stroke-dasharray: 10 10; animation: none !important; }
  .js .snipper { display: none; }
  .tile, .chip, summary::after { transition: none; }
}
.shot { margin: 0; }
.price-lede { margin-top: 1.4rem; }
