:root {
    --bg: #e9edf4;
    --text: #121826;
    --muted: #677189;
    --line: rgba(18, 24, 38, 0.12);
    --line-strong: rgba(18, 24, 38, 0.22);
    --accent: #2d7ef7;
    --accent-deep: #1752bf;
    --shadow: 0 30px 80px rgba(19, 30, 52, 0.18);
    --card: rgba(255, 255, 255, 0.82);
    --card-strong: rgba(255, 255, 255, 0.94);
    color-scheme: light dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 14%, rgba(86, 154, 255, 0.28), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(180, 198, 255, 0.32), transparent 20%),
        radial-gradient(circle at 78% 74%, rgba(138, 169, 255, 0.18), transparent 22%),
        linear-gradient(145deg, #f7f9fd 0%, #e7edf7 42%, #dfe7f3 100%);
    min-height: 100vh;
}

html[data-theme="light"] {
    color-scheme: light;
    --text: #121826;
    --muted: #677189;
    --line: rgba(18, 24, 38, 0.12);
    --line-strong: rgba(18, 24, 38, 0.22);
    --accent: #2d7ef7;
    --accent-deep: #1752bf;
    --shadow: 0 30px 80px rgba(19, 30, 52, 0.18);
    --card: rgba(255, 255, 255, 0.82);
    --card-strong: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --text: #f4f7fb;
    --muted: #aab4c6;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #6ea8ff;
    --accent-deep: #8cb8ff;
    --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
    --card: rgba(14, 20, 35, 0.86);
    --card-strong: rgba(18, 25, 43, 0.96);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.quick-launcher {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 13;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 40, 0.72);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(15, 23, 40, 0.2);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.quick-launcher:hover,
.quick-launcher:focus-visible {
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.quick-launcher__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.quick-backdrop {
    position: fixed;
    inset: 0;
    z-index: 11;
    background: rgba(5, 8, 16, 0.28);
    backdrop-filter: blur(4px);
}

.quick-drawer {
    position: fixed;
    bottom: 86px;
    right: 18px;
    z-index: 12;
    width: min(320px, calc(100vw - 36px));
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(16, 23, 40, 0.92), rgba(9, 14, 24, 0.94));
    color: #fff;
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 60px rgba(6, 10, 18, 0.3);
    transform: translateX(calc(100% + 36px));
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms ease, opacity 240ms ease;
}

.quick-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.quick-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.quick-drawer__title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.quick-drawer__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.quick-drawer__actions {
    display: grid;
    gap: 10px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.quick-action:hover,
.quick-action:focus-visible {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(-2px);
}

.quick-action__icon,
.theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1;
}

.theme-toggle {
    margin-top: 4px;
    justify-content: flex-start;
    cursor: pointer;
}

.theme-toggle__text {
    flex: 1;
}

.drawer-open {
    overflow: hidden;
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(-2px);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 61%, rgba(255, 255, 255, 0.2) 61% 64%, transparent 64% 100%),
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.72), transparent 16%),
        radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.3), transparent 24%);
    background-size: auto, 48px 48px, 48px 48px, auto, auto;
    opacity: 0.8;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 0 38%, rgba(255, 255, 255, 0.14) 62%, rgba(185, 198, 220, 0.18) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 58%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 1.7;
}

.page-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 8px 0 28px;
}

.site-footer,
.hero {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0 36px;
}

.hero-copy {
    backdrop-filter: blur(18px);
}

.hero-copy {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 44px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.3));
    box-shadow: var(--shadow);
}

.hero-copy-minimal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.eyebrow {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(18, 24, 38, 0.7);
}

h1,
h2,
h3,
.metric,
.panel-label {
    font-family: "Space Grotesk", sans-serif;
}

h1 {
    margin: 0;
    font-size: clamp(3.3rem, 7vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.iphone-stage {
    width: 100%;
}

.iphone-device {
    position: relative;
    width: min(100%, 410px);
    margin: 0 auto;
    padding: 12px;
    border-radius: 48px;
    background: linear-gradient(180deg, #0f1728, #1b2336 55%, #0f1728 100%);
    box-shadow: 0 34px 70px rgba(15, 23, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.iphone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 26px;
    border-radius: 0 0 18px 18px;
    background: #0a1020;
    z-index: 2;
}

.iphone-screen {
    position: relative;
    display: block;
    padding: 18px 14px 14px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 28%),
        linear-gradient(180deg, #f7f9fd 0%, #e9eef6 100%);
    min-height: 700px;
    overflow: hidden;
}

.iphone-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 44%);
    pointer-events: none;
}

.iphone-header {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 4px 8px 12px;
}

.iphone-header .eyebrow {
    color: rgba(16, 24, 40, 0.62);
}

.iphone-header h1 {
    font-size: clamp(2.7rem, 6vw, 4rem);
    line-height: 0.92;
}

.status-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #101828;
}

.status-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.signal-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bars i {
    display: block;
    width: 3px;
    background: currentColor;
    border-radius: 999px;
    opacity: 0.9;
}

.signal-bars i:nth-child(1) {
    height: 4px;
}

.signal-bars i:nth-child(2) {
    height: 6px;
}

.signal-bars i:nth-child(3) {
    height: 9px;
}

.signal-bars i:nth-child(4) {
    height: 12px;
}

.wifi-icon {
    position: relative;
    width: 14px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-radius: 50% 50% 0 0;
    transform: scaleX(1.2);
    opacity: 0.9;
}

.wifi-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
}

.network-label {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.battery-icon {
    position: relative;
    width: 22px;
    height: 11px;
    border: 1.8px solid currentColor;
    border-radius: 3px;
}

.battery-icon::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 2px;
    width: 2px;
    height: 5px;
    border-radius: 0 2px 2px 0;
    background: currentColor;
}

.battery-level {
    position: absolute;
    inset: 1.5px;
    width: 74%;
    border-radius: 2px;
    background: currentColor;
}

.hero-text {
    max-width: none;
    margin: 8px 0 16px;
    padding: 0 8px;
    color: #475467;
    font-size: 1rem;
}

.social-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text);
    align-content: start;
}

.social-list li {
    min-width: 0;
}

.social-list a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 82px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(25, 34, 55, 0.96), rgba(36, 47, 72, 0.98));
    color: #fff;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-list-large {
    padding: 4px;
    border-radius: 28px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.social-list-large a {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-list-large a:hover,
.social-list-large a:focus-visible {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 34px rgba(29, 36, 51, 0.2);
}

.social-list a::after {
    content: ">";
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.social-list li:nth-child(1) a {
    background: linear-gradient(135deg, #0a66c2, #123d72);
}

.social-list li:nth-child(2) a {
    background: linear-gradient(135deg, #111827, #2b3550);
}

.social-list li:nth-child(3) a {
    background: linear-gradient(135deg, #151515, #404040);
}

.social-list li:nth-child(4) a {
    background: linear-gradient(135deg, #c13584, #fd7e32);
}

.social-list li:nth-child(5) a {
    background: linear-gradient(135deg, #1877f2, #103f82);
}

.social-list li:nth-child(6) a {
    background: linear-gradient(135deg, #d7642b, #8f3c13);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.social-copy em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.social-copy strong {
    font-size: 1.02rem;
    line-height: 1.1;
    color: #fff;
    overflow-wrap: anywhere;
}

.social-copy span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.home-indicator {
    width: 138px;
    height: 5px;
    margin: 18px auto 2px;
    border-radius: 999px;
    background: rgba(16, 24, 40, 0.85);
    opacity: 0.82;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 18px 6px 0;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

@media (min-width: 900px) {
    .iphone-device {
        width: min(100%, 1100px);
        padding: 18px;
        border-radius: 42px;
        box-shadow: 0 34px 90px rgba(15, 23, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .iphone-notch {
        top: 8px;
        width: 76px;
        height: 10px;
        border-radius: 999px;
        background: rgba(8, 13, 24, 0.92);
    }

    .iphone-screen {
        display: grid;
        grid-template-columns: minmax(340px, 0.92fr) minmax(500px, 1.08fr);
        gap: 28px 32px;
        align-items: start;
        padding: 36px;
        border-radius: 28px;
        background:
            radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 24%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 241, 248, 0.92) 100%);
        border: 1px solid rgba(255, 255, 255, 0.75);
        box-shadow: 0 24px 60px rgba(82, 101, 139, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        min-height: auto;
    }

    .iphone-header {
        padding: 0;
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .iphone-header h1 {
        max-width: 7ch;
        font-size: clamp(2.55rem, 4.4vw, 4rem);
    }

    .status-bar {
        grid-column: 1 / -1;
        padding: 0;
        margin-bottom: 6px;
        color: rgba(16, 24, 40, 0.72);
    }

    .hero-text {
        grid-column: 1;
        grid-row: 3;
        margin: 0;
        padding: 0;
        max-width: 24ch;
        align-self: start;
    }

    .social-list-large {
        grid-column: 2;
        grid-row: 2 / span 3;
        align-self: start;
    }

    .home-indicator {
        grid-column: 1 / -1;
        grid-row: 5;
        margin-top: 8px;
    }

    .social-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .social-list a {
        min-height: 150px;
        padding: 24px 24px;
        gap: 18px;
    }

    .social-copy strong {
        font-size: 1.08rem;
    }

    .social-copy span {
        font-size: 0.98rem;
    }
}

@media (max-width: 899px) {
    .hero-copy-minimal,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-copy {
        padding: 28px;
    }

    .social-list {
        grid-template-columns: 1fr;
    }

    .social-list-large a:hover,
    .social-list-large a:focus-visible {
        transform: translateY(-2px);
    }

    h1 {
        font-size: clamp(2.6rem, 16vw, 4rem);
    }

    .iphone-header h1 {
        font-size: clamp(2.5rem, 12vw, 3.6rem);
    }

    .home-indicator {
        width: 124px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
    }

    .quick-launcher {
        bottom: 12px;
        right: 12px;
    }

    .quick-drawer {
        bottom: 74px;
        right: 12px;
        width: min(308px, calc(100vw - 24px));
    }

    .hero {
        padding-bottom: 32px;
    }

    .iphone-screen {
        min-height: auto;
        padding: 22px 14px 14px;
    }

    .iphone-device {
        border-radius: 38px;
        padding: 12px;
    }

    .iphone-notch {
        height: 24px;
    }

    .social-list {
        gap: 10px;
    }

    .social-list a {
        min-height: 76px;
    }
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 12% 14%, rgba(64, 100, 176, 0.28), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(82, 114, 195, 0.26), transparent 20%),
        radial-gradient(circle at 78% 74%, rgba(65, 97, 185, 0.18), transparent 22%),
        linear-gradient(145deg, #070b15 0%, #0d1425 42%, #10192d 100%);
}

html[data-theme="dark"] body::before {
    background:
        linear-gradient(115deg, transparent 0 61%, rgba(255, 255, 255, 0.05) 61% 64%, transparent 64% 100%),
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.08), transparent 16%),
        radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.05), transparent 24%);
    opacity: 0.55;
}

html[data-theme="dark"] body::after {
    background:
        radial-gradient(circle at center, transparent 0 38%, rgba(7, 11, 20, 0.2) 62%, rgba(0, 0, 0, 0.42) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 58%);
}

html[data-theme="dark"] .hero-copy {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(15, 21, 37, 0.72), rgba(12, 17, 31, 0.58));
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .iphone-header .eyebrow {
    color: rgba(244, 247, 251, 0.66);
}

html[data-theme="dark"] .iphone-device {
    background: linear-gradient(180deg, #0a1020, #171f31 55%, #0a1020 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .iphone-notch {
    background: #050914;
}

html[data-theme="dark"] .iphone-screen {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #121a2b 0%, #0b1220 100%);
}

html[data-theme="dark"] .iphone-screen::before {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%);
}

html[data-theme="dark"] .status-bar {
    color: rgba(244, 247, 251, 0.82);
}

html[data-theme="dark"] .hero-text {
    color: rgba(229, 235, 244, 0.86);
}

html[data-theme="dark"] .social-list a {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .social-list-large a:hover,
html[data-theme="dark"] .social-list-large a:focus-visible {
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .home-indicator {
    background: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .site-footer {
    color: rgba(170, 180, 198, 0.88);
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 12% 14%, rgba(86, 154, 255, 0.28), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(180, 198, 255, 0.32), transparent 20%),
        radial-gradient(circle at 78% 74%, rgba(138, 169, 255, 0.18), transparent 22%),
        linear-gradient(145deg, #f7f9fd 0%, #e7edf7 42%, #dfe7f3 100%);
}

html[data-theme="light"] body::before {
    background:
        linear-gradient(115deg, transparent 0 61%, rgba(255, 255, 255, 0.2) 61% 64%, transparent 64% 100%),
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.72), transparent 16%),
        radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.3), transparent 24%);
    opacity: 0.8;
}

html[data-theme="light"] body::after {
    background:
        radial-gradient(circle at center, transparent 0 38%, rgba(255, 255, 255, 0.14) 62%, rgba(185, 198, 220, 0.18) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 58%);
}

html[data-theme="light"] .hero-copy {
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.3));
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .iphone-header .eyebrow {
    color: rgba(18, 24, 38, 0.7);
}

html[data-theme="light"] .iphone-header h1,
html[data-theme="light"] .hero-text {
    color: #121826;
}

html[data-theme="light"] .iphone-device {
    background: linear-gradient(180deg, #0f1728, #1b2336 55%, #0f1728 100%);
    box-shadow: 0 34px 70px rgba(15, 23, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .iphone-notch {
    background: #0a1020;
}

html[data-theme="light"] .iphone-screen {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 28%),
        linear-gradient(180deg, #f7f9fd 0%, #e9eef6 100%);
}

html[data-theme="light"] .iphone-screen::before {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 44%);
}

html[data-theme="light"] .status-bar {
    color: #101828;
}

html[data-theme="light"] .hero-text {
    color: #121826;
}

html[data-theme="light"] .social-list a {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .social-list-large a:hover,
html[data-theme="light"] .social-list-large a:focus-visible {
    box-shadow: 0 18px 34px rgba(29, 36, 51, 0.2);
}

html[data-theme="light"] .home-indicator {
    background: rgba(16, 24, 40, 0.85);
}

html[data-theme="light"] .site-footer {
    color: var(--muted);
}

html[data-theme="light"] .quick-launcher {
    border-color: rgba(15, 23, 40, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: #101828;
}

html[data-theme="light"] .quick-drawer {
    border-color: rgba(15, 23, 40, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 246, 251, 0.96));
    color: #121826;
}

html[data-theme="light"] .quick-action,
html[data-theme="light"] .quick-drawer__close {
    color: #121826;
    background: rgba(17, 24, 39, 0.06);
    border-color: rgba(17, 24, 39, 0.08);
}

html[data-theme="light"] .quick-action:hover,
html[data-theme="light"] .quick-action:focus-visible,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
    background: rgba(17, 24, 39, 0.1);
    border-color: rgba(17, 24, 39, 0.14);
}

html[data-theme="light"] .quick-action__icon,
html[data-theme="light"] .theme-toggle__icon {
    background: rgba(17, 24, 39, 0.08);
}

html[data-theme="dark"] .quick-launcher,
html[data-theme="dark"] .quick-drawer {
    border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .quick-action,
html[data-theme="dark"] .quick-drawer__close {
    color: #fff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1020;
        --text: #f4f7fb;
        --muted: #aab4c6;
        --line: rgba(255, 255, 255, 0.1);
        --line-strong: rgba(255, 255, 255, 0.18);
        --accent: #6ea8ff;
        --accent-deep: #8cb8ff;
        --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
        --card: rgba(14, 20, 35, 0.86);
        --card-strong: rgba(18, 25, 43, 0.96);
    }

    body {
        background:
            radial-gradient(circle at 12% 14%, rgba(64, 100, 176, 0.28), transparent 24%),
            radial-gradient(circle at 82% 18%, rgba(82, 114, 195, 0.26), transparent 20%),
            radial-gradient(circle at 78% 74%, rgba(65, 97, 185, 0.18), transparent 22%),
            linear-gradient(145deg, #070b15 0%, #0d1425 42%, #10192d 100%);
    }

    body::before {
        background:
            linear-gradient(115deg, transparent 0 61%, rgba(255, 255, 255, 0.05) 61% 64%, transparent 64% 100%),
            linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.08), transparent 16%),
            radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.05), transparent 24%);
        opacity: 0.55;
    }

    body::after {
        background:
            radial-gradient(circle at center, transparent 0 38%, rgba(7, 11, 20, 0.2) 62%, rgba(0, 0, 0, 0.42) 100%),
            radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 58%);
    }

    .hero-copy {
        border-color: rgba(255, 255, 255, 0.08);
        background: linear-gradient(180deg, rgba(15, 21, 37, 0.72), rgba(12, 17, 31, 0.58));
    }

    .eyebrow,
    .iphone-header .eyebrow {
        color: rgba(244, 247, 251, 0.66);
    }

    .iphone-device {
        background: linear-gradient(180deg, #0a1020, #171f31 55%, #0a1020 100%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .iphone-notch {
        background: #050914;
    }

    .iphone-screen {
        background:
            radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%),
            linear-gradient(180deg, #121a2b 0%, #0b1220 100%);
    }

    .iphone-screen::before {
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%);
    }

    .status-bar {
        color: rgba(244, 247, 251, 0.82);
    }

    .hero-text {
        color: rgba(229, 235, 244, 0.86);
    }

    .social-list a {
        border-color: rgba(255, 255, 255, 0.14);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .social-list-large a:hover,
    .social-list-large a:focus-visible {
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    }

    .home-indicator {
        background: rgba(255, 255, 255, 0.82);
    }

    .site-footer {
        color: rgba(170, 180, 198, 0.88);
    }
}