:root {
    --site-blue: #177ddc;
    --site-blue-dark: #0f63b5;
    --site-blue-deep: #0a4f91;
    --site-blue-soft: #eaf4ff;
    --site-ink: #101828;
    --site-muted: #53647d;
    --site-line: #dbe4ef;
    --site-surface: #f5f8fc;
    --site-white: #ffffff;
    --site-maroon: #8b1e2d;
    --site-success: #157a46;
    --site-warning: #8a5a00;
    --site-danger: #b42338;
    --site-content: 1160px;
    --site-reading: 760px;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body.site-page {
    background: var(--site-white);
    color: var(--site-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-width: 0;
    overflow-x: clip;
}

body.site-page::before,
body.site-page::after {
    display: none !important;
}

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

.site-page img,
.site-page iframe {
    display: block;
    max-width: 100%;
}

.site-page img {
    height: auto;
}

.site-page button,
.site-page a {
    -webkit-tap-highlight-color: transparent;
}

.site-page a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.site-page a:focus-visible,
.site-page button:focus-visible,
.site-page summary:focus-visible {
    outline: 3px solid rgba(23, 125, 220, 0.36);
    outline-offset: 3px;
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page .logo-text {
    color: var(--site-ink);
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: 0;
    text-wrap: balance;
}

.site-page p,
.site-page li {
    color: var(--site-muted);
}

.site-container {
    margin: 0 auto;
    max-width: var(--site-content);
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.skip-link {
    background: var(--site-ink);
    color: var(--site-white) !important;
    font-weight: 800;
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -60px;
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

/* Shared navigation */
.site-page .site-nav {
    background: var(--site-white);
    border-bottom: 1px solid rgba(219, 228, 239, 0.9);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-page .site-nav.is-scrolled {
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.site-page .nav-inner {
    align-items: center;
    display: flex;
    flex-direction: row !important;
    gap: 24px;
    justify-content: space-between;
    min-height: 74px;
    padding-bottom: 0;
    padding-top: 0;
}

.site-page .logo {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 44px;
    text-decoration: none;
}

.site-page .logo-img,
.site-page .logo img {
    height: 40px !important;
    object-fit: contain;
    width: 40px;
}

.site-page .logo-text,
.site-page .logo span {
    color: var(--site-blue) !important;
    font-size: 1.42rem !important;
    font-weight: 800;
}

.site-page .nav-links-wrapper {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.site-page .nav-link {
    align-items: center;
    border-radius: 6px;
    color: #46566d;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    min-height: 42px;
    padding: 9px 11px;
    text-decoration: none;
    white-space: nowrap;
}

.site-page .nav-link:hover {
    background: var(--site-surface);
    color: var(--site-blue-dark);
}

.site-page .nav-link.active,
.site-page .nav-link[aria-current='page'] {
    background: var(--site-blue-soft);
    color: var(--site-blue-dark) !important;
}

.site-page .nav-download {
    background: var(--site-blue-dark);
    border-radius: 6px;
    box-shadow: none;
    color: var(--site-white) !important;
    margin-left: 4px;
    padding-left: 15px;
    padding-right: 15px;
}

.site-page .nav-download:hover {
    background: var(--site-blue-deep);
    color: var(--site-white) !important;
    transform: none;
}

.menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    color: var(--site-ink);
    cursor: pointer;
    display: none;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.menu-toggle svg {
    height: 22px;
    width: 22px;
}

.menu-toggle .menu-close-icon,
.menu-toggle[aria-expanded='true'] .menu-open-icon {
    display: none;
}

.menu-toggle[aria-expanded='true'] .menu-close-icon {
    display: block;
}

/* Shared actions */
.primary-action,
.secondary-action {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 800;
    gap: 9px;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    text-decoration: none;
}

.primary-action {
    background: var(--site-blue-dark);
    color: var(--site-white) !important;
}

.primary-action:hover {
    background: var(--site-blue-deep);
}

.secondary-action {
    background: var(--site-white);
    border-color: var(--site-line);
    color: var(--site-ink) !important;
}

.secondary-action:hover {
    border-color: #a9bdd2;
    color: var(--site-blue-dark) !important;
}

.action-icon {
    flex: 0 0 auto;
    height: 19px;
    width: 19px;
}

.store-badge-link {
    border-radius: 6px;
    display: inline-flex;
    min-height: 50px;
}

.store-badge-link img {
    height: 50px;
    width: auto;
}

/* Homepage */
.home-page .hero {
    align-items: center;
    display: grid;
    gap: 72px;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
    min-height: calc(100svh - 140px);
    padding-bottom: 60px;
    padding-top: 48px;
}

.home-page .hero-copy {
    max-width: 690px;
}

.eyebrow {
    color: var(--site-blue-dark) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.home-page .hero h1 {
    font-size: 4.15rem;
    font-weight: 800;
    line-height: 1.02;
    margin: 0 0 24px;
    max-width: 720px;
}

.home-page .hero-lede {
    font-size: 1.16rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 610px;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.trust-list li {
    align-items: center;
    color: #344054;
    display: flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 8px;
}

.trust-list svg {
    color: var(--site-blue);
    height: 18px;
    width: 18px;
}

.hero-actions,
.download-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-note {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 12px 0 0;
    max-width: 560px;
}

.hero-product {
    justify-self: center;
    margin: 0;
    max-width: 328px;
    position: relative;
    width: 100%;
}

.hero-product::before {
    background: #dceeff;
    border-radius: 8px;
    content: '';
    inset: 28px -28px -28px 28px;
    position: absolute;
    z-index: -1;
}

.hero-product img {
    aspect-ratio: 690 / 1494;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.18);
    margin-left: auto;
    margin-right: auto;
    max-height: calc(100svh - 230px);
    object-fit: cover;
    width: auto;
}

.hero-product figcaption {
    color: var(--site-muted);
    font-size: 0.78rem;
    margin-top: 12px;
    text-align: center;
}

.proof-band {
    border-bottom: 1px solid var(--site-line);
    border-top: 1px solid var(--site-line);
    padding: 30px 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-item {
    padding: 4px 30px;
}

.proof-item + .proof-item {
    border-left: 1px solid var(--site-line);
}

.proof-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.proof-item span {
    color: var(--site-muted);
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
}

.section-block {
    padding-bottom: 92px;
    padding-top: 92px;
}

.section-heading {
    margin-bottom: 38px;
    max-width: 680px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.55rem;
    line-height: 1.12;
    margin: 0 0 12px;
}

.section-heading p {
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
}

.product-showcase {
    background: var(--site-surface);
}

.product-gallery {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-shot {
    margin: 0;
    min-width: 0;
}

.product-shot img {
    aspect-ratio: 690 / 1494;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.product-shot figcaption {
    padding-top: 15px;
}

.product-shot strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.product-shot span {
    color: var(--site-muted);
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
}

.steps-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-step {
    border-top: 2px solid var(--site-line);
    padding: 24px 34px 0 0;
}

.journey-step + .journey-step {
    padding-left: 34px;
}

.step-number {
    align-items: center;
    background: var(--site-blue-soft);
    border-radius: 50%;
    color: var(--site-blue-dark);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    margin-bottom: 16px;
    width: 32px;
}

.journey-step h3 {
    font-size: 1.22rem;
    margin: 0 0 8px;
}

.journey-step p {
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

.safety-band {
    background: var(--site-ink);
    color: var(--site-white);
}

.safety-band .section-heading h2,
.safety-band h3 {
    color: var(--site-white);
}

.safety-band .eyebrow {
    color: #68b5ff !important;
}

.safety-band .section-heading p,
.safety-band p {
    color: #b9c5d6;
}

.safety-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-point {
    border-top: 1px solid #344054;
    padding-top: 22px;
}

.safety-point svg {
    color: #70b9fa;
    height: 24px;
    margin-bottom: 15px;
    width: 24px;
}

.safety-point h3 {
    font-size: 1.18rem;
    margin: 0 0 8px;
}

.safety-point p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.safety-band .text-link {
    color: #8bc8ff;
    display: inline-flex;
    font-weight: 800;
    margin-top: 28px;
}

.download-band {
    background: #eef6ff;
}

.download-layout {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.download-layout h2 {
    font-size: 2.4rem;
    margin: 0 0 10px;
}

.download-layout p {
    line-height: 1.6;
    margin: 0;
    max-width: 620px;
}

.android-note {
    border-top: 1px solid #cfe0f1;
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-top: 22px;
    max-width: 760px;
    padding-top: 15px;
}

.faq-section {
    background: var(--site-white);
}

.faq-list {
    border-top: 1px solid var(--site-line);
    margin: 0 auto;
    max-width: 820px;
}

.faq-item {
    border-bottom: 1px solid var(--site-line);
}

.faq-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--site-ink);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 800;
    gap: 24px;
    justify-content: space-between;
    min-height: 72px;
    padding: 18px 0;
    text-align: left;
    width: 100%;
}

.faq-trigger span:first-child {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
}

.faq-trigger svg {
    flex: 0 0 auto;
    height: 20px;
    transition: transform 180ms ease;
    width: 20px;
}

.faq-trigger[aria-expanded='true'] svg {
    transform: rotate(180deg);
}

.faq-panel {
    padding: 0 48px 22px 0;
}

.faq-panel[hidden] {
    display: none;
}

.faq-panel p {
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0;
}

/* About page */
.story-hero,
.safe-hero {
    background: var(--site-surface);
    border-bottom: 1px solid var(--site-line);
    padding: 82px 0;
}

.story-hero-inner {
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
}

.story-hero h1,
.safe-hero h1 {
    font-size: 3.65rem;
    line-height: 1.04;
    margin: 0 0 20px;
}

.story-hero .lead,
.safe-hero .lead {
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 650px;
}

.story-principles {
    align-self: end;
    border-left: 1px solid #cbd8e7;
    display: grid;
    gap: 18px;
    padding-left: 34px;
}

.story-principles div {
    color: #344054;
    font-weight: 800;
}

.comparison-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-column {
    border-top: 4px solid var(--site-line);
    padding-top: 24px;
}

.comparison-column.good {
    border-color: var(--site-blue);
}

.comparison-column h3 {
    font-size: 1.3rem;
    margin: 0 0 15px;
}

.comparison-column ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-column li {
    font-size: 0.95rem;
    line-height: 1.55;
}

.use-case-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case {
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 24px;
}

.use-case h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
}

.use-case p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Safe Zones page */
.safe-hero {
    text-align: center;
}

.safe-hero .lead {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.safe-checklist-band {
    background: var(--site-white);
    border-bottom: 1px solid var(--site-line);
    padding: 30px 0;
}

.safe-checklist-band .safe-checklist {
    margin-top: 0;
}

.safe-checklist {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
    text-align: left;
}

.safe-check {
    background: var(--site-white);
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 21px;
}

.safe-check strong {
    display: block;
    font-size: 0.94rem;
    margin-bottom: 6px;
}

.safe-check span {
    color: var(--site-muted);
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
}

.map-layout {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.map-frame {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    min-height: 430px;
    overflow: hidden;
}

.map-frame iframe {
    height: 100%;
    width: 100%;
}

.map-side {
    align-self: center;
}

.map-side h2 {
    font-size: 2.2rem;
    margin: 0 0 12px;
}

.map-side p {
    line-height: 1.65;
    margin: 0 0 22px;
}

.zone-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zone-card {
    background: var(--site-white);
    border: 1px solid var(--site-line);
    border-radius: 8px;
    min-width: 0;
    padding: 24px;
}

.zone-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.zone-tag.security { color: var(--site-success); }
.zone-tag.traffic { color: var(--site-blue-dark); }
.zone-tag.quick { color: var(--site-warning); }

.zone-card h3 {
    font-size: 1.22rem;
    margin: 0 0 8px;
}

.zone-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 18px;
}

.zone-address {
    color: #344054;
    font-size: 0.86rem;
    font-weight: 800;
}

.etiquette-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.etiquette-item {
    border-top: 2px solid var(--site-blue);
    padding-top: 18px;
}

.etiquette-item h3 {
    font-size: 1.08rem;
    margin: 0 0 8px;
}

.etiquette-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.partner-band {
    background: var(--site-ink);
    color: var(--site-white);
    padding: 70px 0;
}

.partner-layout {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.partner-band h2 {
    color: var(--site-white);
    font-size: 2rem;
    margin: 0 0 8px;
}

.partner-band p {
    color: #b9c5d6;
    line-height: 1.6;
    margin: 0;
    max-width: 650px;
}

/* Legal pages */
.legal-page .legal-shell {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: 220px minmax(0, var(--site-reading));
    justify-content: center;
    max-width: 1120px;
    padding-bottom: 72px;
    padding-top: 48px;
}

.legal-page .legal-toc {
    position: sticky;
    top: 104px;
}

.legal-page .legal-toc strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.legal-page .legal-toc-toggle {
    display: none;
}

.legal-page .legal-toc ol {
    display: grid;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-page .legal-toc ol[hidden] {
    display: none;
}

.legal-page .legal-toc a {
    align-items: center;
    color: var(--site-muted);
    display: flex;
    font-size: 0.78rem;
    line-height: 1.35;
    min-height: 40px;
    text-decoration: none;
}

.legal-page .legal-toc a:hover {
    color: var(--site-blue-dark);
}

.legal-page .legal-doc {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
}

.legal-page .legal-doc h1 {
    font-size: 2.8rem !important;
    margin-bottom: 8px !important;
}

.legal-page .legal-doc h2 {
    border-left: 0 !important;
    color: var(--site-ink) !important;
    font-size: 1.48rem !important;
    line-height: 1.25 !important;
    margin-top: 52px !important;
    padding-left: 0 !important;
    scroll-margin-top: 104px;
}

.legal-page .legal-doc h3 {
    font-size: 1.02rem !important;
    line-height: 1.45 !important;
    margin-top: 24px !important;
}

.legal-page .legal-doc p,
.legal-page .legal-doc li {
    color: #475467 !important;
    font-size: 0.94rem !important;
    line-height: 1.75 !important;
}

.legal-page .legal-doc li {
    margin-bottom: 10px !important;
}

.legal-page .version-tag {
    color: var(--site-muted) !important;
    display: block;
    font-size: 0.82rem !important;
    margin-bottom: 34px;
}

.legal-page .notice-box,
.legal-page .safety-box,
.legal-page .disclaimer-box {
    border-radius: 8px !important;
    margin: 26px 0 !important;
    padding: 22px !important;
}

.legal-page .legal-back-top {
    border-top: 1px solid var(--site-line);
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 48px;
    padding-top: 20px;
}

/* Footer */
.site-footer {
    background: var(--site-white);
    border-top: 1px solid var(--site-line);
    color: var(--site-muted);
    padding: 36px 0;
}

.footer-layout {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.footer-layout p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    max-width: 610px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.footer-links a {
    align-items: center;
    color: #475467;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    min-height: 40px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--site-blue-dark);
}

@media (max-width: 940px) {
    .home-page .hero {
        gap: 42px;
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .home-page .hero h1 {
        font-size: 3.35rem;
    }

    .site-page .nav-link {
        padding-left: 8px;
        padding-right: 8px;
    }

    .legal-page .legal-shell {
        gap: 32px;
        grid-template-columns: 190px minmax(0, var(--site-reading));
    }
}

@media (max-width: 820px) {
    .site-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-page .nav-inner {
        min-height: 68px;
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-page .nav-links-wrapper {
        align-items: stretch;
        background: var(--site-white);
        border: 1px solid var(--site-line);
        border-radius: 8px;
        box-shadow: 0 18px 44px rgba(16, 24, 40, 0.14);
        display: grid;
        gap: 2px;
        left: 20px;
        padding: 8px;
        position: absolute;
        right: 20px;
        top: calc(100% + 8px);
    }

    .js .site-page .nav-links-wrapper:not(.is-open) {
        display: none;
    }

    .site-page .nav-link {
        justify-content: flex-start;
        min-height: 46px;
        padding: 11px 12px;
        width: 100%;
    }

    .site-page .nav-download {
        justify-content: center;
        margin: 4px 0 0;
    }

    .home-page .hero,
    .story-hero-inner,
    .map-layout,
    .download-layout,
    .partner-layout {
        grid-template-columns: 1fr;
    }

    .home-page .hero {
        min-height: 0;
        padding-bottom: 64px;
        padding-top: 46px;
    }

    .home-page .hero-copy {
        max-width: none;
    }

    .home-page .hero-product {
        max-width: 310px;
    }

    .home-page .hero-product img {
        max-height: none;
        width: 100%;
    }

    .product-gallery {
        display: flex;
        margin-left: -20px;
        margin-right: -20px;
        overflow-x: auto;
        padding: 0 20px 14px;
        scroll-padding-left: 20px;
        scroll-snap-type: x mandatory;
    }

    .product-shot {
        flex: 0 0 min(76vw, 330px);
        scroll-snap-align: start;
    }

    .legal-page .legal-shell {
        display: block;
        max-width: var(--site-reading);
    }

    .legal-page .legal-toc {
        background: var(--site-surface);
        border: 1px solid var(--site-line);
        border-radius: 8px;
        margin-bottom: 36px;
        padding: 18px;
        position: static;
    }

    .legal-page .legal-toc strong {
        display: none;
    }

    .legal-page .legal-toc-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        color: var(--site-ink);
        cursor: pointer;
        display: flex;
        font: inherit;
        font-size: 0.82rem;
        font-weight: 800;
        justify-content: space-between;
        letter-spacing: 0.06em;
        min-height: 44px;
        padding: 0;
        text-transform: uppercase;
        width: 100%;
    }

    .legal-page .legal-toc-toggle svg {
        height: 18px;
        transition: transform 180ms ease;
        width: 18px;
    }

    .legal-page .legal-toc-toggle[aria-expanded='true'] svg {
        transform: rotate(180deg);
    }

    .legal-page .legal-toc ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-page .logo-img,
    .site-page .logo img {
        height: 36px !important;
        width: 36px;
    }

    .site-page .logo-text,
    .site-page .logo span {
        font-size: 1.28rem !important;
    }

    .home-page .hero h1,
    .story-hero h1,
    .safe-hero h1 {
        font-size: 2.38rem;
        line-height: 1.05;
    }

    .home-page .hero-lede,
    .story-hero .lead,
    .safe-hero .lead {
        font-size: 1rem;
    }

    .hero-actions,
    .download-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .store-badge-link,
    .primary-action,
    .secondary-action {
        width: 100%;
    }

    .store-badge-link {
        background: #000;
        justify-content: center;
    }

    .trust-list {
        display: grid;
        gap: 10px;
    }

    .home-page .trust-list {
        display: none;
    }

    .home-page .hero {
        gap: 28px;
        padding-bottom: 42px;
        padding-top: 34px;
    }

    .home-page .hero-product {
        margin-top: 0;
        max-width: none;
    }

    .home-page .hero-product img {
        aspect-ratio: auto;
        height: 160px;
        object-position: center 48%;
        width: 100%;
    }

    .home-page .hero-product::before {
        inset: 10px -8px -10px 8px;
    }

    .home-page .hero-product figcaption {
        margin-top: 9px;
    }

    .proof-grid,
    .steps-grid,
    .safety-grid,
    .safe-checklist,
    .zone-grid,
    .etiquette-grid,
    .comparison-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .proof-item {
        padding: 18px 0;
    }

    .proof-item + .proof-item {
        border-left: 0;
        border-top: 1px solid var(--site-line);
    }

    .section-block {
        padding-bottom: 68px;
        padding-top: 68px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .download-layout h2,
    .map-side h2 {
        font-size: 2rem;
    }

    .journey-step,
    .journey-step + .journey-step {
        border-top: 1px solid var(--site-line);
        padding: 22px 0 30px;
    }

    .story-hero,
    .safe-hero {
        padding: 62px 0;
    }

    .story-principles {
        border-left: 0;
        border-top: 1px solid #cbd8e7;
        padding: 24px 0 0;
    }

    .map-frame {
        aspect-ratio: 4 / 5;
        min-height: 0;
        width: 100%;
    }

    .safe-hero {
        padding-bottom: 46px;
        padding-top: 46px;
    }

    .safe-checklist {
        gap: 12px;
        margin-top: 30px;
    }

    .safe-check {
        padding: 18px;
    }

    .legal-page .legal-shell {
        padding-bottom: 54px;
        padding-top: 32px;
    }

    .legal-page .legal-toc ol {
        grid-template-columns: 1fr;
    }

    .legal-page .legal-doc h1 {
        font-size: 2.25rem !important;
    }

    .legal-page .legal-doc h2 {
        font-size: 1.3rem !important;
        margin-top: 42px !important;
    }

    .legal-page .legal-doc p,
    .legal-page .legal-doc li {
        font-size: 0.91rem !important;
    }

    .footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) and (max-height: 650px) {
    .site-page .nav-inner {
        min-height: 60px;
    }

    .home-page .hero {
        gap: 12px;
        padding-bottom: 12px;
        padding-top: 20px;
    }

    .home-page .hero .eyebrow {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .home-page .hero h1 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .home-page .hero-lede {
        font-size: 0.93rem;
        line-height: 1.48;
        margin-bottom: 14px;
    }

    .home-page .hero-actions {
        gap: 8px;
    }

    .home-page .platform-note,
    .home-page .hero-product figcaption,
    .home-page .hero-product::before {
        display: none;
    }

    .home-page .hero-product img {
        height: 64px;
        object-position: center 45%;
    }

    .story-hero {
        padding-bottom: 28px;
        padding-top: 28px;
    }

    .story-hero .eyebrow {
        margin-bottom: 8px;
    }

    .story-hero h1 {
        font-size: 2.05rem;
        margin-bottom: 12px;
    }

    .story-hero .lead {
        font-size: 0.93rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .story-principles {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-page *,
    .site-page *::before,
    .site-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
