:root {
  --navy: #0b1424; --navy2: #112038; --teal: #0a5c73; --teal2: #14b8a6; --orange: #f5a623;
  --ink: #0f1f2b; --mute: #546674; --line: #dde7ec; --bg: #f6f9fb; --card: #fff; --soft: #eaf5f7;
  --r: 18px; --shadow: 0 10px 40px rgba(8, 40, 60, .12); --shadow2: 0 24px 70px rgba(8, 40, 60, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
h1, h2, h3 { letter-spacing: -.02em; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s, box-shadow .3s, padding .3s; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; transition: padding .3s; }
.hdr.scrolled { background: rgba(11, 20, 36, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.hdr.scrolled .wrap { padding: 8px 0; }
.brand img { height: 44px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #d3e2ea; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--orange); transition: width .25s var(--ease); }
.nav a:not(.btn):hover { color: #fff; } .nav a:not(.btn):hover::after { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 14px 24px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease), box-shadow .2s, background .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--orange); color: #1b1203; box-shadow: 0 8px 24px rgba(245, 166, 35, .35); } .btn.primary:hover { background: #ffb840; box-shadow: 0 12px 30px rgba(245, 166, 35, .5); }
.btn.primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn.primary:hover::after { left: 130%; }
.btn.ghost { border-color: rgba(255, 255, 255, .4); color: #fff; } .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.dark { background: var(--teal); color: #fff; } .btn.dark:hover { background: #0c6e89; }
.btn.line { border-color: var(--teal); color: var(--teal); background: #fff; } .btn.line:hover { background: var(--soft); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 18px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, rgba(11,20,36,.82) 0%, rgba(15,42,69,.62) 58%, rgba(10,92,115,.34) 130%), #0b1424 url(assets/water-hero.jpg) center / cover no-repeat; color: #fff; padding: 150px 0 110px; }
.hero.small { padding: 138px 0 74px; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; right: -120px; top: -140px; background: #14b8a6; }
.blob.b2 { width: 420px; height: 420px; left: -140px; bottom: -160px; background: #f5a623; opacity: .25; animation-delay: -6s; }
.hero .grid-bg { position: absolute; inset: 0; 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: 52px 52px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 13px; color: var(--orange); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #5eead4, #f5d27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #c9dbe4; max-width: 600px; margin: 0 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips span { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 7px 15px; font-size: 14px; color: #d6e6ee; }
.hero .logo-ff { height: 52px; background: #fff; border-radius: 12px; padding: 8px 16px; margin-bottom: 22px; }

/* device mock */
.stage { position: relative; padding: 10px 0 40px 0; }
.win { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow2); border: 1px solid rgba(255, 255, 255, .1); }
.win .bar { height: 32px; background: #e9eff3; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #d7e1e7; }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: #c6d2da; display: block; }
.win .bar i:nth-child(1) { background: #ff6b6b; } .win .bar i:nth-child(2) { background: #ffc34d; } .win .bar i:nth-child(3) { background: #3ddc97; }
.win .bar span { margin-left: 12px; background: #fff; border-radius: 6px; font-size: 12px; color: #7a8d99; padding: 3px 12px; }
.win img { width: 100%; }
.stage .win.main { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .6s var(--ease); }
.stage:hover .win.main { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.stage .ph { position: absolute; right: -10px; bottom: -6px; width: 31%; animation: float 6s ease-in-out infinite; }
.ph .frame { border: 4px solid #0e1822; border-radius: 30px; padding: 6px; background: #0e1822; box-shadow: var(--shadow2); }
.ph .frame img { border-radius: 24px; }
.badge { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow2); display: flex; align-items: center; gap: 9px; animation: float 7s ease-in-out infinite; }
.badge b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.badge.a { left: -22px; top: 22%; animation-delay: -2s; } .badge.a b { background: #e0453a; }
.badge.b { left: 8%; bottom: -8px; animation-delay: -4s; } .badge.b b { background: var(--teal2); }

/* ---------- sections ---------- */
section { padding: 92px 0; position: relative; }
section.alt { background: #fff; }
section.dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; }
.kicker { text-transform: uppercase; letter-spacing: 1.8px; font-weight: 700; font-size: 13px; color: var(--teal); margin: 0 0 12px; }
section.dark .kicker { color: var(--orange); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; margin: 0 0 14px; color: #0b3447; font-weight: 800; }
section.dark h2 { color: #fff; }
.sub { color: var(--mute); font-size: 19px; max-width: 720px; margin: 0 0 44px; }
section.dark .sub { color: #aac0cc; }
.grid { display: grid; gap: 26px; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }

/* problem strip */
.five { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 26px; }
.five span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 18px; font-weight: 700; color: #4a5d6a; position: relative; box-shadow: 0 2px 8px rgba(8, 40, 60, .06); }
.five span.x::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2.5px; background: #e0453a; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.in .five span.x::after, .five.in span.x::after { transform: scaleX(1); }
.five span.x:nth-child(2)::after { transition-delay: .15s; } .five span.x:nth-child(3)::after { transition-delay: .3s; } .five span.x:nth-child(4)::after { transition-delay: .45s; } .five span.x:nth-child(5)::after { transition-delay: .6s; }
.five .arrow { font-size: 26px; color: var(--teal); font-weight: 800; padding: 0 4px; }
.five .one { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 8px 22px rgba(10, 92, 115, .35); }

/* tabs showcase */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; color: #3d5361; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.tabs button:hover { border-color: var(--teal); color: var(--teal); }
.tabs button.on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(10, 92, 115, .3); }
.panel { display: none; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.panel.on { display: grid; animation: fadeUp .6s var(--ease) both; }
.panel h3 { font-size: 30px; margin: 0 0 10px; color: #0b3447; line-height: 1.15; }
.panel p { color: var(--mute); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal2) 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='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.duo { position: relative; padding-bottom: 38px; }
.duo .win.second { position: absolute; width: 46%; right: -14px; bottom: 0; box-shadow: var(--shadow2); border: 1px solid var(--line); }
.win.light { border: 1px solid var(--line); box-shadow: var(--shadow); }
.phone-row { display: flex; gap: 22px; justify-content: center; align-items: flex-end; }
.phone-row .ph { position: static; width: 31%; max-width: 230px; animation: none; }
.phone-row .ph:nth-child(2) { transform: translateY(-26px); }
.phone-row .ph .frame { border-color: #1c2b34; background: #1c2b34; }
.zoom { cursor: zoom-in; }

/* timeline */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; background: rgba(255, 255, 255, .15); }
.steps::after { content: ""; position: absolute; left: 6%; top: 27px; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal2), var(--orange)); transition: width 1.6s var(--ease) .2s; }
.steps.in::after { width: 88%; }
.step { text-align: center; position: relative; z-index: 1; }
.step .dot { width: 54px; height: 54px; border-radius: 50%; background: #16304c; border: 2px solid var(--teal2); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 800; color: #fff; font-size: 18px; box-shadow: 0 0 0 6px rgba(20, 184, 166, .12); }
.step h4 { margin: 0 0 4px; font-size: 17px; } .step p { margin: 0; color: #9db4c2; font-size: 14.5px; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 2px 14px rgba(8, 40, 60, .06); transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; font-size: 20px; color: #0b3447; }
.card p { margin: 0; color: var(--mute); font-size: 16px; }
.ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #0a5c73, #14b8a6); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(10, 92, 115, .28); }
.ic svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* spotlight */
.spot { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.spot .stage2 { position: relative; }
.spot .stage2 .ph { position: absolute; right: -16px; bottom: -30px; width: 30%; animation: float 6.5s ease-in-out infinite; }

/* band + delivery card */
.band { background: linear-gradient(120deg, var(--teal), #0f8a8a); color: #fff; border-radius: 26px; padding: 46px 50px; display: flex; gap: 28px; justify-content: space-between; align-items: center; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.band h3 { margin: 0 0 8px; font-size: 28px; } .band p { margin: 0; color: #d4f1f0; max-width: 640px; }
.also { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.also h3 { font-size: 30px; margin: 6px 0 10px; color: #0b3447; }
.tag { display: inline-block; background: var(--soft); color: var(--teal); font-weight: 700; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; border-radius: 999px; padding: 5px 13px; }

/* delivery note mock */
.dn { background: #fff; border: 1px solid #c7d3da; border-radius: 8px; padding: 22px 24px; box-shadow: var(--shadow); font-size: 13px; color: #223; max-width: 470px; margin: 0 auto; }
.dn .top { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #0a5c73; padding-bottom: 10px; margin-bottom: 12px; }
.dn .logo { background: #e6eef2; color: #7a8d97; font-weight: 800; letter-spacing: 1px; padding: 8px 16px; border-radius: 4px; font-size: 12px; }
.dn h4 { margin: 0; font-size: 15px; letter-spacing: 1px; }
.dn table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.dn td, .dn th { border: 1px solid #9fb0b9; padding: 5px 8px; text-align: left; font-size: 12.5px; }
.dn th { background: #eaf4f6; }
.dn .sig { display: flex; gap: 12px; margin-top: 14px; }
.dn .sig div { flex: 1; border: 1px solid #9fb0b9; height: 70px; padding: 6px 8px; font-size: 11.5px; color: #55666f; }
.dn small { color: #7a8d97; display: block; margin-top: 10px; font-size: 11.5px; }
.dn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 15px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; color: #1c3342; }
input, select, textarea { font: inherit; border: 1.5px solid #c5d3da; border-radius: 11px; padding: 12px 14px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal2); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
.formnote { font-size: 14px; color: var(--mute); margin: 0; }
.crow { display: flex; gap: 12px; flex-wrap: wrap; }
.ci { display: grid; gap: 14px; margin-top: 10px; }
.ci a { text-decoration: none; font-weight: 700; font-size: 19px; }

/* footer */
.ftr { background: var(--navy); color: #9fb3be; padding: 54px 0 32px; font-size: 15px; }
.ftr .wrap { display: grid; gap: 24px; }
.ftr .row { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ftr a { color: #dfeef3; }
.ftr img { height: 46px; border-radius: 9px; }
.ftr .disc { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: 13.5px; color: #8398a4; }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(6, 12, 22, .92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 3vw; cursor: zoom-out; }
.lb.on { display: flex; animation: fade .25s both; }
.lb img { max-width: 100%; max-height: 94vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lb button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 40px) scale(1.12); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-grid, .panel.on, .spot, .also, .contact, .dn-wrap { grid-template-columns: 1fr; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 26px; } .steps::before, .steps::after { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 18px 4vw 26px; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  section { padding: 64px 0; }
  .hero { padding: 118px 0 70px; }
  .stage .win.main { transform: none; }
  .badge.a { left: 4px; top: 12%; } .badge.b { display: none; }
  .duo .win.second { position: relative; width: 70%; right: auto; margin: -30px 0 0 auto; }
  .band, .also { padding: 30px 24px; }
  .spot .stage2 .ph { right: 0; }
}

/* phone fixes: long words (the email address) must not widen the layout */
.contact > *, .hero-grid > *, .panel > *, .spot > *, .also > *, .dn-wrap > *, .g2 > *, .g3 > *, .g4 > * { min-width: 0; }
.ci a { overflow-wrap: anywhere; }
@media (max-width: 600px) { .ci a { font-size: 17px; } .contact form { padding: 22px; } .also { padding: 26px 20px; } .hero h1 { font-size: 36px; } }
body { overflow-x: clip; }
.contact form, label { grid-template-columns: minmax(0, 1fr); }
input, select, textarea { width: 100%; min-width: 0; }
.crow .btn { flex: 1 1 auto; }
img { height: auto; }
.win img, .frame img, .ph img { height: auto; }

/* AquaLoop: report cards with a screenshot on top */
.rpt3 .card { padding: 18px 18px 24px; }
.rpt3 .card img.thumb { width: 100%; height: 230px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 16px; background: #fff; display: block; }
.rpt3 .card:nth-child(2) img.thumb { object-position: left top; }

/* video section */
.vsw{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 18px}
.vsw button{font:inherit;font-weight:600;padding:10px 18px;border-radius:40px;border:1px solid var(--line);background:#fff;cursor:pointer;color:#0b3447}
.vsw button.on{background:var(--teal);border-color:var(--teal);color:#fff}
.vgrid{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr);gap:22px;align-items:start}
.vbox video{width:100%;aspect-ratio:16/9;background:#06222f;border-radius:18px;box-shadow:var(--shadow);display:block}
.vbox video[hidden]{display:none}
.chap{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;max-height:560px;overflow:auto}
.chap.off{opacity:.35;pointer-events:none}
.chap-h{margin:2px 8px 8px;font-weight:700;color:#0b3447}
.chap button{display:flex;gap:10px;width:100%;text-align:left;font:inherit;font-size:15px;padding:8px 10px;border:0;background:none;border-radius:10px;cursor:pointer;color:#0b3447}
.chap button:hover{background:#e8f4f6}
.chap button i{font-style:normal;color:var(--teal);font-weight:700;min-width:38px}
.chap button.cur{background:#d8eef1;font-weight:700}
.vcta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.acct{background:#eef7f8;border:1px solid #bfe0e4;border-radius:22px;padding:30px 36px}
.acct h3{margin:6px 0 8px;font-size:26px;color:#0b3447}.acct p{margin:0;max-width:820px;color:var(--mute)}
.bcta{display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:1}
@media(max-width:900px){.vgrid{grid-template-columns:1fr}.chap{max-height:260px}.band{padding:34px 26px}}
