:root {
    --navy-950: #081827;
    --navy-900: #102a43;
    --navy-800: #173f5f;
    --aqua: #2bb3a3;
    --aqua-light: #c7f0e9;
    --gold: #f2b84b;
    --ink: #162536;
    --muted: #5c6d7e;
    --paper: #f7f5ef;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.site-header {
    width: min(1180px, calc(100% - 48px));
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand,
.footer-brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 58px; height: auto; }
.brand span,
.footer-brand span { display: grid; gap: 3px; }
.brand strong { font-size: 16px; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .02em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: #435569;
    font-size: 13px;
    font-weight: 650;
}

.site-nav a:hover { color: var(--navy-900); }
.nav-cta { padding: 12px 18px; border: 1px solid var(--navy-900); border-radius: 999px; color: var(--navy-900); }

.hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 690px;
    margin: 0 auto;
    padding: 58px 0 94px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 2px; background: var(--aqua); }

.hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--navy-950);
    font-size: clamp(50px, 5.25vw, 76px);
    font-weight: 760;
    line-height: .99;
    letter-spacing: -.055em;
}

.hero h1 em {
    display: block;
    color: var(--aqua);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.hero-lede { max-width: 600px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }

.button {
    min-height: 48px;
    padding: 13px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy-900); box-shadow: 0 10px 28px rgba(16, 42, 67, .18); }
.button-primary:hover { background: var(--navy-800); }
.button-quiet { color: var(--navy-900); }
.microcopy { margin-top: 22px; color: #7a8894; font-size: 12px; }

.workflow-card {
    position: relative;
    padding: 24px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #d7e0e5;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(16, 42, 67, .13);
}

.workflow-card::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -110px;
    right: -100px;
    border-radius: 50%;
    background: rgba(43, 179, 163, .08);
}

.workflow-topline {
    position: relative;
    padding-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7ecef;
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .04em;
}

.status { color: #39756c; font-weight: 650; }
.status i,
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(43, 179, 163, .12); }

.inquiry-preview { margin: 22px 0; padding: 17px; display: flex; gap: 14px; background: #f4f8f8; border: 1px solid #e5eeee; border-radius: 12px; }
.avatar { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--navy-900); font-size: 12px; font-weight: 800; }
.inquiry-preview strong { color: var(--navy-900); font-size: 13px; }
.inquiry-preview p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.flow-line { display: flex; align-items: center; margin: 0 20px 18px; }
.flow-line span { position: relative; flex: 1; height: 1px; background: #c8d5da; }
.flow-line span::before { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.automation-list { display: grid; gap: 9px; }
.automation-list > div { padding: 11px 13px; display: flex; align-items: center; gap: 13px; border: 1px solid #e7ecef; border-radius: 10px; }
.step-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: #177b70; background: var(--aqua-light); font-size: 12px; font-weight: 900; }
.automation-list p { margin: 0; display: grid; gap: 2px; }
.automation-list strong { color: var(--ink); font-size: 12px; }
.automation-list small { color: #71808c; font-size: 10px; }
.workflow-result { margin-top: 17px; padding: 15px 17px; display: grid; gap: 5px; border-radius: 11px; color: white; background: var(--navy-900); }
.workflow-result span { color: #8fdfd5; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.workflow-result strong { font-size: 13px; }

.focus-strip {
    min-height: 88px;
    padding: 20px max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: white;
    background: var(--navy-900);
}

.focus-strip p { margin: 0; color: #c9d5df; font-size: 13px; }
.focus-strip p strong { display: block; margin-bottom: 3px; color: white; font-size: 15px; }
.focus-strip div { display: flex; flex-wrap: wrap; gap: 10px; }
.focus-strip div span { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; color: #c9d5df; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 690px; }
.section h2 { margin: 0; color: var(--navy-950); font-size: clamp(38px, 4.2vw, 57px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child,
.demo-copy > p { max-width: 630px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.steps-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #ced9de; border: 1px solid #ced9de; }
.steps-grid article { position: relative; min-height: 290px; padding: 34px; background: var(--paper); }
.step-number { color: var(--aqua); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.steps-grid h3 { margin: 58px 0 14px; color: var(--navy-900); font-size: 22px; letter-spacing: -.025em; }
.steps-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.demo-section {
    width: 100%;
    padding-left: max(24px, calc((100% - 1180px) / 2));
    padding-right: max(24px, calc((100% - 1180px) / 2));
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: 90px;
    background: #e8f1ef;
}

.demo-copy ul { margin: 30px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.demo-copy li { position: relative; padding-left: 27px; color: var(--navy-900); font-size: 14px; font-weight: 650; }
.demo-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 900; }

.demo-card { min-height: 470px; padding: 28px; background: white; border: 1px solid #d5e1df; border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 42, 67, .1); }
.demo-card-head { padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5ebed; color: var(--navy-900); font-size: 12px; font-weight: 780; }
.demo-card-head small { color: #788690; font-size: 10px; font-weight: 500; }
.demo-card form { padding-top: 22px; display: grid; gap: 9px; }
.demo-card label { margin-top: 4px; color: var(--navy-900); font-size: 11px; font-weight: 750; }
.demo-card input,
.demo-card textarea { width: 100%; padding: 14px 15px; border: 1px solid #cfdadd; border-radius: 8px; outline: none; color: var(--ink); background: #fbfcfc; }
.demo-card textarea { min-height: 118px; resize: vertical; }
.demo-card input:focus,
.demo-card textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(43, 179, 163, .12); }
.demo-card form .button { width: 100%; margin-top: 10px; }
.demo-result { padding-top: 24px; outline: none; }
.result-label { margin: 0 0 13px; color: var(--aqua); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.result-row { padding: 16px 0; display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid #e8edef; }
.result-row > span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #177b70; background: var(--aqua-light); font-size: 11px; font-weight: 900; }
.result-row p { margin: 0; display: grid; gap: 4px; }
.result-row strong { color: var(--navy-900); font-size: 13px; }
.result-row small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.reset-button { margin-top: 20px; padding: 0; border: 0; color: var(--navy-900); background: none; font-size: 12px; font-weight: 750; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.principles { max-width: 940px; text-align: center; }
.quote-mark { color: var(--gold); font-family: Georgia, serif; font-size: 90px; line-height: .6; }
.principles blockquote { margin: 25px 0 20px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -.02em; }
.principles p { color: var(--muted); font-size: 13px; }

.contact {
    width: 100%;
    padding-left: max(24px, calc((100% - 1180px) / 2));
    padding-right: max(24px, calc((100% - 1180px) / 2));
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
    background: var(--navy-950);
}

.contact h2 { color: white; }
.eyebrow.light { color: #c1d5e3; }
.contact-copy > p { margin: 0 0 26px; color: #aebfca; font-size: 16px; line-height: 1.72; }
.button-gold { color: #162536; background: var(--gold); }
.button-gold:hover { background: #ffc85b; }
.contact-copy > small { max-width: 450px; display: block; margin-top: 17px; color: #7790a1; font-size: 10px; line-height: 1.5; }

.site-footer {
    min-height: 120px;
    padding: 26px max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #94a7b5;
    background: #06121e;
    font-size: 11px;
}

.footer-brand img { width: 47px; height: auto; }
.footer-brand strong { color: white; font-size: 12px; }
.footer-brand small { color: #7f94a4; font-size: 9px; }
.footer-links { display: flex; gap: 20px; }
.site-footer a:hover { color: white; }

@media (max-width: 900px) {
    .site-header .site-nav a:not(.nav-cta) { display: none; }
    .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 80px; }
    .workflow-card { max-width: 590px; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid article { min-height: 220px; }
    .steps-grid h3 { margin-top: 32px; }
    .demo-section,
    .contact { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 620px) {
    .site-header,
    .hero,
    .section { width: min(100% - 32px, 1180px); }
    .site-header { min-height: 78px; }
    .brand img { width: 46px; }
    .brand small { display: none; }
    .brand strong { font-size: 14px; }
    .nav-cta { padding: 10px 14px; }
    .hero { padding: 58px 0 70px; }
    .hero h1 { font-size: clamp(45px, 13vw, 62px); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button-quiet { justify-content: flex-start; padding-left: 0; }
    .workflow-card { padding: 17px; border-radius: 14px; }
    .focus-strip { align-items: flex-start; flex-direction: column; }
    .section { padding: 84px 0; }
    .steps-grid { margin-top: 40px; }
    .demo-section,
    .contact { width: 100%; padding: 84px 16px; }
    .demo-card { padding: 19px; }
    .site-footer { align-items: flex-start; flex-direction: column; padding-top: 36px; padding-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
