/* ============ Arvalyx brand tokens ============ */
:root {
  --navy: #0B1F3A;
  --navy-2: #12294A;
  --navy-3: #1B365D;
  --teal: #0FA3A3;
  --teal-600: #0C8A8A;
  --teal-50: #E7F6F6;
  --ink: #0B1F3A;
  --body: #42526B;
  --muted: #6B7A90;
  --line: #E3E8EF;
  --tint: #F4F6F9;
  --white: #fff;
  --amber: #F2A93B;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,31,58,.04), 0 8px 24px rgba(11,31,58,.06);
  --shadow-lg: 0 24px 60px rgba(4,14,30,.35);
  --max: 1180px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--body);
  font-size: 17px; line-height: 1.6; background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.01em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-600); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,31,58,.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.nav.is-scrolled { background: rgba(11,31,58,.96); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.brand__mark { width: 32px; height: 32px; color: currentColor; }
.brand__word { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.72); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { padding: 8px 24px 24px; display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: rgba(255,255,255,.85); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 16px; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,.78);
  padding: 96px 0 120px; margin-top: -72px; padding-top: calc(72px + 88px);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(15,163,163,.22), transparent 70%),
    radial-gradient(500px 360px at 10% 100%, rgba(27,54,93,.9), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(40px, 5.2vw, 62px); letter-spacing: -0.015em; margin: 18px 0 22px; }
.accent { color: var(--teal); }
.lead { font-size: 19px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: 15px; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: rgba(15,163,163,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230FA3A3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.eyebrow--light { color: var(--teal); }

/* Hero dashboard visual */
.hero__visual { position: relative; padding: 24px 0 40px; }
.dash {
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transform-origin: left center;
}
.dash__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
.dash__bar span { width: 10px; height: 10px; border-radius: 50%; background: #DCE2EA; }
.dash__bar p { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dash__body { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.kpi small { font-size: 11.5px; color: var(--muted); }
.kpi strong { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; }
.up { color: var(--teal-600); }
.down { color: var(--teal-600); }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.chart__head { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink); }
.chart__tag { font-size: 11px; color: var(--teal-600); background: var(--teal-50); padding: 2px 8px; border-radius: 99px; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.bars i { flex: 1; height: var(--h); background: var(--navy-3); border-radius: 5px 5px 2px 2px; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(n+6) { background: var(--navy); }
.bars i.f { background: repeating-linear-gradient(135deg, var(--teal) 0 6px, #3DBABA 6px 12px); }
.bars i:nth-child(1){animation-delay:.05s}.bars i:nth-child(2){animation-delay:.1s}.bars i:nth-child(3){animation-delay:.15s}.bars i:nth-child(4){animation-delay:.2s}.bars i:nth-child(5){animation-delay:.25s}.bars i:nth-child(6){animation-delay:.3s}.bars i:nth-child(7){animation-delay:.35s}.bars i:nth-child(8){animation-delay:.4s}.bars i:nth-child(9){animation-delay:.5s}.bars i:nth-child(10){animation-delay:.6s}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.float {
  position: absolute; display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(4,14,30,.3);
  font-size: 13px; color: var(--muted); animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; color: var(--ink); font-size: 14px; }
.float--a { left: -36px; bottom: 6px; }
.float--b { right: -16px; top: -6px; animation-delay: -3s; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(242,169,59,.2); }
.dot--teal { background: var(--teal); box-shadow: 0 0 0 4px rgba(15,163,163,.2); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ Sections ============ */
.section { padding: 112px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2, .section h2 { font-size: clamp(32px, 3.8vw, 46px); margin-top: 12px; }
.sub { font-size: 19px; margin-top: 18px; color: var(--body); }
.sub--light { color: rgba(255,255,255,.72); }
.h3-lg { font-size: clamp(24px, 2.6vw, 32px); margin-top: 10px; }
.center { text-align: center; }
.mt { margin-top: 96px; }

/* Costs grid */
.costs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.costs article { padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.costs article:hover { background: var(--tint); }
.costs h3 { font-size: 20px; margin-bottom: 8px; }
.costs p { font-size: 15.5px; }

/* Struggle → answer */
.answer { margin-top: 72px; background: var(--navy); border-radius: 24px; padding: 40px 48px; color: rgba(255,255,255,.65); }
.answer__head, .answer li { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; gap: 16px; }
.answer__head { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.answer__head span:last-child { color: var(--teal); }
.answer li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
.answer li:last-child { border-bottom: 0; padding-bottom: 0; }
.answer li span { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.answer li b { color: var(--teal); text-align: center; font-size: 20px; font-weight: 400; }
.answer li strong { color: var(--white); font-weight: 600; }

/* Platform features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,31,58,.04), 0 18px 40px rgba(11,31,58,.1); }
.feature h3 { font-size: 19px; margin: 20px 0 8px; }
.feature p { font-size: 15.5px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 112px; }
.steps3 { margin-top: 32px; display: grid; gap: 22px; counter-reset: s; }
.steps3 li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; counter-increment: s; }
.steps3 li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); font-weight: 700; display: grid; place-items: center; }
.steps3 strong { color: var(--ink); font-size: 18px; }

.tasks { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.tasks__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 8px; }
.tasks__head strong { color: var(--ink); font-size: 17px; }
.tasks__head span { font-size: 13px; color: var(--muted); }
.task { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.task b { color: var(--ink); font-weight: 600; font-size: 15px; display: block; }
.task small { font-size: 12.5px; color: var(--muted); }
.chk { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #C9D2DE; }
.chk.done { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--teal); }
.task:has(.done) b { color: var(--muted); text-decoration: line-through; }
.pill { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--tint); color: var(--body); white-space: nowrap; }
.pill--ok { background: var(--teal-50); color: var(--teal-600); }
.pill--warn { background: #FDF1DE; color: #A86A0E; }

.insight { margin-top: 112px; }
.insight__head { text-align: center; margin-bottom: 40px; }
.insight__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight__grid article { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; align-content: start; }
.tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.spark { width: 100%; height: 56px; }
.spark polyline { vector-effect: non-scaling-stroke; fill: none; stroke: var(--navy-3); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark--fc .dash-line { stroke: var(--teal); stroke-dasharray: 5 5; }
.live { height: 56px; display: flex; align-items: center; gap: 8px; padding-left: 6px; font-size: 15px; color: var(--muted); }
.live b { color: var(--ink); font-size: 22px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); position: relative; flex: none; margin-right: 8px; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

/* Security */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.vault { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; border-radius: 20px; border: 1px solid rgba(15,163,163,.35); background: rgba(15,163,163,.06); max-width: 420px; }
.vault span { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px; color: var(--white); font-weight: 600; font-size: 15px; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-list li { padding: 28px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255,255,255,.07); }
.sec-list li::before {
  content: ""; display: block; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 18px;
  background: rgba(15,163,163,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230FA3A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center/22px no-repeat;
}
.sec-list h3 { font-size: 18px; margin-bottom: 6px; }
.sec-list p { font-size: 15px; }

/* If / then rules */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rules article { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rules p { padding: 22px 26px; }
.rules span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.if { background: var(--tint); color: var(--ink); font-weight: 600; font-size: 18px; }
.if span { color: var(--muted); }
.then { font-size: 16px; }
.then span { color: var(--teal-600); }

.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.industries article { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.industries article:hover { border-color: var(--teal); transform: translateY(-3px); }
.industries h4 { font-size: 18px; margin-bottom: 8px; }
.industries p { font-size: 15.5px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); }
.pillar__n { font-size: 14px; font-weight: 700; color: var(--teal-600); }
.pillar h3 { font-size: 28px; margin: 8px 0 22px; }
.pillar li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.pillar li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--teal); flex: none; }

/* Promise */
.promise { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.promise blockquote { margin: 28px 0 0; font-size: 22px; font-style: italic; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--teal); }
.promise__items { display: grid; gap: 16px; }
.promise__items article { padding: 26px 28px; border-radius: var(--radius); background: var(--tint); }
.promise__items h3 { font-size: 19px; margin-bottom: 6px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.process::before { content: ""; position: absolute; top: 22px; left: 22px; right: calc((100% - 70px) / 6 - 22px); height: 2px; background: linear-gradient(90deg, var(--navy-3), var(--teal)); opacity: .25; }
.process li { position: relative; display: flex; flex-direction: column; }
.process__n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 0 0 6px var(--tint); }
.process li:last-child .process__n { background: var(--teal); }
.process h3 { font-size: 19px; margin-bottom: 6px; }
.process p { font-size: 15px; flex: 1; }
.process small { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; }
.process small span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 2px; }

/* Mission / vision / values */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { border-radius: 24px; padding: 44px; background: var(--tint); display: grid; gap: 18px; align-content: start; }
.mv__card--dark { background: var(--navy); }
.mv__quote { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.mv__card--dark .mv__quote { color: var(--white); }
.mv__note { font-size: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values article { padding: 30px 28px 32px 0; border-bottom: 1px solid var(--line); }
.values h3 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.values h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); }
.values p { font-size: 15.5px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.talk { margin-top: 36px; display: grid; gap: 16px; }
.talk li { display: grid; padding-left: 20px; border-left: 2px solid rgba(15,163,163,.5); }
.talk strong { color: var(--white); font-size: 17px; }
.talk span { font-size: 15px; }
.journey { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.journey li { font-size: 14px; font-weight: 600; color: var(--white); padding: 8px 16px; border-radius: 99px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; }
.journey li + li::before { content: "→"; color: var(--teal); margin-left: -4px; }

.form { background: var(--white); border-radius: 24px; padding: 40px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.form h3 { color: var(--ink); font-size: 24px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid #D3DAE4; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,163,163,.15); }
.form .invalid { border-color: #D14343; }
.form__status { font-size: 14px; min-height: 1.4em; color: var(--teal-600); font-weight: 600; }
.form__status.err { color: #C23A3A; }
.form button:disabled { opacity: .7; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.reach { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.reach a { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 14px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); color: var(--white); font-weight: 600; transition: border-color .2s; }
.reach a:hover { border-color: var(--teal); }
.reach small { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.6); }
.reach__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(15,163,163,.15); display: grid; place-items: center; flex: none; }
.reach__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.footer { background: #071629; color: rgba(255,255,255,.6); padding: 72px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer nav, .footer__grid > div:last-child { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: var(--white); }
.footer__tag { margin-top: 16px; max-width: 26em; }
.footer__base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .costs { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .float--a { left: -8px; }
  .float--b { right: 0; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { padding-bottom: 88px; }
  .hero__grid, .split, .security, .promise, .contact, .mv { grid-template-columns: 1fr; gap: 48px; }
  .dash { transform: none; }
  .rules, .insight__grid, .pillars { grid-template-columns: 1fr; }
  .industries, .values { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 88px 0; }
  .mt, .split, .insight { margin-top: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .costs, .features, .industries, .values, .sec-list, .process, .form__row { grid-template-columns: 1fr; }
  .answer { padding: 28px 22px; }
  .answer__head { display: none; }
  .answer li { grid-template-columns: 1fr; gap: 4px; }
  .answer li b { display: none; }
  .answer li strong::before { content: "→ "; color: var(--teal); }
  .kpi strong { font-size: 18px; }
  .float { position: static; margin-top: 12px; animation: none; }
  .form, .mv__card { padding: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ v2: engagement upgrades ============ */

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--teal), #5FD4D4); transform-origin: left; transform: scaleX(0); }

/* WhatsApp button */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(7,22,41,.25);
  transition: transform .2s, box-shadow .2s;
}
.wa:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(7,22,41,.3); }
.wa svg { width: 26px; height: 26px; }

/* Cost calculator */
.section--calc { background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%); padding-top: 0; padding-bottom: 8px; }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.calc__inputs { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: grid; gap: 30px; }
.calc__field { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.calc__field label { font-weight: 600; color: var(--ink); font-size: 16px; }
.calc__field output { font-weight: 700; color: var(--teal-600); font-size: 20px; font-variant-numeric: tabular-nums; }
.calc__field input[type=range], .calc__field small, .calc__rate { grid-column: 1 / -1; }
.calc__field small { font-size: 13.5px; color: var(--muted); margin-top: -2px; }
.calc__rate { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.calc__rate select, .calc__rate input {
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 12px 14px; border: 1px solid #D3DAE4; border-radius: var(--radius-sm); background: var(--white); width: 100%;
}
.calc__rate select:focus, .calc__rate input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,163,163,.15); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) var(--p), #E3E8EF var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: #E3E8EF; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--teal); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); margin-top: -8px; box-shadow: 0 2px 8px rgba(11,31,58,.2); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); box-shadow: 0 2px 8px rgba(11,31,58,.2); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.calc__result {
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px; color: rgba(255,255,255,.75);
  background: radial-gradient(420px 300px at 100% 0%, rgba(15,163,163,.28), transparent 70%), var(--navy);
  display: flex; flex-direction: column;
}
.calc__label { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.calc__big { font-size: clamp(40px, 5vw, 60px); font-weight: 700; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.calc__sub { margin-top: 8px; font-size: 16px; }
.calc__sub span { color: var(--white); font-weight: 600; }
.calc__bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; margin-top: 30px; background: rgba(255,255,255,.08); }
.calc__bar span { display: block; height: 100%; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.calc__bar-keep { background: #3A5378; }
.calc__bar-save { background: repeating-linear-gradient(135deg, var(--teal) 0 8px, #3DBABA 8px 16px); }
.calc__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13.5px; }
.calc__legend span { display: inline-flex; align-items: center; gap: 8px; }
.calc__legend i { width: 10px; height: 10px; border-radius: 3px; }
.calc__legend .k { background: #3A5378; }
.calc__legend .s { background: var(--teal); }
.calc__wins { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.calc__wins div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.calc__wins small { font-size: 13px; }
.calc__wins strong { color: var(--white); font-size: 24px; font-variant-numeric: tabular-nums; }
.calc__result .btn { margin-top: auto; }
.calc__note { font-size: 12.5px; margin-top: 14px; color: rgba(255,255,255,.55); }

/* Animated If -> Then flow */
.rules article { display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s; }
.rules article:hover { border-color: rgba(15,163,163,.5); box-shadow: var(--shadow); }
.flow { position: relative; height: 34px; margin: 0 26px; }
.flow::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--teal) 0 4px, transparent 4px 8px); opacity: .5; }
.flow i { position: absolute; left: 6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,163,163,.18); animation: flow 2.2s ease-in-out infinite; }
.rules article:nth-child(2) .flow i { animation-delay: .7s; }
.rules article:nth-child(3) .flow i { animation-delay: 1.4s; }
@keyframes flow { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 28px; opacity: 0; } }
.rules .then { padding-top: 10px; }

/* Industry explorer */
.center-head { margin-inline: auto; text-align: center; margin-bottom: 32px; }
.explorer__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.explorer__tabs button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--body); cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.explorer__tabs button:hover { border-color: var(--teal); color: var(--ink); }
.explorer__tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.explorer__panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; background: var(--tint); border-radius: 28px; padding: 48px; }
.explorer__copy, .mini { transition: opacity .25s, transform .25s; }
.explorer__panel.is-switching .explorer__copy, .explorer__panel.is-switching .mini { opacity: 0; transform: translateY(8px); }
.explorer__copy h4 { font-size: clamp(26px, 2.6vw, 34px); }
.explorer__copy > p { font-size: 18px; margin-top: 12px; }
.explorer__copy ul { margin-top: 22px; display: grid; gap: 12px; }
.explorer__copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.explorer__copy li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C8A8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat;
}
.mini { background: var(--white); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.mini__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.mini__head strong { color: var(--ink); font-size: 16px; }
.mini__head span { font-size: 11.5px; font-weight: 600; color: var(--teal-600); background: var(--teal-50); padding: 3px 9px; border-radius: 99px; }
.mini__rows { display: grid; gap: 14px; }
.mrow { display: grid; grid-template-columns: 130px 1fr 64px; gap: 14px; align-items: center; font-size: 14px; }
.mrow > span:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow__track { height: 10px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.mrow__fill { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--navy-3); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.mrow--ok .mrow__fill { background: var(--teal); }
.mrow--warn .mrow__fill { background: var(--amber); }
.mrow b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini__alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #FDF6EA; font-size: 14px; color: #6B4A12; }
.mini__alert p { font-weight: 500; }
.explorer__fallback { display: grid; gap: 10px; }

@media (max-width: 900px) {
  .calc, .explorer__panel { grid-template-columns: 1fr; }
  .explorer__panel { padding: 28px; gap: 28px; }
  .explorer__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .explorer__tabs button { flex: none; }
}
@media (max-width: 600px) {
  .calc__inputs, .calc__result { padding: 26px; }
  .calc__wins strong { font-size: 20px; }
  .mrow { grid-template-columns: 96px 1fr 52px; gap: 10px; font-size: 13px; }
  .wa span { display: none; }
  .wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow i { display: none; }
}
