:root {
    --bg: #08090b;
    --bg-raised: #0e1014;
    --text: #e8e6e1;
    --muted: #9a978f;
    --accent: #d4632f;      /* the model's ember orange */
    --accent-cool: #7fc8dc; /* the airway cyan */
    --rule: #1e2128;
    --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 22px;
}

.wordmark {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--text);
}

.contact-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.contact-link:hover { color: var(--text); }

/* Hero */
.hero {
    padding-top: 96px;
    padding-bottom: 64px;
}

h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.accent { color: var(--accent); }

.lede {
    margin-top: 28px;
    max-width: 640px;
    font-size: 19px;
    color: var(--muted);
}

/* Screenshot */
.shot { padding-bottom: 80px; }

.shot figure {
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 10px;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.shot figcaption {
    padding: 14px 8px 6px;
    font-size: 14px;
    color: var(--muted);
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 96px;
}

.pillar h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent-cool);
    font-weight: 600;
}

.pillar p { color: var(--muted); font-size: 16px; }

/* Flow diagram */
.flow {
    border-top: 1px solid var(--rule);
    padding-top: 72px;
    padding-bottom: 88px;
}

.flow h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

.flow-diagram {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.flow-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 26px 24px;
    text-align: center;
}

.flow-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.flow-sub {
    font-size: 14.5px;
    color: var(--muted);
}

.flow-arrow {
    align-self: center;
    font-size: 26px;
    color: var(--accent-cool);
}

.flow-caption {
    margin-top: 28px;
    max-width: 720px;
    color: var(--muted);
    font-size: 15.5px;
}

/* Segmentation section */
.seg {
    border-top: 1px solid var(--rule);
    padding-top: 72px;
    padding-bottom: 88px;
}

.seg h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

.seg-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 100%;
}

.seg-body p { color: var(--muted); font-size: 16px; }

@media (max-width: 800px) {
    .seg-body { grid-template-columns: 1fr; gap: 24px; }
}

/* Method */
.method {
    border-top: 1px solid var(--rule);
    padding-top: 72px;
    padding-bottom: 88px;
}

.method h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.method-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.method-item p { color: var(--muted); font-size: 15.5px; }

/* Status / contact */
.status {
    border-top: 1px solid var(--rule);
    padding-top: 72px;
    padding-bottom: 96px;
    text-align: center;
}

.status p {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: background 0.15s ease;
}
.btn:hover { background: rgba(212, 99, 47, 0.15); }

/* Footer */
footer {
    border-top: 1px solid var(--rule);
    padding: 28px 0;
}

footer p {
    font-size: 14px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 800px) {
    .pillars, .method-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding-top: 64px; }
    .flow-diagram { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
}
