:root {
    --bg: #fbf6f2;
    --bg-soft: #fff9f6;
    --card: #ffffff;
    --ink: #2b211f;
    --muted: #6e5c54;
    --muted-2: #917a70;
    --terracotta: #b85238;
    --terracotta-dark: #933e2d;
    --peach: #ffe6d9;
    --peach-strong: #ffd7c5;
    --amber: #d98a32;
    --gold: #b96a28;
    --line: rgba(43, 33, 31, 0.08);
    --line-strong: rgba(184, 82, 56, 0.22);
    --success: #28794c;
    --success-bg: #eef8f2;
    --blue: #3e7180;
    --blue-bg: #edf7f8;
    --shadow: 0 18px 55px rgba(77, 46, 37, 0.10);
    --shadow-soft: 0 8px 28px rgba(77, 46, 37, 0.07);
    --shadow-lift: 0 24px 64px rgba(91, 49, 34, 0.16);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 2%, rgba(255, 230, 217, 0.92) 0, rgba(255, 230, 217, 0) 31%),
        radial-gradient(circle at 92% 10%, rgba(184, 82, 56, 0.07) 0, rgba(184, 82, 56, 0) 28%),
        linear-gradient(180deg, #fbf6f2 0%, #fffaf7 46%, #fbf6f2 100%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
button, input, textarea, select { font: inherit; }

.site-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: calc(20px + var(--safe-top)) 0 calc(54px + var(--safe-bottom));
}

.site-nav {
    position: sticky;
    top: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav-brand img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(184, 82, 56, .18);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--terracotta);
    background: var(--peach);
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 30px;
    align-items: center;
    min-height: 520px;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 226, 208, .88), transparent 34%),
        rgba(255,255,255,.92);
    box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 350px;
    height: 350px;
    right: -100px;
    bottom: -160px;
    background: rgba(255, 230, 217, .82);
}

.hero::after {
    width: 210px;
    height: 210px;
    left: -110px;
    top: -95px;
    border: 24px solid rgba(184, 82, 56, .07);
}

.hero-copy, .hero-visual { position: relative; z-index: 2; }
.brand-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.brand-lockup img { width: 62px; height: 62px; border-radius: 20px; box-shadow: 0 13px 28px rgba(184,82,56,.18); }
.brand-lockup strong { display: block; font-size: 24px; letter-spacing: -.03em; }
.brand-lockup span { color: var(--muted); font-size: 13px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 950;
}
.hero p {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid var(--terracotta);
    background: var(--terracotta);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(184,82,56,.18);
}
.button-link:hover { color: #fff; background: var(--terracotta-dark); }
.button-link.secondary { color: var(--terracotta); background: #fff; border-color: var(--line-strong); box-shadow: none; }
.button-link.secondary:hover { background: var(--peach); }
.platform-note { margin-top: 12px; color: var(--muted-2); font-size: 12px; }

.hero-visual { display: grid; place-items: center; }
.device-card {
    position: relative;
    width: min(100%, 500px);
    padding: 10px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,244,237,.92));
    border: 1px solid rgba(184,82,56,.12);
    box-shadow: var(--shadow-lift);
    transform: rotate(1.2deg);
}
.device-card img { width: 100%; border-radius: 23px; }
.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 999px;
    border: 1px solid rgba(184,82,56,.15);
    background: rgba(255,255,255,.94);
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(76,45,36,.13);
    font-size: 12px;
    font-weight: 800;
}
.floating-chip.one { left: -18px; top: 13%; }
.floating-chip.two { right: -10px; bottom: 13%; }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}
.trust-card {
    min-height: 108px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow-soft);
}
.trust-card span { display: block; margin-bottom: 7px; font-size: 23px; }
.trust-card strong { display: block; margin-bottom: 3px; font-size: 14px; }
.trust-card p { margin: 0; color: var(--muted); font-size: 12px; }

.section {
    margin-top: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-soft);
}
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.section-head > div { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 6px; }
.section h2 { margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1.04; letter-spacing: -.045em; }
.section-head p { margin: 9px 0 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--peach);
    color: var(--terracotta);
    font-size: 20px;
    font-weight: 900;
}
.feature-card h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }

.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spotlight {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}
.spotlight img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.spotlight-copy { padding: 20px; }
.spotlight-copy h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.03em; }
.spotlight-copy p { margin: 0; color: var(--muted); font-size: 14px; }

.upgrade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.upgrade-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(77,46,37,.06);
}
.upgrade-card.wide { grid-column: span 2; }
.upgrade-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.upgrade-copy { padding: 14px; }
.upgrade-copy strong { display: block; font-size: 14px; margin-bottom: 3px; }
.upgrade-copy span { color: var(--muted); font-size: 12px; }

.privacy-feature {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #fff8f4 100%);
}
.privacy-orb {
    display: grid;
    place-items: center;
    min-height: 280px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.96) 0 18%, transparent 19%),
        radial-gradient(circle at center, rgba(184,82,56,.09), rgba(255,230,217,.64));
    border: 1px solid rgba(184,82,56,.10);
}
.privacy-orb img { width: min(210px, 66%); filter: drop-shadow(0 18px 24px rgba(77,46,37,.16)); }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.check-item b { color: var(--ink); }
.check { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--success-bg); color: var(--success); font-weight: 900; }

.story-banner {
    position: relative;
    overflow: hidden;
    min-height: 370px;
    display: grid;
    align-items: end;
    margin-top: 18px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: #4b2a20;
    box-shadow: var(--shadow);
}
.story-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,18,14,.04) 25%, rgba(33,18,14,.77) 100%); }
.story-copy { position: relative; z-index: 2; max-width: 730px; padding: clamp(24px, 5vw, 42px); color: #fff; }
.story-copy .eyebrow { color: #ffe2cb; }
.story-copy h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.045em; }
.story-copy p { margin: 12px 0 0; color: rgba(255,255,255,.86); font-size: 16px; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.legal-card h3 { margin: 0 0 8px; font-size: 18px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 13px; }
.legal-card a { font-weight: 800; }

.footer {
    margin-top: 18px;
    padding: 20px 8px 0;
    text-align: center;
    color: var(--muted-2);
    font-size: 12px;
}
.footer strong { color: var(--ink); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin: 9px 0; }
.footer-links a { color: var(--muted); font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--terracotta); }

/* Legal/document page */
.legal-shell { width: min(1120px, calc(100% - 28px)); }
.legal-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 30px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
}
.legal-hero::after { content:""; position:absolute; width:230px; height:230px; right:-84px; bottom:-105px; border-radius:50%; background:var(--peach); opacity:.75; }
.legal-hero h1 { max-width: 670px; margin: 0; font-size: clamp(31px,6.5vw,50px); line-height: 1.05; letter-spacing: -.045em; font-weight: 900; }
.legal-hero p { max-width: 670px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.hero-paw { position: relative; z-index: 1; display: grid; place-items:center; width:120px; height:120px; border-radius:34px; background:var(--peach); color:var(--terracotta); transform:rotate(5deg); font-size:58px; }
.summary { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin-bottom:18px; }
.summary-card { padding:19px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--card); box-shadow:var(--shadow-soft); }
.summary-card .badge { display:inline-grid; place-items:center; width:38px; height:38px; margin-bottom:10px; border-radius:12px; background:var(--peach); color:var(--terracotta); font-size:18px; }
.summary-card strong { display:block; margin-bottom:5px; font-size:15px; }
.summary-card p { margin:0; color:var(--muted); font-size:13px; }
.toc { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; padding:14px; border:1px solid var(--line); border-radius:var(--radius-md); background:rgba(255,255,255,.72); }
.toc a { display:inline-block; padding:7px 10px; border-radius:999px; background:var(--bg-soft); border:1px solid var(--line); color:var(--muted); font-size:12px; font-weight:700; text-decoration:none; }
.toc a:hover { color:var(--terracotta); border-color:var(--line-strong); }
.doc-card { margin-bottom:18px; padding:25px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--card); box-shadow:var(--shadow-soft); }
.doc-card h2 { display:flex; align-items:center; gap:10px; margin:0 0 10px; font-size:22px; letter-spacing:-.025em; }
.doc-card h3 { margin:20px 0 7px; font-size:16px; letter-spacing:-.01em; }
.doc-card p { margin:0 0 12px; color:var(--muted); }
.doc-card p:last-child { margin-bottom:0; }
.icon-chip { display:inline-grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:11px; background:var(--peach); color:var(--terracotta); font-size:18px; }
.list { display:grid; gap:9px; margin:12px 0 0; padding:0; list-style:none; }
.list li { display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:14px; }
.list strong { color:var(--ink); }
.dot { width:8px; height:8px; margin-top:8px; border-radius:50%; background:var(--terracotta); flex:0 0 8px; }
.notice { margin:14px 0 0; padding:14px 16px; border-radius:14px; color:var(--blue); background:var(--blue-bg); border:1px solid rgba(62,113,128,.16); font-size:13px; }
.notice strong { color:#315a65; }
.operator { display:grid; grid-template-columns: repeat(2,1fr); gap:10px; margin-top:14px; }
.operator div { padding:14px; border-radius:14px; background:var(--bg-soft); border:1px solid var(--line); }
.operator span { display:block; color:var(--muted-2); font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.operator strong { display:block; margin-top:3px; font-size:14px; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-visual { margin-top: 4px; }
    .device-card { max-width: 660px; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
    .upgrade-grid { grid-template-columns: repeat(2, 1fr); }
    .upgrade-card.wide { grid-column: span 1; }
    .privacy-feature { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .site-shell { width: min(100% - 18px, 1120px); padding-top: calc(9px + var(--safe-top)); }
    .site-nav { position: static; align-items:flex-start; flex-direction:column; }
    .nav-links { width:100%; justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; padding-bottom:2px; }
    .nav-links a { white-space:nowrap; }
    .hero { padding: 23px; border-radius: 26px; }
    .hero h1 { font-size: clamp(40px, 13vw, 58px); }
    .floating-chip { display:none; }
    .section { padding: 21px; }
    .section-head { align-items:flex-start; flex-direction:column; }
    .feature-grid, .spotlight-grid, .legal-grid { grid-template-columns:1fr; }
    .trust-strip { grid-template-columns:1fr 1fr; }
    .story-banner { min-height: 440px; }
    .legal-hero { grid-template-columns:1fr; padding:23px; }
    .hero-paw { display:none; }
    .summary { grid-template-columns:1fr; }
    .operator { grid-template-columns:1fr; }
}

@media (max-width: 520px) {
    .trust-strip, .upgrade-grid { grid-template-columns:1fr; }
    .hero-actions { flex-direction:column; }
    .button-link { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
.section-copy { color: var(--muted); margin: 12px 0 0; }
.notice.spaced { margin-top: 18px; }


/* Shared inner-page components: Support, Privacy and Terms */
.legal-hero::after { pointer-events: none; }
.legal-hero .brand-lockup { margin-bottom: 18px; }
.legal-hero .brand-lockup strong { font-size: 24px; }
.legal-hero .brand-lockup span { font-size: 13px; }

.secure {
    color: var(--success);
    background: var(--success-bg);
    border-color: rgba(40,121,76,.16);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}
.table-wrap th,
.table-wrap td {
    padding: 12px 13px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.table-wrap th {
    color: var(--ink);
    background: var(--bg-soft);
    font-size: 12px;
}
.table-wrap td { color: var(--muted); }
.table-wrap tr:last-child td { border-bottom: 0; }

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    margin-bottom: 18px;
    border-radius: var(--radius-lg);
    background: var(--peach);
    border: 1px solid var(--line-strong);
}
.contact strong { display: block; margin-bottom: 3px; }
.contact span { display: block; color: var(--muted); font-size: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
    color: var(--muted-2);
    font-size: 12px;
}

section[id] { scroll-margin-top: 82px; }

@media (max-width: 720px) {
    .contact { align-items: flex-start; flex-direction: column; }
    .contact-actions { width: 100%; justify-content: flex-start; }
}

@media print {
    body { background: #fff; }
    .site-shell { width: 100%; padding: 0; }
    .site-nav, .toc, .contact-actions { display: none; }
    .legal-hero, .doc-card, .summary-card, .contact { box-shadow: none; break-inside: avoid; }
}
