:root {
  --navy-950: #092D43;
  --navy-900: #0D3852;
  --navy-800: #124A66;
  --navy-700: #1B617B;
  --teal-600: #0E9FA0;
  --teal-500: #12B6AD;
  --blue-500: #4B78F2;
  --blue-100: #EDF2FF;
  --aqua-100: #E9F8F7;
  --aqua-50: #F6FBFB;
  --sand-100: #F5F1E8;
  --sand-50: #FBF9F4;
  --white: #FFFFFF;
  --text: #173F56;
  --muted: #637E8D;
  --line: #D8E8EC;
  --line-strong: #C5DEE4;
  --shadow: 0 24px 60px rgba(29, 82, 105, 0.12);
  --shadow-soft: 0 14px 34px rgba(29, 82, 105, 0.09);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-aqua { background: var(--aqua-50); }
.section-sand { background: var(--sand-50); }
.section-navy { background: var(--navy-950); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .78rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--teal-500); }
.section-navy .eyebrow { color: #78E0D5; }
.section-navy .eyebrow::before { background: #78E0D5; }

h1, h2, h3, h4 { margin: 0; color: var(--navy-950); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 6.2rem); max-width: 980px; }
h2 { font-size: clamp(2.25rem, 4.3vw, 4.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 760px; }
.section-navy .lead { color: #D3E6ED; }

.topbar { background: var(--navy-950); color: #D7EEF0; font-size: .86rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar strong { color: #82E1D7; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197,222,228,.72);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 12px; border-radius: 10px; font-size: .96rem; font-weight: 650; color: var(--navy-800); }
.site-nav a:hover, .site-nav a.active { background: var(--aqua-100); color: var(--navy-950); }
.nav-cta { margin-left: 8px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--navy-950); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); margin: 4px auto; border-radius: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 760;
  transition: .22s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--teal-500), var(--blue-500)); color: var(--white); box-shadow: 0 10px 24px rgba(61, 128, 176, .18); }
.btn-secondary { background: var(--white); color: var(--navy-950); border-color: var(--line-strong); }
.btn-ghost { color: var(--navy-950); background: transparent; border-color: var(--line-strong); }
.section-navy .btn-secondary { background: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(18,182,173,.18), transparent 28%),
    radial-gradient(circle at 74% 56%, rgba(75,120,242,.12), transparent 25%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FCFC 100%);
  padding: 74px 0 84px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: linear-gradient(rgba(18,74,102,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(18,74,102,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(9,45,67,.45), transparent 80%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-600), var(--blue-500)); -webkit-background-clip: text; color: transparent; }
.hero-copy .lead { margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: "✓"; color: var(--teal-600); font-weight: 900; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 40px rgba(30,85,109,.09)); }
.float-chip {
  position: absolute;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 750;
  color: var(--navy-800);
}
.float-chip.one { top: 12%; right: 1%; }
.float-chip.two { bottom: 12%; left: 1%; }
.float-chip small { display: block; color: var(--muted); font-weight: 600; }

.stat-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy-950); font-size: 1.3rem; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: .92rem; }

.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 44px; }
.section-head h2 { max-width: 800px; }
.section-head .lead { margin: 0; max-width: 500px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 285px;
  transition: .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--aqua-100);
  color: var(--teal-600);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.card:nth-child(2n) .icon { background: var(--blue-100); color: var(--blue-500); }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }
.card .card-link { position: absolute; bottom: 28px; left: 30px; color: var(--navy-900); font-weight: 760; }
.card .card-link::after { content: " →"; color: var(--teal-600); }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.feature-visual {
  min-height: 520px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 20%, rgba(75,120,242,.2), transparent 28%),
    radial-gradient(circle at 20% 78%, rgba(18,182,173,.2), transparent 30%),
    linear-gradient(145deg, #EAF8F7, #F4F7FF);
  border: 1px solid var(--line);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.flow-window { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-soft); }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.flow-dots { display: flex; gap: 6px; }
.flow-dots span { width: 8px; height: 8px; border-radius: 50%; background: #C8DDE4; }
.flow-badge { background: var(--aqua-100); color: var(--teal-600); font-weight: 760; font-size: .76rem; padding: 6px 10px; border-radius: 999px; }
.flow-node { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; background: #FCFEFE; }
.flow-node .nicon { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-500); font-weight: 900; }
.flow-node strong { display: block; font-size: .95rem; color: var(--navy-900); }
.flow-node small { color: var(--muted); }
.flow-connector { height: 22px; width: 2px; background: linear-gradient(var(--teal-500), var(--blue-500)); margin: -1px 0 -1px 32px; }
.feature-copy .lead { margin: 18px 0 26px; }
.check-list { display: grid; gap: 13px; margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: var(--aqua-100); color: var(--teal-600); font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process-item { counter-increment: step; border-top: 1px solid #3F6479; padding: 24px 8px 10px 0; }
.process-item::before { content: "0" counter(step); display: block; color: #76D8D0; font-weight: 800; letter-spacing: .14em; margin-bottom: 36px; }
.process-item h3 { margin-bottom: 12px; }
.process-item p { color: #C8DCE5; margin: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { border: 1px solid var(--line-strong); background: var(--white); color: var(--navy-800); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: .9rem; }

.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
}
.cta-panel::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(18,182,173,.18); right: -100px; top: -160px; }
.cta-panel h2 { color: var(--white); max-width: 820px; }
.cta-panel p { color: #D4E5EB; max-width: 700px; margin: 18px 0 28px; }

.page-hero { padding: 84px 0 74px; background: linear-gradient(180deg, var(--aqua-50), var(--white)); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--teal-600); font-weight: 700; }

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.solution-panel { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 34px; background: var(--white); }
.solution-panel h3 { margin-bottom: 12px; }
.solution-panel p { color: var(--muted); }
.solution-panel ul { margin: 20px 0 0; padding-left: 18px; color: var(--text); }
.solution-panel li + li { margin-top: 9px; }

.ai-capability { display: grid; grid-template-columns: 180px 1fr; gap: 28px; border-top: 1px solid var(--line); padding: 34px 0; }
.ai-capability .num { font-size: 2.6rem; font-weight: 850; letter-spacing: -.05em; color: #BDD7DE; }
.ai-capability h3 { margin-bottom: 10px; }
.ai-capability p { color: var(--muted); margin: 0; max-width: 780px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { padding: 26px; border-radius: var(--radius-md); background: var(--sand-50); border: 1px solid #EBE2D2; }
.case-card .tag { display: inline-block; padding: 7px 10px; border-radius: 999px; background: var(--white); color: var(--teal-600); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.case-card h3 { margin: 20px 0 10px; }
.case-card p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-quote { position: sticky; top: 120px; padding: 34px; border-radius: var(--radius-md); background: var(--aqua-100); border: 1px solid var(--line); font-size: 1.3rem; color: var(--navy-800); font-weight: 700; }
.about-copy p { color: var(--muted); font-size: 1.04rem; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.value { border-top: 2px solid var(--teal-500); padding-top: 16px; }
.value strong { display: block; color: var(--navy-950); margin-bottom: 7px; }
.value span { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: start; }
.contact-card { background: var(--navy-950); color: var(--white); border-radius: var(--radius-md); padding: 38px; }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card p { color: #CFE1E8; }
.contact-item { border-top: 1px solid #365D72; padding: 18px 0; }
.contact-item strong { display: block; color: #83E0D8; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; color: var(--navy-900); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); background: var(--white); color: var(--text); border-radius: 14px; padding: 14px 15px; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(18,182,173,.1); }
.field textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { color: var(--muted); font-size: .86rem; }

.site-footer { background: #0B334B; color: #D5E6EC; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr .9fr 1fr; gap: 32px; }
.footer-brand img { width: 170px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { color: #BFD4DD; max-width: 360px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: .98rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #C8DCE5; font-size: .93rem; }
.footer-links a:hover { color: #8CE0D9; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #31576C; display: flex; justify-content: space-between; gap: 20px; color: #AFC6D1; font-size: .86rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .topbar-right { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-soft); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; }
  .hero-grid, .feature-split, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 800px; }
  .hero-art { max-width: 720px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .about-quote { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .hero { padding: 54px 0 64px; }
  .brand img { width: 168px; }
  .float-chip { display: none; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 18px; }
  .stats, .card-grid, .case-grid, .solution-grid, .process, .values, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .ai-capability { grid-template-columns: 1fr; gap: 8px; }
  .ai-capability .num { font-size: 1.4rem; }
  .feature-visual { min-height: auto; padding: 18px; }
  .cta-panel { padding: 38px 26px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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


/* Legal center and policy pages */
.legal-hero h1 { max-width: 880px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted); font-size: .92rem; }
.legal-meta strong { color: var(--navy-900); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 118px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--aqua-50); }
.legal-toc strong { display: block; color: var(--navy-950); margin-bottom: 10px; }
.legal-toc nav { display: grid; gap: 7px; }
.legal-toc a { color: var(--navy-700); font-size: .92rem; padding: 5px 0; }
.legal-toc a:hover { color: var(--teal-600); }
.legal-content { max-width: 860px; }
.legal-content section { scroll-margin-top: 120px; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-content h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); margin-bottom: 14px; }
.legal-content h3 { font-size: 1.12rem; margin: 24px 0 9px; letter-spacing: -.01em; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { margin: 0 0 14px; }
.legal-content ul, .legal-content ol { margin: 12px 0 16px; padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { padding: 24px 26px; border: 1px solid var(--line-strong); border-left: 4px solid var(--teal-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--aqua-50); margin: 0 0 34px; }
.legal-callout strong { color: var(--navy-950); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-warning { background: var(--sand-50); border-color: #E8DCC7; border-left-color: #D39A45; }
.legal-caps { font-weight: 780; color: var(--navy-900) !important; letter-spacing: .01em; }
.legal-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.legal-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.legal-card .tag { display: inline-block; padding: 6px 10px; margin-bottom: 18px; border-radius: 999px; background: var(--aqua-100); color: var(--teal-600); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.legal-card h3 { margin-bottom: 10px; }
.legal-card p { color: var(--muted); margin-bottom: 18px; }
.legal-card a { color: var(--teal-600); font-weight: 760; }
.privacy-banner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.privacy-point { padding: 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.privacy-point strong { display: block; color: var(--navy-950); margin-bottom: 5px; }
.privacy-point span { color: var(--muted); font-size: .92rem; }
.footer-bottom a { color: #8CE0D9; }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
  .privacy-banner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .legal-card-grid { grid-template-columns: 1fr; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-meta { display: grid; gap: 6px; }
}
