:root {
    color-scheme: dark;
    --bg: #07111f;
    --bg-soft: #0d1728;
    --panel: #111c31;
    --panel-soft: #16233d;
    --line: #24324f;
    --text: #eef4ff;
    --muted: #a9b7d2;
    --accent: #3cc2ff;
    --accent-strong: #22c55e;
    --warn: #f59e0b;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(7, 17, 31, 0.8);
    border-bottom: 1px solid rgba(36, 50, 79, 0.8);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.brand {
    font-size: 1rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero {
    padding: 44px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.hero-copy,
.hero-media,
.service-card,
.product-card,
.contact-panel,
.metric,
.step {
    border: 1px solid var(--line);
    background: var(--panel);
}

.hero-copy {
    padding: 34px;
}

.hero-media {
    overflow: hidden;
    min-height: 100%;
}

.hero-media img {
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p,
ul {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.08;
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(1.5rem, 2.7vw, 2.4rem);
    line-height: 1.12;
    margin-bottom: 0;
}

h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.hero-text,
.section-head,
.product-copy p,
.service-card p,
.step p,
.contact-note {
    color: var(--muted);
}

.hero-cta-note,
.service-meta {
    color: var(--muted);
}

.hero-cta-note {
    margin-bottom: 0;
}

.hero-cta-note a,
.contact-note a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--line);
}

.button.primary {
    background: var(--accent);
    color: #04111d;
    border-color: var(--accent);
}

.button.secondary {
    background: transparent;
    color: var(--text);
}

.hero-points,
.check-list,
.bullet-list,
.contact-list {
    padding-left: 18px;
    margin-bottom: 0;
}

.hero-points li,
.check-list li,
.bullet-list li,
.contact-list li {
    margin-bottom: 8px;
}

.band {
    padding: 26px 0;
}

.metrics-grid,
.service-list,
.product-grid,
.example-grid,
.workflow-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

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

.metric {
    padding: 22px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.metric-label {
    display: block;
    color: var(--muted);
    margin-top: 6px;
}

.section-light {
    background: var(--bg-soft);
    border-top: 1px solid rgba(36, 50, 79, 0.7);
    border-bottom: 1px solid rgba(36, 50, 79, 0.7);
}

.section-dark {
    background: #091321;
}

.section-head {
    margin-bottom: 20px;
}

.service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.product-card,
.example-card,
.step,
.contact-panel {
    padding: 20px;
}

.price {
    margin-bottom: 0;
    color: var(--accent-strong);
    font-weight: 700;
}

.service-meta {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

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

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-card img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}

.product-copy {
    padding: 18px;
}

.workflow-grid,
.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.example-card {
    border: 1px solid var(--line);
    background: var(--panel);
}

.steps {
    display: grid;
    gap: 14px;
}

.step-index {
    color: var(--warn);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-band {
    padding-bottom: 40px;
}

.contact-panel {
    background: var(--panel-soft);
}

.contact-list {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .hero-grid,
    .workflow-grid,
    .contact-grid,
    .service-list,
    .product-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-copy,
    .hero-media {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
        gap: 10px;
    }

    .nav {
        gap: 14px;
    }

    .hero-copy,
    .service-card,
    .step,
    .contact-panel {
        padding: 18px;
    }

    .button {
        width: 100%;
    }
}
