:root {
    --bg: #f7f4ee;
    --surface: #fffdf9;
    --surface-strong: #161413;
    --panel: #211d1a;
    --text: #171310;
    --muted: #6e675f;
    --line: rgba(23, 19, 16, 0.10);
    --accent: #d7402e;
    --accent-deep: #7e130c;
    --accent-soft: rgba(215, 64, 46, 0.14);
    --success: #0d8f55;
    --shadow-lg: 0 40px 90px rgba(49, 26, 20, 0.16);
    --shadow-md: 0 20px 50px rgba(49, 26, 20, 0.12);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 168, 0.34), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(215, 64, 46, 0.14), transparent 20%),
        linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
    color: var(--text);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(252, 251, 248, 0.72);
    border-bottom: 1px solid rgba(23, 19, 16, 0.06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(215, 64, 46, 0.20);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong,
.site-nav a,
.btn,
h1,
h2,
h3,
.eyebrow,
.feature-index {
    font-family: "Space Grotesk", "Manrope", sans-serif;
}

.brand-copy strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: #4f483f;
    font-size: 0.95rem;
}

.site-nav a {
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.header-cta,
.btn-primary {
    background: linear-gradient(135deg, #eb5039 0%, var(--accent) 62%, #b52617 100%);
    color: white;
    box-shadow: 0 18px 38px rgba(215, 64, 46, 0.28);
}

.btn-secondary {
    border: 1px solid rgba(23, 19, 16, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
}

.header-cta:hover,
.btn:hover {
    transform: translateY(-2px);
}

.hero {
    position: relative;
    overflow: clip;
    padding: 76px 0 48px;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.eyebrow::before {
    content: "";
    width: 40px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.hero-lead,
.section-head p,
.copy-block > p,
.panel-card > p,
.feature-card p,
.hero-points li,
.bullet-stack span,
.showcase-card figcaption,
.gallery-shot figcaption,
.impact-grid span,
.aside-box span,
.site-footer p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    max-width: 58ch;
    margin: 26px 0 0;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-points {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    position: relative;
    padding-left: 22px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(215, 64, 46, 0.12);
}

.hero-visual {
    position: relative;
    min-height: 740px;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.7;
}

.hero-glow-a {
    width: 260px;
    height: 260px;
    top: 36px;
    left: 12px;
    background: rgba(239, 179, 120, 0.48);
}

.hero-glow-b {
    width: 320px;
    height: 320px;
    right: 8px;
    bottom: 82px;
    background: rgba(215, 64, 46, 0.18);
}

.hero-card-primary {
    position: absolute;
    top: 28px;
    left: 50%;
    width: min(420px, 80%);
    padding: 26px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
    transform: translateX(-50%);
}

.device-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.device-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(180deg, #191413 0%, #0f0c0b 100%);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20, 15, 12, 0.15);
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-left {
    left: 0;
    bottom: 58px;
    width: 240px;
    height: 490px;
    transform: rotate(-11deg);
}

.device-center {
    left: 50%;
    top: 186px;
    width: 272px;
    height: 562px;
    transform: translateX(-50%);
    z-index: 2;
}

.device-right {
    right: 8px;
    top: 242px;
    width: 220px;
    height: 454px;
    transform: rotate(10deg);
}

.impact-strip {
    padding: 12px 0 28px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.impact-grid article {
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 19, 16, 0.08);
    box-shadow: 0 16px 30px rgba(41, 24, 18, 0.06);
}

.impact-grid strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.06rem;
}

.section {
    padding: 96px 0;
}

.section-dark {
    background:
        radial-gradient(circle at 15% 18%, rgba(215, 64, 46, 0.18), transparent 24%),
        linear-gradient(180deg, #16110f 0%, #0f0b0a 100%);
    color: white;
}

.section-dark .section-head p,
.section-dark .feature-card p {
    color: rgba(255, 255, 255, 0.72);
}

.section-head {
    display: grid;
    gap: 20px;
    max-width: 820px;
    margin-bottom: 42px;
}

.section-head.compact {
    margin-bottom: 26px;
}

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

.feature-card {
    min-height: 250px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.feature-index {
    display: inline-block;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.feature-card h3 {
    margin-bottom: 16px;
}

.section-light {
    background: linear-gradient(180deg, #f7f4ee 0%, #fffdfa 100%);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 34px;
    align-items: start;
}

.copy-block {
    position: sticky;
    top: 108px;
}

.copy-block > p {
    margin: 24px 0 0;
}

.bullet-stack {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.bullet-stack > div {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 19, 16, 0.08);
}

.bullet-stack strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
}

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

.showcase-card,
.gallery-shot {
    overflow: hidden;
    border-radius: 28px;
    background: white;
    border: 1px solid rgba(23, 19, 16, 0.08);
    box-shadow: var(--shadow-md);
}

.showcase-card img,
.gallery-shot img {
    aspect-ratio: 9 / 16;
    object-fit: cover;
    width: 100%;
}

.showcase-card figcaption,
.gallery-shot figcaption {
    padding: 18px 18px 20px;
    font-size: 0.95rem;
}

.section-gallery {
    background:
        radial-gradient(circle at 84% 16%, rgba(215, 64, 46, 0.08), transparent 24%),
        #f2eee7;
}

.platform-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
}

.tab-button {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(23, 19, 16, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
}

.tab-button.is-active {
    background: var(--surface-strong);
    color: white;
    border-color: var(--surface-strong);
}

.gallery-panel {
    display: none;
}

.gallery-panel.is-active {
    display: block;
}

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

.section-ops {
    background:
        linear-gradient(135deg, rgba(239, 178, 121, 0.18), transparent 36%),
        linear-gradient(180deg, #15100f 0%, #0f0b0a 100%);
    color: white;
}

.panel-band {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 22px;
    align-items: stretch;
}

.panel-card {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.panel-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}

.panel-checks span,
.aside-box {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.panel-aside {
    display: grid;
    gap: 16px;
}

.aside-box strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Space Grotesk", sans-serif;
}

.aside-box span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
    line-height: 1.55;
}

.site-footer {
    padding: 28px 0 42px;
    background: #0f0b0a;
    color: rgba(255, 255, 255, 0.82);
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1120px) {
    .hero-grid,
    .split-layout,
    .panel-band {
        grid-template-columns: 1fr;
    }

    .copy-block {
        position: static;
    }

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

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

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

@media (max-width: 820px) {
    .site-nav {
        display: none;
    }

    .header-shell {
        min-height: 76px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding-top: 42px;
    }

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

    .hero-card-primary {
        width: min(360px, 86%);
    }

    .device-left {
        width: 180px;
        height: 370px;
        left: 2px;
        bottom: 46px;
    }

    .device-center {
        width: 220px;
        height: 454px;
        top: 180px;
    }

    .device-right {
        width: 170px;
        height: 352px;
        right: 0;
        top: 230px;
    }

    .impact-grid,
    .feature-grid,
    .showcase-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 74px 0;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    h1 {
        max-width: none;
    }

    .hero-actions,
    .platform-tabs {
        flex-direction: column;
    }

    .btn,
    .tab-button {
        width: 100%;
    }

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

    .hero-card-primary {
        padding: 18px;
        border-radius: 26px;
    }

    .device-left {
        width: 142px;
        height: 292px;
    }

    .device-center {
        width: 186px;
        height: 384px;
        top: 150px;
    }

    .device-right {
        width: 136px;
        height: 282px;
        top: 210px;
    }
}
