/* SiteShift: airy blue, soft white cards, one motif (the fold). Matches the app and its App Store art. */
:root {
    --ink: #0b2545;
    --text: #3d5675;
    --muted: #6a809c;
    --blue: #2b7be4;
    --blue-deep: #1f63c4;
    --blue-soft: #e4effc;
    --bg: #f4f8fd;
    --card: #ffffff;
    --line: #dde7f3;
    --radius: 28px;
    --shadow: 0 30px 80px rgba(30, 70, 130, .10), 0 6px 18px rgba(30, 70, 130, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-family: "Sora", sans-serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.accent { color: var(--blue); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* nav */
.nav-wrap {
    position: sticky; top: 0; z-index: 15;
    background: rgba(244, 248, 253, .82);
    backdrop-filter: saturate(1.4) blur(18px);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid rgba(11, 37, 69, .06);
}
nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Sora"; font-weight: 700; font-size: 1.12rem; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--text); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { font-size: .92rem; font-weight: 600; }
.nav-links a.nav-cta, .nav-links span.nav-cta {
    padding: 10px 18px; border-radius: 999px;
    color: #fff; background: var(--blue);
    box-shadow: 0 8px 20px rgba(43, 123, 228, .28);
    transition: background .2s ease, transform .2s ease;
}
.nav-links span.nav-cta { cursor: default; }
.nav-links a.nav-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* hero */
.hero {
    position: relative;
    padding: 90px 0 40px;
    text-align: center;
    background:
        radial-gradient(60% 50% at 85% 10%, #d3e6fb 0%, rgba(211, 230, 251, 0) 70%),
        radial-gradient(50% 45% at 10% 30%, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
}
.hero h1 { max-width: 880px; margin: 18px auto 0; font-size: clamp(2.9rem, 6.2vw, 5.4rem); }
.hero h1 .accent { display: block; }
.hero-sub { max-width: 600px; margin: 26px auto 34px; color: var(--text); font-size: 1.18rem; line-height: 1.65; }
.store-badge { display: inline-block; height: 58px; transition: transform .2s ease, filter .2s ease; }
.store-badge img { width: auto; height: 100%; }
.soon-badge {
    display: inline-flex; align-items: center; gap: 10px;
    height: 58px; padding: 0 24px; border-radius: 14px;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 1.02rem;
}
.cta .soon-badge { background: #fff; color: var(--ink); }
.store-badge:hover, .store-badge:focus-visible { transform: translateY(-3px); filter: drop-shadow(0 10px 14px rgba(11, 37, 69, .18)); }

.hero-art { position: relative; max-width: 980px; margin: 56px auto 0; }
.hero-art img { width: 100%; animation: rise .7s cubic-bezier(.16, 1, .3, 1) both; }
.mode-chip {
    position: absolute; z-index: 2;
    display: inline-flex; align-items: baseline; gap: 8px;
    font-weight: 700; font-size: .95rem; white-space: nowrap;
    animation: rise .8s .25s cubic-bezier(.16, 1, .3, 1) both;
}
.mode-chip span { font-weight: 600; color: var(--muted); }
/* centred on each phone in hero.png: folded at 21% across, unfolded at 57% */
.mode-chip.folded { left: 21%; top: 94%; transform: translateX(-50%); }
.mode-chip.unfolded { left: 57%; bottom: 95%; transform: translateX(-50%); }
@keyframes rise { from { opacity: 0; translate: 0 20px; } }

/* the fold: two halves of one card with a soft crease between them */
.fold-section { padding: 70px 0 30px; }
.fold-card {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    border-radius: 36px; background: var(--card); box-shadow: var(--shadow);
    overflow: hidden;
}
.fold-card::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 46px; transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(11, 37, 69, 0), rgba(11, 37, 69, .05) 45%, rgba(255, 255, 255, .9) 50%, rgba(11, 37, 69, .05) 55%, rgba(11, 37, 69, 0));
    pointer-events: none;
}
.fold-half { padding: 54px 56px 58px; }
.fold-half.open { background: linear-gradient(160deg, #f3f8ff, #e2eefd); }
.fold-half h2 { margin-top: 14px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.fold-half p { margin: 16px 0 0; max-width: 420px; color: var(--text); font-size: 1.08rem; line-height: 1.65; }
.fold-half.closed .eyebrow { color: var(--muted); }

/* sections */
.section { padding: 110px 0 40px; }
.section-head { max-width: 680px; }
.section-head h2 { margin-top: 12px; font-size: clamp(2.4rem, 4.4vw, 3.8rem); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.step { padding: 32px 30px 34px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.step-num {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--blue); color: #fff; font: 700 1.05rem "Sora";
}
.step h3 { margin: 24px 0 10px; font-size: 1.3rem; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--text); line-height: 1.6; }

/* features */
.features { display: grid; gap: 28px; margin-top: 48px; }
.feature {
    display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px;
    padding: 20px 20px 20px 56px; border-radius: 36px; background: var(--card); box-shadow: var(--shadow);
}
.feature.reverse { grid-template-columns: 1.1fr .9fr; padding: 20px 56px 20px 20px; }
.feature.reverse .feature-visual { order: -1; }
.feature h3 { margin-top: 12px; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.feature p { margin: 16px 0 0; max-width: 440px; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.feature-visual {
    display: grid; place-items: center; min-height: 400px; padding: 34px;
    border-radius: 26px; background: linear-gradient(160deg, #eef5fe, #d9e9fc);
}
.feature-visual img { width: 100%; max-width: 520px; }
.feature-visual img.tall { max-width: 300px; }

/* privacy promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.promise { padding: 30px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.promise svg { width: 30px; height: 30px; color: var(--blue); }
.promise h3 { margin: 18px 0 8px; font-size: 1.2rem; letter-spacing: -.03em; }
.promise p { margin: 0; color: var(--text); line-height: 1.6; }
.promise a { color: var(--blue); font-weight: 700; text-decoration: none; }
.promise a:hover { text-decoration: underline; }

/* closing call to action */
.cta-wrap { padding: 110px 0 100px; }
.cta {
    padding: 80px 40px; border-radius: 40px; text-align: center; color: #fff;
    background: radial-gradient(70% 90% at 80% 0%, #5aa2f0 0%, rgba(90, 162, 240, 0) 70%), linear-gradient(150deg, #2b7be4, #1d5cb8);
    box-shadow: 0 40px 90px rgba(31, 99, 196, .28);
}
.cta h2 { max-width: 760px; margin: 0 auto; font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.cta p { max-width: 520px; margin: 20px auto 34px; color: rgba(255, 255, 255, .82); font-size: 1.12rem; line-height: 1.6; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 46px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--text); }
.footer-links a:hover { color: var(--blue); }
.fine-print { margin-top: 26px; font-size: .8rem; line-height: 1.65; }
.fine-print p { margin: 0; }

/* privacy policy page */
.doc { max-width: 760px; padding: 80px 0 100px; }
.doc h1 { margin-top: 12px; font-size: clamp(2.6rem, 6vw, 4.2rem); }
.doc .effective { margin: 16px 0 40px; color: var(--muted); font-weight: 600; }
.doc h2 { margin: 50px 0 14px; font-size: 1.6rem; letter-spacing: -.035em; line-height: 1.15; }
.doc p, .doc li { color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .fold-card { grid-template-columns: 1fr; }
    .fold-card::after {
        top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 46px; transform: translateY(-50%);
        background: linear-gradient(180deg, rgba(11, 37, 69, 0), rgba(11, 37, 69, .05) 45%, rgba(255, 255, 255, .9) 50%, rgba(11, 37, 69, .05) 55%, rgba(11, 37, 69, 0));
    }
    .steps, .promises { grid-template-columns: 1fr; }
    .feature, .feature.reverse { grid-template-columns: 1fr; padding: 40px 18px 18px; gap: 28px; }
    .feature .feature-copy { padding: 0 18px; }
    .feature.reverse .feature-visual { order: initial; }
    .feature-visual { min-height: 0; }
}

@media (max-width: 600px) {
    .shell { width: calc(100% - 32px); }
    nav { height: 64px; }
    .hero { padding-top: 56px; }
    .hero-sub { font-size: 1.04rem; }
    .hero-art { margin-top: 40px; }
    .mode-chip { font-size: .78rem; gap: 6px; }
    .fold-half { padding: 38px 26px 42px; }
    .section { padding-top: 80px; }
    .feature-visual { padding: 20px; }
    .feature-visual img.tall { max-width: 220px; }
    .cta-wrap { padding: 80px 0 70px; }
    .cta { padding: 60px 22px; border-radius: 30px; }
    .doc { padding: 54px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
