/* Marked — trymarked.xyz */

:root {
  --bg: #0a0a0b;
  --bg-2: #111112;
  --surface: #161618;
  --surface-2: #1d1d20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #8e8e93;
  --dim: #5c5c63;
  --red: #ff453a;
  --red-deep: #d92d24;
  --green: #32d74b;
  --indigo: #5e5ce6;
  --radius: 28px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
h1 { font-size: clamp(46px, 7.4vw, 96px); }
h2 { font-size: clamp(36px, 5.4vw, 68px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.12; }
.m { color: var(--muted); }
.d { color: var(--dim); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; margin: 22px 0 0; }
.lede strong { color: var(--text); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.kicker { font-size: 15px; font-weight: 600; color: var(--red); letter-spacing: 0.01em; margin: 0 0 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav .store { padding: 9px 16px 9px 14px; font-size: 14px; }
.nav .store svg { width: 14px; height: 17px; }

/* ---------- buttons ---------- */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #000; text-decoration: none;
  padding: 14px 24px 14px 20px; border-radius: 14px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.store svg { width: 18px; height: 22px; fill: currentColor; }
.store:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35); }
.ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 14px; text-decoration: none;
  color: var(--text); font-weight: 600; border: 1px solid var(--line-2);
  transition: background .2s;
}
.ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(255, 69, 58, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero h1 { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #ffcc00; letter-spacing: 1px; }
.qr { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.qr img { width: 74px; height: 74px; border-radius: 10px; }
.qr strong { color: var(--text); font-weight: 600; }

.stage { position: relative; display: grid; place-items: center; }
.note {
  position: absolute; font-family: var(--hand); font-weight: 600; font-size: 30px; line-height: 1;
  color: var(--text); pointer-events: none; display: flex; align-items: center; gap: 2px;
}
.note svg { width: 54px; height: 70px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.note.up { top: 13%; left: -4%; flex-direction: column; align-items: flex-end; color: #ff8a80; }
.note.down { bottom: 15%; right: -6%; flex-direction: column; align-items: flex-start; color: #7ee28f; }
.note.try { top: -2%; right: 4%; font-size: 26px; color: var(--muted); transform: rotate(4deg); }

/* ---------- phone frame ---------- */
.phone {
  --pw: 300px;
  position: relative; width: var(--pw);
  padding: calc(var(--pw) * 0.034);
  border-radius: calc(var(--pw) * 0.17);
  background: linear-gradient(150deg, #48484d 0%, #1c1c1f 22%, #0d0d0e 60%, #2b2b2f 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--pw) * 0.012) #050505,
    0 50px 90px -30px rgba(0, 0, 0, 0.9);
  flex: none;
}
.phone > img, .phone .screen {
  width: 100%; border-radius: calc(var(--pw) * 0.136); overflow: hidden; background: #000;
}

/* ---------- swipe demo ---------- */
.demo { --pw: clamp(268px, 25vw, 318px); touch-action: pan-x pan-y; }
.screen { position: relative; aspect-ratio: 9 / 19.3; display: flex; flex-direction: column; isolation: isolate; user-select: none; -webkit-user-select: none; }
.screen::after {
  /* tint from the active swipe, like the app's glow at the bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, var(--tint, transparent), transparent);
  opacity: var(--tint-o, 0); transition: opacity .25s;
}
.island { position: absolute; top: 2.2%; left: 50%; translate: -50% 0; width: 30%; height: 4.4%; border-radius: 99px; background: #000; z-index: 5; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 6.2% 9% 0 11%; font-size: 13px; font-weight: 600; }
.status .icons { display: flex; gap: 5px; align-items: center; }
.status svg { height: 11px; width: auto; fill: currentColor; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 6px; }
.circle-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); cursor: pointer; transition: background .2s, opacity .2s;
}
.circle-btn:hover { background: rgba(255, 255, 255, 0.18); }
.circle-btn:disabled { opacity: .35; cursor: default; }
.circle-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pill { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); font-variant-numeric: tabular-nums; }

.deck { position: relative; z-index: 1; flex: 1; margin: 10px 16px 0; outline: none; touch-action: none; cursor: grab; }
.deck:active { cursor: grabbing; }
.card {
  position: absolute; inset: 0; border-radius: 22px; overflow: visible;
  transform-origin: 50% 90%;
  transition: transform .35s cubic-bezier(.2, .8, .25, 1), opacity .3s, filter .35s;
  will-change: transform;
}
.card .ph { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #1a1a1a; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: -1;
  box-shadow: 0 0 34px 8px var(--glow, transparent);
}
.card[data-dir="up"] { --glow: rgba(255, 69, 58, 0.85); }
.card[data-dir="down"] { --glow: rgba(50, 215, 75, 0.8); }
.card[data-dir]::before { opacity: var(--p, 0); }
.card:not(.top) .tag { opacity: 0; }
.card .tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stamp { position: absolute; left: 50%; top: 46%; width: 34%; translate: -50% -50%; z-index: 3; opacity: 0; scale: .5; pointer-events: none; transition: none; }
.stamp svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); }
.card[data-dir="up"] .stamp.mark, .card[data-dir="down"] .stamp.keep { opacity: min(1, calc(var(--p, 0) * 1.6)); scale: calc(.5 + var(--p, 0) * .5); }
.card.peek-1 { transform: translateY(12px) scale(.95); filter: brightness(.55); }
.card.peek-2 { transform: translateY(24px) scale(.9); filter: brightness(.35); }
.card.gone { visibility: hidden; }
.card.top.nudge { animation: nudge 2.4s cubic-bezier(.45, 0, .2, 1) 1; }
@keyframes nudge {
  0%, 100% { transform: none; }
  22% { transform: translateY(-34px) rotate(-1.5deg); }
  40% { transform: none; }
  62% { transform: translateY(26px) rotate(1deg); }
  80% { transform: none; }
}

.empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 20px; color: var(--muted); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.empty strong { color: var(--text); font-size: 18px; letter-spacing: -0.02em; }
.deck.is-empty .empty { opacity: 1; pointer-events: auto; }
.link-btn { background: none; border: 0; color: #8f8dff; font-weight: 600; cursor: pointer; padding: 6px; }

.demo-bar { display: flex; justify-content: space-between; padding: 16px 16px 10px; }
.act {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 600; transition: background .2s, transform .1s;
}
.act:active { transform: scale(.96); }
.act .ic { width: 9px; height: 9px; border-radius: 50%; }
.act.mark .ic { background: var(--red); box-shadow: 0 0 8px var(--red); }
.act.keep .ic { background: var(--green); box-shadow: 0 0 8px var(--green); }
.act.mark:hover { background: rgba(255, 69, 58, 0.22); }
.act.keep:hover { background: rgba(50, 215, 75, 0.2); }

.tray { margin: 0 12px 14px; padding: 10px 10px 10px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tray .lbl { font-size: 11px; color: var(--muted); line-height: 1.2; }
.tray .val { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.purge {
  --hold: 0;
  position: relative; overflow: hidden; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: #fff;
  background: var(--red-deep); touch-action: none; white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.purge::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.28); transform-origin: left; transform: scaleX(var(--hold)); }
.purge span { position: relative; }
.purge:disabled { opacity: .35; cursor: default; }
.purge.holding { transform: scale(.97); }

.done {
  position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; text-align: center; gap: 6px;
  background: rgba(14, 14, 15, 0.98); opacity: 0; pointer-events: none; transition: opacity .35s;
}
.done.show { opacity: 1; pointer-events: auto; }
.done canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done .seal { width: 52px; margin: 0 auto 6px; }
.done .t { font-weight: 700; font-size: 17px; }
.done .mb { font-size: 38px; font-weight: 700; color: var(--green); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.done .s { font-size: 13px; color: var(--muted); }
.done .again { margin-top: 18px; justify-self: center; padding: 11px 26px; border-radius: 99px; border: 0; background: var(--green); color: #04120a; font-weight: 700; cursor: pointer; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 860px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 0; overflow: hidden; display: flex; flex-direction: column;
}
.step .num { font-size: 14px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.step h3 { margin: 10px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step .shot { margin-top: 34px; height: 360px; display: flex; justify-content: center; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.step .phone { --pw: 250px; }
.step:nth-child(1) h3 .dot, .step:nth-child(3) h3 .dot { color: var(--red); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.tile {
  position: relative; grid-column: span 2; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; overflow: hidden; min-height: 300px; display: flex; flex-direction: column;
}
.tile p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.tile.wide { grid-column: span 3; }
.tile.hero-tile { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: 1fr auto; gap: 30px; padding-bottom: 0; }
.tile.hero-tile .copy { align-self: start; padding: 6px 0 30px; }
.tile.hero-tile .phone { --pw: 270px; align-self: start; margin-bottom: -140px; }
.tile.hero-tile h3 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.035em; line-height: 1.04; }
.tile .crop { margin-top: auto; padding-top: 24px; }
.tile .crop div { height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.tile .crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 30%); }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.privacy-ic { width: 64px; height: 64px; margin-bottom: auto; padding-bottom: 20px; box-sizing: content-box; }
.privacy-ic svg { width: 64px; height: 64px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 24px; }
.stat { border-radius: 14px; padding: 12px 6px 10px; text-align: center; color: #fff; }
.stat b { display: block; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { font-size: 11px; opacity: .85; }
.stat.r { background: linear-gradient(160deg, #e5484d, #a3262c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.stat.p { background: linear-gradient(160deg, #b33bd1, #6e1b8a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.stat.b { background: linear-gradient(160deg, #2f86e8, #17549c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

.aa { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.aa div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.aa div:nth-child(1) { background: #2b2a6e; }
.aa div:nth-child(2) { background: #5a1d1a; }
.aa svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.key { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
kbd {
  font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--text);
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center;
  border-radius: 10px; background: linear-gradient(#2a2a2e, #1f1f22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 0 #0a0a0b, 0 4px 10px rgba(0,0,0,.4);
}

/* staging split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split .phones { position: relative; display: flex; justify-content: center; }
.split .phones .phone:nth-child(1) { --pw: clamp(220px, 23vw, 290px); z-index: 2; }
.split .phones .phone:nth-child(2) { --pw: clamp(190px, 19vw, 240px); margin-left: -70px; margin-top: 90px; opacity: .9; }
.big-quote { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.35; letter-spacing: -0.02em; color: var(--muted); margin: 26px 0 0; font-weight: 500; }
.big-quote em { color: var(--text); font-style: normal; }

/* reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.review h3 { font-size: 21px; }
.review blockquote { margin: 0; color: var(--muted); font-size: 17px; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--dim); }
.review figcaption b { color: var(--text); font-weight: 600; }

/* maker */
.maker { display: flex; gap: 28px; align-items: center; background: linear-gradient(135deg, #17171a, #121214); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); margin-top: 20px; }
.maker img { width: 84px; height: 84px; flex: none; }
.maker p { margin: 8px 0 0; color: var(--muted); }
.maker h3 { font-size: 24px; }
.maker a { color: var(--text); }

/* faq */
.faq { max-width: 820px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 680px; }

/* final cta */
.final { text-align: center; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 45%; width: 900px; height: 600px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 69, 58, 0.14), transparent); pointer-events: none; }
.final .icon { width: 112px; height: 112px; margin: 0 auto 30px; filter: drop-shadow(0 20px 40px rgba(255, 69, 58, 0.25)); }
.final .cta-row { justify-content: center; }
.final .sub { margin-top: 26px; font-size: 15px; color: var(--muted); }
.final .sub a { color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .tag { color: var(--muted); margin: 10px 0 0; }
.legal { margin-top: 46px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.legal a { color: var(--muted); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- press page ---------- */
.press-hero { padding: clamp(50px, 8vw, 100px) 0 40px; }
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.asset { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .2s; }
.asset:hover { border-color: var(--line-2); transform: translateY(-2px); }
.asset .pv { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #0d0d0e; padding: 18px; }
.asset .pv img { max-height: 100%; width: auto; object-fit: contain; }
.asset .meta { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.asset .meta span { color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 14px; margin-top: 28px; }
.shots a { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s; }
.shots a:hover { transform: translateY(-3px); }
.copyblock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; margin-top: 16px; }
.copyblock h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.copyblock p { margin: 0 0 12px; }
.copyblock p:last-of-type { margin-bottom: 0; }
.copy-btn { position: absolute; top: 16px; right: 16px; border: 1px solid var(--line-2); background: transparent; border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.copy-btn:hover { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 28px; }
.facts div { background: var(--surface); padding: 18px 20px; }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.press-sec { padding: 50px 0; border-top: 1px solid var(--line); }
.press-sec h2 { font-size: clamp(28px, 3.4vw, 40px); }
.hooks { margin: 20px 0 0; padding-left: 22px; color: var(--muted); display: grid; gap: 8px; font-size: 18px; }
.hooks li::marker { color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .stage { margin-top: 40px; }
  .note.up { left: 2%; }
  .note.down { right: 2%; }
  .qr { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.hero-tile { grid-column: span 2; grid-row: auto; }
  .split { grid-template-columns: 1fr; }
  .split .phones { order: 2; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .store { margin-left: auto; }
  .note { font-size: 24px; }
  .note.try { display: none; }
  .note.up { top: 6%; left: -2%; }
  .note.down { bottom: 10%; right: -2%; }
  .note svg { width: 40px; height: 54px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.hero-tile { grid-column: span 1; }
  .tile.hero-tile { grid-template-columns: 1fr; }
  .tile.hero-tile .phone { justify-self: center; --pw: 240px; }
  .reviews { grid-template-columns: 1fr; }
  .maker { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .split .phones .phone:nth-child(2) { margin-left: -90px; }
  .press-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .4s; }
  .card.top.nudge { animation: none; }
}

/* ======================= GUIDES ======================= */
.guide-page { padding: clamp(36px, 6vw, 72px) 0 90px; }
.guide-page .wrap { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--dim); margin: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.guide-page h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -0.035em; margin: 18px 0 14px; }
.guide-byline { margin: 0 0 30px; }
.guide-answer {
  font-size: 19px; line-height: 1.6; color: var(--text); margin: 0 0 34px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 18px; padding: 22px 24px;
}
.guide-answer strong { color: #fff; }
.guide-page h2 { font-size: clamp(25px, 3vw, 32px); letter-spacing: -0.028em; line-height: 1.15; margin: 54px 0 16px; }
.guide-page h3 { font-size: 20px; letter-spacing: -0.02em; margin: 30px 0 10px; }
.guide-page p, .guide-page li { font-size: 17.5px; line-height: 1.72; color: #c7c7cc; }
.guide-page p { margin: 0 0 18px; }
.guide-page ul, .guide-page ol { padding-left: 24px; margin: 0 0 20px; display: grid; gap: 8px; }
.guide-page li::marker { color: var(--dim); font-weight: 600; }
.guide-page strong { color: var(--text); font-weight: 600; }
:where(.guide-page) :where(p, li, td) a {
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 69, 58, 0.7); text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
:where(.guide-page) :where(p, li, td) a:hover { text-decoration-color: var(--red); }
.path { display: inline; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 1px 7px; font-size: 0.94em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.guide-page table { width: 100%; border-collapse: collapse; margin: 6px 0 26px; font-size: 16px; }
.guide-page th, .guide-page td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: #c7c7cc; }
.guide-page th { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.table-scroll { overflow-x: auto; margin: 0 -4px 26px; }
.table-scroll table { min-width: 560px; margin: 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 16px; padding: 18px 20px; margin: 0 0 24px; }
.callout p { margin: 0; }
.callout.warn { border-left-color: #ff9f0a; }

/* figures: HTML components, readable at phone width */
.guide-figure { margin: 8px 0 34px; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.guide-figure figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; line-height: 1.5; }
.guide-figure.plain { padding: 0; background: none; border: 0; }

.fig-path { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 8px; }
.fig-path span { font-size: 16px; font-weight: 600; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.fig-path span + span { position: relative; margin-left: 16px; }
.fig-path span + span::before { content: "›"; position: absolute; left: -17px; top: 50%; translate: 0 -52%; color: var(--dim); font-weight: 700; font-size: 18px; }
.fig-path span.hl { background: rgba(255, 69, 58, 0.16); border-color: rgba(255, 69, 58, 0.5); color: #ffb4ae; }
.fig-path span.ok { background: rgba(50, 215, 75, 0.14); border-color: rgba(50, 215, 75, 0.45); color: #a6f0b2; }
.fig-path + .fig-path { margin-top: 12px; }

.fig-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.fig-bar i { display: block; width: var(--w); background: var(--c); }
.fig-bar i + i { box-shadow: inset 2px 0 0 var(--surface); }
.fig-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.guide-page .fig-legend li { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.fig-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.fig-legend b { color: var(--text); font-weight: 600; }
.fig-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 8px; display: flex; justify-content: space-between; gap: 10px; }
.fig-label + .fig-bar + .fig-label { margin-top: 18px; }

.fig-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: s; }
.fig-steps > div { counter-increment: s; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-size: 15.5px; line-height: 1.45; color: #c7c7cc; }
.fig-steps > div::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.fig-steps > div b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }

.fig-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fig-compare > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fig-compare h4 { margin: 0 0 10px; font-size: 17px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.fig-compare h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--muted)); box-shadow: 0 0 8px var(--c, transparent); }
.fig-compare .bad { --c: var(--red); }
.fig-compare .good { --c: var(--green); }
.fig-compare ul { list-style: none; padding: 0; margin: 0; gap: 6px; }
.guide-page .fig-compare li { font-size: 15.5px; line-height: 1.45; }
.fig-compare .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0 0 12px; }
.fig-compare .tiles span { aspect-ratio: 3 / 4; border-radius: 6px; background: var(--t, #2a2a2e); position: relative; }
.fig-compare .tiles span.x::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; background: rgba(255, 69, 58, 0.55); border-radius: inherit; }
.fig-compare .tiles span.k::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 2px var(--green); border-radius: inherit; }

.fig-flow { display: grid; gap: 0; }
.fig-flow > div { position: relative; padding: 0 0 22px 40px; font-size: 15.5px; line-height: 1.5; color: #c7c7cc; }
.fig-flow > div:last-child { padding-bottom: 0; }
.fig-flow > div::before { content: ""; position: absolute; left: 8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--muted)); box-shadow: 0 0 0 4px var(--surface); z-index: 1; }
.fig-flow > div::after { content: ""; position: absolute; left: 14px; top: 10px; bottom: -4px; width: 2px; background: var(--line-2); }
.fig-flow > div:last-child::after { display: none; }
.fig-flow b { display: block; color: var(--text); font-size: 16.5px; }

.fig-phones { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.fig-phones .phone { --pw: 210px; }

.guide-cta { margin: 56px 0 0; text-align: center; background: linear-gradient(135deg, #1b1b1e, #141416); border: 1px solid var(--line); border-radius: 26px; padding: 34px 26px; }
.guide-cta img { width: 64px; height: 64px; margin: 0 auto 14px; }
.guide-cta h2 { margin: 0 0 10px; font-size: 26px; }
.guide-cta p { max-width: 520px; margin: 0 auto 22px; }
.guide-share { text-align: center; margin: 18px 0 0; }
.guide-share a { font-size: 15px; }
.guide-related { margin-top: 48px; }
.guide-related h2 { font-size: 22px; margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.related-grid a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--text); transition: border-color .2s, transform .2s; }
.related-grid a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.related-grid a span { display: block; font-size: 13px; font-weight: 500; color: var(--dim); margin-top: 6px; }
.guide-note { font-size: 14px; color: var(--dim); margin-top: 44px !important; line-height: 1.6 !important; }

/* homepage guides grid */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.guide-card .tag { font-size: 12.5px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.guide-card h3 { font-size: 19px; line-height: 1.25; }
.guide-card p { margin: 0; font-size: 15px; color: var(--muted); }
.guide-card.wide { grid-column: span 2; }
.guide-card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--text); }

@media (max-width: 1020px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card.wide { grid-column: auto; }
  .fig-compare { grid-template-columns: 1fr; }
  .guide-page p, .guide-page li { font-size: 17px; }
  .guide-figure { padding: 20px 16px; }
}
.guide-page .crumbs a { text-decoration: none; color: var(--muted); }
.guide-page a.ghost, .guide-page a.store { text-decoration: none; }
.guide-page a.store { color: #000; }
