:root {
    color-scheme: dark;
    --bg: #030806;
    --panel: #111816;
    --panel-strong: #17211e;
    --line: rgba(255, 255, 255, 0.14);
    --text: #f5fbf8;
    --muted: #b8c7c1;
    --teal: #00bfa6;
    --orange: #ff8a3d;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 191, 166, 0.18), transparent 30rem),
        linear-gradient(180deg, #061713 0%, var(--bg) 42rem);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-header,
.site-footer,
.section,
.hero {
    width: min(100% - 40px, var(--max));
    margin-inline: auto;
}

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
}

.site-nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 0.96rem;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--text);
}

.hero {
    min-height: calc(100svh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: 56px;
    padding: 54px 0 76px;
}

.eyebrow {
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 16px;
}

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

h1 {
    font-size: clamp(3.3rem, 8vw, 6.7rem);
    line-height: 0.9;
    letter-spacing: 0;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.08rem;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.12rem, 2vw, 1.36rem);
    max-width: 660px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.button.primary {
    background: var(--teal);
    color: #001f1a;
    border-color: transparent;
}

a.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

a.button:active {
    transform: translateY(0);
}

.store-badge {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    cursor: default;
}

.store-badge svg {
    flex-shrink: 0;
}

.hero-media {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 18px;
    align-items: center;
}

.device {
    position: relative;
    padding: 3.2%;
    border-radius: 52px;
    background: linear-gradient(145deg, #4a4a4d 0%, #1c1c1e 38%, #0a0a0b 70%, #2c2c2e 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 2px 2px rgba(255, 255, 255, 0.22),
        inset 0 -2px 3px rgba(0, 0, 0, 0.55),
        0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Side buttons */
.device::before,
.device::after {
    content: "";
    position: absolute;
    border-radius: 3px;
    background: linear-gradient(180deg, #4d4d50, #161617);
}

/* Power button (right) */
.device::before {
    right: -2px;
    top: 26%;
    width: 3px;
    height: 13%;
}

/* Volume buttons (left) */
.device::after {
    left: -2px;
    top: 22%;
    width: 3px;
    height: 9%;
    box-shadow: 0 2.6em 0 0 #2a2a2c;
}

.device.small {
    transform: translateY(54px);
}

.screen {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 40px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.85);
}

.dynamic-island {
    position: absolute;
    top: 3.2%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    aspect-ratio: 3.4 / 1;
    background: #000;
    border-radius: 999px;
    z-index: 2;
}

.phone-shot {
    display: block;
    width: 100%;
    height: auto;
}

.section {
    padding: 82px 0;
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

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

.card {
    background: rgba(17, 24, 22, 0.74);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 191, 166, 0.45);
    background: rgba(17, 24, 22, 0.92);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 11px;
    color: var(--teal);
    background: rgba(0, 191, 166, 0.12);
    border: 1px solid rgba(0, 191, 166, 0.28);
}

.card p,
.content p,
.content li {
    color: var(--muted);
}

.stripe {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.trust-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.trust-item {
    border-left: 3px solid var(--teal);
    padding: 6px 0 6px 14px;
    color: var(--muted);
    font-weight: 650;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 24, 22, 0.6);
}

.spec-label {
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spec-value {
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 650;
}

.page-title {
    width: min(100% - 40px, 880px);
    margin: 0 auto;
    padding: 56px 0 24px;
}

.page-title h1 {
    font-size: clamp(2.6rem, 8vw, 5.2rem);
}

.content {
    width: min(100% - 40px, 880px);
    margin: 0 auto;
    padding: 16px 0 76px;
}

.content section {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-top: 28px;
}

.content ul {
    padding-left: 1.25rem;
}

.notice {
    border: 1px solid rgba(255, 138, 61, 0.48);
    background: rgba(255, 138, 61, 0.08);
    border-radius: 8px;
    padding: 16px 18px;
    color: #ffd8bd;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 40px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            animation: reveal-in linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 820px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 28px;
    }

    .hero-media {
        max-width: 560px;
    }

    .grid,
    .trust-list,
    .spec-list {
        grid-template-columns: 1fr;
    }

    .device.small {
        transform: none;
    }
}

@media (max-width: 540px) {
    .site-header,
    .site-footer,
    .section,
    .hero,
    .page-title,
    .content {
        width: min(100% - 28px, var(--max));
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .hero-media {
        grid-template-columns: 1fr;
    }

    .device.small {
        display: none;
    }
}
