/* Hallmark · shape: brand storefront · genre: modern-minimal · theme: custom · job: buy · idea: "three small fixes you can order today" · vibe: "dark, warm, playful product toys"
 * paper: oklch(16% 0.005 285) · accent: oklch(68% 0.21 38) · display: Syne · body: Onest · hero: headline left, three message cards floating in 3D that follow the mouse · nav: edge-aligned, wordmark and one action · footer: one line, wordmark and links · imagery: the product (demo videos, Shorts covers) · signature: the floating message stack that tilts with the cursor
 * axes: ink/syne/orange · posture: split · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R3 V3 · weakest: S, the more-services list is plain text, kept quiet on purpose so the three fixes lead */
/* waive 38iii: the orange second half of the headline is the brand's signature from every Short cover; it appears once, in the hero */
@import url("./tokens.css");
@import url("./base.css");

body { background: var(--color-paper); }
.spot { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), var(--color-glow), transparent 70%); }
main, .nav, .foot { position: relative; z-index: 1; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); font: 800 var(--text-lg) var(--font-display); letter-spacing: -0.02em; text-decoration: none; }
.nav-links { display: flex; gap: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--color-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; text-decoration: none; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), opacity var(--dur-short); will-change: transform; }
.btn:hover { background: var(--color-focus); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; transition: none; }
.btn-small { min-height: 42px; font-size: var(--text-sm); }
.btn-ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); }
.btn-ghost:hover { background: var(--color-paper-3); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--gap-columns); min-height: min(820px, calc(100svh - 96px)); padding-block: var(--space-xl) var(--space-2xl); }
.hero h1 { font-size: clamp(2.75rem, 5.2vw + 0.5rem, 5.5rem); font-weight: 800; line-height: 0.98; letter-spacing: var(--tracking-display); }
.hl { color: var(--color-accent); }
.lead { font-size: var(--text-lead); color: var(--color-muted); margin-top: var(--space-lg); max-width: 34ch; }
.hero .actions { margin-top: var(--space-xl); }

.stage { position: relative; height: 560px; perspective: 1400px; }
.layer { position: absolute; border-radius: var(--radius-card); transform-style: preserve-3d; transition: transform 600ms var(--ease-out); box-shadow: var(--shadow-deep); }
.card-sms { left: 14%; top: 6%; width: 330px; background: var(--color-cream); color: var(--color-cream-ink); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); z-index: 3; }
.pill-miss { align-self: center; font-size: var(--text-xs); font-weight: 700; color: var(--color-miss); background: var(--color-miss-soft); padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); }
.b { max-width: 86%; padding: var(--space-sm) var(--space-md); border-radius: 20px; font-weight: 500; line-height: 1.35; }
.b.out { align-self: flex-end; background: var(--color-accent); color: var(--color-accent-ink); border-bottom-right-radius: 6px; }
.b.in { align-self: flex-start; background: var(--color-bubble); color: var(--color-ink); border-bottom-left-radius: 6px; }
.ok { align-self: center; margin-top: var(--space-2xs); background: var(--color-green); color: var(--color-accent-ink); font-weight: 700; font-size: var(--text-sm); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.card-remind { right: 0; top: 0; width: 230px; background: var(--color-paper-3); padding: var(--space-lg); box-shadow: var(--shadow-mid), inset 0 0 0 1px var(--color-rule); color: var(--color-ink); z-index: 2; }
.card-remind .tag { font-size: var(--text-xs); color: var(--color-muted); }
.card-remind p { font-weight: 700; margin: var(--space-xs) 0 var(--space-md); }
.confirm { display: block; text-align: center; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; border-radius: var(--radius-inner); padding: var(--space-sm); }
.card-review { left: 0; bottom: 4%; width: 300px; background: var(--color-paper-2); padding: var(--space-lg); box-shadow: var(--shadow-mid), inset 0 0 0 1px var(--color-rule); color: var(--color-ink); z-index: 4; }
.stars { color: var(--color-star); letter-spacing: 2px; }
.draft-label { font-size: var(--text-xs); color: var(--color-accent); font-weight: 700; margin-top: var(--space-xs); }
.card-review p:last-child { margin-top: var(--space-2xs); }

/* sections */
section { padding-block: var(--section-gap-s); }
h2 { font-size: var(--text-section); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; max-width: 18ch; }
.fix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); perspective: 1600px; }
.fix { background: var(--color-paper-2); border-radius: var(--radius-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--color-rule); transition: transform 500ms var(--ease-out); transform-style: preserve-3d; }
.fix-media { aspect-ratio: 16 / 9; background: var(--color-paper-3); }
.fix-media video { width: 100%; height: 100%; object-fit: cover; }
.fix-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.fix h3 { font-size: var(--text-title); font-weight: 800; letter-spacing: -0.02em; }
.fix p { color: var(--color-muted); }
.fix-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.price { font: 800 var(--text-lg) var(--font-display); color: var(--color-ink); white-space: nowrap; }
.link-cta { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.link-cta:hover { text-decoration: underline; }

.steps { list-style: none; padding: 0; margin: var(--space-2xl) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.steps li { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.steps .n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font: 800 var(--text-lg) var(--font-display); }
.steps h3 { font-size: var(--text-title); font-weight: 800; letter-spacing: -0.02em; margin: var(--space-md) 0 var(--space-xs); }
.steps p { color: var(--color-muted); }
.note { margin-top: var(--space-xl); font-weight: 700; }

.more-list { list-style: none; padding: 0; margin: var(--space-xl) 0 0; }
.more-list a { display: flex; justify-content: space-between; gap: var(--space-lg); padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); font-size: var(--text-lead); text-decoration: none; transition: transform var(--dur-short) var(--ease-out), color var(--dur-short); }
.more-list a:hover { color: var(--color-accent); transform: translateX(8px); }

.watch-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; }
.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-lg); margin-top: var(--space-2xl); padding-inline: var(--gutter); transition: transform 900ms var(--ease-out); max-width: 100%; }
.strip img { scroll-snap-align: start; flex: none; }
@media (pointer: fine) { .strip { overflow: visible; width: max-content; max-width: none; } }
.strip img { width: 260px; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-mid); }

.custom { text-align: left; }
.custom .btn { margin-top: var(--space-xl); }

.foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot nav { display: flex; gap: var(--space-lg); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--color-ink); }

/* phone */
@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stage { height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
  .fix-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 40rem) {
  .brand { font-size: var(--text-md); }
  .nav .btn-small { padding: 0 var(--space-md); }
  .card-remind { display: none; }
  .card-sms { left: auto; right: 0; width: 280px; }
  .card-remind { width: 190px; }
  .card-review { width: 250px; }
  .stage { height: 500px; }
  .strip img { width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .layer, .fix, .strip, .btn { transition: none; } }
