/* RepTime site: paper look. Tokens mirror the app's paper design tokens. */
:root {
    --paper: #F5EEE8;
    --card: #FFFBF5;
    --ink: #16120F;
    --ink-70: rgba(22, 18, 15, 0.70);
    --coral: #F66A4D;
    --coral-deep: #9E422E;
    --teal: #0F6E6B;
    --marigold: #F2A81D;
    --selected: #FADEA9;
    --plum: #5A3FB5;
    --stroke: 2px solid var(--ink);
    --shadow: 4px 4px 0 var(--ink);
    --r-card: 20px;
    --r-key: 16px;
    --gutter: 16px;
    --max: 1120px;
    --head: "Inter Tight", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --num: "Fraunces", Georgia, "Times New Roman", serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 500 17px/1.55 var(--head);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

a { color: var(--coral-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 10; background: var(--card); padding: 8px 12px; border: var(--stroke); border-radius: 12px; }

/* ---------- Header ---------- */
.site-head { padding: 14px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: var(--stroke); box-shadow: 2px 2px 0 var(--ink); }
.brand span { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { color: var(--ink); font-weight: 700; text-decoration: none; padding: 8px 10px; border-radius: 999px; font-size: 16px; }
.nav a.link:hover { background: var(--card); }

/* ---------- Buttons ---------- */
.key {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 56px; padding: 10px 22px;
    border: var(--stroke); border-radius: var(--r-key); box-shadow: var(--shadow);
    font-family: var(--head); font-weight: 800; color: var(--ink); text-decoration: none;
    background: var(--card);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.key:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.key:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.key--coral { background: var(--coral); }
.key--small { min-height: 40px; padding: 6px 14px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); font-size: 15px; }

.store { text-align: left; line-height: 1.1; }
.store svg { width: 26px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }
.store b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.key--small.store svg { width: 18px; height: 20px; }

.chip {
    display: inline-block; padding: 5px 14px; border-radius: 999px;
    border: var(--stroke); background: var(--card);
    font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
}
.chip--coral { background: var(--coral); }
.chip--marigold { background: var(--marigold); }
.chip--teal { background: var(--teal); color: var(--card); border-color: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
.display { font-size: clamp(44px, 12vw, 92px); }
.h2 { font-size: clamp(36px, 8.5vw, 64px); }
.lede { font-size: 19px; font-weight: 600; color: var(--ink-70); max-width: 34ch; margin: 14px 0 0; }
.sub { font-size: clamp(24px, 5vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 0; }
.num { font-family: var(--num); font-weight: 900; letter-spacing: -0.03em; }

/* ---------- Sections ---------- */
section { padding: 56px 0; position: relative; }
.burst { overflow: hidden; isolation: isolate; }
.burst::before {
    content: ""; position: absolute; z-index: -1;
    left: 50%; top: 50%; width: 260vmax; height: 260vmax; transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg at 50% 50%, var(--burst-a) 0deg 9deg, var(--burst-b) 9deg 18deg);
}
.burst--coral { --burst-a: #F66A4D; --burst-b: #F77F65; background: var(--coral); }
.burst--marigold { --burst-a: #F2A81D; --burst-b: #F4B53F; background: var(--marigold); }
.burst--ink { --burst-a: #16120F; --burst-b: #1F1A16; background: var(--ink); color: var(--paper); }

.split { display: grid; gap: 36px; align-items: center; }

/* ---------- Sticker phone ---------- */
.sticker {
    background: var(--card); border: var(--stroke); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink);
    padding: 10px; transform: rotate(var(--tilt, -3deg));
    max-width: 340px; margin: 0 auto;
}
.sticker img { border-radius: 20px; border: 2px solid var(--ink); }
.sticker--right { --tilt: 3deg; }

/* ---------- Hero ---------- */
.hero { padding-top: 32px; padding-bottom: 72px; }
.hero .chip { margin-bottom: 18px; }
.hero .cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fine { font-size: 15px; font-weight: 700; color: var(--ink); opacity: 0.8; }

/* ---------- Catch ---------- */
.catch .h2 .accent { color: var(--coral); display: block; }
.catch p { color: rgba(245, 238, 232, 0.78); font-size: 19px; font-weight: 600; max-width: 36ch; margin: 16px 0 0; }

/* ---------- Hero fan of phones ---------- */
.display--long { font-size: clamp(40px, 10.5vw, 76px); }
.lede--ink { color: var(--ink); }
.fan { display: flex; justify-content: center; align-items: center; padding: 8px 0 12px; }
.fan-phone { margin: 0 -9%; width: 44%; position: relative; }
.fan-a { transform: translateX(-4%) rotate(-4deg) translateY(18px); z-index: 1; }
.fan-b { width: 50%; z-index: 3; }
.fan-c { transform: translateX(9%) rotate(4deg) translateY(18px); z-index: 2; }
.css-phone {
    background: var(--card); border: 3px solid var(--ink); border-radius: 15% / 7%;
    padding: 5%; box-shadow: 6px 6px 0 var(--coral-deep);
}
.css-phone img { width: 100%; border: 2px solid var(--ink); border-radius: 11% / 5%; }

/* ---------- How RepTime helps ---------- */
.helps .lede { color: var(--ink-70); }
.help { display: grid; gap: 22px; align-items: center; margin-top: 56px; }
.help-media { position: relative; width: 78%; max-width: 330px; margin: 0 auto; }
.help-text .badge {
    width: 52px; height: 52px; border-radius: 14px; border: var(--stroke); display: grid; place-items: center;
    font-family: var(--num); font-weight: 900; font-size: 30px; line-height: 1; margin-bottom: 14px;
    background: var(--marigold); box-shadow: 3px 3px 0 var(--ink);
}
.help:nth-of-type(3n+2) .badge { background: var(--coral); }
.help:nth-of-type(3n) .badge { background: var(--teal); color: var(--card); }
.help-text h3 { font-size: clamp(30px, 7vw, 44px); }
.help-text .line { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 8px 0 0; }
.help-text p { margin: 10px 0 0; font-weight: 600; color: var(--ink-70); max-width: 44ch; }
.help-text p.line { color: var(--ink); }
.pop {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    border: var(--stroke); border-radius: 999px; box-shadow: var(--shadow);
    padding: 8px 16px; font-weight: 800; font-size: 17px; white-space: nowrap; background: var(--card);
}
.pop svg { width: 16px; height: 18px; }
.pop .num { font-size: 22px; line-height: 1; }
.pop--tl { top: 9%; left: -10%; transform: rotate(-5deg); }
.pop--br { bottom: 16%; right: -10%; transform: rotate(4deg); }
.pop--coral { background: var(--coral); }
.pop--teal { background: var(--teal); color: var(--card); }
.pop--marigold { background: var(--marigold); }
.pop--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--coral); }
.help-media--buddies { width: 100%; max-width: 380px; }
.grow {
    display: flex; align-items: flex-end; justify-content: center; gap: 6px;
    background: var(--selected); border: var(--stroke); border-radius: var(--r-card); box-shadow: 6px 6px 0 var(--ink);
    padding: 22px 16px 18px; transform: rotate(-2deg);
}
.grow-step { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.grow-step img { height: 230px; width: auto; }
.grow-arrow {
    font-family: var(--num); font-weight: 900; font-size: 30px; align-self: center;
    width: 46px; height: 46px; display: grid; place-items: center; flex: none;
    background: var(--coral); border: var(--stroke); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
}
.rates { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; }
.rates li {
    border: 1.5px solid var(--ink); border-radius: 12px; padding: 8px 10px; background: var(--card);
    font-weight: 700; font-size: 15px; line-height: 1.2;
}
.rates li.wide { grid-column: 1 / -1; }
.rates .num { display: block; font-size: 26px; }
.rates-note { font-size: 15px; font-weight: 700; margin: 10px 0 0; }

/* ---------- Home FAQ ---------- */
.narrow { max-width: 820px; }
.home-faq .faq { margin-top: 28px; }

/* ---------- Guide page ---------- */
.crumbs { font-size: 14px; font-weight: 700; color: var(--ink-70); margin-bottom: 16px; }
.guide h1 { font-size: clamp(40px, 10vw, 64px); }
.guide h2 { font-size: clamp(28px, 6.5vw, 40px); margin-top: 14px; }
.guide .answer h2 { font-size: 24px; margin: 0 0 6px; }
.guide-block { padding: 44px 0 0; }
.guide-block p { font-weight: 500; }
.steps-list { padding-left: 24px; margin: 16px 0; }
.steps-list li { margin: 10px 0; font-weight: 500; padding-left: 4px; }
.steps-list li::marker { font-family: var(--num); font-weight: 900; }
.why-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.why-list li { background: var(--card); border: var(--stroke); border-radius: var(--r-key); box-shadow: 3px 3px 0 var(--ink); padding: 14px 16px; font-weight: 500; }
.source { font-size: 15px; font-weight: 600; color: var(--ink-70); }
.reptime-way .split { margin-top: 10px; gap: 40px; }
.reptime-way .help-media { margin-top: 10px; }
.guide-cta { text-align: center; margin-top: 52px; background: var(--marigold); transform: rotate(-1deg); }
.guide-cta h2 { margin: 0; }
.guide-cta .key { margin-top: 18px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .buddy-pair { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 0 auto 18px; }
.final .buddy-pair img { height: 220px; width: auto; }
.final .lede { margin-left: auto; margin-right: auto; color: var(--ink); }
.final .key { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: 40px 0 48px; }
.site-foot .wrap { display: grid; gap: 18px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--paper); font-weight: 700; text-decoration: none; }
.site-foot a:hover { color: var(--marigold); text-decoration: underline; }
.site-foot .brand { color: var(--paper); }
.site-foot .brand img { border-color: var(--paper); box-shadow: 2px 2px 0 var(--coral); }
.site-foot small { color: rgba(245, 238, 232, 0.72); font-size: 14px; }

/* ---------- Text pages (support, legal, 404) ---------- */
.page { padding: 28px 0 64px; }
.page .wrap { max-width: 760px; }
.page-card {
    background: var(--card); border: var(--stroke); border-radius: var(--r-card); box-shadow: var(--shadow);
    padding: 24px 20px; margin-top: 22px;
}
.legal h1 { font-size: clamp(34px, 8vw, 52px); margin: 0 0 6px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 30px 0 6px; }
.legal p, .legal li { margin: 8px 0; font-weight: 500; }
.legal ul { padding-left: 22px; }
.legal .meta { color: var(--ink-70); margin-bottom: 20px; font-weight: 600; }
.legal strong { font-weight: 800; }

.support h1 { font-size: clamp(40px, 10vw, 64px); }
.contact { display: grid; gap: 16px; margin-top: 22px; }
.contact .key { justify-content: flex-start; width: 100%; }
.contact .key span small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-70); }
.faq { margin-top: 36px; display: grid; gap: 14px; }
.faq details {
    background: var(--card); border: var(--stroke); border-radius: var(--r-key); box-shadow: 3px 3px 0 var(--ink);
    padding: 0 18px;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-family: var(--num); font-weight: 900; font-size: 26px;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; }
.faq p, .faq li { margin: 6px 0; font-weight: 500; }
.faq ul { padding-left: 20px; margin: 6px 0; }
.page-links { margin-top: 30px; font-weight: 700; }

.lost { text-align: center; padding: 48px 0 80px; }
.lost .num { font-size: clamp(110px, 32vw, 200px); line-height: 0.9; display: block; color: var(--coral); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.lost h1 { font-size: clamp(32px, 8vw, 52px); margin-top: 18px; }
.lost p { font-weight: 600; color: var(--ink-70); }
.lost .key { margin-top: 16px; }

/* ---------- Larger screens ---------- */
@media (min-width: 760px) {
    :root { --gutter: 28px; }
    section { padding: 88px 0; }
    .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
    .split--flip > :first-child { order: 2; }
    .contact { grid-template-columns: 1fr 1fr; }
    .help { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 88px; }
    .hero-split { grid-template-columns: 1fr 1.05fr; gap: 24px; }
    .fan { margin-right: -2%; }
    .help--flip .help-media { order: 2; }
    .help-media { width: 100%; }
    .final .buddy-pair img { height: 280px; }
    .page-card { padding: 36px 40px; }
    .site-foot .wrap { grid-template-columns: auto 1fr; align-items: center; }
    .site-foot nav { justify-content: flex-end; }
    .site-foot small { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
    .sticker { max-width: 380px; }
}

@media (prefers-reduced-motion: no-preference) {
    .sticker { animation: bob 6s ease-in-out infinite; }
    @keyframes bob {
        0%, 100% { transform: rotate(var(--tilt, -3deg)) translateY(0); }
        50% { transform: rotate(calc(var(--tilt, -3deg) * 0.6)) translateY(-6px); }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* Late additions */
.burst--coral .key--coral { background: var(--card); }
.burst--coral .key--coral:hover { background: var(--selected); }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
@media (max-width: 559px) {
    .nav { gap: 2px; }
    .nav a.link { padding: 8px 6px; font-size: 15px; }
    .nav .store-mini { display: inline-flex; padding: 6px 10px; }
    .nav .store-mini span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Round 2: catch sequence, blockers phone, guide callout ---------- */

.catch .seq { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 52px; counter-reset: none; }
.seq-step { position: relative; max-width: 330px; margin: 0 auto; width: 100%; }
.seq-num {
    position: absolute; top: -18px; left: -6px; z-index: 2;
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-family: var(--num); font-weight: 900; font-size: 30px; line-height: 1;
    background: var(--coral); color: var(--ink); border: var(--stroke); box-shadow: 3px 3px 0 var(--paper);
}
.seq-step:nth-child(2) .seq-num { background: var(--marigold); }
.seq-step:nth-child(3) .seq-num { background: var(--teal); color: var(--card); }
.catch .seq-cap { color: var(--paper); font-size: 19px; font-weight: 800; margin: 0 0 14px 58px; min-height: 2.6em; }
.seq-step:not(:last-child)::after {
    content: "\2193"; position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%);
    font-family: var(--num); font-weight: 900; font-size: 34px; color: var(--marigold);
}
.help-media--css { max-width: 290px; }

.callout {
    margin-top: 48px; background: var(--selected); border: var(--stroke); border-radius: var(--r-card);
    box-shadow: 6px 6px 0 var(--ink); padding: 26px 20px; transform: rotate(-0.8deg);
}
.callout h2 { margin-top: 14px; }
.callout-lead { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.callout p, .callout li { font-weight: 500; }
.findings { padding-left: 20px; margin: 10px 0; }
.findings li { margin: 8px 0; }
.cite { font-weight: 800; text-decoration: none; white-space: nowrap; }
.sources ol { padding-left: 22px; font-size: 15px; }
.sources li { margin: 10px 0; font-weight: 500; overflow-wrap: anywhere; }
.sources li:target { background: var(--selected); border-radius: 8px; }

@media (min-width: 760px) {
    .catch .seq { grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; }
    .seq-step { max-width: none; }
    .seq-step:not(:last-child)::after { content: "\2192"; left: auto; right: -38px; bottom: auto; top: 50%; transform: translateY(-50%); }
    .callout { padding: 36px 40px; }
}
/* The hero headline is sized to its column so it always sets in two lines. */
.hero-copy { container-type: inline-size; }
.hero-copy .display--long { font-size: clamp(30px, 11.4cqi, 76px); }
/* Pop-out pills may overhang a phone; never let them widen the page. */
.helps, .guide-block { overflow-x: hidden; overflow-x: clip; }
.pop--mr { bottom: -3%; right: -8%; transform: rotate(-3deg); }

/* ---------- Round 3 ---------- */
/* Hero subtitle: the owner's two lines, sized to the column so neither line wraps. */
.hero-sub { max-width: none; font-size: clamp(12px, 4.75cqi, 21px); line-height: 1.5; }
.hero-sub span { white-space: nowrap; }
/* "No minutes = No scrolling." always on one line. */
.catch-head { container-type: inline-size; margin-top: 18px; }
.one-line { white-space: nowrap; font-size: clamp(20px, 8.3cqi, 64px); }
.catch .one-line .accent { display: inline; }
.seq-step { max-width: 300px; }
.catch .seq-cap { min-height: 0; }
@media (min-width: 760px) {
    .seq-step { max-width: none; }
    .catch .seq-cap { min-height: 2.6em; }
    .catch .seq { align-items: start; }
}
/* Method 2 is the recommended route, so it gets its own sticker card. */
.reptime-way {
    margin-top: 48px; padding: 26px 20px 30px; background: var(--card);
    border: 3px solid var(--ink); border-radius: var(--r-card); box-shadow: 8px 8px 0 var(--teal);
}
.reptime-way h2 { margin-top: 12px; }
.recommended { transform: rotate(-4deg); margin-left: 6px; box-shadow: 2px 2px 0 var(--ink); }
.callout-end { font-weight: 800 !important; font-size: 18px; }
.guide-cta h2 { font-size: clamp(24px, 5.5vw, 34px); }
.guide-cta p { font-weight: 600; }
@media (min-width: 760px) { .reptime-way { padding: 36px 40px 40px; } }
.page-card.guide-cta { background: var(--marigold); box-shadow: 8px 8px 0 var(--ink); border-width: 3px; }

/* Catch sequence: three identical upright phones; listing pop-outs sit over each screen and overhang the frame. */
.seq-phone img { display: block; width: 100%; height: auto; }
.byline { font-size: 15px; font-weight: 600; color: var(--ink-70); margin: 12px 0 0; }
.byline a { color: inherit; }

/* ---------- Analytics consent ---------- */
.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; margin: 0 auto;
  background: var(--card); color: var(--ink); border: var(--stroke); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink);
  padding: 16px 18px; display: grid; gap: 12px; font-size: 15px; font-weight: 600; }
.consent p { margin: 0; }
.consent a { color: inherit; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent .key { font: inherit; font-weight: 800; cursor: pointer; }
