:root {
    --ink: #0f2744;
    --teal: #2eb8a6;
    --teal-deep: #0f766e;
    --mint: #e7f6f3;
    --mint-2: #f4fbfa;
    --paper: #ffffff;
    --cloud: #f6f9fb;
    --line: #e3eaf0;
    --muted: #3e5568;
    --danger: #9f1d2a;
    --danger-bg: #fdecee;
    --shadow: 0 18px 50px rgba(15, 39, 68, 0.08);
    --header: 76px;
    --font: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-deep); text-underline-offset: 0.18em; }

a:hover { color: var(--ink); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); margin-bottom: 0.6em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 0.45em; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 16px;
    top: -40px;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 20;
}

.skip:focus { top: 12px; }

.visually-hidden,
.sprite {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand img { height: 42px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--teal-deep); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
}

.nav-toggle-lines { margin: 0 auto; }
.nav-toggle-lines::before,
.nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    background: var(--teal-deep);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover { background: #0c615b; color: #fff; }

.eyebrow {
    margin-bottom: 8px;
    color: var(--teal-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-light { color: #b7efe6; }

.lede { color: var(--muted); font-size: 1.125rem; max-width: 38rem; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 72px;
    background:
        radial-gradient(520px 320px at 12% 10%, rgba(46, 184, 166, 0.18), transparent 70%),
        radial-gradient(480px 280px at 90% 0%, rgba(15, 39, 68, 0.06), transparent 70%),
        linear-gradient(180deg, var(--mint-2), #fff 72%);
}

.hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 28px solid rgba(46, 184, 166, 0.16);
    border-radius: 48% 52% 46% 54%;
    right: -80px;
    top: 80px;
    transform: rotate(18deg);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 36px;
    align-items: center;
}

.hero-logo { height: 56px; width: auto; margin-bottom: 22px; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 16px 8px 12px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
}

a.store-badge:hover { background: #18365c; color: #fff; }

.store-copy { display: flex; flex-direction: column; line-height: 1.1; }
.store-kicker { font-size: 0.68rem; font-weight: 600; opacity: 0.85; }
.store-name { font-size: 1rem; font-weight: 800; }
.store-note { color: var(--muted); font-size: 0.92rem; max-width: 34rem; }

.hero-stage {
    position: relative;
    height: 620px;
}

.phone { width: 250px; margin: 0; }

.bezel {
    background: linear-gradient(165deg, #1c4064, #0b1c33);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(15, 39, 68, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.screen {
    height: 520px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
}

.sig {
    width: 42px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--ink) 0 46%, var(--teal) 46% 70%, var(--line) 70%);
}

.screen-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.phone figcaption {
    margin-top: 10px;
    text-align: center;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-stage .phone { position: absolute; }
.hero-stage .phone-left { left: 0; top: 54px; rotate: -8deg; }
.hero-stage .phone-front { left: 132px; top: 0; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.hero-stage .phone-right { right: 0; top: 78px; rotate: 8deg; }

@keyframes floaty {
    50% { translate: 0 -12px; }
}

section[id] { scroll-margin-top: 92px; }
.section-mint { background: linear-gradient(180deg, var(--mint-2), #fff); }
.section-soft { background: var(--cloud); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); }

.feature-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card,
.step,
.why-list li,
.contact-form,
.legal {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.feature-card { padding: 22px; }
.feature-card p,
.step p,
.why-list p { color: var(--muted); margin-bottom: 0; }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--teal-deep);
    margin-bottom: 14px;
}

.feature-icon svg { width: 24px; height: 24px; }
.feature-card:hover { translate: 0 -4px; }

.tablist { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

.tablist button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    min-height: 44px;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tablist button[aria-selected="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.scroller-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 14px;
}

.scroller-bar p { margin: 0; color: var(--muted); }

.scroller-nav { display: flex; gap: 8px; }

.scroller-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
}

.scroller {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 18px;
}

.scroller .phone { scroll-snap-align: start; flex: 0 0 auto; }

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step { padding: 22px; position: relative; }
.step-num {
    position: absolute;
    top: 16px;
    right: 18px;
    color: var(--teal);
    font-weight: 800;
    font-size: 1.4rem;
}

.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px; align-items: center; }

.why-art {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 30%, #fff 0 8px, transparent 9px),
        linear-gradient(145deg, var(--teal), #7ed9cc);
}

.why-art-b { background: linear-gradient(160deg, var(--ink), #2eb8a6); }
.why-art-c { border-radius: 50% 40% 50% 40%; background: linear-gradient(160deg, #d8f5f0, var(--teal)); }
.why-art-d { background: conic-gradient(from 40deg, var(--ink), var(--teal), #fff, var(--ink)); }

.download {
    padding: 88px 0;
    background:
        radial-gradient(500px 240px at 80% 20%, rgba(46, 184, 166, 0.35), transparent 70%),
        var(--ink);
    color: #fff;
}

.download h2,
.download p { color: #fff; }
.download .store-note { color: #d5e4ee; }

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.download-phones { display: flex; gap: 18px; justify-content: center; }
.download-phones .phone:last-child { margin-top: 36px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.contact-mail { margin: 22px 0; }
.contact-mail span { display: block; color: var(--muted); font-size: 0.9rem; }
.contact-mail a { font-size: 1.25rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.contact-mail a:hover { color: var(--teal-deep); }
.fine { color: var(--muted); font-size: 0.92rem; }

.contact-form { padding: 22px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--cloud);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
}

.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus { outline: 3px solid rgba(15, 118, 110, 0.35); border-color: var(--teal-deep); background: #fff; }

.field-error { margin: 0; color: var(--danger); font-size: 0.9rem; font-weight: 700; }
.form-banner { margin: 0; padding: 12px 14px; border-radius: 14px; font-weight: 700; }
.form-success { background: var(--mint); color: #0c4f49; }
.form-error { background: var(--danger-bg); color: var(--danger); }

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    background: var(--cloud);
    border-top: 1px solid var(--line);
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand { display: inline-block; margin-bottom: 12px; }
.site-footer h2 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 10px; }
.site-footer p,
.site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--teal-deep); }
.footer-base { border-top: 1px solid var(--line); margin-top: 28px; padding: 16px 0 22px; }
.footer-base p { margin: 0; font-size: 0.92rem; }

.legal { margin: 36px auto 72px; padding: 32px 28px 40px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.4em; }
.legal-updated { color: var(--muted); }

.reveal { animation: rise 0.7s ease both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }

@keyframes rise {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}

.ui { flex: 1; min-height: 0; overflow: hidden; padding: 8px 12px 6px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.ui-pad { padding-top: 4px; }
.ui-bar { display: flex; align-items: center; justify-content: space-between; }
.ui-bar img { height: 22px; width: auto; }
.bell { width: 16px; height: 16px; border: 1.6px solid var(--ink); border-radius: 8px 8px 6px 6px; position: relative; }
.bell::after { content: ""; position: absolute; width: 6px; height: 3px; border-radius: 4px; background: #e53935; right: -2px; top: -2px; }
.ui-hi { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.ui-hi em { color: var(--teal-deep); font-style: normal; }
.ui-title { margin: 0; font-size: 18px; }
.ui-kicker, .ui-sub, .ui small { color: var(--muted); }
.ui-kicker, .ui-sub { margin: 0; font-size: 11px; }
.ui-search, .ui-field {
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 11px;
    padding: 8px 10px;
}
.ui-quicks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-quicks span { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; font-size: 9px; font-weight: 700; line-height: 1.2; }
.q { width: 28px; height: 28px; border-radius: 10px; display: block; }
.q-mint { background: #e6f7f4; }
.q-sky { background: #e8f1ff; }
.q-lav { background: #f0e9ff; }
.ui-sec { margin: 2px 0 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; }
.ui-sec em { color: var(--teal-deep); font-style: normal; font-weight: 700; }
.ui-card, .ui-person {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 10px;
    display: grid;
    gap: 2px;
    background: #fff;
}
.ui-card strong, .ui-person strong { font-size: 12px; }
.ui-card small, .ui-person small { font-size: 10px; }
.ui-card .pill, .ui-link { justify-self: start; }
.pill {
    display: inline-flex;
    margin-top: 4px;
    background: #e6f7f4;
    color: var(--teal-deep);
    border-radius: 99px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 800;
}
.pill.warn { background: #fff4e8; color: #9a5416; }
.ui-link { color: var(--teal-deep); font-size: 10px; font-style: normal; font-weight: 800; }
.ui-person { grid-template-columns: 32px 1fr; align-items: center; gap: 8px; }
.ui-person.on { border-color: var(--teal); }
.ui-person b {
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: #e6f7f4; color: var(--teal-deep); font-size: 13px;
}
.ui-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ui-filters span, .ui-actions span {
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
}
.ui-filters .on, .ui-actions .fill { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.ui-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ui-actions.stack { flex-direction: column; }
.ui-cta {
    margin-top: auto;
    background: var(--teal-deep);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 8px;
    font-size: 11px;
    font-weight: 800;
}
.ui-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    padding: 7px 4px 8px;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    color: var(--muted);
}
.ui-tabs .on { color: var(--teal-deep); }
.ui-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ui-days li { font-size: 10px; padding: 4px 8px; border-radius: 8px; background: #f7fafc; }
.ui-days li.on { background: #e6f7f4; color: var(--teal-deep); font-weight: 800; }
.ui-track { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 8px; }
.ui-track li { position: relative; font-size: 11px; font-weight: 700; color: var(--muted); }
.ui-track li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
}
.ui-track li.done { color: var(--ink); }
.ui-track li.done::before, .ui-track li.now::before { background: var(--teal-deep); }
.ui-track li.now { color: var(--teal-deep); }

:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; }

@media (max-width: 980px) {
    .hero-grid, .why-grid, .download-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .hero-stage { height: auto; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
    .hero-stage .phone { position: relative; left: auto; right: auto; top: auto; rotate: none; animation: none; }
    .download-phones { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(var(--header) - 8px);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 8px; }
    .feature-grid, .steps { grid-template-columns: 1fr; }
    .wrap { width: min(1120px, calc(100% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .hero-stage .phone-front, .feature-card { animation: none; translate: none; }
}
