:root {
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --line: #d9e5f2;
    --line-strong: #c7d9ea;
    --text: #16314d;
    --muted: #5f748a;
    --primary: #0f6edb;
    --primary-dark: #0b4f9d;
    --accent: #e9f3ff;
    --shadow: 0 12px 30px rgba(15, 56, 102, 0.08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}
.narrow { max-width: 860px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand:hover { text-decoration: none; }
.brand-full {
    height: 54px;
    width: auto;
}
.brand-mark {
    display: none;
    width: 48px;
    height: 48px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.site-nav a {
    color: var(--text);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.site-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hero {
    padding: 54px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.hero-grid,
.split,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 28px;
}
.hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}
.kicker {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
h1, h2, h3 {
    margin: 0 0 14px;
    line-height: 1.15;
}
h1 {
    font-size: clamp(38px, 6vw, 64px);
    max-width: 10ch;
}
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 28px; }
p { margin: 0 0 16px; }
.intro {
    max-width: 720px;
    font-size: 20px;
    color: var(--muted);
}
.actions,
.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
}
.button:hover { text-decoration: none; }
.button.primary {
    color: #fff;
    background: var(--primary);
}
.button.primary:hover { background: var(--primary-dark); }
.button.secondary {
    color: var(--text);
    background: #fff;
    border-color: var(--line-strong);
}

.hero-card,
.card,
.side-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-card {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}
.hero-card img {
    width: min(340px, 100%);
    height: auto;
}

.section,
.page-head {
    padding: 36px 0;
}
.compact-top { padding-top: 0; }
.stripe { background: var(--bg-soft); }
.section-head {
    margin-bottom: 22px;
}
.section-head p { color: var(--muted); }
.cards.three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.cards.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}
.card,
.side-panel {
    padding: 24px;
}
.card p:last-child,
.side-panel p:last-child { margin-bottom: 0; }
.store-card {
    display: block;
    min-width: 220px;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}
.store-card strong,
.store-card span {
    display: block;
}
.store-card strong { color: var(--text); font-size: 18px; }
.store-card span { color: var(--muted); }
.split {
    grid-template-columns: 1fr 360px;
    align-items: start;
}
.side-panel img {
    max-width: 260px;
    margin-bottom: 18px;
}
.side-panel p { color: var(--muted); }
.details-wrap { grid-template-columns: 1fr 1fr; }
.details {
    margin: 0;
    display: grid;
    gap: 14px;
}
.details div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.details dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}
.details dd { margin: 0; }

.contact-grid {
    grid-template-columns: 340px 1fr;
    align-items: start;
}
.notice {
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    font-weight: 600;
}
.notice.success {
    background: #ecf9ef;
    border: 1px solid #b9e2c3;
    color: #20663a;
}
.notice.error {
    background: #fff1f1;
    border: 1px solid #efc4c4;
    color: #9a2b2b;
}
.form-card form,
.form-card label {
    display: block;
}
.form-card label {
    margin-bottom: 14px;
    font-weight: 600;
}
.form-card input,
.form-card textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font: inherit;
    color: var(--text);
    background: #fff;
}
.form-card textarea { resize: vertical; }
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.prose h2 {
    margin-top: 28px;
    font-size: 24px;
}
.prose h2:first-child { margin-top: 0; }

.site-footer {
    margin-top: 36px;
    padding: 30px 0 16px;
    background: #f6f9fc;
    border-top: 1px solid var(--line);
}
.footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
    align-items: start;
}
.footer-logo {
    max-width: 280px;
}
.footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 980px) {
    .hero-grid,
    .split,
    .details-wrap,
    .contact-grid,
    .footer-grid,
    .cards.three,
    .cards.two {
        grid-template-columns: 1fr;
    }
    h1 { max-width: none; }
}

@media (max-width: 760px) {
    .topbar {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }
    .site-nav {
        gap: 16px;
    }
    .brand-full { display: none; }
    .brand-mark { display: block; }
    .hero { padding-top: 28px; }
    .hero-card { min-height: 240px; }
    .container { width: min(100% - 28px, 1160px); }
}
