/* Picky website. Plain CSS, no build step.
   Design read: consumer app landing for ride and delivery drivers, easy to
   scan on a phone: one centred idea, the real app right under it, then short
   sections that each show the thing itself. One accent: Picky orange. */

:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --ink: #141414;
  --muted: #5e5e5b;
  --line: #e7e5e0;
  --orange: #ff7a1a;
  --orange-deep: #f2580c;
  --orange-ink: #d94a00;
  --orange-soft: #fff1e6;
  --pick: #1f9d55;
  --maybe: #c98a00;
  --pass: #d8432c;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --surface: #18181a;
    --surface-2: #1d1d20;
    --ink: #f3f3f1;
    --muted: #a2a29e;
    --line: #2a2a2c;
    --orange-ink: #ff8f3d;
    --orange-soft: #2a1a10;
    --pick: #3ccf77;
    --maybe: #f2c230;
    --pass: #ff6b55;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--orange-deep); }
@media (prefers-color-scheme: dark) { em { color: var(--orange); } }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }

/* Header */
.top-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 95%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 26px; font-size: 15px; color: var(--muted); margin-left: auto; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.pill-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--orange-deep); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 8px 20px -10px rgb(242 88 12 / .7);
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s;
}
.pill-cta:hover { background: #e14f06; transform: translateY(-1px); }

/* Apple's own "Download on the App Store" badge, unaltered. */
.badge { display: inline-block; line-height: 0; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.badge img { height: 60px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.badge:active { transform: scale(.98); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 7px 14px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-ink);
  font-size: 14px; font-weight: 600;
}

.section-title {
  margin: 0 0 14px; text-align: center;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800;
  text-wrap: balance;
}
.sub { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 52ch; font-size: 18px; }
.sub a { color: var(--orange-ink); }

/* Hero */
.hero { padding-top: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98; letter-spacing: -0.05em; font-weight: 800;
  text-wrap: balance;
}
.lede { margin: 22px 0 30px; max-width: 40ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); }
.ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ghost {
  display: inline-flex; align-items: center; height: 60px; padding: 0 26px; border-radius: 14px;
  border: 1.5px solid var(--orange-deep); color: var(--orange-ink);
  font-weight: 600; text-decoration: none; font-size: 17px;
  transition: background .2s;
}
.ghost:hover { background: var(--orange-soft); }
.hero .fine { margin-top: 18px; }

/* The orange slab with the app on it */
.slab {
  position: relative;
  margin: 56px auto 0;
  width: min(1240px, 100% - 24px);
  height: clamp(420px, 52vw, 640px);
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(90% 70% at 50% 0%, #ffb347 0%, transparent 70%),
    linear-gradient(170deg, #ff9a2e 0%, var(--orange) 45%, var(--orange-deep) 100%);
  overflow: hidden;
}
.slab::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgb(0 0 0 / .06));
}
.fan { position: absolute; inset: 0; display: flex; justify-content: center; }

.phone {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: 48px;
  padding: 9px;
  background: #0b0b0c;
  box-shadow:
    0 0 0 1.5px rgb(255 255 255 / .18) inset,
    0 0 0 4px #d9d9de,
    0 50px 80px -30px rgb(60 20 0 / .55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; }
.phone::after {
  content: ""; position: absolute; z-index: 2;
  top: calc(9px + 2.4%); left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.6%; border-radius: 999px; background: #000;
}
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1.5px rgb(255 255 255 / .12) inset, 0 0 0 4px #4a4a50, 0 50px 80px -30px rgb(0 0 0 / .7); } }

.fan .phone { position: absolute; top: 56px; width: clamp(230px, 24vw, 310px); backface-visibility: hidden; }
.fan .main { z-index: 2; }
.fan .side { top: 110px; width: clamp(200px, 21vw, 270px); }
.fan .left { transform: translateX(-108%) rotate(-9deg); }
.fan .right { transform: translateX(108%) rotate(9deg); }

/* The alerts on top of the middle phone, one after another */
.banners { position: absolute; z-index: 3; left: -14%; right: -14%; top: 10%; height: 92px; }
.banner {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 24px;
  background: rgb(250 250 250 / .97);
  box-shadow: 0 20px 40px -14px rgb(0 0 0 / .35), 0 0 0 .5px rgb(0 0 0 / .06);
  color: #141414; text-align: left;
  opacity: 0;
  will-change: transform, opacity;
}
.banner img { width: 40px; height: 40px; border-radius: 10px; }
.banner b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.banner span { display: block; font-size: 14px; line-height: 1.3; color: #3b3b3b; }
.banner time { align-self: start; font-size: 13px; color: #8a8a8a; }
@media (prefers-color-scheme: dark) {
  .banner { background: rgb(40 40 44 / .97); color: #f3f3f1; box-shadow: 0 20px 40px -14px rgb(0 0 0 / .6); }
  .banner span { color: #c9c9c6; }
}

/* Apps */
.apps-card {
  margin-top: 72px; padding: 44px 0 34px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-align: center; overflow: hidden;
}
.apps-card h2 { margin: 0 0 30px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; line-height: 1.1; padding-inline: 20px; }
.apps-card .fine { margin-top: 26px; padding-inline: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* No gap: each chip carries its own right margin, so the two copies are exactly
   the same width and the loop at -50% has no jump. */
.track { display: flex; width: max-content; padding-block: 4px; will-change: transform; backface-visibility: hidden; }
.app {
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px;
  margin-right: 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line);
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap;
}
.logo {
  display: inline-block; height: 24px; width: 24px;
  background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.logo.wide { height: 24px; width: calc(24px * var(--w)); }

/* How it works */
.how { margin-top: 110px; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--orange-deep); color: #fff; font-weight: 800; font-size: 20px;
}
.steps h3 { margin: 20px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); }

/* Features */
.features { margin-top: 110px; }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  padding: 18px 18px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgb(0 0 0 / .2); }
.card h3 { margin: 22px 10px 8px; font-size: 22px; letter-spacing: -0.02em; color: var(--orange-ink); }
.card p { margin: 0 10px; color: var(--muted); font-size: 16px; }
.art {
  position: relative; height: 200px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--orange-soft), color-mix(in srgb, var(--orange-soft) 40%, var(--surface)));
  display: flex; flex-direction: column; justify-content: center; padding: 22px;
}

.scale { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; height: 14px; }
.scale span { border-radius: 99px; }
.s-pass { background: var(--pass); } .s-maybe { background: var(--maybe); } .s-pick { background: var(--pick); }
.needle { position: absolute; inset: -10px 0; pointer-events: none; }
.needle::before { content: ""; position: absolute; top: 0; left: 80%; width: 4px; height: 34px; border-radius: 4px; background: var(--ink); box-shadow: 0 0 0 3px var(--surface); }
.scale-labels { display: grid; grid-template-columns: 1fr 1fr 1.2fr; margin-top: 20px; font-size: 15px; letter-spacing: .02em; }
.t-pass { color: var(--pass); } .t-maybe { color: var(--maybe); text-align: center; } .t-pick { color: var(--pick); text-align: right; }

.art-break { gap: 6px; }
.art-break .row { display: flex; justify-content: space-between; padding: 6px 14px; border-radius: 10px; background: var(--surface); font-size: 14px; }
.art-break .row.m { color: var(--muted); }
.art-break .row.total { background: var(--ink); color: var(--bg); font-weight: 700; }

.art-list { gap: 8px; }
.o { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--surface); }
.o .lg { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #000; color: #fff; font-size: 10px; font-weight: 700; }
.o .lg.bolt { background: #34d186; }
.o b { display: block; font-size: 15px; line-height: 1.2; }
.o small { display: block; font-size: 12px; color: var(--muted); }
.v { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; letter-spacing: .03em; }
.v.pick { color: var(--pick); background: color-mix(in srgb, var(--pick) 14%, transparent); }
.v.pass { color: var(--pass); background: color-mix(in srgb, var(--pass) 14%, transparent); }
.v.maybe { color: var(--maybe); background: color-mix(in srgb, var(--maybe) 16%, transparent); }

/* Spoken out loud: the Dynamic Island while Picky speaks */
.art-voice { align-items: center; gap: 18px; }
.island {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  width: min(270px, 100%); padding: 10px 16px 10px 10px; border-radius: 999px;
  background: #000; color: #fff;
  box-shadow: 0 18px 30px -16px rgb(0 0 0 / .55);
}
.island img { width: 34px; height: 34px; border-radius: 50%; }
.island b { display: block; color: #3ccf77; font-size: 16px; letter-spacing: .02em; line-height: 1.1; }
.island small { display: block; color: #d6d6d3; font-size: 12px; white-space: nowrap; }
.eq { display: flex; align-items: center; gap: 3px; height: 22px; }
.eq i { width: 3.5px; height: 100%; border-radius: 4px; background: #3ccf77; transform: scaleY(.3); transform-origin: center; }
.said {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: 15px; color: var(--ink);
  box-shadow: 0 6px 16px -10px rgb(0 0 0 / .25);
}
.said svg { color: var(--orange-deep); flex: none; }

/* Going home: a small map, the home zone, one offer ending inside, one far away */
.art-map { padding: 0; background: #f3ede6; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .roads path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.map .streets path { fill: none; stroke: #fff; stroke-width: 3.5; opacity: .8; }
.map .zone-fill { fill: rgb(31 157 85 / .12); }
.map .zone-edge { fill: none; stroke: #1f9d55; stroke-width: 2; stroke-dasharray: 5 5; }
.map .route { fill: none; stroke-width: 4; stroke-linecap: round; }
.map .route.ok { stroke: #1f9d55; }
.map .route.far { stroke: #d8432c; stroke-dasharray: 2 8; }
.map .start { fill: #141414; stroke: #fff; stroke-width: 3; }
.map .end { stroke: #fff; stroke-width: 3; }
.map .end.ok { fill: #1f9d55; }
.map .end.far { fill: #d8432c; }
.map .home circle { fill: #1f9d55; stroke: #fff; stroke-width: 3; }
.map .home path { fill: #fff; }
.chip {
  position: absolute; padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgb(0 0 0 / .35);
}
.c-ok { right: 12px; bottom: 12px; }
.c-far { left: 22%; top: 12px; }
@media (prefers-color-scheme: dark) {
  .art-map { background: #23201d; }
  .map .roads path { stroke: #36322e; }
  .map .streets path { stroke: #2e2a27; }
  .map .start { fill: #f3f3f1; stroke: #23201d; }
  .map .end, .map .home circle { stroke: #23201d; }
}

.art-week { flex-direction: row; align-items: center; justify-content: center; gap: 0; }
.story {
  width: 100px; height: 150px; border-radius: 16px; padding: 12px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 14px 24px -12px rgb(0 0 0 / .4);
}
.story small { font-size: 10px; opacity: .85; line-height: 1.2; }
.story b { font-size: 26px; line-height: 1; letter-spacing: -0.03em; margin: 2px 0; }
.s1 { background: #e5532e; transform: rotate(-8deg) translateX(14px); }
.s2 { background: linear-gradient(160deg, #ffa12e, var(--orange-deep)); transform: translateY(-8px); z-index: 1; }
.s2 b { font-size: 20px; }
.s3 { background: #1b1b1d; transform: rotate(8deg) translateX(-14px); }
.s3 b { font-size: 20px; color: #ffb347; }

/* Privacy split */
.split { margin-top: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-art {
  height: 560px; border-radius: 36px; overflow: hidden; position: relative;
  background: radial-gradient(80% 60% at 50% 0%, #2a2a2e, #111113);
  display: flex; justify-content: center;
}
.split-art .phone { position: absolute; top: 60px; width: 290px; transform: rotate(-5deg); }
.split-copy h2 { margin: 18px 0 14px; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.split-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 18px; max-width: 44ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: color-mix(in srgb, var(--pick) 16%, transparent); color: var(--pick);
}

/* Europe */
.europe { margin-top: 120px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.chips span { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.europe .fine { max-width: 70ch; margin-inline: auto; }

/* Try it */
.try { margin-top: 110px; }
.try-card {
  border-radius: 40px; padding: 64px 28px; text-align: center; color: #fff;
  background:
    radial-gradient(70% 90% at 50% 0%, #ffb347 0%, transparent 70%),
    linear-gradient(160deg, #ff9a2e, var(--orange) 45%, var(--orange-deep));
  display: flex; flex-direction: column; align-items: center;
}
.try-card h2 { margin: 0; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.045em; line-height: 1; }
.try-card p { margin: 16px 0 30px; max-width: 44ch; font-size: 19px; opacity: .95; }

/* FAQ */
.faq { margin-top: 110px; }
.qs { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 650; font-size: 18px; letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-ink); font-size: 20px; font-weight: 600;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }
details a { color: var(--orange-ink); }

/* The last thing on the page: one more way in. */
.end { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 110px 0 90px; }
.end h2 { margin: 0; font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.04em; line-height: 1.04; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Legal and support pages */
.doc { width: min(720px, 100% - 40px); margin: 32px auto 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.04em; line-height: 1.02; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 21px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--orange-ink); }
.contact {
  display: inline-flex; margin-top: 8px; padding: 14px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; color: var(--ink) !important; text-decoration: none;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .rise.d1 { animation-delay: .06s; }
  .rise.d2 { animation-delay: .12s; }
  .rise.d3 { animation-delay: .18s; }
  .fan .main { animation: up 1.1s .15s cubic-bezier(.16,1,.3,1) both; }
  .fan .left { animation: up-left 1.1s .25s cubic-bezier(.16,1,.3,1) both; }
  .fan .right { animation: up-right 1.1s .25s cubic-bezier(.16,1,.3,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes up { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
  @keyframes up-left { from { opacity: 0; transform: translateX(-108%) translateY(22%) rotate(-9deg); } to { opacity: 1; transform: translateX(-108%) rotate(-9deg); } }
  @keyframes up-right { from { opacity: 0; transform: translateX(108%) translateY(22%) rotate(9deg); } to { opacity: 1; transform: translateX(108%) rotate(9deg); } }

  /* Each alert drops in, stays, and slides away: 12 s for the three. */
  .banner { animation: alert 12s cubic-bezier(.16,1,.3,1) infinite; }
  .banner.b1 { animation-delay: 1.2s; }
  .banner.b2 { animation-delay: 5.2s; }
  .banner.b3 { animation-delay: 9.2s; }
  @keyframes alert {
    0% { opacity: 0; transform: translateY(-40px) scale(.96); }
    5% { opacity: 1; transform: none; }
    28% { opacity: 1; transform: none; }
    33%, 100% { opacity: 0; transform: translateY(-24px) scale(.97); }
  }

  .track { animation: slide 36s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* Only transform and opacity move, so everything runs on the GPU. */
  .eq i { animation: talk .9s ease-in-out infinite; }
  .eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.45s; }
  .eq i:nth-child(4) { animation-delay: -.1s; } .eq i:nth-child(5) { animation-delay: -.6s; }
  @keyframes talk { 50% { transform: scaleY(1); } }

  .needle { animation: needle 4s cubic-bezier(.65,0,.35,1) infinite alternate; }
  @keyframes needle { 0% { transform: translateX(-62%); } 45%, 100% { transform: none; } }

  .c-ok, .c-far { animation: chip 5s cubic-bezier(.16,1,.3,1) infinite both; }
  .c-far { animation-delay: .4s; }
  @keyframes chip { 0%, 22% { opacity: 0; transform: translateY(6px) scale(.96); } 32%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

  @supports (animation-timeline: view()) {
    .card, .steps li, details, .split-copy, .try-card {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%;
    }
  }
}
/* Without motion, the first alert just shows. */
@media (prefers-reduced-motion: reduce) { .banner.b1 { opacity: 1; } }

/* Tablets */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 760px) {
  .top nav { display: none; }
  .hero { padding-top: 20px; }
  .badge img { height: 54px; }
  .ghost { height: 54px; }
  .slab { height: 470px; border-radius: 32px 32px 0 0; margin-top: 40px; }
  .fan .phone.main { width: 240px; top: 44px; }
  .fan .side { width: 200px; top: 96px; }
  .fan .left { transform: translateX(-82%) rotate(-9deg); }
  .fan .right { transform: translateX(82%) rotate(9deg); }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes up-left { from { opacity: 0; transform: translateX(-82%) translateY(22%) rotate(-9deg); } to { opacity: 1; transform: translateX(-82%) rotate(-9deg); } }
    @keyframes up-right { from { opacity: 0; transform: translateX(82%) translateY(22%) rotate(9deg); } to { opacity: 1; transform: translateX(82%) rotate(9deg); } }
  }
  .banners { left: -16%; right: -16%; }
  .banner { padding: 12px 14px; grid-template-columns: 34px 1fr auto; border-radius: 20px; }
  .banner img { width: 34px; height: 34px; }
  .banner b { font-size: 15px; }
  .banner span { font-size: 13px; }
  .apps-card { margin-top: 48px; padding-top: 34px; }
  .how, .features, .faq, .try { margin-top: 80px; }
  .steps, .grid { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 90px; }
  .split-art { height: 440px; }
  .split-art .phone { width: 240px; }
  .europe { margin-top: 90px; }
  .try-card { padding: 48px 22px; border-radius: 32px; }
  summary { font-size: 17px; padding: 20px 60px 20px 20px; }
  details p { padding: 0 20px 22px; }
  .end { padding: 80px 0 70px; }
}

/* Articles */
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.blog-head { text-align: center; padding: 56px 0 40px; display: flex; flex-direction: column; align-items: center; }
.blog-head h1 { margin: 18px 0 14px; font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; font-weight: 800; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); }
.post-tag { padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 700; font-size: 13px; }

.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.post-card {
  display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgb(0 0 0 / .2); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 18px; object-fit: cover; }
.post-card .post-meta, .post-card h3, .post-card p { margin-inline: 10px; }
.post-card h3 { margin-top: 2px; margin-bottom: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.post-card p { margin-top: 0; margin-bottom: 0; color: var(--muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.big { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px 28px; align-items: center; padding: 14px; }
.post-card.big img { grid-row: span 3; }
.post-card.big h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.post-card.big .post-meta { align-self: end; }
.post-card.big p { align-self: start; -webkit-line-clamp: 4; }

.post-head { padding-top: 40px; }
.back { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.back:hover { color: var(--ink); }
.post-head h1 { margin: 16px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
.post-hero { margin-top: 32px; margin-bottom: 0; }
.post-hero img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -40px rgb(0 0 0 / .45); }

.prose { padding: 40px 0 20px; font-size: 18px; line-height: 1.7; }
.prose .lead { font-size: 21px; line-height: 1.55; color: var(--ink); margin-top: 0; }
.prose h2 { margin: 48px 0 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--orange-deep); }
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-ink); text-underline-offset: 3px; }
.prose em { color: inherit; font-style: italic; }
.prose .note { font-size: 15px; color: var(--muted); }

.calc { margin: 22px 0; padding: 16px; border-radius: 20px; background: var(--orange-soft); display: grid; gap: 6px; font-size: 16px; }
.calc .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-radius: 12px; background: var(--surface); }
.calc .row.m { color: var(--muted); }
.calc .row.total { background: var(--ink); color: var(--bg); font-weight: 700; }
.calc .row.total.bad b { color: #ffb0a3; }
@media (prefers-color-scheme: dark) { .calc .row.total.bad b { color: #c4321c; } }

.picky-box {
  margin: 40px 0; padding: 26px; border-radius: 26px;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.picky-box img { width: 56px; height: 56px; border-radius: 14px; }
.picky-box b { display: block; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.picky-box p { margin: 6px 0 16px; font-size: 17px; line-height: 1.6; }
.picky-box .badge img { width: auto; height: 48px; border-radius: 0; }

.sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { margin-top: 0; font-size: 18px; letter-spacing: -0.01em; }
.sources li, .sources a { font-size: 15px; color: var(--muted); }
.more { margin-top: 60px; }
.more .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }

@media (max-width: 860px) {
  .post-grid, .more .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card.big { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 26px; }
  .post-card.big img { grid-row: auto; }
  .prose { font-size: 17px; }
  .prose .lead { font-size: 19px; }
  .picky-box { grid-template-columns: 1fr; padding: 22px; }
}
.home-articles { margin-top: 110px; }
.home-articles .sub a { font-weight: 600; }
.post-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .home-articles { margin-top: 80px; } .post-grid.three { grid-template-columns: minmax(0, 1fr); } }
