/* ==========================================================================
   Sankyu Tech — static site stylesheet
   ========================================================================== */

:root {
  --red: #ed1e32;
  --red-dark: #d0162a;
  --navy: #32546d;        /* headings / blue cards */
  --navy-2: #223c4d;      /* cards on dark bands */
  --navy-3: #3c586b;      /* table group rows */
  --ink: #1b2a38;         /* dark section bands */
  --footer: #142632;
  --black: #0b0b0c;
  --text: #111418;
  --muted: #a3a6aa;       /* light grey body copy used in the mockup */
  --muted-2: #8c9197;
  --line: #e4e6e9;
  --pink: #fde3e4;
  --white: #fff;
  --radius: 14px;
  --container: 1270px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "IBM Plex Serif", "Source Serif 4", Georgia, serif;
  --font-cond: "Encode Sans Semi Condensed", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(237, 30, 50, .45); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.red { color: var(--red); }
.navy { color: var(--navy); }
.ink { color: var(--text); }
.white { color: #fff; }
em.red, .ital { font-style: italic; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 9px solid var(--red);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 146px; transition: height .25s ease;
}
.site-header.is-stuck .container { height: 84px; }
.brand img { width: 274px; height: auto; }
.nav { display: flex; align-items: center; gap: 44px; font-size: 20px; color: var(--navy); }
.nav > a, .nav-drop > button { color: var(--navy); padding: 8px 0; font-weight: 400; transition: color .15s; }
.nav > a:hover, .nav-drop > button:hover, .nav a.is-active { color: var(--red); }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 10px; font-size: inherit; }
.nav-drop .chev { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .2s; transform: rotate(180deg); }
.nav-drop.is-open .chev { transform: rotate(0deg); }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: -24px; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 38, 50, .14);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 16px; color: var(--navy); }
.nav-menu a:hover, .nav-menu a.is-active { background: #f4f6f8; color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang a { padding: 5px 9px; color: var(--muted-2); }
.lang a.is-active { background: var(--navy); color: #fff; }
.btn-demo {
  background: var(--red); color: #fff; font-size: 20px; line-height: 1;
  padding: 5px 23px 6px; border-radius: 5px; white-space: nowrap; transition: background .15s;
}
.btn-demo:hover { background: var(--red-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: transform .2s, opacity .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 20px; font-weight: 400; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #27445a; }
.btn-ghost { color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--black); }
.btn-sm { height: 40px; font-size: 15px; font-weight: 500; padding: 0 22px; }
.btn-square { border-radius: 6px 6px 14px 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.btn-row.center { justify-content: center; }

/* ---------- Shared bits ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.band { background: var(--ink); color: #fff; }
.eyebrow { display: flex; align-items: baseline; gap: 22px; font-size: 20px; text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
.eyebrow b { color: var(--red); font-weight: 400; }
.band .eyebrow { color: #fff; }
.eyebrow.center { justify-content: center; }
.eyebrow.all-red { color: var(--red); }

.display { font-size: clamp(38px, 5vw, 72px); line-height: 1.19; font-weight: 800; letter-spacing: -.015em; color: var(--navy); }
.display.sm { font-size: clamp(34px, 4.4vw, 64px); }
.display.xs { font-size: clamp(30px, 3.8vw, 56px); }
.display.black { color: var(--black); }
.band .display { color: #fff; }
.display .red, .band .display .red { color: var(--red); }
.lead { color: var(--muted); font-size: 20px; line-height: 1.2; }
.band .lead { color: #c5ccd2; }
.lead b, .lead strong { color: var(--text); font-weight: 500; }

.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.split-head .lead { padding-bottom: 14px; max-width: 660px; }
.split-head.top { align-items: start; }

.checks { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 20px; }
.checks.center { justify-content: center; }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.tick { width: 26px; height: 26px; color: var(--red); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border-radius: 999px;
  font-size: 12px; padding: 4px 14px 4px 5px; line-height: 1.2; vertical-align: middle;
}
.pill .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.pill .dot svg { width: 10px; height: 10px; }
.pill.red-pill { background: var(--red); padding: 3px 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.pill.black-pill { background: var(--black); padding: 3px 8px; font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}

/* ---------- Home hero ---------- */
.home-hero { padding: 86px 0 110px; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.home-hero-grid img { width: 100%; max-width: 640px; margin-inline: auto; }
.home-hero .kicker { color: var(--red); font-size: 20px; margin-bottom: 26px; }
.home-hero h1 { font-size: clamp(40px, 4.7vw, 67px); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.home-hero .lead { margin-top: 14px; max-width: 510px; color: #c9cbce; }
.home-hero .btn-row { margin-top: 54px; }
.home-hero .checks { margin-top: 30px; }
.wa { width: 30px; height: 30px; flex: none; }

/* ---------- Numbered feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 86px 78px; margin-top: 86px; }
.feat h3 { display: flex; gap: 28px; align-items: baseline; font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.feat h3 b { color: var(--red); font-weight: 400; font-size: 25px; }
.feat p { color: var(--muted); font-size: 20px; line-height: 1.2; font-weight: 300; text-align: justify; }

/* ---------- About ---------- */
.about { padding: 40px 0 0; }
.about-grid { display: grid; grid-template-columns: 0.86fr 1fr; gap: 36px; margin-top: 70px; }
.about h2 { font-size: clamp(38px, 4.7vw, 67px); line-height: 1.15; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.about-copy p { font-size: 20px; line-height: 1.2; color: var(--muted); margin-bottom: 22px; }
.about-copy p.strong { color: var(--black); font-weight: 500; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 50px; margin: 46px 0 34px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-cond); font-size: 44px; font-weight: 600; line-height: 1.05; color: var(--black); }
.stat span { font-size: 16px; color: var(--muted); font-weight: 300; }
.stats.left .stat { text-align: left; }
.stats.left .stat b { text-align: center; }

.marquee-wrap { margin-top: 34px; }
.marquee-label { font-size: 20px; color: var(--muted-2); text-transform: uppercase; }
.marquee { overflow: hidden; margin-top: 36px; padding-bottom: 110px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 38px; color: #9a9da1; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #8f9296; margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product family (home) ---------- */
.family { padding: 56px 0 62px; }
.family .split-head { margin-top: 18px; }
.flagship {
  margin-top: 62px; border: 3px solid #26404f; border-radius: 26px; overflow: hidden;
  display: grid; grid-template-columns: 0.94fr 1fr; min-height: 500px;
}
.flagship-body { background: var(--navy-2); padding: 20px 34px 50px; }
.flag-tag { display: inline-block; font-family: var(--font-serif); font-size: 19px; letter-spacing: .03em; color: #ff7b7f; background: rgba(237, 30, 50, .28); border-radius: 999px; padding: 1px 22px 2px 10px; }
.flag-meta { font-family: var(--font-serif); color: #b5c0c8; font-size: 19px; letter-spacing: .04em; margin-top: 10px; display: flex; gap: 28px; text-transform: uppercase; }
.flagship h3 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; margin-top: 12px; line-height: 1.15; }
.flagship p { color: #b9c3ca; font-size: 20px; line-height: 1.2; margin-top: 6px; max-width: 490px; font-weight: 300; }
.flag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin: 30px 0 46px; max-width: 560px; }
.flag-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #c6ced4; font-weight: 300; }
.cdot { width: 20px; height: 20px; border-radius: 50%; background: var(--red); display: inline-grid; place-items: center; flex: none; color: #fff; }
.cdot svg { width: 12px; height: 12px; }
.cdot.navy { background: var(--navy); }
.cdot.green { background: #3fb62f; }
.cdot.grey { background: #a8a8a8; }
.flagship-visual { background: var(--ink); display: grid; place-items: center; padding: 30px; }
.flagship-visual img { max-height: 380px; width: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.4)); }

.pcards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 40px -32px 0; }
.pcard {
  position: relative; background: var(--navy-2); border: 1px solid #2f4c5e; border-radius: 6px;
  padding: 12px 12px 12px; min-height: 216px; display: flex; flex-direction: column;
  color: #fff; transition: background .2s, color .2s, transform .2s;
}
.pcard .num { color: var(--red); font-size: 22px; }
.pcard img { position: absolute; right: 7px; top: 8px; width: 38px; height: 38px; border-radius: 7px; }
.pcard h3 { font-size: 21px; font-weight: 700; margin-top: 14px; line-height: 1; }
.pcard .kind { color: var(--red); font-size: 12px; line-height: 1; }
.pcard p { font-size: 12.5px; line-height: 1.22; margin-top: 22px; flex: 1; }
.pcard .more { align-self: flex-end; color: var(--red); font-size: 12px; }
.pcard:hover, .pcard.is-featured { background: #fff; color: var(--navy); transform: translateY(-3px); }
.pcard:hover .kind, .pcard.is-featured .kind { color: var(--black); }
.pcard:hover p, .pcard.is-featured p { color: #9aa0a6; }
.pcards:hover .pcard.is-featured:not(:hover) { background: var(--navy-2); color: #fff; transform: none; }
.pcards:hover .pcard.is-featured:not(:hover) .kind { color: var(--red); }
.pcards:hover .pcard.is-featured:not(:hover) p { color: #fff; }

/* ---------- Services ---------- */
.services { padding: 120px 0 90px; }
.services .display { margin-top: 12px; }
.svc-list { margin-top: 110px; }
.svc { display: grid; grid-template-columns: 124px 415px 1fr; align-items: start; padding: 16px 0 26px; }
.svc .idx { font-family: var(--font-serif); font-size: 19px; letter-spacing: .08em; padding-top: 8px; }
.svc h3 { font-size: 32px; font-weight: 700; line-height: 1.2; }
.svc p { color: var(--muted); font-size: 20px; line-height: 1.2; max-width: 640px; padding-top: 8px; }

/* ---------- Testimonials ---------- */
.testi { padding: 60px 0 100px; }
.testi .display { margin-top: 26px; font-size: clamp(34px, 4.3vw, 62px); }
.testi .split-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi .split-head { grid-template-columns: 1fr; } }
.quote { background: #203443; color: #fff; border-radius: 14px; padding: 54px 54px 36px; margin-top: 60px; }
.stars { display: flex; gap: 6px; color: var(--red); }
.stars svg { width: 40px; height: 40px; }
.stars.gold { color: #ffd60a; gap: 2px; }
.stars.gold svg { width: 22px; height: 22px; stroke: #1c1c1c; stroke-width: 1.4; }
.quote blockquote { margin: 26px 0 34px; font-size: clamp(22px, 2.5vw, 35px); line-height: 1.26; font-weight: 600; max-width: 980px; }
.quote .by { display: flex; align-items: center; gap: 20px; font-size: 20px; line-height: 1.2; }
.quote .by img { width: 62px; height: 62px; border-radius: 50%; }
.quote .by b { display: block; font-weight: 600; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 14px; margin-top: 34px; }
.review { border: 2px solid #eeeeee; border-radius: 12px; padding: 22px 18px 12px 30px; font-size: 20px; line-height: 1.2; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.review header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.review header img { width: 86px; height: 86px; border-radius: 50%; flex: none; }
.review header b { display: block; font-weight: 500; margin-top: 10px; }
.review time { display: block; text-align: right; margin-top: 8px; }

/* ---------- Clients ---------- */
.clients { padding: 90px 0 110px; }
.clients .display { margin-top: 26px; text-align: center; }
.clients .lead { text-align: center; max-width: 690px; margin: 24px auto 0; }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 20px; align-items: center; justify-items: center; margin: 64px 0 46px; }
.client-grid img { max-height: 150px; width: auto; transition: transform .2s; }
.client-grid img:hover { transform: scale(1.05); }

/* ---------- Contact / demo form ---------- */
.contact { padding: 60px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.88fr; gap: 110px; align-items: start; }
.contact h2 { margin-top: 14px; }
.contact .lead { margin-top: 20px; max-width: 600px; }
.map { display: block; margin-top: 26px; border-radius: 4px; overflow: hidden; }
.map img { width: 100%; }
.addr { padding: 28px 0 0 48px; font-size: 20px; line-height: 1.25; }
.addr p + p { margin-top: 26px; }
.addr .g { color: var(--muted); }
.form { padding-top: 62px; }
.form h3 { font-size: 40px; font-weight: 500; line-height: 1.2; }
.form > p { color: var(--muted); font-size: 20px; line-height: 1.2; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 10px; }
.field label { display: block; font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; height: 58px; padding: 0 16px; background: #fff;
  border: 2px solid #ececec; border-radius: 5px; font-size: 17px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: 38px; min-height: 38px; padding: 7px 18px; resize: vertical; line-height: 1.25; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(50,84,109,.12); }
.field input::placeholder, .field textarea::placeholder { color: #aeb1b5; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.form .submit {
  width: 100%; height: 52px; margin-top: 22px; background: var(--red); color: #fff;
  border-radius: 3px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: background .15s;
}
.form .submit:hover { background: var(--red-dark); }
.form .submit svg { width: 20px; height: 20px; }
.form-ok { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 8px; background: #eaf7ea; color: #1f6b2a; font-size: 16px; }
.form.sent .form-ok { display: block; }

/* product page demo block */
.demo { padding: 90px 0 110px; }
.demo-grid { display: grid; grid-template-columns: 1fr 0.74fr; gap: 80px; align-items: start; margin-top: 60px; }
.demo .lead { margin-top: 22px; max-width: 520px; color: #c9cbce; }
.demo .form { padding-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 20px 0 18px; font-size: 20px; line-height: 1.2; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.02fr 0.8fr; gap: 40px; width: min(1320px, 100% - 48px); margin-inline: auto; }
.site-footer img { width: 400px; }
.site-footer .ssm { margin-top: 26px; font-weight: 300; }
.site-footer h4 { font-size: 20px; font-weight: 700; margin: 10px 0 16px; }
.site-footer address { font-style: normal; font-weight: 300; max-width: 440px; }
.hours li { white-space: nowrap; display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-weight: 300; }

/* ==========================================================================
   Product pages
   ========================================================================== */
.crumbs { padding: 44px 0 0; font-size: 16px; text-transform: uppercase; color: var(--muted-2); }
.crumbs a:hover { color: var(--navy); }
.crumbs .here { color: var(--red); }
.ptitle { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; }
.ptitle img { width: 56px; height: auto; }
.ptitle span.name { font-size: 37px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1; }
.psub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14px; font-weight: 500; }

.phero { padding: 0 0 100px; }
.phero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.phero h1 { font-size: clamp(36px, 4.5vw, 66px); line-height: 1.13; font-weight: 800; color: var(--navy); letter-spacing: -.015em; margin-top: 12px; }
.phero .lead { margin-top: 22px; max-width: 560px; color: #c9cbce; }
.phero .btn-row { margin-top: 36px; }
.phero .checks { margin-top: 34px; }
.phero-media { position: relative; }
.phero-media img { margin-inline: auto; }
.phero.centered { text-align: center; padding-bottom: 120px; }
.phero.centered h1 { margin-top: 70px; }
.phero.centered .lead { margin: 44px auto 0; }
.phero.centered .btn-row { justify-content: center; }

.media-stack { position: relative; padding-bottom: 6%; }
.media-stack .front { position: absolute; right: -2%; bottom: 0; width: 46%; mix-blend-mode: multiply; }
.media-stack.phone-left .front { left: 0; right: auto; width: 34%; bottom: 0; }
.media-stack.phone-left .back { width: 80%; margin-left: 20%; }
.phero-media > img { max-height: 560px; width: auto; }

/* overview blocks */
.overview { padding: 60px 0 90px; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 54px; }
.ov-grid.rev .display { text-align: right; }
.ov-grid .lead + .lead { margin-top: 22px; }
.ov-note { margin-top: 18px; font-size: 20px; font-weight: 500; }

/* step cards with connector (Ar-Rahnu) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr) 1.42fr; gap: 26px; margin-top: 90px; align-items: stretch; }
.flow-card { position: relative; border: 2px solid #eee; border-radius: 10px; padding: 34px 24px 22px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.flow-card::after { content: ""; position: absolute; left: 100%; top: 50%; width: 28px; height: 3px; background: var(--red); margin-left: 2px; }
.flow-card .ic { width: 62px; height: 62px; border-radius: 10px; background: #fff6e9; display: grid; place-items: center; color: var(--red); margin-bottom: 30px; }
.flow-card .ic svg { width: 36px; height: 36px; }
.flow-card h3 { font-size: 24px; font-weight: 700; }
.flow-card p { font-size: 15px; margin-top: 4px; line-height: 1.15; max-width: 130px; }
.flow-end { display: flex; flex-direction: column; justify-content: space-between; text-align: center; font-size: 18px; }
.flow-end div { background: var(--navy); color: #fff; border-radius: 10px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; font-size: 24px; font-weight: 600; text-align: left; }
.flow-end .ic { width: 62px; height: 62px; background: #fff; color: var(--navy); border-radius: 10px; display: grid; place-items: center; flex: none; }
.flow-end .ic svg { width: 36px; height: 36px; }

/* 4-cell bordered row (Buyback overview) */
.cells { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid #e5e5e5; border-radius: 12px; margin-top: 54px; overflow: hidden; }
.cell { padding: 36px 34px 24px; border-left: 2px solid #e5e5e5; }
.cell:first-child { border-left: 0; }
.cell h3 { font-size: 24px; font-weight: 700; margin-top: 26px; line-height: 1.12; }
.cell p { font-size: 19px; margin-top: 16px; line-height: 1.2; }
.bubble { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.28); }
.bubble svg { width: 32px; height: 32px; }
.bubble.r { background: #f47883; }
.bubble.b { background: #5f86a8; }

/* coloured benefit cards */
.benefits { padding: 60px 0 110px; }
.benefits .display { margin-top: 44px; }
.bcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.bcard { text-align: left; border-radius: 8px; padding: 38px 30px 40px 34px; color: #fff; background: var(--navy); transition: transform .2s, box-shadow .2s; }
.bcard:nth-child(odd) { background: var(--red); }
.bcard:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgba(20,38,50,.18); }
.bcard h3 { font-size: 24px; font-weight: 700; line-height: 1.12; margin-top: 30px; min-height: 2.24em; }
.bcard p { font-size: 20px; line-height: 1.2; margin-top: 14px; }
.band .bcards.three { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.band .bcards.three .bcard { background: var(--navy); }
.band .bcards.three .bcard:nth-child(2) { background: var(--red); }
.band .bcards.three .bcard h3 { min-height: 0; }

/* dark step band */
.steps-band { padding: 76px 0 110px; text-align: center; }
.steps-band .display { margin-top: 22px; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 60px; position: relative; }
.step { position: relative; padding: 0 10px; }
.step::before { content: ""; position: absolute; top: 50px; left: calc(50% + 62px); right: calc(-50% + 62px); border-top: 5px dashed #3f6787; }
.step:last-child::before { display: none; }
.step .ring { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--navy); border: 4px solid #476e8d; display: grid; place-items: center; margin: 0 auto 18px; color: #fff; }
.step .ring::after { content: ""; position: absolute; right: -8px; top: -12px; width: 38px; height: 38px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); }
.step .ring svg { width: 46px; height: 46px; }
.step.hot .ring { background: var(--red); border-color: #f4606d; }
.step h3 { font-size: 24px; font-weight: 700; line-height: 1.12; }
.step p { font-size: 15px; line-height: 1.2; margin: 14px auto 0; max-width: 250px; }
.sysnote { display: flex; gap: 22px; align-items: center; text-align: left; margin: 36px auto 0; max-width: 1150px; border: 2px solid #3b5a72; background: #203443; border-radius: 12px; padding: 16px 28px; font-size: 15px; line-height: 1.2; }
.sysnote b { display: block; font-size: 18px; margin-bottom: 6px; }
.sysnote .ic { width: 54px; height: 54px; background: #fff; color: var(--navy); border-radius: 12px; display: grid; place-items: center; flex: none; }
.sysnote .ic svg { width: 28px; height: 28px; }
.steps.two { grid-auto-flow: row; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 110px 150px; text-align: left; }
.steps.two .step { display: flex; align-items: center; gap: 40px; padding: 0; }
.steps.two .step::before { display: none; }
.steps.two .ring { margin: 0; flex: none; }
.steps.two .step p { margin: 14px 0 0; max-width: 270px; }

/* module cards (Ar-Rahnu) */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 110px; align-items: start; }
.mod { border: 2px solid #e2e2e2; border-radius: 26px 26px 0 0; overflow: hidden; }
.mod header { background: var(--red); color: #fff; padding: 30px 30px 28px 36px; display: flex; gap: 22px; align-items: center; min-height: 138px; }
.mod:nth-child(2) header { background: var(--navy); }
.mod header .ic { width: 64px; height: 64px; border-radius: 12px; background: rgba(255,255,255,.3); display: grid; place-items: center; flex: none; }
.mod header .ic svg { width: 30px; height: 30px; }
.mod header h3 { font-size: 24px; font-weight: 700; }
.mod header p { font-size: 19px; margin-top: 10px; line-height: 1.15; }
.mod ul { padding: 48px 36px 26px; }
.mod li { display: flex; gap: 18px; align-items: flex-start; font-size: 24px; font-weight: 500; margin-bottom: 30px; line-height: 1.12; }
.mod li svg { width: 28px; height: 28px; color: var(--red); flex: none; margin-top: -4px; }
.mod:nth-child(2) li svg { color: var(--navy); }

/* bordered feature tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tile { border: 2px solid #eee; border-radius: 8px; padding: 32px 26px 38px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tile:hover { border-color: #f5b5bb; transform: translateY(-3px); box-shadow: 0 14px 26px rgba(20,38,50,.08); }
.tile .ic { width: 60px; height: 60px; border-radius: 10px; background: #fff6e9; display: grid; place-items: center; color: var(--red); }
.tile .ic.b { color: var(--navy); }
.tile .ic svg { width: 34px; height: 34px; }
.tile h3 { font-size: 24px; font-weight: 700; line-height: 1.12; margin-top: 44px; }
.tile p { font-size: 15px; line-height: 1.2; margin-top: 30px; max-width: 190px; }
.tiles.mid .tile { text-align: center; padding-bottom: 46px; }
.tiles.mid .tile .ic { margin: 0; }
.tiles.mid .tile h3 { margin-top: 36px; }
.tiles.mid .tile p { margin: 18px auto 0; max-width: 280px; }
.tile.cta { background: var(--navy); border-color: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: space-between; text-align: left !important; }
.tile.cta h3 { margin-top: 0; }
.tile.cta .btn { align-self: stretch; }

/* centred icon features (Smart Balance) */
.ifeats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 40px; margin-top: 80px; text-align: center; }
.ifeat .bubble { margin: 0 auto 40px; }
.ifeat h3 { font-size: 24px; font-weight: 700; }
.ifeat p { font-size: 20px; line-height: 1.2; margin: 18px auto 0; max-width: 290px; }

/* comparison (Smart Balance) */
.compare { margin-top: 90px; border: 2px solid #e6e6e6; border-radius: 16px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th { font-weight: 400; font-size: 19px; padding: 34px 30px; color: #b9bcc0; }
.compare th.hl { background: var(--red); color: #fff; text-align: left; padding-left: 66px; text-transform: uppercase; }
.compare td { padding: 16px 28px; font-size: 19px; line-height: 1.2; border-top: 2px solid #e6e6e6; vertical-align: middle; }
.compare td:first-child { font-size: 22px; font-weight: 700; width: 24%; }
.compare td:nth-child(2) { color: #b9bcc0; width: 39%; }
.compare td:nth-child(3) { background: #fdeef0; width: 37%; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 44px -44px 0; }
.chip { background: var(--navy); color: #fff; border-radius: 8px; padding: 22px 24px 20px; }
.chip:nth-child(odd) { background: var(--ink); }
.chip h3 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.chip h3 svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.chip p { font-size: 18px; line-height: 1.2; margin-top: 12px; max-width: 250px; }

/* zig-zag banners (ST Pay) */
.zig { margin-top: 110px; display: grid; gap: 80px; overflow: hidden; }
.zig-item { display: flex; align-items: center; gap: 44px; color: #fff; padding: 36px 60px; min-height: 158px; width: 60%; }
.zig-item:nth-child(odd) { background: var(--red); margin-left: auto; border-radius: 10px 0 0 10px; }
.zig-item:nth-child(even) { background: var(--navy); flex-direction: row-reverse; text-align: right; border-radius: 0 10px 10px 0; width: 57.5%; }
.zig-item svg { width: 60px; height: 60px; flex: none; }
.zig-item h3 { font-size: 32px; font-weight: 700; line-height: 1.15; }
.zig-item p { font-size: 20px; line-height: 1.2; margin-top: 6px; max-width: 500px; }
.zig-item:nth-child(even) p { margin-left: auto; }

/* list + visual on dark band (G-commerce) */
.inv { padding: 70px 0 90px; }
.inv-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: 50px; align-items: start; }
.inv .display { margin: 16px 0 26px; }
.inv-list li { display: flex; gap: 36px; align-items: center; padding: 18px 0 20px 18px; border-top: 2px solid #33495a; }
.inv-list li:last-child { border-bottom: 2px solid #33495a; }
.inv-list .cdot { width: 50px; height: 50px; }
.inv-list .cdot svg { width: 26px; height: 26px; }
.inv-list h3 { font-size: 24px; font-weight: 700; }
.inv-list p { font-size: 19px; line-height: 1.2; margin-top: 12px; max-width: 380px; }
.inv-visual { background: #fff; min-height: 586px; display: grid; place-items: center; padding: 30px; margin-top: 62px; }

/* overview list (G-commerce) */
.pts { margin-top: 44px; padding-left: 64px; display: grid; gap: 30px; }
.pts .pt { display: flex; gap: 20px; align-items: flex-start; }
.pts .bubble { width: 46px; height: 46px; flex: none; }
.pts .bubble svg { width: 22px; height: 22px; }
.pts h3 { font-size: 22px; font-weight: 600; }
.pts p { color: #c9cbce; font-size: 19px; line-height: 1.2; margin-top: 8px; max-width: 400px; }

/* screens galleries */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 70px; }
.shot figure { display: flex; align-items: center; justify-content: center; height: 470px; }
.shot figure img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.shot h3 { font-size: 24px; font-weight: 700; line-height: 1.12; margin-top: 40px; }
.shot p { font-size: 19px; line-height: 1.2; margin-top: 22px; }
.shots.two { grid-template-columns: repeat(2, 1fr); gap: 60px 120px; }
.shots.two .shot figure { height: 370px; }
.shots.two .shot h3, .shots.two .shot p { padding-left: 28px; max-width: 420px; }
.shots.two .shot p { margin-top: 18px; }
.shot figure img { cursor: zoom-in; transition: transform .25s; }
.shot figure img:hover { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(13, 22, 30, .88); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; border-radius: 8px; }

/* analytics */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 86px 46px; margin-top: 90px; }
.kpi { display: flex; gap: 22px; align-items: flex-start; }
.kpi .sq { width: 84px; height: 84px; border-radius: 9px; background: var(--red); flex: none; display: grid; place-items: center; color: #fff; }
.kpi .sq svg { width: 38px; height: 38px; }
.kpi h3 { font-size: 24px; font-weight: 600; color: var(--navy); }
.kpi p { color: var(--muted); font-size: 20px; line-height: 1.2; font-weight: 300; margin-top: 6px; text-align: justify; }
.ways { padding: 100px 0 100px; }
.ways-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; margin-top: 60px; align-items: start; }
.acc-dark .item { border-top: 2px solid #3a4d5c; }
.acc-dark .item:last-child { border-bottom: 2px solid #3a4d5c; }
.acc-dark button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: flex-start; padding: 22px 0 18px; font-size: 34px; color: #b5bec6; transition: color .2s; }
.acc-dark button sup { font-size: 16px; color: #b5bec6; margin-top: 4px; }
.acc-dark .item.open button, .acc-dark button:hover { color: #fff; }
.acc-dark .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-dark .panel > div { overflow: hidden; }
.acc-dark .item.open .panel { grid-template-rows: 1fr; }
.acc-dark .panel p { font-size: 19px; line-height: 1.25; padding: 0 0 36px 32px; max-width: 640px; }
.ways-visual { background: #fff; border-radius: 22px; padding: 22px; color: var(--text); }
.ways-visual img { width: 100%; }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 90px -36px 0; }
.statbar div { background: #203443; border-radius: 8px; padding: 16px 30px 18px; color: #fff; font-size: 19px; font-weight: 500; }
.statbar b { display: block; color: var(--red); font-size: 44px; line-height: 1.1; font-weight: 700; }
.mini-cards { position: relative; min-height: 640px; }
.mini { position: absolute; width: 320px; }
.mini > b { display: block; font-size: 19px; margin-bottom: 14px; }
.mini .card { border: 2px solid #ececec; border-radius: 14px; padding: 26px 30px; box-shadow: 0 10px 24px rgba(0,0,0,.14); background: #fff; }
.mini .row { display: flex; align-items: center; gap: 18px; color: #9aa0a6; font-size: 20px; }
.mini .row .ic { width: 50px; height: 50px; border-radius: 50%; background: #e3e8ee; display: grid; place-items: center; color: var(--navy); }
.mini .row .ic.r { background: #fde3e4; color: var(--red); }
.mini .row .ic svg { width: 24px; height: 24px; }
.mini .row .go { margin-left: auto; width: 16px; height: 16px; color: #555; }
.mini .amt { font-size: 38px; font-weight: 600; margin-top: 18px; line-height: 1.1; }
.mini .wt { color: #9aa0a6; font-size: 17px; margin-top: 6px; }
.mini .chg { color: var(--red); font-size: 17px; margin-top: 8px; }
.mini.a { left: 22%; top: 0; }
.mini.b { right: 0; top: 340px; }

/* ---------- Sankyu System page ---------- */
.sys-hero-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 26px 34px 50px; max-width: 466px; margin-left: auto; margin-right: 60px; }
.sys-hero-card .tag { display: inline-flex; align-items: center; gap: 6px; background: var(--red); border-radius: 999px; font-size: 12px; padding: 4px 8px; }
.sys-hero-card .tag svg { width: 12px; height: 12px; }
.sys-hero-card small { display: block; font-size: 14px; font-weight: 500; margin-top: 22px; }
.sys-hero-card .big { font-size: 34px; letter-spacing: .01em; line-height: 1.1; }
.sys-hero-card .inc { font-family: var(--font-serif); font-size: 13px; letter-spacing: .05em; margin: 22px 0 12px; text-transform: uppercase; }
.sys-hero-card li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 300; margin-bottom: 6px; }
.sys-hero-note { max-width: 466px; margin: 40px 60px 0 auto; padding-left: 10px; font-size: 15px; }
.sys-hero-note small { font-size: 14px; font-weight: 500; display: block; }
.sys-hero-note .big { font-size: 34px; font-weight: 500; line-height: 1; }
.sys-hero-note .big i { font-style: normal; font-family: var(--font-serif); font-size: 13px; letter-spacing: .05em; font-weight: 400; }
.sys-hero-note p { margin-top: 12px; }

.plans-sec { padding: 40px 0 82px; text-align: center; }
.plans-sec .display { font-size: clamp(40px, 6.6vw, 96px); line-height: 1.02; }
.plans-sec .lead { max-width: 560px; margin: 44px auto 0; color: #c9cbce; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 74px; text-align: left; align-items: start; }
.plan { position: relative; border-radius: 14px; padding: 24px 22px 16px; }
.plan .logo { display: block; margin-left: auto; width: 38px; height: 38px; border-radius: 6px; box-shadow: 0 0 0 2px #eee; background: #fff; }
.plan h3 { font-size: 32px; font-weight: 400; color: var(--navy); line-height: 1.25; white-space: nowrap; }
.plan .sub { font-size: 14px; font-weight: 500; }
.plan .lic { font-family: var(--font-serif); font-size: 14px; letter-spacing: .04em; margin: 22px 0 4px; }
.plan li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 300; height: 25px; }
.plan li.off { color: #c2c5c8; text-decoration: line-through; padding-left: 34px; }
.plan .btn { width: 100%; height: 40px; font-size: 15px; font-weight: 500; margin-top: 6px; }
.plan.pop { background: var(--navy); color: #fff; box-shadow: 0 20px 40px rgba(50,84,109,.3); }
.plan.pop h3 { color: #fff; }
.plan.pop::before { content: attr(data-tag); position: absolute; left: 22px; top: -12px; background: var(--red); font-size: 12px; padding: 4px 14px; border-radius: 999px; }

.cmp { padding: 110px 0 126px; }
.cmp .split-head { margin-top: 34px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; border: 3px solid #2c4a61; border-radius: 10px; padding: 26px 28px; margin-top: 50px; font-size: 20px; }
.legend span { display: inline-flex; align-items: center; gap: 16px; }
.addon { background: var(--red); border-radius: 999px; padding: 0 14px; line-height: 1.2; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 38px; font-family: var(--font-serif); font-size: 19px; letter-spacing: .02em; }
.cmp-table thead th { white-space: nowrap; background: var(--navy); text-align: left; font-weight: 400; text-transform: uppercase; padding: 18px 32px; }
.cmp-table thead th:first-child { border-radius: 22px 0 0 0; }
.cmp-table thead th:last-child { border-radius: 0 22px 0 0; color: var(--red); }
.cmp-table th:nth-child(n+3), .cmp-table td:nth-child(n+3) { text-align: center; width: 21%; }
.cmp-table td { padding: 12px 32px; height: 57px; }
.cmp-table td:first-child { width: 18.7%; }
.cmp-table tbody tr:nth-child(odd) td { background: var(--navy-2); }
.cmp-table tr.grp td { background: var(--navy-3) !important; border-top: 1px solid #fff; border-bottom: 1px solid #fff; }
.cmp-table tr.grp td:first-child { color: var(--red); border-left: 1px solid #fff; }
.cmp-table tr.grp td:last-child { border-right: 1px solid #fff; }
.cmp-table .cdot { width: 36px; height: 36px; }
.cmp-table .cdot svg { width: 20px; height: 20px; }
.cmp-table tbody tr:not(.grp):hover td { background: #2b4a5e; }
.cmp-foot { display: flex; justify-content: flex-end; margin-top: 20px; }
.table-scroll { overflow-x: auto; }

.why-sys { padding: 80px 0 60px; }
.why-sys .display { margin-top: 110px; }
.why-sys .feat-grid { gap: 150px 70px; }
.why-sys .quote { margin-top: 110px; }

/* FAQ */
.faq-sec { padding: 60px 0 110px; }
.faq { margin-top: 70px; border: 2px solid #eee; border-radius: 14px; padding: 16px 66px 16px 46px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.faq .item + .item { border-top: 2px solid #dedede; }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0 22px 10px; font-size: 24px; font-weight: 700; }
.faq .pm { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--red); flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s; }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq .item.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq .panel > div { overflow: hidden; }
.faq .item.open .panel { grid-template-rows: 1fr; }
.faq .panel p { color: var(--muted); font-size: 24px; line-height: 1.2; padding: 0 90px 44px 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  body { font-size: 17px; }
  .site-header .container { height: 104px; }
  .brand img { width: 220px; }
  .nav { gap: 28px; font-size: 18px; }
  .btn-demo { font-size: 17px; padding: 7px 16px 8px; }
  .feat-grid, .why-sys .feat-grid { gap: 60px 40px; }
  .pcards { grid-template-columns: repeat(3, 1fr); margin-inline: 0; }
  .svc { grid-template-columns: 100px 340px 1fr; }
  .contact-grid { gap: 50px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow-card:nth-child(4)::after { display: none; }
  .flow-end { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; }
  .flow-end div { flex: 1; }
  .chips, .statbar { margin-inline: 0; }
  .inv .display { margin-left: 0; }
  .bcard { padding: 28px 22px 30px; }
  .bcard h3, .tile h3, .step h3, .cell h3, .mod li, .mod header h3 { font-size: 21px; }
  .bcard p { font-size: 17px; }
  .shots { gap: 20px; }
  .shots.two { gap: 50px 40px; }
  .zig-item, .zig-item:nth-child(even) { width: 74%; }
  .sys-hero-card, .sys-hero-note { margin-right: 0; }
  .mini.a { left: 4%; }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .site-header .container, .site-header.is-stuck .container { height: 76px; }
  .brand img { width: 180px; }
  .nav {
    position: fixed; inset: 85px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav > a, .nav-drop > button { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 20px; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .nav-drop.is-open .nav-menu { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { gap: 10px; }
  .btn-demo { font-size: 14px; padding: 8px 12px; }

  .home-hero { padding: 40px 0 64px; }
  .home-hero-grid, .about-grid, .split-head, .contact-grid, .demo-grid, .phero-grid, .ov-grid, .ways-grid, .inv-grid, .flagship { grid-template-columns: 1fr; }
  .split-head { gap: 18px; }
  .split-head .lead { padding-bottom: 0; }
  .home-hero .btn-row, .home-hero .checks { justify-content: flex-start; }
  .feat-grid, .kpis, .reviews, .mods, .ifeats, .tiles.c3, .bcards, .band .bcards.three { grid-template-columns: 1fr 1fr; }
  .feat-grid, .why-sys .feat-grid { margin-top: 48px; gap: 40px 28px; }
  .why-sys .display, .why-sys .quote { margin-top: 48px; }
  .svc-list { margin-top: 48px; }
  .svc { grid-template-columns: 76px 1fr; }
  .svc p { grid-column: 2; }
  .svc h3 { font-size: 26px; }
  .marquee-track span { font-size: 26px; }
  .marquee { padding-bottom: 60px; }
  .flagship-visual { display: none; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .form { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer img { width: 280px; }
  .ov-grid.rev .display { text-align: left; }
  .cells, .tiles, .shots, .chips, .statbar { grid-template-columns: 1fr 1fr; }
  .cell:nth-child(3) { border-left: 0; }
  .cell:nth-child(n+3) { border-top: 2px solid #e5e5e5; }
  .steps { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 44px 10px; }
  .step::before { display: none; }
  .steps.two { grid-template-columns: 1fr; gap: 40px; justify-content: start; }
  .mods { margin-top: 48px; }
  .zig { margin-top: 56px; gap: 28px; }
  .zig-item, .zig-item:nth-child(even) { width: 92%; padding: 26px 28px; gap: 24px; }
  .zig-item h3 { font-size: 24px; }
  .compare { margin-top: 48px; }
  .compare td, .compare th { padding: 12px 14px; font-size: 15px; }
  .compare td:first-child { font-size: 16px; }
  .compare th.hl { padding-left: 14px; }
  .mini-cards { min-height: 0; display: grid; gap: 24px; }
  .mini { position: static; width: 100%; max-width: 340px; }
  .inv-visual { min-height: 0; margin-top: 0; }
  .pts { padding-left: 0; }
  .faq { padding: 8px 20px; }
  .faq button { font-size: 19px; }
  .faq .panel p { font-size: 17px; padding-right: 20px; }
  .acc-dark button { font-size: 24px; }
  .cmp-table { font-size: 15px; min-width: 620px; }
  .cmp-table td, .cmp-table thead th { padding: 10px 14px; }
  .phero.centered h1 { margin-top: 36px; }
  .sys-hero-card, .sys-hero-note { margin-left: 0; }
  .shots.two { grid-template-columns: 1fr; }
  .shots.two .shot figure { height: auto; }
  .legend { font-size: 16px; }
  .flow { margin-top: 48px; grid-template-columns: 1fr 1fr; }
  .flow-card::after { display: none; }
  .flow-end { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .lang { display: none; }
  .nav .lang { display: inline-flex; margin-top: 20px; align-self: flex-start; }
  .feat-grid, .kpis, .reviews, .mods, .ifeats, .tiles, .tiles.c3, .bcards, .band .bcards.three,
  .cells, .shots, .chips, .statbar, .plans, .pcards, .form-grid, .flag-list, .steps { grid-template-columns: 1fr; }
  .cell { border-left: 0; }
  .cell + .cell { border-top: 2px solid #e5e5e5; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .btn { font-size: 17px; height: 46px; padding: 0 20px; }
  .checks { font-size: 16px; gap: 10px 20px; }
  .quote { padding: 30px 22px; }
  .stars svg { width: 28px; height: 28px; }
  .addr { padding-left: 0; }
  .bcard h3 { min-height: 0; }
  .eyebrow { font-size: 16px; gap: 14px; }
  .lead, .feat p, .about-copy p, .kpi p { font-size: 17px; }
  .stats { gap: 20px 28px; }
  .stat b { font-size: 34px; }
  .flagship-body { padding: 18px 20px 34px; }
  .plan h3 { white-space: normal; }
  .zig-item, .zig-item:nth-child(even) { width: 100%; border-radius: 10px; flex-direction: row; text-align: left; }
  .zig-item:nth-child(even) p { margin-left: 0; }
  .flow { grid-template-columns: 1fr; }
  .compare td:nth-child(2), .compare th:nth-child(2) { display: none; }
}

/* ---------- product-page rhythm ---------- */
.pp .display.sm { font-size: clamp(32px, 4.1vw, 60px); }
.pp .split-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.pp .eyebrow + .split-head, .pp .eyebrow + .ov-grid, .pp .eyebrow + .center, .pp .eyebrow + div { margin-top: 46px; }
.pp .steps-band .eyebrow + .center { margin-top: 22px; }
.pp .inv .eyebrow + .display { margin-top: 16px; }
.band .lead b, .band .lead strong { color: #fff; }
.demo .eyebrow + .demo-grid { margin-top: 60px; }
@media (max-width: 900px) { .pp .split-head { grid-template-columns: 1fr; } .shot figure { height: 380px; } }
@media (min-width: 901px) { .phero-grid.wide { grid-template-columns: 1.3fr 1fr; } }
