/* Cleanest — public site. The app's own look: white, ink, one indigo. */
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --ink: #0A0B1C; --ink2: #50516A; --ink3: #686B84; --paper: #FDFDFF; --wash: #F1F1FE; --line: #E3E3F2;
  --accent: #3D3BF3; --deep: #2320B8; --keep: #14935A; --go: #D61F33; --amber: #D98A0B;
  --ease-out: cubic-bezier(.23,1,.32,1); --ease-expo: cubic-bezier(.16,1,.3,1);
  --wrap: min(1180px, 100vw - 48px); --r: 22px;
}
*, *::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 17px/1.55 "General Sans", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.2vw, 68px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { text-wrap: pretty; }
.wrap { width: var(--wrap); margin-inline: auto; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 34em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; padding: 14px 0; transition: background .25s, box-shadow .25s; }
.top.stuck { background: rgba(253,253,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, var(--accent), var(--deep)); display: grid; place-items: center; flex: none; }
.mark svg { width: 62%; height: 62%; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .14s var(--ease-out), background .2s; }
.btn:active { transform: scale(.97); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 13px; }
.btn.ink { background: var(--ink); }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 16px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink2); }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--deep); } .btn.ink:hover { background: #20223F; } .top nav a:not(.btn):hover { background: var(--wash); } }

/* Hero */
.hero { padding: clamp(112px, 16vh, 168px) 0 0; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; background: radial-gradient(60% 100% at 50% 0%, rgba(61,59,243,.13), rgba(61,59,243,0)); pointer-events: none; }
.hero h1 { font-size: clamp(46px, 8.5vw, 122px); position: relative; }
.hero h1 span { display: block; }
.hero h1 .dim { color: var(--accent); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: start; position: relative; }
.hero-copy .lead { margin-top: clamp(24px, 5vh, 48px); max-width: 30em; }
.hero-copy .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-copy small { display: block; margin-top: 14px; color: var(--ink3); font-size: 14px; }
.hero-phone { justify-self: center; margin: 6px 0 -120px; position: relative; z-index: 2; }

/* The phone: the app's home screen rebuilt in HTML (its pictures are colour tiles, as in the app when it has no photo to show) */
.phone { width: min(330px, 78vw); aspect-ratio: 330 / 680; border-radius: 52px; background: #fff; border: 10px solid var(--ink); box-shadow: 0 40px 80px -30px rgba(10,11,28,.45), 0 0 0 1px rgba(10,11,28,.08); overflow: hidden; position: relative; font-size: 13px; line-height: 1.25; }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: var(--ink); z-index: 3; }
.screen { position: absolute; inset: 0; padding: 50px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.s-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.s-brand .mark { width: 26px; height: 26px; border-radius: 8px; }
.s-found { display: flex; align-items: baseline; gap: 6px; }
.s-found b { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.s-found span { color: var(--ink3); font-size: 12px; }
.s-bar { height: 7px; border-radius: 4px; background: var(--wash); overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 80%; border-radius: 4px; background: var(--go); transform-origin: left; }
.s-full { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink3); margin-top: -4px; }
.s-full b { color: var(--go); font-weight: 600; }
.s-strip { background: var(--ink); color: #fff; border-radius: 18px; padding: 13px 14px; display: flex; justify-content: space-between; align-items: center; }
.s-strip b { font-size: 15px; font-weight: 600; } .s-strip small { display: block; color: rgba(255,255,255,.62); font-size: 11.5px; margin-top: 2px; }
.s-strip i { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.s-card { background: var(--wash); border-radius: 18px; padding: 11px; }
.s-card h4 { margin: 0 2px 8px; font-size: 15px; font-weight: 600; }
.s-card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-card .meta { display: flex; justify-content: space-between; margin: 8px 2px 0; font-size: 12px; } .s-card .meta b { color: var(--accent); font-weight: 600; }
.ph { border-radius: 12px; aspect-ratio: 1; position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; }
.ph.a { background: linear-gradient(180deg, #FFC27A 0%, #FF8E6E 46%, #7A5BD6 100%); } .ph.a::after { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #FFF1C4; left: 33%; top: 30%; }
.ph.b { background: linear-gradient(180deg, #9BD8F5 0 52%, #2B7FC4 52% 100%); } .ph.b::after { width: 46%; height: 16%; background: #F5F0E1; left: 14%; top: 43%; clip-path: polygon(0 100%, 30% 0, 62% 60%, 100% 100%); }
.ph.c { background: linear-gradient(180deg, #CFE9C9 0 40%, #4F9D69 40% 100%); } .ph.c::after { width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 46px solid #256B45; left: 30%; top: 22%; }
.ph.d { background: linear-gradient(180deg, #F3D1DC, #B9A3E8); } .ph.d::after { inset: 44% 12% 0 12%; background: repeating-linear-gradient(90deg, #5B4B9A 0 14px, #7E6CC4 14px 22px); clip-path: polygon(0 30%, 18% 30%, 18% 0, 40% 0, 40% 45%, 64% 45%, 64% 15%, 84% 15%, 84% 55%, 100% 55%, 100% 100%, 0 100%); }
.ph.s { background: #fff; border: 1px solid var(--line); aspect-ratio: 9 / 16; } .ph.s::after { inset: 14% 12% auto 12%; height: 46%; background: repeating-linear-gradient(180deg, #DADAEC 0 6px, transparent 6px 14px); }
.ph.v { background: linear-gradient(135deg, #1C1D3A, #3A3C74); aspect-ratio: 16 / 10; } .ph.v::after { left: 50%; top: 50%; margin: -11px 0 0 -7px; border-left: 18px solid rgba(255,255,255,.9); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* Sections */
section { position: relative; }
.finds { background: var(--wash); padding: clamp(170px, 24vh, 240px) 0 clamp(60px, 10vh, 110px); }
.finds > .wrap > h2 { max-width: 13em; }
.find { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(40px, 8vh, 90px) 0; border-top: 1px solid var(--line); }
.find:first-of-type { border-top: 0; }
.find h3 + p { margin-top: 12px; color: var(--ink2); }
.find .fact { margin-top: 18px; font-size: 15px; color: var(--ink); font-weight: 500; }
.stage { background: #fff; border-radius: var(--r); aspect-ratio: 7 / 5; position: relative; overflow: hidden; display: grid; place-items: center; }
.chip { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 13px; font-size: 14px; font-weight: 600; white-space: nowrap; z-index: 5; }
.tag { position: absolute; left: 8px; bottom: 8px; background: var(--keep); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 600; z-index: 2; }
.tag.best { background: var(--accent); }
.tick { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--go); display: grid; place-items: center; z-index: 2; }
.tick svg, .s-strip i svg { width: 12px; height: 12px; }
.fan { position: relative; width: 30%; aspect-ratio: 1; }
.fan .ph { position: absolute; inset: 0; border: 4px solid #fff; border-radius: 18px; box-shadow: 0 12px 28px -10px rgba(10,11,28,.35); }
.row5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2%; width: 88%; }
.row5 .ph { border-radius: 14px; }
.grid9 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3%; width: 76%; }
.shrink { width: 78%; }
.shrink .ph { width: 44%; margin: 0 auto 7%; border-radius: 14px; }
.sizes { display: grid; gap: 10px; }
.size { display: grid; grid-template-columns: 5.2em 1fr; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.size span { display: block; height: 14px; border-radius: 7px; background: var(--ink); transform-origin: left; }
.size.after span { background: var(--keep); width: 41%; }

.choose { padding: clamp(80px, 14vh, 160px) 0; overflow: clip; }
.choose .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 90px); align-items: center; }
.choose h2 + p { margin-top: 20px; }
.rules { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.6em 1fr; gap: 8px; }
.rules svg { width: 16px; height: 16px; margin-top: 5px; }
.deck { position: relative; width: min(340px, 78vw); aspect-ratio: 3 / 4; margin: 0 auto; }
.deck .card { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(10,11,28,.4); }
.deck .card .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.stamp { position: absolute; top: 18px; padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: 18px; color: #fff; z-index: 3; opacity: 0; }
.stamp.del { right: 18px; background: var(--go); } .stamp.keep { left: 18px; background: var(--keep); }
.deck-foot { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.pill { min-height: 48px; padding: 0 22px; border-radius: 16px; display: inline-flex; align-items: center; font-weight: 600; }
.pill.del { background: #FBE6E8; color: var(--go); } .pill.keep { background: #E2F4EB; color: var(--keep); }

.private { padding: 0 0 clamp(70px, 12vh, 130px); }
.private .box { background: var(--ink); color: #fff; border-radius: clamp(26px, 4vw, 44px); padding: clamp(36px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.private h2 { font-size: clamp(36px, 5.6vw, 76px); }
.private p { color: rgba(255,255,255,.72); margin-top: 22px; max-width: 30em; }
.traffic { background: rgba(255,255,255,.07); border-radius: 22px; padding: 8px 20px; font-size: 15px; }
.traffic div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.traffic div:last-child { border: 0; } .traffic span { color: rgba(255,255,255,.62); } .traffic b { font-weight: 600; }
.traffic .zero b { color: #6FE3A9; font-size: 19px; }

.more { padding: 0 0 clamp(70px, 12vh, 130px); }
.more dl { margin: clamp(28px, 5vh, 52px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 6vw, 90px); }
.more dl > div { padding: 20px 0; border-top: 1px solid var(--line); }
.more dt { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; } .more dd { margin: 6px 0 0; color: var(--ink2); }

.faq { padding: 0 0 clamp(70px, 12vh, 130px); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 70px); }
details { border-top: 1px solid var(--line); } details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; font-size: 19px; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease-out); }
details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
details p { padding: 0 0 22px; color: var(--ink2); max-width: 44em; }

.get { background: var(--accent); color: #fff; padding: clamp(64px, 12vh, 130px) 0; text-align: center; }
.get h2 { font-size: clamp(40px, 7vw, 96px); } .get p { color: rgba(255,255,255,.78); margin: 18px auto 30px; max-width: 30em; }
.get .btn { background: #fff; color: var(--ink); } .get .soon { border-color: rgba(255,255,255,.4); color: #fff; }
@media (hover: hover) and (pointer: fine) { .get .btn:hover { background: var(--wash); } }
footer { padding: 34px 0 44px; font-size: 15px; color: var(--ink2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 6px; } footer nav a { padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) { footer nav a:hover { background: var(--wash); color: var(--ink); } }

/* Text pages (support, privacy, terms) */
.page { padding: clamp(120px, 18vh, 170px) 0 90px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 6vw, 64px); }
.page .date { color: var(--ink3); margin-top: 12px; }
.page h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 44px; }
.page p, .page ul, .page ol { margin-top: 12px; color: var(--ink2); } .page li { margin-top: 6px; } .page ul, .page ol { padding-left: 22px; }
.page a { color: var(--accent); }
.contact { margin-top: 28px; padding: 22px 24px; background: var(--wash); border-radius: 20px; }
.contact b { display: block; font-size: 19px; color: var(--ink); }

/* Motion: content is visible unless the script says it will animate it in */
html.has-motion [data-in] { opacity: 0; transform: translateY(22px); }
html.has-motion .hero h1 span { opacity: 0; transform: translateY(.35em); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 1040px) { .hero-row { grid-template-columns: minmax(0, 1fr); } .hero-phone { margin-top: 40px; } }
@media (max-width: 900px) {
  .find, .choose .wrap, .private .box, .faq .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { margin-bottom: -90px; }
  .find .stage { order: -1; }
  .more dl { grid-template-columns: minmax(0, 1fr); }
  .top nav a.hide-s { display: none; }
  .fan { width: 36%; }
}
@media (max-width: 380px) { :root { --wrap: calc(100vw - 32px); } .brand { font-size: 18px; } .btn, .soon { min-height: 52px; padding: 0 18px; font-size: 16px; } }
