:root {
    --bg: #ece3d2;
    --panel: rgba(255, 252, 246, 0.88);
    --panel-strong: #fffaf2;
    --ink: #1c1c18;
    --muted: #605a50;
    --line: rgba(40, 33, 23, 0.12);
    --sand: #d79f65;
    --slate: #6d7b75;
    --olive: #7d8250;
    --shadow: 0 24px 60px rgba(58, 39, 18, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(215, 159, 101, 0.32), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(125, 130, 80, 0.24), transparent 24%),
        linear-gradient(180deg, #f3ecdf 0%, var(--bg) 54%, #ddd0ba 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
}

.site-shell {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
}

.hero,
.section,
.site-footer {
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 48px 0 36px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 5.8vw, 5.1rem);
    line-height: 0.96;
    max-width: 11ch;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
    max-width: 18ch;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.lead,
.story-copy p,
.feature-card p,
.audience-card p,
.story-step p,
.site-footer p,
.info-card p,
.info-card li {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-actions,
.toolbar,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--ink);
    color: #f9f4ea;
    border-color: transparent;
}

.button.secondary {
    background: rgba(255, 250, 242, 0.62);
    backdrop-filter: blur(10px);
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.device-card,
.feature-card,
.audience-card,
.story-step,
.site-footer,
.section-heading,
.story-band {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.device-card {
    border-radius: 28px;
    padding: 22px;
}

.watch-card {
    background: linear-gradient(180deg, rgba(30, 30, 26, 0.96), rgba(58, 53, 43, 0.96));
    color: #f2eee6;
}

.device-topline,
.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.device-topline {
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(242, 238, 230, 0.7);
}

.device-screen {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #141514, #22251f);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #85d18a;
    box-shadow: 0 0 16px rgba(133, 209, 138, 0.7);
}

.screen-title {
    margin: 26px 0 14px;
    font-size: 1.7rem;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mini-tile {
    padding: 14px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.mini-tile.active {
    background: linear-gradient(135deg, #d8a262, #9a6f3e);
    color: #22180f;
    font-weight: 700;
}

.info-card ul {
    margin: 18px 0 0;
    padding-left: 18px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 14px;
}

.section {
    padding: 24px 0;
}

.demo-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
    gap: 18px;
    align-items: center;
}

.demo-copy,
.video-card {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.demo-copy {
    padding: 28px;
}

.video-card {
    padding: 16px;
    max-width: 420px;
    width: 100%;
    justify-self: center;
}

.image-card {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 236, 220, 0.92));
}

.demo-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 20px;
    background: #0f110f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.demo-image {
    display: block;
    width: min(100%, 280px);
    height: auto;
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 20px;
    background: linear-gradient(180deg, #fcfaf5, #f0e5d0);
}

.section-heading {
    padding: 28px;
    border-radius: 28px;
    margin-bottom: 20px;
}

.section-heading.narrow h2 {
    max-width: 20ch;
}

.card-grid,
.audience-grid,
.story-steps {
    display: grid;
    gap: 18px;
}

.three-up,
.audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.audience-card,
.story-step {
    border-radius: 24px;
    padding: 24px;
}

.accent-sand {
    background: linear-gradient(180deg, rgba(255, 244, 231, 0.95), rgba(244, 226, 199, 0.92));
}

.accent-slate {
    background: linear-gradient(180deg, rgba(236, 243, 240, 0.95), rgba(215, 225, 220, 0.92));
}

.accent-olive {
    background: linear-gradient(180deg, rgba(242, 244, 229, 0.95), rgba(227, 229, 200, 0.92));
}

.story-band {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(28, 28, 24, 0.94), rgba(71, 60, 43, 0.92));
    color: #f4efe7;
}

.story-band .eyebrow,
.story-band p {
    color: rgba(244, 239, 231, 0.78);
}

.story-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-step {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 26px;
    margin-top: 10px;
}

.site-footer p {
    margin-bottom: 0;
    max-width: 50ch;
}

.footer-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero,
    .demo-section,
    .story-band,
    .three-up,
    .audience-grid,
    .story-steps,
    .site-footer {
        grid-template-columns: 1fr;
        display: grid;
    }

    h1,
    h2 {
        max-width: none;
    }

    .site-footer {
        justify-items: start;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 18px, 100%);
        padding-top: 14px;
    }

    .hero {
        padding-top: 28px;
    }

    .device-card,
    .demo-copy,
    .video-card,
    .feature-card,
    .audience-card,
    .story-step,
    .section-heading,
    .story-band,
    .site-footer {
        border-radius: 22px;
        padding: 18px;
    }

    .hero-actions,
    .site-footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .footer-link {
        width: 100%;
    }
}