:root {
    --navy: #0b1220;
    --navy-2: #121a2b;
    --navy-3: #1a2438;
    --teal: #14b8a6;
    --teal-d: #0f766e;
    --teal-s: #ccfbf1;
    --teal-m: #5eead4;
    --paper: #f5f7fa;
    --white: #ffffff;
    --ink: #0f172a;
    --muted: #5b677a;
    --line: #e4eaf1;
    --danger: #b42318;
    --shadow: 0 18px 50px rgba(11, 18, 32, 0.08);
    --shadow-lg: 0 30px 70px rgba(11, 18, 32, 0.16);
    --radius: 18px;
    --radius-sm: 12px;
    --font-d: "Outfit", system-ui, sans-serif;
    --font-b: "Source Sans 3", system-ui, sans-serif;
    --max: 1140px;
    --header-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-b);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--teal-d);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-d);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
    color: var(--navy);
}

p {
    margin: 0 0 1em;
}

p:last-child,
ul:last-child {
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 100;
    background: var(--teal);
    color: var(--navy);
    padding: 8px 12px;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-d);
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.kicker {
    color: var(--teal);
}

.muted {
    color: var(--muted);
}

.lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 58ch;
}

.section {
    padding: 88px 0;
}

.section-sm {
    padding: 56px 0;
}

.section-head {
    max-width: 620px;
    margin-bottom: 36px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-d);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--teal-m);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal-m);
}

.btn-outline {
    background: transparent;
    border-color: var(--line);
    color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--navy);
}

.btn-wide {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.brand-sub {
    font-size: 11px;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.site-header .brand-name,
.site-header .brand-sub {
    color: white;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 11px;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.is-active {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.header-cta {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    border-radius: 10px;
    position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    position: absolute;
    left: 11px;
    transition: 0.2s ease;
}

.nav-toggle-bar {
    top: 20px;
}

.nav-toggle-bar::before {
    top: -6px;
}

.nav-toggle-bar::after {
    top: 6px;
}

.nav-open .nav-toggle-bar {
    background: transparent;
}

.nav-open .nav-toggle-bar::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-open .nav-toggle-bar::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, #0e1626 100%);
    color: white;
    overflow: hidden;
    padding: 84px 0 72px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 20%, transparent);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 4rem);
    max-width: 14ch;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.74);
}

.hero-copy p {
    max-width: 48ch;
}

.page-hero {
    background: var(--navy);
    color: white;
    padding: 64px 0 56px;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.1rem);
    max-width: 18ch;
}

body.nav-open {
    overflow: hidden;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.74);
}

.split-band {
    background: var(--paper);
}

.split-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.split-card h3 {
    font-size: 1.45rem;
}

.card-meta {
    font-family: var(--font-d);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-d);
    font-weight: 600;
    margin-bottom: 10px;
}

.split-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.feature-list li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    position: absolute;
    left: 0;
    top: 14px;
}

.icon-grid .tile {
    background: var(--paper);
    border-radius: var(--radius-sm);
    padding: 22px;
    border: 1px solid transparent;
}

.icon-grid .tile:hover {
    border-color: var(--teal-s);
    background: white;
    box-shadow: var(--shadow);
}

.tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--teal-s);
    color: var(--teal-d);
    margin-bottom: 14px;
    font-family: var(--font-d);
    font-weight: 700;
}

.tile h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.process {
    counter-reset: step;
}

.process .step {
    border-top: 1px solid var(--line);
    padding: 22px 8px 8px 0;
}

.process .step h3 {
    font-size: 1.15rem;
}

.process .step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-d);
    color: var(--teal-d);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 10px;
}

.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-2);
}

.cta-band {
    background:
        radial-gradient(500px 180px at 90% 0%, rgba(20, 184, 166, 0.2), transparent 60%),
        var(--navy);
    color: white;
}

.cta-band h2 {
    color: white;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.module-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
    background: white;
}

.module-card h3 {
    font-size: 1.08rem;
}

.audience {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 8px;
}

.audience span {
    background: var(--navy);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--font-d);
    font-weight: 500;
}

.mock {
    background: linear-gradient(180deg, #172033, #0f1728);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    color: white;
}

.mock-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.mock-kpi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.kpi {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
}

.kpi b {
    display: block;
    font-family: var(--font-d);
    font-size: 1.25rem;
    color: white;
}

.kpi span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.mock-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
}

.order-row,
.bar-col {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
}

.order {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.order:last-child {
    border: 0;
}

.tag {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    background: rgba(20, 184, 166, 0.18);
    color: var(--teal-m);
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
    margin-top: 16px;
}

.bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--teal-m), var(--teal-d));
    border-radius: 6px 6px 2px 2px;
}

.float-note {
    position: absolute;
    background: white;
    color: var(--navy);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
}

.hero-visual {
    position: relative;
}

.note-a {
    right: -8px;
    top: 18px;
}

.note-b {
    left: -12px;
    bottom: 22px;
}

.benefit {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.benefit strong {
    display: block;
    font-family: var(--font-d);
}

.value-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 28px;
}

.service-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.18s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--teal-s);
}

.service-card h3 {
    margin-top: 8px;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.info-list span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--font-d);
    font-weight: 600;
}

.inquiry-form {
    display: grid;
    gap: 16px;
    position: relative;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 600;
}

.opt {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 13px;
    font: inherit;
    background: var(--paper);
    color: var(--ink);
}

.field textarea {
    resize: vertical;
    min-height: 128px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
    background: white;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: var(--danger);
    background: #fef3f2;
}

.field-error,
.form-alert {
    color: var(--danger);
    font-size: 13px;
    margin: 0;
}

.form-alert {
    background: #fef3f2;
    border-radius: 12px;
    padding: 10px 12px;
}

.form-note {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.thanks {
    min-height: 54vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
}

.thanks-card {
    max-width: 520px;
}

.site-footer {
    background: #080d18;
    color: rgba(255, 255, 255, 0.72);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 14px;
    max-width: 36ch;
}

.brand-footer .brand-name,
.brand-footer .brand-sub {
    color: white;
}

.footer-heading {
    color: white;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--teal-m);
}

.footer-links li {
    margin: 8px 0;
}

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    font-size: 13px;
}

.footer-base code {
    color: var(--teal-m);
}

.alt {
    background: var(--paper);
}

.split-visual {
    position: relative;
}

@media (max-width: 980px) {
    .grid-2,
    .contact-layout,
    .footer-grid,
    .cta-inner,
    .mock-body {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .cta-inner {
        display: grid;
    }

    .hero h1 {
        max-width: none;
    }

    .float-note {
        position: static;
        margin-top: 10px;
        display: inline-block;
    }

    .hero-visual {
        margin-top: 18px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(var(--header-h) + 8px);
        background: var(--navy-2);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-open .site-nav {
        display: flex;
    }

    .header-cta {
        margin: 8px 0 4px;
    }

    .grid-3,
    .grid-4,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .footer-base {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(var(--max), calc(100% - 28px));
    }

    .hero {
        padding: 54px 0 48px;
    }

    .btn-row .btn {
        width: 100%;
    }
}

/* Motion — restrained, product-like */
.hero::before {
    animation: gridDrift 36s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -140px;
    top: -160px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 68%);
    pointer-events: none;
    animation: orbDrift 16s ease-in-out infinite;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 68%);
    pointer-events: none;
    animation: orbDrift 18s ease-in-out infinite;
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.hero-art {
    position: absolute;
    inset: -12% -8% auto auto;
    width: 118%;
    height: 118%;
    pointer-events: none;
    z-index: 0;
}

.hero-visual .mock {
    position: relative;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.orb-1 {
    width: 180px;
    height: 180px;
    right: 6%;
    top: 4%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 70%);
    animation: orbDrift 14s ease-in-out infinite;
}

.orb-2 {
    width: 140px;
    height: 140px;
    left: 2%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
    animation: orbDrift 19s ease-in-out infinite reverse;
}

.ring {
    position: absolute;
    right: 10%;
    top: 8%;
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(94, 234, 212, 0.28);
    border-radius: 50%;
    animation: spinSlow 32s linear infinite;
}

.ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.product-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    background: #0f1728;
}

.hero-frame {
    position: relative;
    z-index: 1;
}

.frame-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #121a2c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.frame-chrome .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a455c;
}

.frame-chrome .dot:nth-child(1) { background: #f87171; }
.frame-chrome .dot:nth-child(2) { background: #fbbf24; }
.frame-chrome .dot:nth-child(3) { background: #34d399; }

.frame-url {
    margin-left: 10px;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-d);
}

.frame-url-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.frame-url-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: pulseDot 2s ease-out infinite;
}

.shot-wrap {
    height: 390px;
    overflow: hidden;
    background: #0c1018;
}

.shot-wrap img {
    width: 100%;
    height: 128%;
    object-fit: cover;
    object-position: 0% 8%;
    display: block;
}

.hero-frame .mock {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.marquee-band {
    background: var(--white);
    border-block: 1px solid var(--line);
    padding: 22px 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee {
    overflow: hidden;
}

.marquee-rev {
    margin-top: 12px;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 12px;
    padding-inline: 6px;
    animation: marquee 42s linear infinite;
}

.marquee-rev .marquee-track {
    animation-direction: reverse;
    animation-duration: 48s;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex: none;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 8px 16px;
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-2);
}

.showcase-band {
    background: var(--paper);
}

.showcase {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 40px;
    align-items: start;
}

.showcase-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.show-steps {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.show-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    text-align: left;
    width: 100%;
    border: 1px solid transparent;
    background: white;
    border-radius: 14px;
    padding: 14px 16px 16px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.show-step:hover,
.show-step.is-active {
    border-color: var(--teal-s);
    box-shadow: var(--shadow);
}

.show-index {
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--teal-d);
    padding-top: 3px;
}

.show-copy {
    display: grid;
    gap: 2px;
}

.show-copy strong {
    font-family: var(--font-d);
}

.show-copy span {
    color: var(--muted);
    font-size: 14.5px;
}

.show-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left center;
}

.show-step.is-active .show-progress {
    animation: progressFill 4.2s linear forwards;
}

.showcase-frame {
    position: sticky;
    top: 96px;
    background: #0c1018;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.showcase-frame .frame-chrome {
    background: #121826;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.showcase-frame .frame-url {
    color: rgba(255, 255, 255, 0.45);
}

.frame-screens {
    position: relative;
    min-height: 420px;
    height: 420px;
    background: #0c1018;
}

.shot-screen {
    padding: 0;
}

.shot-screen img {
    width: 100%;
    height: 128%;
    object-fit: cover;
    object-position: 0% 8%;
    display: block;
}

.ui-screen {
    position: absolute;
    inset: 0;
    padding: 18px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.ui-screen.shot-screen {
    padding: 0;
}

.ui-screen.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.ui-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--font-d);
    font-size: 13px;
    color: var(--navy);
}

.live-pill.light i {
    background: var(--teal-d);
}

.table-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.tbl {
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eef2f6;
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 600;
}

.tbl.busy {
    background: rgba(20, 184, 166, 0.16);
    color: var(--teal-d);
}

.tbl.wait {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.ui-ticket {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
}

.ui-ticket div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.kds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kds {
    background: white;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    min-height: 120px;
}

.kds header {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    font-family: var(--font-d);
}

.kds.late {
    border-color: #fecaca;
    background: #fff7f7;
}

.stock-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stock-list li {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.stock-list i {
    display: block;
    height: 7px;
    width: var(--w);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), var(--teal-d));
    transform: scaleX(0.2);
    transform-origin: left center;
}

.ui-screen.is-active .stock-list i {
    animation: fillX 0.8s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

.stock-list em {
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.light-kpi .kpi {
    background: white;
    border: 1px solid var(--line);
}

.light-kpi .kpi b {
    color: var(--navy);
}

.light-kpi .kpi span {
    color: var(--muted);
}

.light-bars {
    height: 90px;
    margin-top: 8px;
}

.js-anim .ui-screen.is-active .tbl,
.js-anim .ui-screen.is-active .kds {
    animation: riseIn 0.45s ease both;
}

.js-anim .ui-screen.is-active .tbl:nth-child(2),
.js-anim .ui-screen.is-active .kds:nth-child(2) { animation-delay: 0.06s; }
.js-anim .ui-screen.is-active .tbl:nth-child(3),
.js-anim .ui-screen.is-active .kds:nth-child(3) { animation-delay: 0.12s; }
.js-anim .ui-screen.is-active .tbl:nth-child(4) { animation-delay: 0.16s; }
.js-anim .ui-screen.is-active .tbl:nth-child(5) { animation-delay: 0.2s; }
.js-anim .ui-screen.is-active .tbl:nth-child(6) { animation-delay: 0.24s; }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.live-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: pulseDot 2s ease-out infinite;
}

.float-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: floatNote 5.5s ease-in-out infinite;
}

.note-b {
    animation-delay: -2.4s;
}

.note-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    animation: pulseDot 2.2s ease-out infinite;
}

.note-dot-warn {
    background: #f59e0b;
    animation-delay: -0.8s;
}

.js-anim .hero-copy > * {
    opacity: 0;
    animation: riseIn 0.8s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

.js-anim .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.js-anim .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.js-anim .hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.js-anim .hero-copy > *:nth-child(4) { animation-delay: 0.4s; }

.js-anim .page-hero .wrap > * {
    opacity: 0;
    animation: riseIn 0.75s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

.js-anim .page-hero .wrap > *:nth-child(1) { animation-delay: 0.06s; }
.js-anim .page-hero .wrap > *:nth-child(2) { animation-delay: 0.16s; }
.js-anim .page-hero .wrap > *:nth-child(3) { animation-delay: 0.28s; }
.js-anim .page-hero .wrap > *:nth-child(4) { animation-delay: 0.38s; }

.js-anim .hero-visual {
    opacity: 0;
    animation: riseIn 0.9s cubic-bezier(0.22, 0.8, 0.24, 1) 0.22s forwards;
}

.js-anim .page-hero .hero-visual {
    animation-delay: 0.18s;
}

.js-anim .bars span {
    transform: scaleY(0.08);
    transform-origin: bottom center;
    animation: barGrow 0.9s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

.js-anim .bars span:nth-child(1) { animation-delay: 0.45s; }
.js-anim .bars span:nth-child(2) { animation-delay: 0.55s; }
.js-anim .bars span:nth-child(3) { animation-delay: 0.65s; }
.js-anim .bars span:nth-child(4) { animation-delay: 0.75s; }
.js-anim .bars span:nth-child(5) { animation-delay: 0.85s; }
.js-anim .bars span:nth-child(6) { animation-delay: 0.95s; }

.js-anim .section-head,
.js-anim .split-card,
.js-anim .tile,
.js-anim .step,
.js-anim .module-card,
.js-anim .service-card,
.js-anim .value-card,
.js-anim .panel,
.js-anim .benefit,
.js-anim .cta-inner,
.js-anim .chip {
    opacity: 0;
    transform: translateY(16px);
}

.js-anim .section-head.is-in,
.js-anim .split-card.is-in,
.js-anim .tile.is-in,
.js-anim .step.is-in,
.js-anim .module-card.is-in,
.js-anim .service-card.is-in,
.js-anim .value-card.is-in,
.js-anim .panel.is-in,
.js-anim .benefit.is-in,
.js-anim .cta-inner.is-in,
.js-anim .chip.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.js-anim .split-card.is-in:hover,
.js-anim .module-card.is-in:hover,
.js-anim .value-card.is-in:hover,
.js-anim .tile.is-in:hover {
    transform: translateY(-4px);
    transition-duration: 0.22s;
}

.js-anim .chip.is-in:hover {
    transform: translateY(-2px);
    transition-duration: 0.18s;
}

.split-card,
.module-card,
.tile,
.value-card,
.panel {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.split-card:hover,
.module-card:hover,
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.icon-grid .tile {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.icon-grid .tile:hover {
    transform: translateY(-4px);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.28);
}

.btn-ghost:hover {
    transform: translateY(-1px);
}

.chip {
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    color: var(--teal-d);
}

.brand-mark {
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: translateY(-1px) rotate(-3deg);
}

.tag {
    transition: background 0.35s ease, color 0.35s ease;
}

.tag.is-flash {
    background: rgba(52, 211, 153, 0.28);
}

.cta-band {
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: 8%;
    top: -90px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18), transparent 70%);
    animation: orbDrift 14s ease-in-out infinite;
    pointer-events: none;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes barGrow {
    to {
        transform: scaleY(1);
    }
}

@keyframes gridDrift {
    to {
        background-position: 48px 48px;
    }
}

@keyframes orbDrift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-28px, 18px) scale(1.06);
    }
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

@keyframes floatNote {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes progressFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes fillX {
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 980px) {
    .hero-art {
        display: none;
    }

    .float-note {
        animation: none;
    }

    .showcase {
        grid-template-columns: 1fr;
    }

    .showcase-frame {
        position: static;
    }

    .kds-grid {
        grid-template-columns: 1fr;
    }

    .frame-screens {
        min-height: 280px;
        height: 280px;
    }

    .shot-wrap {
        height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero::before,
    .hero::after,
    .page-hero::after,
    .cta-band::before,
    .orb,
    .ring,
    .live-pill i,
    .note-dot,
    .float-note,
    .marquee-track,
    .show-step.is-active .show-progress,
    .js-anim .hero-copy > *,
    .js-anim .page-hero .wrap > *,
    .js-anim .hero-visual,
    .js-anim .bars span,
    .js-anim .section-head,
    .js-anim .split-card,
    .js-anim .tile,
    .js-anim .step,
    .js-anim .module-card,
    .js-anim .service-card,
    .js-anim .value-card,
    .js-anim .panel,
    .js-anim .benefit,
    .js-anim .cta-inner,
    .js-anim .chip {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
