* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue: #3F86F7;
    --blue-dark: #1F63DE;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --card: #f5f5f7;
    --border: rgba(0, 0, 0, 0.07);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
    /* Let the headline wrap on its own: the desktop <br> leaves a lonely word on phones. */
    .hero h1 { font-size: 32px; text-wrap: balance; }
    .hero h1 br { display: none; }
}

/* ── Hero ────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 88px 24px 56px;
    text-align: center;
    background:
        linear-gradient(160deg, rgba(214, 186, 248, 0.35) 0%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, rgba(176, 212, 253, 0.55) 0%, rgba(255, 255, 255, 0) 62%);
}

.hero img.icon {
    width: 116px;
    height: 116px;
    border-radius: 26px;
    box-shadow: 0 12px 32px rgba(27, 42, 74, 0.18);
    margin-bottom: 32px;
}

h1 {
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero p.sub {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 34px;
    line-height: 1.5;
}

.download {
    display: inline-block;
    background: linear-gradient(180deg, #4f9eff 0%, var(--blue-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 30px;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(31, 99, 222, 0.35);
}

.hero .meta { margin-top: 14px; font-size: 13px; color: var(--text-secondary); }

.kbd-line { margin-top: 30px; font-size: 14px; color: var(--text-secondary); }

kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    margin: 0 2px;
    vertical-align: middle;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
}

kbd .hgi { font-size: 14px; }
kbd svg { width: 14px; height: 14px; display: block; }

/* ── Screenshot ──────────────────────────────────── */
.shot {
    max-width: 1240px;
    margin: -8px auto 0;
    padding: 0 24px 64px;
    text-align: center;
}

.shot img {
    width: 100%;
    max-width: 1080px;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(27, 42, 74, 0.18), 0 2px 8px rgba(27, 42, 74, 0.08);
    border: 1px solid var(--border);
}

.shot figcaption { margin-top: 16px; font-size: 13px; color: var(--text-secondary); }

/* ── Sections ────────────────────────────────────── */
section { max-width: 980px; margin: 0 auto; padding: 72px 24px; }

.eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 40px;
}

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── How it works ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.step {
    background: var(--card);
    border-radius: 20px;
    padding: 28px 24px;
}

.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ── Features ────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }

.card {
    background: var(--card);
    border-radius: 20px;
    padding: 26px 24px;
}

.card i {
    font-size: 24px;
    color: var(--blue-dark);
    display: inline-block;
    margin-bottom: 14px;
}

.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }

/* ── Types strip ─────────────────────────────────── */
.types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.type-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    background: var(--card);
    border-radius: 999px;
    padding: 10px 18px;
}

.type-chip i { font-size: 17px; color: var(--blue-dark); }

/* ── iPhone band ─────────────────────────────────── */
.iphone-band {
    /* The phones' picture has the card's light grey around it: the band is that grey. */
    background: #f6f6f8;
    color: var(--text);
    border-radius: 28px;
    padding: 52px 0 0 48px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: end;
    overflow: hidden;
}
.iphone-copy { padding-bottom: 52px; }
.iphone-lede { color: var(--text-secondary); font-size: 17px; line-height: 1.55; margin-top: 14px; max-width: 420px; }
.iphone-cta {
    display: inline-block;
    margin-top: 26px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.iphone-cta:hover { background: var(--blue-dark); }
.iphone-cta:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; }
.iphone-note { color: var(--text-secondary); font-size: 13px; margin-top: 12px; }
.iphone-shot { display: block; align-self: end; }
.iphone-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
    .iphone-band { grid-template-columns: 1fr; padding: 36px 24px 0; gap: 8px; }
    .iphone-copy { padding-bottom: 8px; }
    .iphone-shot { margin: 0 -24px; }
}

/* ── Privacy band ────────────────────────────────── */
.privacy-band {
    background: var(--card);
    border-radius: 28px;
    padding: 52px 44px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 44px;
    align-items: center;
}

@media (max-width: 720px) { .privacy-band { grid-template-columns: 1fr; padding: 36px 28px; } }

.privacy-band i.big { font-size: 52px; color: var(--blue-dark); }
.privacy-band h2 { margin-top: 12px; }
.privacy-band ul { list-style: none; }
.privacy-band li {
    font-size: 14.5px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.privacy-band li:last-child { border-bottom: none; }
.privacy-band li::before { content: "✓"; color: var(--blue-dark); font-weight: 600; }

/* ── Pricing ─────────────────────────────────────── */
.plans { display: grid; grid-template-columns: minmax(260px, 460px); justify-content: center; margin-bottom: 20px; }

.plan {
    position: relative;
    border-radius: 24px;
    padding: 38px 30px 34px;
    background: var(--card);
    text-align: center;
}

.plan-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #4f9eff 0%, var(--blue-dark) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 22px;
    max-width: 380px;
}

.plan-list li {
    font-size: 13.5px;
    color: var(--text-secondary);
    padding: 7px 0;
    display: flex;
    gap: 9px;
    align-items: baseline;
    overflow-wrap: anywhere;
}

.plan-list li::before {
    content: "✓";
    color: var(--blue-dark);
    font-weight: 600;
}

.plan h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }

.plan .price { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }

.price .was {
    font-size: 20px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

.plan .note { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; }

.spots { margin: 4px 0 20px; }
.spots-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(63, 134, 247, 0.15); overflow: hidden; margin-bottom: 7px; }
.tiers { display: flex; gap: 10px; }
.tier { flex: 1; min-width: 0; text-align: left; }
.tier span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier.done span { color: var(--text-secondary); }
/* The running tier gets the room for "$49 · 99 of 100 left"; the sold-out one before it steps back.
   The page has two bars: data-tiers lists the last sold-out tier and the running one. */
.tier.tier-now { flex: 1.6; }
.tier.done span { white-space: normal; }
.spots-fill { height: 100%; background: linear-gradient(90deg, #4f9eff, var(--blue-dark)); border-radius: 3px; }
.spots span { font-size: 12.5px; font-weight: 500; color: var(--blue-dark); }

.plan a.buy {
    display: inline-block;
    background: linear-gradient(180deg, #4f9eff 0%, var(--blue-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(31, 99, 222, 0.3);
}

/* The exit offer (home.js initExitOffer). */
.exit-offer {
    margin: auto;
    width: min(380px, calc(100% - 32px));
    padding: 32px 28px 22px;
    border: 0;
    border-radius: 20px;
    text-align: center;
    color: var(--text);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.exit-offer::backdrop { background: rgba(0, 0, 0, 0.35); }
.exit-offer h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.exit-offer .price { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; }
.exit-offer .exit-sub { font-size: 13.5px; color: var(--text-secondary); margin: 6px 0 20px; }
.exit-offer a.buy {
    display: block;
    background: linear-gradient(180deg, #4f9eff 0%, var(--blue-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(31, 99, 222, 0.3);
}
.exit-offer .exit-no {
    margin-top: 12px;
    font: inherit;
    font-size: 13px;
    color: var(--text-secondary);
    background: none;
    border: 0;
    cursor: pointer;
}
.exit-offer .exit-no:hover, .exit-offer .exit-close:hover { color: var(--text); }
.exit-offer .exit-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    line-height: 1;
    color: var(--text-secondary);
    background: none;
    border: 0;
    cursor: pointer;
}

.plan a.offer-line {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--blue-dark);
    text-decoration: none;
}

/* A plain sentence, not a badge: a refund promise reads as trust when it is
   said quietly, in the same voice as the FAQ that repeats it. */
.guarantee {
    max-width: 420px;
    margin: 4px auto 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.recent {
    max-width: 460px;
    margin: 22px auto 24px;
    background: var(--card);
    border-radius: 18px;
    padding: 18px 22px;
}

.recent-head {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.recent-head .dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: #34c759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}

.recent-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 0;
    text-align: left;
}

.avatar {
    width: 32px; height: 32px;
    border-radius: 999px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, #74b4ff, var(--blue-dark));
}

.recent-name { font-size: 14px; font-weight: 500; }
.recent-meta { font-size: 12px; color: var(--text-secondary); }
.recent-row .when { margin-left: auto; font-size: 12px; color: var(--text-secondary); }

.recent-row.new { animation: recent-in 0.5s ease; }
@keyframes recent-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.recent-more {
    font-size: 12.5px;
    color: var(--text-secondary);
    text-align: center;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
}

/* ── Other apps ──────────────────────────────────── */
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.app {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    background: var(--card);
    border-radius: 20px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
}

.app img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.app h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.app p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.app .go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue-dark); }
.app.soon img { opacity: 0.85; }
.app.soon .go { color: var(--text-secondary); font-weight: 500; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { max-width: 680px; }
details {
    background: var(--card);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 10px;
}
summary {
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; color: var(--text-secondary); font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding-top: 10px; }

/* ── Reveal on scroll ──────────────────────────────
   Sections are hidden only while the script is running: it adds .js-reveal to <html>.
   A page whose script failed to load shows everything. */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
    .recent-row.new { animation: none; }
    html { scroll-behavior: auto; }
}

/* ── Release line under the download button ──────── */
.release-meta:empty { display: none; }

/* ── Document pages: What's New, Privacy, Terms, Thanks ─
   Scoped to body.doc so the landing's own h1/h2/section rules stay untouched. */
body.doc { line-height: 1.6; }
body.doc main { max-width: 680px; margin: 0 auto; padding: 56px 24px 96px; }
body.doc main h1 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; text-align: left; }
body.doc main h2 { font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 32px 0 8px; text-align: left; }
body.doc main p, body.doc main li { font-size: 15px; color: #3a3a3c; }
body.doc main p + p { margin-top: 12px; }
body.doc main ul { padding-left: 22px; margin: 8px 0; }
body.doc main a:not(.download) { color: var(--blue-dark); }
body.doc .sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 40px; }
body.doc .muted { color: var(--text-secondary); font-size: 14px; }

.release { padding: 24px 0; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.release:first-child { border-top: none; }
.rel-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.rel-ver { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.rel-date { font-size: 13px; color: var(--text-secondary); }
body.doc main .release ul { list-style: none; padding-left: 0; }
body.doc main .release li { margin: 8px 0; display: flex; align-items: flex-start; gap: 10px; }
.tag {
    flex: none;
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 999px; margin-top: 3px; min-width: 66px; text-align: center;
}
.tag.add { background: rgba(52, 199, 89, 0.14); color: #248a3d; }
.tag.fix { background: rgba(63, 134, 247, 0.14); color: #1f63de; }
.tag.chg { background: rgba(142, 142, 147, 0.16); color: #555; }

.key-box {
    margin: 20px 0 12px; padding: 14px 16px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--border);
    font: 15px ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all;
}
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.doc-actions .download { margin: 0; }
button.link { background: none; border: none; padding: 0; font: inherit; color: var(--blue-dark); cursor: pointer; }
[hidden] { display: none !important; }

/* ── Built with ShipCat: a small chip pinned to the bottom-right ── */
.built-with {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px 8px 11px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(27, 42, 74, 0.12), 0 1px 3px rgba(27, 42, 74, 0.08);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.built-with:hover {
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(27, 42, 74, 0.16), 0 1px 3px rgba(27, 42, 74, 0.08);
}
.built-with-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f9eff, var(--blue-dark));
    box-shadow: 0 0 0 3px rgba(63, 134, 247, 0.18);
}
@media (max-width: 640px) {
    .built-with { right: 12px; bottom: 12px; padding: 7px 11px 7px 10px; font-size: 12px; }
}

/* ── gotemail.net additions: what's new, brought forward ─────────
   The live shipcat page's styles above, plus the sign-in codes and AI blocks
   and the "New" marks. Icons from the app itself are inline SVG (svg.i). */
svg.i { width: 1em; height: 1em; flex: none; vertical-align: -0.14em; }
.card > svg.i { font-size: 24px; color: var(--blue-dark); display: inline-block; margin-bottom: 14px; }

.badge {
    display: table;
    margin: -12px auto 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
}
.badge-new { font-weight: 600; color: var(--blue-dark); margin-right: 4px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.buy-quiet {
    display: inline-block;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 13px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(27, 42, 74, 0.08);
}
.buy-quiet:hover { background: var(--card); }

.new-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg, #4f9eff 0%, var(--blue-dark) 100%);
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: 6px;
    margin-left: 8px;
}
.eyebrow .new-tag { margin: 0 6px 0 0; vertical-align: 1px; }
.badge .beta-tag, .eyebrow .beta-tag { margin-right: 6px; }

.codes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.code-card { background: var(--card); border-radius: 20px; padding: 22px; }
.code-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.code-card > p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 860px) { .codes-grid, .ai-grid { grid-template-columns: 1fr; } }

.mock {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-size: 14px;
}

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #6e6e6e; background: #f3f3f3; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill-blue { color: #fff; background: var(--blue); }
.pill-code { color: var(--text); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; font-weight: 600; padding: 7px 14px; }

.m-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.a1 { background: linear-gradient(135deg, #f59e0b, #ef6c3a); }
.a2 { background: #171717; }

.mock-message { justify-content: flex-start; }
.msg-subject { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.msg-pills { display: flex; gap: 8px; margin: 12px 0 16px; flex-wrap: wrap; }
.msg-from { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; padding-top: 14px; border-top: 1px solid #ededed; }
.msg-from span { color: var(--text-secondary); }
.lines { margin-top: 14px; display: grid; gap: 7px; }
.lines i { display: block; height: 7px; border-radius: 4px; background: #ededed; }
.lines i.short { width: 60%; }

.mock-banner { gap: 12px; background: linear-gradient(160deg, #dfe9fb, #f3e9f7); }
.banner { display: flex; align-items: center; gap: 10px; background: #282828; color: #ededed; border-radius: 999px; padding: 7px; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45); }
.banner-disc { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #3a3a3a; font-size: 16px; flex: none; }
.banner-text { display: flex; align-items: baseline; gap: 8px; flex: 1; min-width: 0; }
.banner-text b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 16px; letter-spacing: 0.03em; white-space: nowrap; }
.banner-text span { font-size: 12px; color: #8c8c8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-text .banner-line { color: #ededed; font-size: 13px; }
.banner-copy { flex: none; font-size: 12.5px; font-weight: 600; background: #3a3a3a; padding: 7px 13px; border-radius: 999px; }
.banner-go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--text); font-size: 15px; flex: none; }

.mock-menu { justify-content: flex-start; padding: 0; overflow: hidden; background: linear-gradient(160deg, #e6eefc, #eef3f9); }
.menubar { display: flex; justify-content: flex-end; padding: 7px 14px; background: rgba(255,255,255,0.6); font-size: 12px; }
.menubar-mark { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; background: rgba(0,0,0,0.07); padding: 2px 8px; border-radius: 6px; }
.menubar-mark img { width: 14px; height: 14px; border-radius: 4px; }
.menu { margin: 8px 14px 14px auto; width: 86%; background: rgba(255,255,255,0.95); border-radius: 11px; padding: 6px; box-shadow: 0 14px 34px -12px rgba(0,0,0,0.3); font-size: 13px; }
.menu-head { color: #8a8a8a; font-size: 11.5px; font-weight: 600; padding: 6px 10px 4px; }
.menu-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 7px; }
.menu-row:nth-child(2) { background: var(--blue); color: #fff; }
.menu-row b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; }
.menu-row .menu-link { font-family: inherit; display: inline-flex; align-items: center; gap: 4px; color: var(--blue); }

.ask { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e3e3e3; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; }
.ask-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; flex: none; }
.draft { background: var(--card); border-radius: 12px; padding: 16px; margin-top: 12px; }
.draft-subject { font-weight: 650; margin-bottom: 8px; }
.draft [data-type] { min-height: 66px; color: #333; line-height: 1.55; }
.draft [data-type]::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--blue); margin-left: 2px; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
.draft [data-type].done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.draft-actions { display: flex; gap: 8px; margin-top: 12px; }

.thread { display: flex; align-items: center; gap: 12px; }
.thread-title { font-weight: 650; font-size: 14.5px; }
.thread-sub { font-size: 12.5px; color: var(--text-secondary); }
.summary { background: var(--card); border-radius: 12px; padding: 16px; margin-top: 14px; line-height: 1.6; color: #333; }
.summary-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--blue-dark); margin-bottom: 6px; }
mark { background: rgba(63,134,247,.12); color: var(--blue-dark); font-weight: 600; padding: 1px 6px; border-radius: 6px; }

#codes, #ai { padding-bottom: 32px; }
@media (max-width: 640px) {
    .shot { padding-left: 16px; padding-right: 16px; }
    section { padding-left: 16px; padding-right: 16px; }
}
.card > .new-tag { vertical-align: top; margin-top: 3px; }
/* The screenshot carries width/height for layout; keep its proportions when it scales. */
.shot img { height: auto; }

/* A friend's discount: a quiet strip under the nav, only with ?friend=<code> (home.js initFriend). */
.friend-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; background: #eef4ff; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.4; text-align: left; border-bottom: 1px solid rgba(63, 134, 247, 0.18); }
.friend-bar[hidden] { display: none; }
/* The pricing announcement above the nav: a dark strip with one link. */
.announce-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; background: #1d1d1f; color: #f5f5f7; text-decoration: none; font-size: 14px; line-height: 1.4; text-align: center; }
.announce-bar b { font-weight: 600; }
.announce-bar .announce-more { color: #8fb8ff; font-weight: 500; white-space: nowrap; }
.announce-bar:hover .announce-more { text-decoration: underline; }
.announce-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.18); }
.friend-bar b { font-weight: 600; }
.friend-gift { font-size: 18px; }
.friend-meta { display: block; font-size: 12.5px; color: var(--text-secondary); }
.plan .note .friend-with { color: var(--blue-dark); font-weight: 500; }

/* ── What people say (replies on X) ─────────────── */
/* Cards like the rest of the page, each as tall as its words: the reply, then who wrote it.
   Desktop: every card at once in three columns. Phones: a slider (scroll-snap swipes,
   the two buttons page). The date and X's logo show on hover. */
.wall { text-align: left; }

/* Their own look, not the page's grey cards: white, a hairline, a blue opening quote mark,
   and a small lift on hover. */
.quote {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 20px 22px 18px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.quote::before {
    content: "\201C";
    display: block;
    height: 16px;
    margin-bottom: -4px;
    font: 700 42px/1 Georgia, "Times New Roman", serif;
    color: var(--blue);
    opacity: 0.35;
}
.quote:hover { transform: translateY(-2px); border-color: rgba(63, 134, 247, 0.35); box-shadow: 0 12px 30px rgba(27, 42, 74, 0.08); }
.quote p { font-size: 14.5px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.quote-foot { display: flex; align-items: center; gap: 10px; min-width: 0; }
.quote-avatar {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}
.quote-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.quote-who strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-who span { font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-meta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; color: var(--text-secondary); }
.quote-meta time { font-size: 12px; opacity: 0; transform: translateX(4px); transition: opacity 0.2s, transform 0.2s; }
.quote-meta svg.x { width: 14px; height: 14px; opacity: 0; transform: translateX(4px); transition: opacity 0.2s, transform 0.2s; }
/* On hover: the date, X's logo and an arrow, so it is clear the card opens the reply on X. */
.quote-meta::after { content: "\2197"; font-size: 12px; opacity: 0; transition: opacity 0.2s; }
.quote:hover .quote-meta::after, .quote:focus-visible .quote-meta::after { opacity: 1; color: var(--text); }
.quote:hover .quote-meta time, .quote:focus-visible .quote-meta time { opacity: 1; transform: none; }
.quote:hover .quote-meta svg.x, .quote:focus-visible .quote-meta svg.x { opacity: 1; transform: none; color: var(--text); }

.wall-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.wall-nav button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--card);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.wall-nav button:disabled { opacity: 0.35; cursor: default; }

/* Desktop: three columns home.js fills card by card, so they end level; no slider. */
@media (min-width: 861px) {
    .wall { display: flex; align-items: flex-start; gap: 16px; }
    .wall-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
    .wall-nav { display: none; }
}

@media (max-width: 860px) {
    .wall {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .wall::-webkit-scrollbar { display: none; }
    .wall .quote { flex: 0 0 calc((100% - 12px) / 2); scroll-snap-align: start; }
    /* No hover on a phone: the date and X's logo are always there. */
    .quote-meta time, .quote-meta svg.x { opacity: 1; transform: none; }
}
@media (max-width: 560px) { .wall .quote { flex-basis: 84%; } }
@media (prefers-reduced-motion: reduce) { .wall { scroll-behavior: auto; } }


