@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #0B1B2B;
    --ink-2: #1E2F40;
    --text: #334155;
    --muted: #5E6E7E;
    --line: #E2E8EE;
    --bg: #FFFFFF;
    --bg-soft: #F4F7F9;
    --accent: #0E7C86;
    --accent-strong: #0A6168;
    --accent-bright: #33C3CF;
    --accent-soft: #E5F4F5;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 43, .06);
    --shadow: 0 1px 2px rgba(11, 27, 43, .05), 0 12px 32px -12px rgba(11, 27, 43, .18);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 22px; border-radius: 10px;
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(14, 124, 134, .7); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #C5D0DA; background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; }
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.brand-text { line-height: 1.15; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { white-space: nowrap; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 8px; transition: color .2s, background-color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--accent); font-weight: 600; }
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--accent); }
.nav-links .btn { white-space: nowrap; height: 42px; margin-left: 12px; padding: 0 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 24px 24px; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 18px; }
.mobile-menu.open { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #F3F8F9 0%, #FFFFFF 100%); }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%);
    opacity: .6; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.badge-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.badge-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,134,.18); }
.hero h1 { margin-top: 24px; font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }

/* Hero visual */
.visual { position: relative; padding: 20px 0 62px 20px; }
.window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -24px rgba(11,27,43,.28), 0 2px 6px rgba(11,27,43,.05); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE3EA; }
.window-bar span { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.window-body { padding: 22px; display: grid; gap: 18px; }
.w-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.w-head h4 { font-size: 16px; }
.w-head p { font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-green { background: #E7F6EE; color: #157347; }
.chip-green::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chart { background: var(--bg-soft); border-radius: 12px; padding: 16px 16px 10px; }
.chart-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 500; }
.chart-top b { color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.chart svg { width: 100%; height: 90px; margin-top: 6px; }
.tasks { display: grid; gap: 10px; }
.task { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.task .check { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.task .check svg { width: 13px; height: 13px; }
.task .check.todo { background: #fff; border: 1.5px solid #CBD5DF; }
.task .check.doing { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.bar { width: 84px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.float-card {
    position: absolute; left: -12px; bottom: 0; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: var(--ink); color: #fff; border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(11,27,43,.6); font-size: 13px;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(51,195,207,.16); display: grid; place-items: center; color: var(--accent-bright); }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 14px; }
.float-card span { color: #A9B7C4; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Sections */
section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; max-width: 480px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { margin-top: 16px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
    position: relative; display: flex; flex-direction: column; padding: 34px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service:hover { border-color: #C9DCE0; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service-num { font-size: 13px; font-weight: 700; color: #A3B1BE; letter-spacing: .08em; }
.service h3 { margin-top: 26px; font-size: 22px; }
.service p { margin-top: 10px; color: var(--muted); }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 8px; background: var(--bg-soft); font-size: 13px; font-weight: 500; color: var(--ink-2); }

.services-bridge { margin-top: 20px; display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px dashed #C9DCE0; }
.services-bridge .ai-icon { background: var(--ink); flex-shrink: 0; }
.services-bridge p { flex: 1; color: var(--ink-2); font-weight: 500; }
.services-bridge .btn { flex-shrink: 0; height: 44px; }

/* Process */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.step h3 { margin-top: 22px; font-size: 18px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Tech */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tech-group { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.tech-group h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tech-group ul { margin-top: 18px; display: grid; gap: 12px; }
.tech-group li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.tech-group li i { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); opacity: .85; }

/* AI Solutions (dark) */
.ai { background: radial-gradient(ellipse 80% 60% at 85% 0%, rgba(51,195,207,.18) 0%, transparent 60%), var(--ink); color: #B9C6D2; }
.ai .eyebrow { color: var(--accent-bright); }
.ai h2 { color: #fff; }
.ai .section-head p { color: #A9B7C4; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: border-color .25s, background-color .25s, transform .25s; }
.ai-card:hover { border-color: rgba(51,195,207,.45); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.ai-icon { width: 48px; height: 48px; border-radius: 13px; background: rgba(51,195,207,.14); color: var(--accent-bright); display: grid; place-items: center; }
.ai-icon svg { width: 24px; height: 24px; }
.ai-card h3 { margin-top: 22px; color: #fff; font-size: 19px; }
.ai-card p { margin-top: 10px; font-size: 15px; }
.ai-card .tags { margin-top: auto; padding-top: 20px; }
.ai-card .tags li { background: rgba(255,255,255,.07); color: #D5E0EA; }
.ai-bottom { margin-top: 20px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.ai-panel { display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-lg); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }
.ai-panel h3 { color: #fff; font-size: 20px; }
.ai-trust { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.ai-trust li, .ai-flow li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ai-trust .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(51,195,207,.12); color: var(--accent-bright); display: grid; place-items: center; }
.ai-trust .ic svg { width: 20px; height: 20px; }
.ai-trust h4, .ai-flow h4 { color: #fff; font-size: 15px; letter-spacing: -0.01em; }
.ai-trust p, .ai-flow p { margin-top: 4px; font-size: 14px; }
.ai-flow { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.ai-flow .step-n { width: 40px; height: 40px; background: var(--accent); }
.ai-panel .btn { margin-top: 28px; align-self: flex-start; }

/* About (dark) */
.about { background: var(--ink); color: #B9C6D2; position: relative; overflow: hidden; }
.about::after {
    content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(51,195,207,.16) 0%, transparent 65%); pointer-events: none;
}
.about .eyebrow { color: var(--accent-bright); }
.about h2 { color: #fff; }
.about-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.about-copy h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.about-copy p { margin-top: 20px; font-size: 17px; }
.about-loc { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.about-loc svg { width: 20px; height: 20px; color: var(--accent-bright); }
.why { display: grid; gap: 14px; }
.why li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(51,195,207,.12); color: var(--accent-bright); display: grid; place-items: center; }
.why .ic svg { width: 22px; height: 22px; }
.why h3 { color: #fff; font-size: 16px; letter-spacing: -0.01em; }
.why p { margin-top: 4px; font-size: 14.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--accent) 0%, var(--accent-strong) 100%); color: #D8F0F2; position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.contact-info h3 { color: #fff; font-size: 26px; }
.contact-info > p { margin-top: 10px; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; position: relative; z-index: 1; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.08); transition: background-color .2s; }
.contact-list a:hover { background: rgba(255,255,255,.14); }
.contact-list .ic { width: 42px; height: 42px; border-radius: 10px; background: #fff; color: var(--accent); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A6DDE1; }
.contact-list b { color: #fff; font-weight: 600; }
.contact-info .btn { margin-top: auto; position: relative; z-index: 1; }
.contact-info .spacer { flex: 1; min-height: 28px; }

.form-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form-card h3 { font-size: 24px; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; color: var(--ink); }
input, select, textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
    border: 1px solid #D3DCE4; border-radius: 10px; padding: 12px 14px;
    transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #97A5B2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,124,134,.12); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { resize: vertical; min-height: 120px; }
.form-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
form .btn { height: 52px; }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq .section-head { grid-template-columns: 1fr; margin-bottom: 0; position: sticky; top: 104px; }
.faq .section-head p { margin-top: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #C9DCE0; box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 600; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }
.form-note.ok { color: #157347; font-weight: 600; }

/* Footer */
footer { background: var(--ink); color: #93A3B2; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
footer .brand { color: #fff; }
footer .brand small { color: #7D8E9E; }
footer p { margin-top: 18px; max-width: 360px; font-size: 15px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; }
footer ul { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; }
footer ul a:hover { color: #fff; }
.socials { margin-top: 24px; display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: background-color .2s; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* WhatsApp floating */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1FAF57; color: #fff; box-shadow: 0 12px 28px -10px rgba(31,175,87,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .visual { max-width: 560px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .tech-grid, .ai-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid, .ai-bottom, .faq-grid { grid-template-columns: 1fr; }
    .faq-grid { gap: 32px; }
    .faq .section-head { position: static; }
    .nav-links a:not(.btn) { padding: 8px 10px; }
}
@media (max-width: 1140px) {
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
    .section-head { grid-template-columns: 1fr; gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .tech-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    section { padding: 72px 0; }
    .hero { padding: 48px 0 64px; }
    .hero-lead { font-size: 17px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .visual { padding: 10px 0 62px; }
    .float-card { left: 8px; }
    .window-body { padding: 16px; }
    .bar { width: 56px; }
    .steps, .tech-grid, .ai-grid, .ai-trust, .form-actions { grid-template-columns: 1fr; }
    .service, .contact-info, .form-card, .ai-card, .ai-panel { padding: 26px; }
    .faq-item summary { padding: 18px; }
    .services-bridge { flex-direction: column; align-items: flex-start; padding: 22px; }
    .faq-item p { padding: 0 18px 18px; }
    form { grid-template-columns: 1fr; }
    .stat { padding: 26px 12px; }
    .stat b { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Language switch */
.lang-switch { display: inline-flex; margin-left: 10px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.lang-switch a { padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.2; transition: color .2s, background-color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.nav-links .lang-switch a:not(.btn) { padding: 5px 10px; font-size: 13px; }
.nav-links .lang-switch a[aria-current="true"]:hover { background: var(--ink); color: #fff; }
.mobile-menu .lang-switch { display: flex; margin: 18px 0 0; }
.mobile-menu .lang-switch a { flex: 1; text-align: center; padding: 10px; border-bottom: 0; font-size: 14px; }
.mobile-menu .lang-switch a[aria-current="true"] { color: #fff; }

/* Legal pages */
.legal-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.legal-wrap { padding: 56px 0 96px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.legal-toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.legal-toc a { display: block; padding: 5px 0; font-size: 14px; font-weight: 500; color: var(--text); }
.legal-toc a:hover { color: var(--accent); }
.legal { max-width: 720px; }
.legal section { padding: 0; scroll-margin-top: 96px; }
.legal section + section { margin-top: 40px; }
.legal h2 { font-size: 22px; font-weight: 800; }
.legal h3 { margin-top: 20px; font-size: 17px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal-note { margin-top: 40px; padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink-2); font-size: 15px; }
.form-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) {
    .legal-grid { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; }
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 96px 0; background: linear-gradient(180deg, #F3F8F9 0%, #FFFFFF 100%); }
.notfound b { display: block; font-size: clamp(72px, 14vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--accent); }
.notfound h1 { margin-top: 16px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.notfound p { margin: 12px auto 0; max-width: 480px; color: var(--muted); }
.notfound .hero-actions { justify-content: center; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, #F3F8F9 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line); }
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 0%, transparent 70%);
    opacity: .55; pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero h1 { margin-top: 16px; max-width: 820px; font-size: clamp(34px, 4.8vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.page-lead { margin-top: 20px; max-width: 680px; font-size: 18px; color: var(--muted); }
section.soft { background: var(--bg-soft); }

.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C86' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Digitalization detail rows */
.details { display: grid; gap: 20px; }
.detail { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: 96px; transition: border-color .25s, box-shadow .25s; }
.detail:hover { border-color: #C9DCE0; box-shadow: var(--shadow); }
.detail h3 { margin-top: 24px; font-size: 24px; }
.detail-main p { margin-top: 10px; color: var(--muted); }
.detail-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-left: 40px; border-left: 1px solid var(--line); }
.detail-lists h4, .product-ex h4, .tl-lists h4 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.uc h3 { font-size: 16px; }
.uc p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* Icon cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icard { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.icard h3 { margin-top: 22px; font-size: 18px; }
.icard p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* AI products */
.products { display: grid; gap: 16px; }
.product { display: grid; grid-template-columns: 48px 1.2fr 1fr; gap: 28px; align-items: start; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.product:hover { border-color: #C9DCE0; box-shadow: var(--shadow); }
.product .ai-icon { background: var(--ink); }
.product h3 { font-size: 20px; }
.product p { margin-top: 8px; color: var(--muted); }
.product-ex { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.ai > .container > .ai-bottom { margin-top: 0; }

/* Process timeline */
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.tl-step { display: grid; grid-template-columns: 40px 1fr; gap: 24px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.tl-body h3 { font-size: 21px; margin-top: 6px; }
.tl-body > p { margin-top: 8px; color: var(--muted); }
.tl-lists { margin-top: 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.split-p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.prose p { margin-top: 18px; font-size: 17px; }
.panel { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.panel .checklist li { font-size: 16px; }
.vm h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.vm h3 + p { margin: 10px 0 26px; font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.vm h3 + .checklist { margin-top: 14px; }

/* Technology */
.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.tech-card h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tech-card ul { margin-top: 16px; display: grid; gap: 14px; }
.tech-card li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tech-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.tech-card b { color: var(--ink); }
.tech-card span { font-size: 14px; color: var(--muted); }

/* FAQ page */
.faq-page .container { max-width: 880px; display: grid; gap: 48px; }
.faq-cat h2 { margin-bottom: 18px; font-size: 22px; font-weight: 800; }

/* Contact page & steps */
.contact-page { padding-top: 72px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* CTA band */
.cta-band { padding: 0 0 104px; }
.soft + .cta-band, .ai + .cta-band, .about + .cta-band { padding-top: 104px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: var(--radius-lg); background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(51,195,207,.22), transparent 60%), var(--ink); color: #B9C6D2; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.cta-box p { margin-top: 10px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* Homepage "see more" links */
.section-more { margin-top: 32px; display: flex; justify-content: center; }
.section-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.section-more a svg { width: 18px; height: 18px; transition: transform .2s; }
.section-more a:hover svg { transform: translateX(3px); }
.ai .section-more a, .about .section-more a { color: var(--accent-bright); }
.about .section-more { justify-content: flex-start; }

@media (max-width: 1024px) {
    .detail { grid-template-columns: 1fr; gap: 28px; }
    .detail-lists { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
    .usecases, .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .product { grid-template-columns: 48px 1fr; }
    .product-ex { grid-column: 2; }
    .tech-cards { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
    .cards-3, .steps-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .page-hero { padding: 40px 0 48px; }
    .page-lead { font-size: 17px; }
    .detail, .product, .tl-step, .icard, .panel { padding: 24px; }
    .detail-lists, .tl-lists, .usecases, .cards-4, .tech-cards { grid-template-columns: 1fr; }
    .product { grid-template-columns: 1fr; gap: 16px; }
    .product-ex { grid-column: auto; }
    .tl-step { grid-template-columns: 1fr; gap: 14px; }
    .cta-box { padding: 32px 24px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .cta-band { padding-bottom: 72px; }
    .soft + .cta-band, .ai + .cta-band, .about + .cta-band { padding-top: 72px; }
}
.faq .section-more { justify-content: flex-start; margin-top: 24px; }

/* Hero supporting label */
.hero-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-strong); }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }

/* ===== Rivertide Shift AI ===== */
.sa-chip { vertical-align: middle; background: var(--bg-soft); color: var(--ink-2); }
.sa-chip.is-brand { background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; letter-spacing: .02em; }
.sa-chip.is-ok { background: #E7F6EE; color: #157347; }
.sa-chip.is-warn { background: #FFF4E0; color: #9A5B00; }
.sa-chip.is-alert { background: #FDECEC; color: #B42318; }
h2 .sa-chip, .page-hero .eyebrow + .sa-chip { position: relative; top: -2px; margin-left: 6px; }
.sa-figure { margin: 0; }
.sa-caption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.sa-window .window-body { gap: 14px; }
.sa-fake-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; justify-self: start; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.sa-fake-btn svg { width: 14px; height: 14px; }
.sa-fake-btn.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sa-progress { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.sa-progress span { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.sa-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 14px; }
.sa-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sa-mini-h { margin: 24px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sa-small { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.sa-center { text-align: center; }
.sa-opt { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.sa-callout { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink-2); font-size: 15px; }
.sa-callout svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.sa-note { margin-top: 18px; display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.sa-note svg { width: 18px; height: 18px; color: var(--accent); }

/* Metrics + insight */
.sa-metrics { display: grid; gap: 10px; }
.sa-metrics-4 { grid-template-columns: repeat(2, 1fr); }
.sa-metrics-5 { grid-template-columns: repeat(5, 1fr); }
.sa-metric { padding: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.sa-metric span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.sa-metric b { display: block; margin-top: 6px; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.sa-metric.is-warn b { color: #9A5B00; }
.sa-metric.is-alert b { color: #B42318; }
.sa-insight { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: var(--ink); color: #C9D5E0; }
.sa-insight p { font-size: 14px; line-height: 1.55; }
.sa-insight-head { display: flex; align-items: center; gap: 10px; }
.sa-insight-head b { color: #fff; font-size: 14px; }
.sa-spark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(51,195,207,.16); color: var(--accent-bright); }
.sa-spark svg { width: 16px; height: 16px; }

/* Homepage product section */
.sa-home { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.sa-subtitle { font-size: 19px !important; font-weight: 600; color: var(--ink-2) !important; }
.sa-home-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.sa-home-copy > p { font-size: 16.5px; color: var(--text); }
.sa-home-copy > p + p { margin-top: 12px; }
.sa-features { margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.sa-features li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.sa-features .ai-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); }
.sa-features .ai-icon svg { width: 20px; height: 20px; }
.sa-features h3 { font-size: 15.5px; }
.sa-features p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.sa-home .hero-actions { margin-top: 0; }

/* Product hero */
.sa-hero .hero-grid { align-items: center; }
.sa-hero .breadcrumb span:not([aria-hidden]):not([aria-current]) { color: var(--muted); }
.sa-shift-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.sa-time { font-size: 13px; font-weight: 700; color: var(--ink); }
.sa-shift-main b { display: block; font-size: 14.5px; color: var(--ink); }
.sa-shift-main > span { display: block; margin: 2px 0 8px; font-size: 12.5px; color: var(--muted); }

/* Problem */
.sa-panel-intro { font-weight: 600; color: var(--ink); }
.sa-balance { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sa-balance li { padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sa-panel-closing { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--accent-strong); }

/* How it works */
.sa-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.sa-step { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.sa-step:not(:last-child)::after { content: ''; position: absolute; top: 45px; right: -17px; width: 18px; height: 2px; background: #C9DCE0; }
.sa-step h3 { margin-top: 18px; font-size: 17px; }
.sa-step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* Split helpers */
.sa-split { align-items: center; }
.sa-split .checklist { margin-top: 20px; }

/* Marketplace */
.sa-slot { display: grid; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.sa-slot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sa-slot-top b { display: block; font-size: 15px; color: var(--ink); }
.sa-slot-top span:not(.chip) { display: block; font-size: 13px; color: var(--muted); }
.sa-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.sa-checks li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #E7F6EE; color: #157347; font-size: 12px; font-weight: 600; }
.sa-checks li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Host score */
.sa-host-card { display: grid; gap: 20px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(11,27,43,.22), 0 2px 6px rgba(11,27,43,.05); max-width: 460px; margin: 0 auto; }
.sa-host-head { display: flex; align-items: center; gap: 12px; }
.sa-host-head .sa-avatar { width: 46px; height: 46px; font-size: 18px; }
.sa-host-head b { display: block; color: var(--ink); font-size: 17px; }
.sa-host-head span:not(.chip) { font-size: 13px; color: var(--muted); }
.sa-host-head .chip { margin-left: auto; }
.sa-score { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; color: var(--ink-2); }
.sa-ring { --v: 0; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--line) 0); }
.sa-ring b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-size: 22px; font-weight: 800; color: var(--ink); }
.sa-cats { display: grid; gap: 12px; }
.sa-cat { display: grid; grid-template-columns: 90px 1fr 32px; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sa-cat b { text-align: right; color: var(--ink); }
.sa-fit { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }

/* Claude section */
.sa-claude .split { align-items: center; }
.sa-claude .split-p { color: #A9B7C4; }
.sa-chat { position: relative; margin: 0; display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.sa-example { position: absolute; top: -11px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.sa-prompt { padding: 16px; border-radius: 12px; background: #fff; color: var(--ink-2); }
.sa-prompt p { margin-top: 6px; font-size: 14.5px; }
.sa-answer { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(51,195,207,.06); border: 1px solid rgba(51,195,207,.22); }
.sa-results { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sa-results li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.sa-results .sa-avatar { background: rgba(51,195,207,.16); color: var(--accent-bright); }
.sa-result-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sa-result-top b { color: #fff; }
.sa-match { padding: 2px 9px; border-radius: 999px; background: rgba(51,195,207,.16); color: var(--accent-bright); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.sa-results p { margin-top: 4px; font-size: 13.5px; color: #B9C6D2; line-height: 1.5; }
.sa-approval { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #fff; }
.sa-approval svg { width: 18px; height: 18px; color: var(--accent-bright); }

/* Rules + AI */
.sa-flow-wrap { margin-bottom: 24px; text-align: center; }
.sa-flow-wrap .sa-mini-h { margin-top: 0; }
.sa-flow { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; }
.sa-flow-item { position: relative; padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sa-flow-item:not(:last-child)::after { content: '→'; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.sa-flow-item.is-claude { background: var(--ink); border-color: var(--ink); color: #fff; }
.sa-flow-item.is-rules { background: var(--accent-soft); border-color: #BFE3E6; color: var(--accent-strong); }
.sa-flow-item.is-human { background: #E7F6EE; border-color: #BFE5CF; color: #157347; }
.sa-rules { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.sa-rule-card { height: 100%; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.sa-rule-card.is-claude { background: var(--ink); border-color: var(--ink); color: #B9C6D2; }
.sa-rule-card.is-claude h3 { color: #fff; }
.sa-rule-card.is-claude .checklist li { color: #D5E0EA; }
.sa-rule-card.is-claude .checklist li::before { background-color: rgba(51,195,207,.18); }
.sa-rule-card h3 { margin-top: 18px; font-size: 21px; }
.sa-rule-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sa-rule-card.is-claude .sa-rule-sub { color: #93A3B2; }
.sa-rule-card h4 { margin: 20px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sa-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 22px; font-weight: 700; color: var(--accent); }
.sa-human { margin-top: 20px; display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-radius: var(--radius-lg); background: #fff; border: 2px solid #BFE5CF; }
.sa-human .service-icon { background: #E7F6EE; color: #157347; }
.sa-human h3 { font-size: 18px; }
.sa-human p { margin-top: 2px; color: var(--muted); }

/* Attendance */
.sa-optional { display: grid; gap: 10px; }
.sa-optional li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.sa-optional li::before { content: ''; width: 18px; height: 18px; border-radius: 6px; border: 1.5px dashed #A3B1BE; flex-shrink: 0; }
.sa-att-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.sa-att-main b { display: block; font-size: 14.5px; color: var(--ink); }
.sa-att-main span { font-size: 12.5px; color: var(--muted); }
.sa-att-time { font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Dashboard */
.sa-dash-wide { max-width: 980px; margin: 0 auto; }

/* Host mobile */
.sa-phone-wrap { display: flex; justify-content: center; }
.sa-phone { width: 320px; padding: 12px; border-radius: 40px; background: var(--ink); box-shadow: 0 30px 60px -24px rgba(11,27,43,.4); }
.sa-phone-screen { display: grid; gap: 14px; padding: 22px 16px 0; border-radius: 30px; background: var(--bg-soft); overflow: hidden; }
.sa-phone-top { display: flex; justify-content: space-between; align-items: center; }
.sa-phone-top b { font-size: 18px; color: var(--ink); }
.sa-next { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: var(--accent); color: #D8F0F2; font-size: 13px; }
.sa-next .sa-label { color: #A6DDE1; }
.sa-next b { margin-top: 4px; font-size: 17px; color: #fff; }
.sa-next .sa-fake-btn { margin-top: 12px; width: 100%; justify-content: center; background: #fff; border-color: #fff; color: var(--accent-strong); font-size: 14px; padding: 10px; }
.sa-week { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sa-week b { color: var(--ink); }
.sa-phone-nav { margin: 4px -16px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 10px 4px 14px; background: #fff; border-top: 1px solid var(--line); }
.sa-phone-nav span { display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 0; font-size: 9px; letter-spacing: -0.01em; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }
.sa-phone-nav svg { width: 18px; height: 18px; }
.sa-phone-nav .is-active { color: var(--accent); }

/* Roadmap */
.sa-roadmap-copy { max-width: 680px; margin: -24px auto 40px; text-align: center; color: var(--muted); font-size: 17px; }
.sa-roadmap-copy p + p { margin-top: 10px; }
.sa-stages { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sa-stage { position: relative; display: grid; justify-items: start; gap: 12px; padding: 22px; border-radius: var(--radius-lg); border: 1px dashed #C5D0DA; background: #fff; }
.sa-stage b { color: var(--ink); font-size: 16px; line-height: 1.3; }
.sa-stage .step-n { background: #A3B1BE; }
.sa-stage.is-start { border: 2px solid var(--accent); }
.sa-stage.is-start .step-n { background: var(--accent); }
.sa-stage:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }

@media (max-width: 1180px) {
    .sa-steps { grid-template-columns: repeat(3, 1fr); }
    .sa-step::after, .sa-stage::after { display: none; }
    .sa-stages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .sa-home-grid { grid-template-columns: 1fr; gap: 40px; }
    .sa-metrics-5 { grid-template-columns: repeat(3, 1fr); }
    .sa-rules { grid-template-columns: 1fr; }
    .sa-plus { margin: 0 auto; }
    .sa-split.is-reversed > :first-child { order: 2; }
}
@media (max-width: 760px) {
    .sa-steps, .sa-stages { grid-template-columns: 1fr 1fr; }
    .sa-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .sa-steps, .sa-stages { grid-template-columns: 1fr; }
    .sa-metrics-5 { grid-template-columns: 1fr 1fr; }
    .sa-metrics-5 .sa-metric:first-child { grid-column: 1 / -1; }
    .sa-shift-row { grid-template-columns: 1fr auto; }
    .sa-time { grid-column: 1 / -1; }
    .sa-att-row { grid-template-columns: 36px 1fr auto; }
    .sa-att-row .chip { grid-column: 2 / -1; justify-self: start; }
    .sa-flow { flex-direction: column; align-items: center; gap: 26px; }
    .sa-flow-item:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -23px; transform: translateX(-50%); }
    .sa-human { flex-direction: column; align-items: flex-start; padding: 22px; }
    .sa-rule-card, .sa-host-card { padding: 22px; }
    .sa-chat { padding: 18px; }
    .sa-phone { width: 100%; max-width: 320px; }
    .sa-cat { grid-template-columns: 80px 1fr 28px; }
}

/* ===== Homepage hero: Rivertide Shift AI (dark) ===== */
.hero-product { padding-bottom: 40px; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(51,195,207,.22) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(14,124,134,.25) 0%, transparent 60%), var(--ink); color: #B9C6D2; }
.hero-product::before { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); opacity: 1; }
.hero-product .badge { gap: 8px; padding: 6px 14px 6px 10px; background: rgba(51,195,207,.12); border-color: rgba(51,195,207,.35); color: #7FE3EB; box-shadow: none; }
.hero-product .badge svg { width: 16px; height: 16px; }
.hero-product-name { margin-top: 22px; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); }
.hero-product h1 { margin-top: 10px; color: #fff; }
.hero-product h1 em { color: var(--accent-bright); }
.hero-product .hero-lead { color: #B9C6D2; }
.hero-product .btn-primary { background: var(--accent-bright); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(51,195,207,.7); }
.hero-product .btn-primary:hover { background: #5FD3DC; }
.hero-product .hero-points { color: #D5E0EA; }
.hero-product .hero-points svg { color: var(--accent-bright); }
.hero-product .window { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.1); }
.hero-product .sa-caption { color: #7D8E9E; margin-top: 56px; }
.hero-product .sa-figure > div { position: relative; }
.float-card.is-light { left: -24px; bottom: -40px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.float-card.is-light .ic { background: #E7F6EE; color: #157347; }
.float-card.is-light span:not(.ic) { color: var(--muted); }
.hero-agency { margin-top: 56px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.hero-agency p { color: #D5E0EA; font-weight: 500; }
.hero-agency a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-bright); }
.hero-agency a svg { width: 18px; height: 18px; transition: transform .2s; }
.hero-agency a:hover svg { transform: translateX(3px); }

/* Product link in the nav */
.nav-links a.nav-product:not(.btn), .mobile-menu a.nav-product { color: var(--accent); font-weight: 700; }

/* Decision flow strip in the homepage product section */
.sa-mini-flow { margin: -8px 0 28px; }
.sa-mini-flow .sa-mini-h { margin-top: 0; }
.sa-mini-flow .sa-flow { justify-content: flex-start; }

@media (max-width: 1024px) {
    .hero-product .visual { padding-bottom: 20px; }
}
@media (max-width: 600px) {
    .float-card.is-light { left: 8px; bottom: -48px; }
    .hero-agency { flex-direction: column; align-items: flex-start; }
    .sa-mini-flow .sa-flow { align-items: flex-start; }
    .sa-mini-flow .sa-flow-item:not(:last-child)::after { left: 24px; }
}
.sa-mini-flow .sa-flow { gap: 8px 24px; }
.sa-mini-flow .sa-flow-item { padding: 7px 11px; font-size: 12.5px; }
.sa-mini-flow .sa-flow-item:not(:last-child)::after { right: -18px; }

/* Contact page variants: ?service=shift-ai (see assets/contact-variant.js) */
html:not([data-contact-variant="shift-ai"]) .only-shift-ai { display: none !important; }
html[data-contact-variant="shift-ai"] .only-agency { display: none !important; }
.page-lead + .page-lead { margin-top: 12px; font-size: 16.5px; }

/* Screen-reader-only text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Founder (About page) */
.founder-section { padding-top: 0; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.founder-id { padding-right: 40px; border-right: 1px solid var(--line); }
.founder-avatar { width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--accent-bright); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.founder-id h2 { margin-top: 12px; font-size: 26px; font-weight: 800; }
.founder-role { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--accent-strong); }
.founder-bio { max-width: 680px; }
.founder-bio p { font-size: 16.5px; }
.founder-bio p + p { margin-top: 14px; }
.founder-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
    .founder { grid-template-columns: 1fr; gap: 28px; }
    .founder-id { padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
    .founder { padding: 24px; }
    .founder-actions .btn { flex: 1 1 100%; }
}
