:root {
    color-scheme: dark;
    --black: #000;
    --surface: #111;
    --surface-raised: #171717;
    --line: #292929;
    --muted: #999;
    --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--black); }
body {
    min-width: 320px;
    background: var(--black);
    color: var(--white);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.brand img { width: 24px; height: 24px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.site-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 180ms ease;
}
.site-nav a:hover { color: var(--white); }

.button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); background: #e6e6e6; }
.button.secondary { border-color: var(--line); background: var(--surface-raised); color: var(--white); }
.button.secondary:hover { background: #222; }

.hero { padding: 48px 0 40px; }
.hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 780px) 1fr;
    align-items: end;
    gap: 64px;
    margin-bottom: 40px;
}
.eyebrow {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
h1 {
    max-width: 800px;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.98;
}
.hero-aside p { margin-bottom: 22px; color: #b5b5b5; font-size: 16px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-metrics {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.hero-metrics div { display: flex; flex-direction: column; gap: 5px; }
.hero-metrics strong { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; }
.hero-metrics span { color: var(--muted); font-size: 12px; }

.product-stage {
    min-height: 590px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 28% 20%, rgba(100, 159, 255, 0.9), transparent 33%),
        radial-gradient(circle at 72% 28%, rgba(224, 190, 255, 0.8), transparent 30%),
        linear-gradient(135deg, #071740 0%, #30154c 48%, #080808 100%);
}
.stage-chrome {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    backdrop-filter: blur(20px);
}
.stage-dots { display: flex; gap: 6px; }
.stage-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.42); }
.stage-content {
    min-height: 536px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 28px;
    padding: 46px;
}
.feature-copy { padding-bottom: 20px; }
.feature-copy span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 12px;
    backdrop-filter: blur(12px);
}
.feature-copy h2 {
    max-width: 560px;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}
.feature-card {
    width: min(100%, 360px);
    justify-self: end;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.78);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(24px);
}
.feature-card img { width: 74px; height: 74px; margin-bottom: 28px; border-radius: 17px; }
.feature-card small { color: var(--muted); font-size: 12px; }
.feature-card h3 { margin: 8px 0 24px; font-size: 25px; letter-spacing: -0.03em; }
.feature-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #bdbdbd;
    font-size: 12px;
}

.section { padding: 128px 0 0; }
.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.section-heading h2 {
    max-width: 600px;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}
.section-heading p { max-width: 480px; align-self: end; color: var(--muted); line-height: 1.6; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.app-card:hover { border-color: #4a4a4a; background: var(--surface-raised); transform: translateY(-4px); }
.app-card img { width: 72px; height: 72px; border-radius: 16px; }
.app-card .category { margin-top: auto; color: var(--muted); font-size: 12px; }
.app-card h3 { margin: 10px 0 8px; font-size: 23px; letter-spacing: -0.035em; }
.app-card p { color: #b5b5b5; font-size: 14px; line-height: 1.5; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.service-card .number { color: var(--muted); font-size: 13px; }
.service-card h3 {
    margin: auto 0 14px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: -0.045em;
}
.service-card p { max-width: 520px; color: var(--muted); line-height: 1.6; }
.service-card strong { display: block; margin-top: 20px; font-size: 14px; }

.contact-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    padding: 64px;
    border-radius: 18px;
    background: var(--white);
    color: var(--black);
}
.contact-panel h2 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.98;
}
.contact-panel .button { flex: 0 0 auto; background: var(--black); color: var(--white); }

footer {
    margin-top: 128px;
    padding: 48px 0 max(48px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 40px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}
.footer-grid strong { display: block; margin-bottom: 8px; color: var(--white); font-size: 14px; }
.footer-grid address { font-style: normal; }
.footer-grid a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

@media (max-width: 900px) {
    .hero-copy, .section-heading { grid-template-columns: 1fr; gap: 28px; }
    .hero-aside { max-width: 560px; }
    .stage-content { grid-template-columns: 1fr; }
    .feature-card { justify-self: start; }
    .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .shell { width: min(100% - 32px, 1200px); }
    .site-header { height: 64px; }
    .site-nav { display: none; }
    .site-header > .button { min-height: 36px; padding: 0 13px; }
    .hero { padding-top: 40px; }
    .hero-copy { margin-bottom: 32px; }
    h1 { font-size: clamp(44px, 13vw, 60px); }
    .product-stage { min-height: 610px; }
    .stage-content { min-height: 556px; padding: 28px 20px; }
    .feature-copy h2 { font-size: 42px; }
    .feature-card { width: 100%; }
    .section { padding-top: 96px; }
    .app-grid, .service-grid { grid-template-columns: 1fr; }
    .app-card { min-height: 300px; }
    .contact-panel { align-items: start; flex-direction: column; padding: 36px 28px; }
    footer { margin-top: 96px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
