/* Alpen — shared styles for the marketing site + legal pages.
   Palette lifted from brand-identity.html so the site and the app agree. */

:root {
    --indigo-deep: #17142E;
    --indigo: #211D3F;
    --indigo-soft: #2A2550;
    --cream: #FAF7F2;
    --muted: #8a8494;
    --rose: #E85D8A;
    --ember: #F07A4E;
    --peach: #FFC29B;

    --alpenglow: linear-gradient(100deg, var(--rose), var(--ember), var(--peach));
    --measure: 42rem;
}

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

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

body {
    margin: 0;
    background: var(--indigo-deep);
    color: var(--cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--peach); }
a:hover { color: var(--cream); }

.wrap {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

/* Header ------------------------------------------------------------------ */

.site-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    max-width: var(--measure);
    margin: 0 auto;
}

/* The transparent mark, not the app icon. An icon's rounded container exists
   for the App Store grid; on a web page it reads as an unlinked button. No
   border-radius here — there's no tile to round — and slightly larger, because
   a mark without a container reads optically smaller than one with. */
.site-head img { width: 54px; height: 54px; }

/* Lowercase, deliberately — see brand-identity.html. All-lowercase reads modern
   and approachable at every size and avoids the aggressive all-caps condensed
   look that dominates fitness; it makes the wordmark a shape, not a shout.
   Do NOT add text-transform here. */
.wordmark {
    font-weight: 600;
    letter-spacing: -0.018em;
    /* Scaled with the mark — a 54px mark next to small type reads as an
       orphaned image rather than a lockup. */
    font-size: 1.7rem;
    line-height: 1;
    text-decoration: none;
    color: var(--cream);
}

/* The final letter carries the alpenglow gradient — the one flourish in an
   otherwise plain wordmark. */
.wordmark .n {
    background: linear-gradient(120deg, var(--rose) 0%, var(--ember) 55%, var(--peach) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.hero { padding: 3rem 0 1rem; }

.hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    background: var(--alpenglow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lede {
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.86;
    margin: 0 0 2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    display: grid;
    gap: 1.25rem;
}

.features li {
    padding: 1.1rem 1.25rem;
    background: var(--indigo);
    border: 1px solid var(--indigo-soft);
    border-radius: 12px;
}

.features strong { display: block; margin-bottom: 0.2rem; }
.features span { color: var(--muted); font-size: 0.95rem; }

/* Legal pages ------------------------------------------------------------- */

.legal h1 {
    font-size: 2rem;
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
}

.legal .updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0 0 2.5rem;
}

.legal h2 {
    font-size: 1.15rem;
    margin: 2.5rem 0 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--indigo-soft);
}

.legal h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }

.legal p, .legal li { color: var(--cream); opacity: 0.88; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }

.callout {
    background: var(--indigo);
    border-left: 3px solid var(--ember);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.callout p { margin: 0; }

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

.site-foot {
    border-top: 1px solid var(--indigo-soft);
    padding: 2rem 1.5rem 3rem;
    max-width: var(--measure);
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-foot nav { margin-bottom: 0.75rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--cream); }
