/* Reposia marketing site — shared styles.
   Brand: orange gradient + Bricolage Grotesque display, matching the app. */

:root {
    --orange: #ff6a1a;
    --orange-deep: #e83a00;
    --ink: #161514;
    --muted: #6f6b67;
    --line: #ece7e3;
    --bg: #ffffff;
    --soft: #fff6f0;
    --soft2: #faf7f5;
    --radius: 18px;
    --maxw: 1080px;
    --grad: linear-gradient(135deg, #ff7a2a 0%, #e83a00 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,0.86);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--grad); display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(232,58,0,0.35);
}
.brand .mark svg { width: 20px; height: 20px; }
.wordmark { font-weight: 800; font-size: 20px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links .pill {
    background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
}
.nav-links .pill:hover { text-decoration: none; opacity: 0.9; }
@media (max-width: 640px) { .nav-links a:not(.pill) { display: none; } }

/* Hero */
.hero { padding: 84px 0 64px; background: radial-gradient(1200px 480px at 50% -10%, var(--soft) 0%, #fff 60%); text-align: center; }
.hero .eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--orange-deep);
    background: var(--soft); border: 1px solid #ffe0cd; padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; margin: 22px 0 16px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px;
    padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(232,58,0,0.3); }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { text-decoration: none; border-color: #d8d2cc; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    background: var(--bg); transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 16px 40px rgba(22,21,20,0.07); transform: translateY(-2px); }
.card .icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    margin-bottom: 16px; color: #fff;
}
.card .icon svg { width: 26px; height: 26px; }
.icon.train { background: var(--grad); }
.icon.food  { background: linear-gradient(135deg, #28b463, #1e8e4f); }
.icon.recover { background: linear-gradient(135deg, #9b6dff, #6c3fd6); }
.card h3 { font-size: 21px; margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card ul { color: var(--muted); margin: 12px 0 0; padding-left: 18px; font-size: 15px; }
.card li { margin-bottom: 4px; }

/* Why / privacy band */
.band { background: var(--soft2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why-item h3 { font-size: 18px; margin: 0 0 6px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15px; }

.privacy-band { background: var(--ink); color: #fff; }
.privacy-band h2 { color: #fff; }
.privacy-band p { color: #c9c4bf; }
.privacy-band .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .privacy-band .container { grid-template-columns: 1fr; } }
.privacy-band ul { list-style: none; padding: 0; margin: 0; }
.privacy-band li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #e9e5e1; font-size: 15.5px; }
.privacy-band li::before { content: "✓"; color: #ff8a4a; font-weight: 800; margin-right: 10px; }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.foot-copy { color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2c2a28; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { font-weight: 500; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 600; font-size: 14px; }
.callout { background: var(--soft); border: 1px solid #ffe0cd; border-radius: 12px; padding: 16px 18px; margin: 24px 0; font-size: 15px; }
