/* Santa Swipe — santaswipe.com
   Built by HoneyWired LLC · © 2026 HoneyWired LLC. All rights reserved.

   One stylesheet for the whole site: the marketing page and the three documents at
   /privacy/, /terms/ and /support/. The documents are generated from the app repo
   (scripts/build-web.mjs) and reference the same classes, so a change here lands on
   all four pages.

   Colours come from the app icon and nothing else — the deep red it is painted on,
   the cream of the beard, the gold in the highlights. A site whose accent disagrees
   with the icon in the App Store listing beside it is a small, constant wrongness. */

:root {
    --bg:          #0F0B0C;
    --bg-raised:   #15100F;
    --panel:       #1A1413;
    --line:        #2A1F1E;
    --line-strong: #3B2B29;

    --ink:   #F5EDDD;
    --ink-2: #D6C9B6;
    --ink-3: #A2947F;
    --ink-4: #786C5E;

    --signal:   #E0231B;
    --signal-2: #C9A227;
    --brand: linear-gradient(160deg, #D50D05 0%, #8C0000 100%);

    --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --shell: 1120px;
    --pad: clamp(18px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.02em; }
h3 { font-size: 20px; letter-spacing: -.01em; margin-top: 2em; }
h4 { font-size: 16px; margin-top: 1.6em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
b, strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
code { font-family: var(--mono); font-size: .92em; color: var(--ink); }
img { max-width: 100%; height: auto; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- Chrome ---------------------------------------------------------- */

header.site {
    position: sticky; top: 0; z-index: 20;
    background: rgba(15, 11, 12, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
header.site .shell { display: flex; align-items: center; gap: 18px; height: 66px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark img { border-radius: 22%; }
.wordmark b { color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--ink-3); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--ink); }

.btn {
    display: inline-block; border-radius: 999px; padding: 14px 26px;
    font-size: 16px; font-weight: 600; text-decoration: none; color: #fff;
    background: var(--brand); border: 0; white-space: nowrap;
    box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .9);
}
.btn:hover { filter: brightness(1.1); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* The same pill before there is anything to download. A loud button that does
   nothing when clicked is a worse first impression than an honest label. */
.btn--wait {
    background: none; border: 1px solid var(--line-strong); color: var(--ink-3);
    box-shadow: none; cursor: default; font-weight: 400;
}
.btn-ghost {
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 15px;
    font-size: 14px; text-decoration: none; color: var(--ink-2); white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--signal); color: var(--ink); }

.nav-toggle { display: none; }
@media (max-width: 900px) {
    header.site nav {
        position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 6px var(--pad) 14px;
        background: var(--bg); border-bottom: 1px solid var(--line);
    }
    header.site nav:not(.is-open) { display: none; }
    header.site nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        margin-left: auto; width: 38px; height: 38px; border-radius: 10px;
        border: 1px solid var(--line-strong); background: none; cursor: pointer;
        color: var(--ink-2);
    }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
        display: block; width: 16px; height: 1.5px; background: currentColor; content: '';
    }
    .nav-toggle span::before { transform: translateY(-5px); }
    .nav-toggle span::after  { transform: translateY(3.5px); }
    .nav-toggle[aria-expanded="true"] { border-color: var(--signal); color: var(--ink); }
}

/* ---- Bands and prose ------------------------------------------------- */

.band { padding: clamp(56px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.band:first-of-type { border-top: 0; }
.band--raised { background: var(--bg-raised); }

.prose p:not([class]) { color: var(--ink-2); max-width: 42em; }
.prose h2 { max-width: 24ch; }
.prose h3, .prose h4 { max-width: 42em; }
.prose ul, .prose ol { color: var(--ink-2); max-width: 42em; margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; padding-left: .2em; }
.prose li::marker { color: var(--signal); font-family: var(--mono); font-size: .9em; }

.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 34em; }
.kicker {
    font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--signal); margin: 0 0 14px;
}
.tagline {
    font-family: var(--mono); font-size: 13px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--signal); margin: 0 0 26px;
}
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 32px 0 24px; }
.undertone {
    font-size: 15px; color: var(--ink-3); text-decoration: none;
    border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.undertone:hover { color: var(--ink); border-color: var(--signal); }
.claims { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 0; padding: 0; list-style: none; }
.claims li {
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-4);
}
/* An admission rather than a claim, set quieter than the prose around it. */
.aside {
    color: var(--ink-3) !important; font-size: 15px; max-width: 42em;
    border-left: 2px solid var(--line); padding-left: 16px;
}

/* ---- Hero ------------------------------------------------------------ */

.hero {
    display: grid; gap: clamp(32px, 5vw, 64px); align-items: center;
    grid-template-columns: minmax(min(340px, 100%), 1.15fr) minmax(min(280px, 100%), .85fr);
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(44px, 8vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.hero-art {
    width: min(340px, 78%); margin-inline: auto; display: block;
    border-radius: 24%; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95);
}

/* ---- Pieces ---------------------------------------------------------- */

.piles {
    display: grid; gap: 12px; max-width: 42em; margin: 26px 0 0;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.pile { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 16px 18px; }
.pile b { display: block; color: var(--ink); }
.pile span {
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-4);
}

.cards {
    display: grid; gap: 14px; margin: 28px 0 0;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 6px; background: var(--panel); }
.card h4 { font-size: 16px; margin: 0 0 .35em; }
.card p  { color: var(--ink-3); font-size: 15px; }

.price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.price b { color: var(--ink); font-size: 30px; letter-spacing: -.02em; }
.price span { color: var(--ink-3); font-size: 15px; }
.tiers { font-family: var(--mono); font-size: 14px; color: var(--ink-3); max-width: 42em; }
.tiers b { color: var(--ink); }

.qa { border-top: 1px solid var(--line); padding: 16px 0; max-width: 42em; }
.qa summary { color: var(--ink); cursor: pointer; font-weight: 600; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: '+'; color: var(--signal); font-family: var(--mono); margin-right: 10px; }
.qa[open] summary::before { content: '\2212'; }
.qa > div { padding-top: 10px; }

/* ---- Document pages -------------------------------------------------- */

.page-title { font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -.02em; max-width: 24ch; margin: 14px 0 .6em; }
.prose .page-title + p { margin-top: 0; }
.backlink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); text-decoration: none; font-size: 15px; }
.backlink:hover { color: var(--ink); }
.backlink span { color: var(--signal); }
.page-foot {
    margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px;
    color: var(--ink-3); font-size: 15px; max-width: 42em;
}

/* ---- Footer ---------------------------------------------------------- */

footer.site {
    border-top: 1px solid var(--line); background: var(--bg-raised);
    padding: clamp(40px, 6vw, 64px) 0 34px;
}
footer.site .rows { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; }
footer.site p { color: var(--ink-3); font-size: 15px; max-width: 34em; }
footer.site nav { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); gap: 8px 30px; }
footer.site nav a { color: var(--ink-3); text-decoration: none; font-size: 15px; }
footer.site nav a:hover { color: var(--ink); }
.fine { margin-top: 30px; color: var(--ink-4); font-size: 13px; max-width: 60em; }
.copyright { margin-top: 8px; }
