:root {
    --bg-primary: #03050d;
    --bg-secondary: #07101c;
    --bg-tertiary: #0d1828;
    --panel: rgba(8, 15, 27, 0.76);
    --panel-strong: rgba(11, 20, 35, 0.94);
    --line: rgba(110, 170, 255, 0.16);
    --line-strong: rgba(109, 234, 255, 0.34);
    --text-primary: #f4f7ff;
    --text-secondary: rgba(233, 239, 255, 0.76);
    --text-tertiary: rgba(233, 239, 255, 0.48);
    --cyan: #69ebff;
    --teal: #27cfff;
    --gold: #f7c667;
    --green: #76f3ba;
    --rose: #ff5d7f;
    --navy-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    --soft-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-pill: 999px;
    --glass-bg: var(--panel);
    --glass-border: var(--line);
    --accent-primary: var(--teal);
    --accent-glow: var(--cyan);
    --accent-gold: var(--gold);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 15% 10%, rgba(47, 171, 255, 0.14), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(247, 198, 103, 0.11), transparent 22%),
        linear-gradient(180deg, #040712 0%, #02050c 42%, #03050d 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.7px, transparent 0.7px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

main,
section {
    position: relative;
}

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

.section-shell {
    padding: 120px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: rgba(8, 16, 28, 0.82);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.section-copy {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: clamp(17px, 2vw, 20px);
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(3, 7, 15, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.nav-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-icon,
.footer-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.nav-brand,
.footer-name {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.nav-link:hover,
.footer-links a:hover,
.mobile-link:hover {
    color: var(--cyan);
}

.nav-cta,
.cta-primary,
.cta-secondary,
.store-btn,
.text-link {
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease,
        color 0.24s ease;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    color: #08111c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.nav-cta:hover,
.cta-primary:hover,
.cta-secondary:hover,
.store-btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    z-index: 90;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(4, 9, 18, 0.94);
    box-shadow: var(--navy-shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 14px 12px;
    border-radius: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 92px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero::before {
    width: 520px;
    height: 520px;
    left: -120px;
    top: 140px;
    background: rgba(72, 201, 255, 0.16);
}

.hero::after {
    width: 420px;
    height: 420px;
    right: -100px;
    bottom: 40px;
    background: rgba(247, 198, 103, 0.1);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    background: rgba(9, 17, 28, 0.8);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    box-shadow: 0 0 18px rgba(105, 235, 255, 0.75);
}

.hero-title {
    margin-top: 22px;
    max-width: 10.2ch;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(48px, 8vw, 88px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.title-gradient {
    background: linear-gradient(135deg, var(--cyan), #d6f5ff 45%, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 640px;
    margin: 24px 0 34px;
    color: var(--text-secondary);
    font-size: clamp(18px, 2vw, 21px);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cta-primary {
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    color: #08111c;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.cta-primary svg {
    transition: transform 0.24s ease;
}

.cta-primary:hover svg {
    transform: translateX(3px);
}

.cta-secondary {
    border: 1px solid var(--line);
    background: rgba(8, 15, 26, 0.72);
    color: var(--text-primary);
}

.cta-secondary:hover {
    border-color: var(--line-strong);
}

.cta-download-jump {
    border-color: rgba(247, 198, 103, 0.22);
}

.cta-download-jump:hover {
    border-color: rgba(247, 198, 103, 0.4);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    max-width: 820px;
}

.signal-card {
    min-height: 164px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(12, 21, 36, 0.86), rgba(7, 11, 20, 0.94));
    box-shadow: var(--soft-shadow);
}

.signal-label,
.story-kicker,
.flow-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.signal-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.signal-card p {
    color: var(--text-tertiary);
    font-size: 14px;
}

.signal-low {
    border-color: rgba(255, 93, 127, 0.22);
}

.signal-low .signal-label,
.signal-low strong {
    color: #ff9bae;
}

.signal-center {
    border-color: rgba(105, 235, 255, 0.3);
    background: linear-gradient(180deg, rgba(10, 30, 41, 0.88), rgba(7, 13, 23, 0.96));
}

.signal-center .signal-label,
.signal-center strong {
    color: var(--cyan);
}

.signal-high {
    border-color: rgba(247, 198, 103, 0.24);
}

.signal-high .signal-label,
.signal-high strong {
    color: var(--gold);
}

.hero-visual {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.46;
}

.hero-aura-cyan {
    top: 14%;
    left: 10%;
    width: 220px;
    height: 220px;
    background: rgba(48, 201, 255, 0.2);
}

.hero-aura-gold {
    right: 8%;
    bottom: 10%;
    width: 260px;
    height: 260px;
    background: rgba(247, 198, 103, 0.16);
}

.device-cluster {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 0.9;
}

.phone-shot {
    position: relative;
    padding: 12px;
    border-radius: 34px;
    border: 1px solid rgba(120, 211, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, rgba(18, 30, 52, 0.94), rgba(9, 14, 25, 0.98));
    box-shadow: var(--navy-shadow);
    overflow: hidden;
}

.phone-shot img {
    width: 100%;
    border-radius: 24px;
}

.phone-main {
    position: absolute;
    top: 10%;
    left: 22%;
    width: 56%;
    transform: rotate(-6deg);
    animation: float-main 10s ease-in-out infinite;
}

.phone-reading {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    transform: rotate(-11deg);
    animation: float-left 12s ease-in-out infinite;
}

.phone-hive {
    position: absolute;
    right: 2%;
    bottom: 6%;
    width: 39%;
    transform: rotate(10deg);
    animation: float-right 12s ease-in-out infinite;
}

.hero-note {
    position: absolute;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: rgba(7, 15, 26, 0.82);
    box-shadow: var(--soft-shadow);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.note-top {
    top: 72px;
    right: 4px;
}

.note-mid {
    left: -4px;
    bottom: 206px;
}

.note-bottom {
    right: 36px;
    bottom: 56px;
}

@keyframes float-main {
    0%,
    100% {
        transform: rotate(-6deg) translateY(0);
    }
    50% {
        transform: rotate(-6deg) translateY(-14px);
    }
}

@keyframes float-left {
    0%,
    100% {
        transform: rotate(-11deg) translateY(0);
    }
    50% {
        transform: rotate(-11deg) translateY(-10px);
    }
}

@keyframes float-right {
    0%,
    100% {
        transform: rotate(10deg) translateY(0);
    }
    50% {
        transform: rotate(10deg) translateY(-12px);
    }
}

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

.method-panel,
.story-card,
.flow-band,
.download-panel,
.wall-card {
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, rgba(10, 18, 32, 0.9), rgba(6, 10, 18, 0.96));
    box-shadow: var(--soft-shadow);
}

.method-panel {
    padding: 28px;
    border-radius: 26px;
}

.method-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(105, 235, 255, 0.16), rgba(247, 198, 103, 0.18));
    color: var(--cyan);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.method-panel h3,
.story-copy h3,
.flow-band h3 {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.method-panel p,
.story-copy p,
.flow-band p {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 16px;
}

.flow-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 30px;
    border-radius: 30px;
}

.flow-kicker {
    color: var(--gold);
}

.flow-scale {
    display: grid;
    gap: 14px;
}

.flow-stop {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

.flow-stop-left {
    align-items: flex-start;
    text-align: left;
}

.flow-stop-right {
    align-items: flex-end;
    text-align: right;
}

.flow-stop strong {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.flow-track {
    position: relative;
    height: 18px;
    border-radius: var(--radius-pill);
    background:
        linear-gradient(90deg, rgba(255, 93, 127, 0.28), rgba(105, 235, 255, 0.55) 46%, rgba(247, 198, 103, 0.28));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.flow-track::before,
.flow-track::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transform: translateY(-50%);
}

.flow-track::before {
    left: 18%;
}

.flow-track::after {
    right: 18%;
}

.flow-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(6, 15, 26, 0.92);
    border: 1px solid rgba(105, 235, 255, 0.34);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    transform: translate(-50%, -50%);
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.story-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: var(--radius-xl);
}

.story-card:nth-child(even) .story-copy {
    order: 2;
}

.story-card:nth-child(even) .story-media {
    order: 1;
}

.story-kicker {
    color: var(--cyan);
}

.story-list {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.story-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 15px;
}

.story-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--gold));
    box-shadow: 0 0 14px rgba(105, 235, 255, 0.45);
    transform: translateY(-50%);
}

.story-media {
    display: grid;
    gap: 14px;
}

.story-single {
    width: min(100%, 338px);
    justify-self: end;
    padding: 12px;
    border-radius: 34px;
    border: 1px solid rgba(120, 211, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, rgba(18, 30, 52, 0.94), rgba(9, 14, 25, 0.98));
    box-shadow: var(--navy-shadow);
    overflow: hidden;
}

.story-card:nth-child(even) .story-single {
    justify-self: start;
}

.story-single img {
    border-radius: 24px;
}

.story-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.story-trio .phone-shot:nth-child(2) {
    transform: translateY(24px);
}

.story-media img {
    width: 100%;
    height: auto;
}

.screen-wall {
    columns: 4 220px;
    column-gap: 20px;
}

.wall-card {
    break-inside: avoid;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 28px;
}

.wall-card img {
    border-radius: 22px;
}

.wall-card figcaption {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
}

.download {
    scroll-margin-top: 104px;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 0 22px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 26, 0.72);
    box-shadow: var(--soft-shadow);
}

.apple-btn {
    color: var(--text-primary);
}

.apple-btn:hover {
    border-color: rgba(247, 198, 103, 0.34);
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-label {
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-name {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
}

.text-link:hover {
    border-color: var(--line-strong);
    color: var(--text-primary);
}

.footer {
    padding: 54px 0 68px;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.footer-links a,
.footer-copyright {
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.legal-content {
    min-height: 100vh;
    padding: 132px 0 88px;
}

.legal-title {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.legal-updated {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 700;
}

.legal-section {
    margin-bottom: 34px;
}

.legal-section h2,
.legal-section h3 {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.legal-section h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 3vw, 34px);
}

.legal-section h3 {
    margin: 22px 0 10px;
    font-size: 20px;
}

.legal-section p,
.legal-section li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.legal-section ul {
    padding-left: 24px;
    margin: 16px 0;
}

.legal-section li + li {
    margin-top: 8px;
}

.legal-section strong {
    color: var(--text-primary);
}

@media (max-width: 1100px) {
    .hero-grid,
    .flow-band,
    .download-panel {
        grid-template-columns: 1fr;
    }

    .hero-title {
        max-width: 11ch;
    }

    .hero-visual {
        min-height: 620px;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .screen-wall {
        columns: 3 220px;
    }

    .store-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .signal-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .story-card {
        grid-template-columns: 1fr;
    }

    .story-card:nth-child(even) .story-copy,
    .story-card:nth-child(even) .story-media {
        order: initial;
    }

    .story-single,
    .story-card:nth-child(even) .story-single {
        justify-self: stretch;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container {
        width: min(100%, calc(100% - 28px));
    }

    .section-shell {
        padding: 92px 0;
    }

    .hero {
        padding: 122px 0 72px;
    }

    .hero-subtitle,
    .section-copy {
        font-size: 17px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-primary,
    .cta-secondary,
    .text-link {
        width: 100%;
    }

    .hero-visual {
        min-height: 520px;
    }

    .device-cluster {
        width: min(100%, 430px);
    }

    .hero-note {
        display: none;
    }

    .story-card,
    .flow-band,
    .download-panel {
        padding: 24px;
        border-radius: 26px;
    }

    .story-pair,
    .story-trio {
        gap: 10px;
    }

    .story-trio .phone-shot:nth-child(2) {
        transform: translateY(0);
    }

    .screen-wall {
        columns: 2 180px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .legal-content {
        padding: 112px 0 70px;
    }
}

@media (max-width: 560px) {
    .hero-title {
        max-width: 100%;
        font-size: clamp(42px, 13vw, 62px);
    }

    .hero-visual {
        min-height: 440px;
    }

    .device-cluster {
        width: 100%;
        aspect-ratio: 0.82;
    }

    .phone-main {
        left: 21%;
        width: 58%;
    }

    .phone-reading {
        width: 42%;
    }

    .phone-hive {
        width: 42%;
    }

    .story-pair,
    .story-trio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-trio .phone-shot:last-child {
        grid-column: 1 / -1;
        width: min(100%, 210px);
        justify-self: center;
    }

    .screen-wall {
        columns: 1 260px;
    }

    .store-buttons {
        width: 100%;
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .legal-title {
        font-size: 38px;
    }
}

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

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