:root {
    --bg: #f7f7f5;
    --ink: #090909;
    --muted: #60605c;
    --surface: #fff;
    --line: #d9d9d5;
    --brand: #090909;
    --brand-dark: #090909;
    --soft: #ededeb;
    --shadow: 0 26px 70px rgba(0, 0, 0, .14)
}

:root[data-theme="dark"] {
    --bg: #0b0b0b;
    --ink: #f4f4f0;
    --muted: #a6a6a0;
    --surface: #141414;
    --line: #343432;
    --brand: #f4f4f0;
    --brand-dark: #f4f4f0;
    --soft: #20201f;
    --shadow: 0 26px 70px rgba(0, 0, 0, .46)
}

html { scroll-behavior: smooth }

body {
    margin: 0;
    background-color: var(--bg);
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 128px 128px;
    color: var(--ink);
    font: 16px/1.48 Arial, Helvetica, sans-serif;
    transition: background-color .2s, color .2s
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: color-mix(in srgb, var(--bg) 91%, transparent)
}

a { color: inherit; text-decoration: none }
.container { width: min(1180px, calc(100% - 48px)); margin: auto }

.page-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    color: var(--muted);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase
}

.page-links a:hover { color: var(--ink) }

.hero {
    position: relative;
    min-height: 710px;
    padding: 0 0 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, .72fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: center;
    border-bottom: 1px solid var(--line)
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -92px;
    top: 36px;
    width: 410px;
    aspect-ratio: 1;
    border: 58px solid color-mix(in srgb, var(--ink) 7%, transparent);
    border-radius: 50%
}

.hero > div:first-child { position: relative; z-index: 1; align-self: start }

.hero .phone { align-self: center }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem
}

.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor }

h1 {
    max-width: 760px;
    margin: 0 0 26px;
    font-size: clamp(3.25rem, 6.2vw, 5.75rem);
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.075em
}

.lead {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.5
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 13px 22px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: transform .15s, background .15s, color .15s
}

.button:hover { transform: translate(-3px, -3px) }

.primary {
    color: var(--bg);
    background: var(--ink);
    box-shadow: 7px 7px 0 color-mix(in srgb, var(--ink) 16%, transparent)
}

.secondary { background: var(--surface) }
.actions a[href="#features"] { display: none }

.phone {
    position: relative;
    width: min(322px, 100%);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 9px solid var(--ink);
    border-radius: 36px;
    background: #fff;
    box-shadow: 20px 20px 0 color-mix(in srgb, var(--ink) 10%, transparent), var(--shadow);
    color: #111;
    transform: rotate(1.5deg)
}

.phone .screen { display: none }

.screenshot-carousel { position: relative; aspect-ratio: 1080/2340; background: #fff }
.carousel-track, .carousel-slide { width: 100%; height: 100% }

.carousel-slide {
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease
}

.carousel-slide.is-active { opacity: 1 }

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 0;
    background: rgba(0,0,0,.82);
    color: #fff;
    cursor: pointer;
    font: 1.7rem/1 Arial, sans-serif;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s
}

.carousel-prev { left: 10px }
.carousel-next { right: 10px }
.screenshot-carousel:hover .carousel-button, .carousel-button:focus-visible { opacity: 1 }

.carousel-dots {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 7px
}

.carousel-dots button {
    width: 18px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.48);
    cursor: pointer
}

.carousel-dots button.is-active { background: #fff }
section { padding: 104px 0 }

.section-title {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center
}

.section-title .eyebrow { justify-content: center; margin-bottom: 18px }

h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5.3vw, 5.2rem);
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.06em
}

.section-title p {
    max-width: 620px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 1.05rem
}

.features {
    counter-reset: feature;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.feature {
    counter-increment: feature;
    position: relative;
    min-height: 260px;
    padding: 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 24px;
    align-content: center;
    transition: background .2s, color .2s
}

.feature::after {
    content: "0" counter(feature);
    position: absolute;
    top: 18px;
    right: 22px;
    color: color-mix(in srgb, var(--ink) 22%, transparent);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em
}

.feature:hover { background: var(--ink); color: var(--bg) }
.feature:hover p { color: color-mix(in srgb, var(--bg) 70%, transparent) }
.feature:hover .icon { border-color: color-mix(in srgb, var(--bg) 35%, transparent) }
.feature:hover .icon .material-symbols-rounded { color: var(--bg) }

.icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    grid-column: 1;
    grid-row: 1 / span 2
}

.icon .material-symbols-rounded { font-size: 30px; color: var(--ink) }
h3 { margin: 0; font-size: 1.2rem }
.feature h3 { grid-column: 2; align-self: end; margin: 0 0 8px }
.feature p { grid-column: 2; margin: 0; color: var(--muted) }

.cta {
    position: relative;
    overflow: hidden;
    margin: 12px 0 80px;
    padding: 76px 48px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: var(--bg);
    text-align: center
}

.cta::after {
    content: "12";
    position: absolute;
    right: -12px;
    bottom: -62px;
    color: color-mix(in srgb, var(--bg) 10%, transparent);
    font-size: clamp(10rem, 26vw, 20rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.13em
}

.cta h2 { position: relative; z-index: 1; max-width: 760px; margin-inline: auto }
.cta p { position: relative; z-index: 1; max-width: 540px; margin: 20px auto 30px; color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 1.08rem }
.cta .button { position: relative; z-index: 1; border-color: var(--bg); background: var(--bg); color: var(--ink) }

footer { padding: 30px 0 44px; color: var(--muted); font-size: .84rem; letter-spacing: .02em }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap }
footer a:hover { color: var(--ink) }

@media(max-width:820px) {
    body { background-size: 84px 84px }
    .container { width: min(100% - 32px, 680px) }
    .hero { min-height: auto; grid-template-columns: 1fr; padding: 0 0 78px; gap: 58px }
    .hero::before { width: 250px; border-width: 38px; right: -80px }
    .hero .phone { max-width: 280px }
    .features { grid-template-columns: 1fr }
    section { padding: 76px 0 }
    .cta { padding: 52px 28px }
}

@media(max-width:520px) {
    h1 { font-size: clamp(2.8rem, 14vw, 4.2rem) }
    .hero { padding-top: 0 }
    .feature { min-height: 220px; padding: 26px 20px; grid-template-columns: 52px minmax(0, 1fr); column-gap: 17px }
    .icon { width: 52px; height: 52px }
    .cta { margin-bottom: 50px }
}
