:root {
    --ink: #172033;
    --muted: #5f6c7b;
    --blue: #2563eb;
    --blue-dark: #1749b0;
    --teal: #0f9f9a;
    --coral: #f0785f;
    --page: #f8fafc;
    --surface: #ffffff;
    --soft-blue: #eef5ff;
    --soft-teal: #eaf9f7;
    --line: #dfe7f0;
    --shadow: 0 24px 70px rgba(47, 72, 105, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 8px clamp(20px, 4vw, 64px);
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(203, 213, 225, 0.72);
    backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 850; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.logo-at { color: var(--coral); }
.topnav { display: flex; align-items: center; gap: 26px; color: #526070; font-size: 14px; }
.topnav a { text-decoration: none; transition: 0.2s; }
.topnav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 17px; border: 1px solid #b9c7da; border-radius: 9px; background: white; color: var(--ink) !important; box-shadow: 0 5px 16px rgba(47, 72, 105, 0.06); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
    gap: clamp(45px, 6vw, 88px);
    align-items: center;
    max-width: 1240px;
    min-height: calc(100vh - 76px);
    margin: auto;
    padding: 60px 28px 72px;
}
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: 0.105em; text-transform: uppercase; }
.eyebrow.light { color: #76ded9; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 22px; color: #121b2c; font-weight: 800; letter-spacing: -0.045em; }
h1 { font-size: clamp(46px, 4.7vw, 68px); line-height: 1.03; }
h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.07; }
.lead { max-width: 630px; margin-bottom: 29px; color: var(--muted); font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 52px; padding: 0 21px; border-radius: 10px; font-size: 15px; font-weight: 800; text-decoration: none; transition: 0.2s; }
.button.primary { color: white; background: var(--blue); box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22); }
.button.primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button.secondary { border: 1px solid #cbd6e4; background: white; }
.button.secondary:hover { border-color: #91a8c5; transform: translateY(-2px); }
.hero-note { display: flex; align-items: flex-start; gap: 9px; max-width: 575px; margin: 23px 0 0; color: #718096; font-size: 13px; line-height: 1.5; }
.hero-note > span { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #d7f2ef; }

.hero-visual { position: relative; padding-top: 150px; }
.hero-visual::before { position: absolute; inset: 35px -35px -30px 80px; z-index: -1; border-radius: 40px; background: linear-gradient(145deg, #e8f1ff, #e9faf8); content: ""; }
.hero-brand { position: absolute; top: -55px; right: 22px; z-index: 2; display: flex; align-items: center; gap: 4px; }
.hero-brand img { width: 190px; height: 190px; object-fit: contain; }
.hero-brand strong, .hero-brand small { display: block; }
.hero-brand strong { margin-bottom: 8px; font-size: 19px; font-weight: 850; }
.hero-brand strong span { color: var(--coral); }
.hero-brand small { color: #66788c; font-size: 11px; font-weight: 650; line-height: 1.45; }
.diagnostic-card { position: relative; padding: 18px; border: 1px solid #d4dfeb; border-radius: 16px; background: rgba(255,255,255,0.97); box-shadow: var(--shadow); }
.diagnostic-top { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 7px 5px 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.diagnostic-top small { color: #8793a2; font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #d9f3f1; }
.signal-list { padding-top: 10px; }
.signal { display: grid; grid-template-columns: 30px 1fr auto; gap: 11px; align-items: center; min-height: 78px; padding: 12px 7px; border-bottom: 1px solid #e8edf3; }
.signal-number { color: #9aa6b5; font-size: 11px; font-weight: 800; }
.signal strong, .signal small { display: block; }
.signal strong { margin-bottom: 5px; font-size: 14px; }
.signal small { color: #7b8796; font-size: 12px; }
.signal-state { padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.warning { color: #8a6110; background: #fff2c8; }
.danger { color: #a04431; background: #ffe2dc; }
.neutral { color: #276277; background: #dff3f8; }
.diagnostic-result { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 17px 18px; border-radius: 11px; background: linear-gradient(115deg, #235ac8, #247eab); color: white; }
.diagnostic-result span, .diagnostic-result strong { display: block; }
.diagnostic-result div > span { margin-bottom: 5px; color: #cfe4ff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.diagnostic-result strong { font-size: 15px; }
.result-arrow { font-size: 25px; }

.trust-strip { display: flex; justify-content: center; gap: clamp(25px, 6vw, 85px); padding: 20px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; color: #4c5d70; }
.trust-strip span { position: relative; padding-left: 19px; font-size: 13px; font-weight: 700; }
.trust-strip span::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 900; }
.section { max-width: 1180px; margin: auto; padding: 96px 28px; }
.section-heading { max-width: 670px; }
.section-heading.wide { max-width: 820px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; }
.intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 70px; align-items: end; }
.principle-card { position: relative; padding: 32px; border: 1px solid #d8e3f0; border-radius: 16px; background: white; box-shadow: 0 18px 45px rgba(47,72,105,0.08); }
.principle-mark { position: absolute; top: 13px; color: #c7dafa; font-size: 67px; font-weight: 900; line-height: 1; }
.principle-card p { position: relative; margin: 28px 0 0; color: #3f5063; font-size: 18px; font-weight: 650; line-height: 1.55; }

.process-section { background: #172a47; color: white; }
.process-inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(50px, 8vw, 105px); }
.process-section h2 { color: white; }
.process-section .section-heading > p:not(.eyebrow) { color: #b8c7d8; }
.process-steps { border-top: 1px solid #3c5271; }
.process-steps article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #3c5271; }
.process-steps article > span { color: #64d8d2; font-size: 14px; font-weight: 850; }
.process-steps h3 { margin-bottom: 8px; font-size: 17px; }
.process-steps p { margin: 0; color: #b8c7d8; font-size: 14px; line-height: 1.6; }

.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 39px; }
.outcome-grid article { display: flex; min-height: 280px; padding: 24px; flex-direction: column; border: 1px solid #dce5ef; border-radius: 15px; background: white; box-shadow: 0 12px 35px rgba(47,72,105,0.05); }
.outcome-grid article > span { color: #8c9aaa; font-size: 12px; font-weight: 850; }
.outcome-grid h3 { margin: 56px 0 12px; font-size: 20px; line-height: 1.2; }
.outcome-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.outcome-grid .accent { border-color: transparent; color: white; background: linear-gradient(145deg, #245cc8, #247f9c); box-shadow: 0 18px 40px rgba(37,99,235,0.18); }
.outcome-grid .accent > span, .outcome-grid .accent p { color: #d4e9f5; }
.outcome-grid a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(255,255,255,0.27); font-size: 13px; font-weight: 800; text-decoration: none; }

.case-section { background: var(--soft-blue); }
.case-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: clamp(45px,7vw,85px); align-items: center; }
.case-copy > p:not(.eyebrow,.case-caption) { color: #536477; font-size: 16px; line-height: 1.67; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 17px; }
.case-meta span { padding: 8px 10px; border: 1px solid #c7d6e8; border-radius: 7px; background: rgba(255,255,255,.6); font-size: 11px; font-weight: 800; }
.case-caption { color: #7c8998; font-size: 11px; line-height: 1.5; }
.crm-preview { padding: 20px; border: 1px solid #d3dfeb; border-radius: 16px; background: white; box-shadow: var(--shadow); }
.preview-header { display: flex; justify-content: space-between; gap: 20px; padding: 4px 3px 18px; }
.preview-header span, .preview-header strong, .preview-kpi small { display: block; }
.preview-header div > span { margin-bottom: 5px; color: #788797; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.preview-header strong { font-size: 19px; }
.preview-kpi { padding: 7px 10px; border-radius: 7px; background: #e4f5f3; color: #176863; font-size: 14px; font-weight: 800; }
.preview-kpi small { margin-bottom: 2px; color: #638984; font-size: 9px; text-transform: uppercase; }
.kanban-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.kanban-column { min-height: 285px; padding: 10px; border-radius: 9px; background: #f5f7fa; }
.column-title { display: flex; justify-content: space-between; margin: 2px 2px 10px; color: #667586; font-size: 11px; font-weight: 800; }
.column-title span { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #e1e7ee; }
.deal-card { display: block; margin-bottom: 8px; padding: 11px; border: 1px solid #e2e8f0; border-left: 3px solid var(--coral); border-radius: 8px; background: white; }
.deal-card small, .deal-card strong, .deal-card span { display: block; }
.deal-card small, .deal-card span { color: #778697; font-size: 9px; }
.deal-card strong { margin: 8px 0 13px; font-size: 12px; line-height: 1.3; }
.deal-card.active { border-left-color: #e0aa34; }
.deal-card.done { border-left-color: var(--teal); }
.preview-link { display: flex; justify-content: space-between; margin-top: 14px; padding: 13px 2px 0; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }

.responsibility { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; border-bottom: 1px solid var(--line); }
.responsibility p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.deliverables { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.deliverables ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd6e3; }
.deliverables li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid #cbd6e3; font-size: 16px; }
.deliverables li span { color: var(--blue); font-size: 12px; font-weight: 850; }
.contact-section { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; max-width: 1180px; margin: 0 auto 80px; padding: 52px; border-radius: 20px; background: linear-gradient(120deg, #235bc8, #267f9f); color: white; box-shadow: 0 23px 60px rgba(37,99,235,0.16); }
.contact-section h2 { max-width: 750px; color: white; }
.contact-section p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: #d6e6f5; font-size: 17px; line-height: 1.6; }
.button.inverse { min-width: 240px; background: white; color: #1749b0; }
.button.inverse:hover { transform: translateY(-2px); }
.footer { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: auto; padding: 26px 28px; border-top: 1px solid var(--line); color: #718096; font-size: 12px; }
.footer .brand { color: var(--ink); }
.footer .brand img { width: 42px; height: 42px; }
.footer p { margin: 0; }
.footer > a:last-child { text-decoration: none; }

@media (max-width: 980px) {
    .hero, .intro, .process-inner, .case-grid, .responsibility, .deliverables { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-copy { max-width: 760px; }
    .hero-visual { max-width: 650px; }
    .outcome-grid { grid-template-columns: repeat(2, 1fr); }
    .intro, .responsibility, .deliverables { gap: 35px; }
    .contact-section { grid-template-columns: 1fr; gap: 30px; }
    .topnav > a:not(.nav-cta) { display: none; }
}

@media (max-width: 640px) {
    .topbar { min-height: 64px; padding: 5px 16px; }
    .brand img { width: 52px; height: 52px; }
    .nav-cta { padding: 9px 11px; font-size: 12px; }
    .hero { padding: 48px 19px 60px; gap: 42px; }
    h1 { font-size: 41px; }
    .lead { font-size: 17px; }
    .hero-actions { flex-direction: column; }
    .button { width: 100%; }
    .hero-visual { padding-top: 118px; }
    .hero-visual::before { inset: 35px -8px -18px 25px; }
    .hero-brand { top: -40px; right: 2px; }
    .hero-brand img { width: 145px; height: 145px; }
    .hero-brand strong { font-size: 16px; }
    .hero-brand small { font-size: 9px; }
    .diagnostic-card { padding: 12px; border-radius: 13px; }
    .signal { grid-template-columns: 25px 1fr; }
    .signal-state { grid-column: 2; justify-self: start; }
    .trust-strip { align-items: flex-start; flex-direction: column; gap: 11px; padding: 18px 24px; }
    .section { padding: 70px 19px; }
    .intro, .process-inner { gap: 32px; }
    .outcome-grid { grid-template-columns: 1fr; }
    .outcome-grid article { min-height: 225px; }
    .outcome-grid h3 { margin-top: 40px; }
    .kanban-preview { grid-template-columns: 1fr; }
    .kanban-column { min-height: 0; }
    .case-meta { flex-direction: column; align-items: flex-start; }
    .contact-section { margin: 0 15px 50px; padding: 34px 24px; border-radius: 16px; }
    .footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 24px 19px; }
    .footer p { order: 3; }
}
