:root {
  --navy: #0E1B3D;
  --navy-2: #1A2B57;
  --navy-card: #153A4F;
  --ink: #1F2A44;
  --muted: #5A6680;
  --line: #E3E7EF;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --teal: #1FB5A8;
  --teal-dark: #0C8C82;
  --teal-tint: #EEF6F5;
  --orange: #F08A3C;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
body.ja { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 27, 61, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-header .logo img { height: 26px; width: auto; }
.site-header nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-header nav a { color: #C9D3E6; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--white); }
.site-header .lang { border: 1px solid #3A4A75; border-radius: 999px; padding: 4px 12px; }
.btn {
  display: inline-block; background: var(--teal); color: var(--navy);
  font-weight: 600; text-decoration: none; border-radius: 999px;
  padding: 12px 24px; font-size: 15px;
}
.btn:hover { background: #33C7BA; }
.site-header .btn { padding: 8px 18px; font-size: 14px; }

/* sections */
section { padding: 88px 0; }
.dark { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.dark p, .dark .lead { color: #C9D3E6; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 12px;
}
h1, h2, h3 { margin: 0; line-height: 1.25; }
h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 0 40px; }
.note { font-size: 13px; color: var(--muted); margin-top: 24px; }
.dark .note { color: #9FB0CF; }

/* hero */
.hero { padding: 120px 0 112px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); max-width: 760px; margin-bottom: 24px; }
.hero .lead { color: #C9D3E6; font-size: 19px; }
.hero .tag { font-size: 14px; color: #9FB0CF; margin-top: 28px; }
.circle { position: absolute; border-radius: 50%; pointer-events: none; }
.c1 { width: 620px; height: 620px; right: -160px; bottom: -260px; background: var(--navy-2); }
.c2 { width: 340px; height: 340px; right: 120px; top: -170px; background: var(--navy-card); }
.dark .wrap { position: relative; }

/* vision */
.vision { padding: 72px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.vision p.quote { font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; margin: 0; }
.vision p.quote span { color: var(--teal-dark); }

/* grids & cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--white);
  font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.dark .card { background: var(--navy-card); border-color: #23506A; }
.dark .card p { color: #C9D3E6; }
.big-num { font-size: 40px; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 20px; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.arrow { align-self: center; color: var(--teal); font-size: 26px; }
.step-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-dark); margin-bottom: 8px; }
.card h3.step-title { font-size: 26px; margin-bottom: 14px; }

/* engine */
.engine { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.stack { display: grid; gap: 12px; }
.stack .card { padding: 18px 20px; }
.stack .card h3 { font-size: 15px; margin-bottom: 4px; }
.stack .card p { font-size: 13px; }

/* proximity */
.levels .letter { font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 18px; }

/* feature rows */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature ol { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: f; }
.feature li { counter-increment: f; position: relative; padding-left: 44px; margin-bottom: 16px; color: var(--muted); }
.feature li::before {
  content: counter(f); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.shot {
  background: var(--navy); padding: 10px; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(14, 27, 61, 0.18);
}
.shot img { border-radius: 8px; width: 100%; height: auto; }

/* accuracy */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.stat .v { font-size: 52px; font-weight: 700; color: var(--teal-dark); line-height: 1; }
.stat .v small { font-size: 24px; }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--navy); color: var(--white); font-weight: 600; }
td.r, th.r { text-align: right; }
tr.total td { font-weight: 700; color: var(--teal-dark); border-bottom: 0; }
.diffs { margin-top: 20px; }
.diffs .card { padding: 20px; }
.diffs .k { font-size: 22px; font-weight: 700; color: var(--teal-dark); }
.diffs .card.alt .k { color: var(--orange); }
.diffs .card.alt { background: #FFF4EA; border-color: #F6D3B5; }
.diffs p { font-size: 14px; }

/* domains */
.domains { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
td.dot { color: var(--teal-dark); text-align: center; }
td.dash { color: #A9B3C7; text-align: center; }
td.field { font-weight: 600; color: var(--ink); vertical-align: top; }
.onboard { display: grid; gap: 12px; }
.onboard .card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; }
.onboard .num { margin: 0; }
.onboard .card h3 { font-size: 15px; margin: 0 0 2px; }
.onboard .card p { font-size: 13px; }
.pill { background: var(--navy); color: var(--white); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.total-line { font-size: 15px; color: var(--muted); margin-top: 8px; }
.total-line b { color: var(--teal-dark); font-size: 22px; }

/* security */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.badge { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 20px; }
.badge b { display: block; font-size: 17px; }
.badge span { font-size: 13px; color: #9FB0CF; }
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.row b { font-size: 15px; }
.row p { margin: 0; color: var(--muted); font-size: 14px; }

/* coming soon */
.soon .pill-teal { display: inline-block; background: var(--teal); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 14px; border-radius: 999px; margin-bottom: 20px; }
.soon h2 { font-size: clamp(32px, 4.4vw, 48px); }
.soon .sub { color: var(--teal); font-size: 18px; font-weight: 600; margin: 0 0 36px; }
.soon .g2 { max-width: 820px; margin-bottom: 36px; }
.soon .card .label { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.soon .card h3 { font-size: 24px; margin-bottom: 12px; }
.contact { margin-top: 28px; color: #C9D3E6; font-size: 15px; }
.contact a { color: var(--white); }

footer { background: #0A1430; color: #8C9BBB; font-size: 13px; padding: 32px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer a { color: #C9D3E6; }

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .g3, .g4, .stats, .badges { grid-template-columns: repeat(2, 1fr); }
  .steps, .engine { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .feature, .domains { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .site-header nav a.hide-sm { display: none; }
  .c1 { width: 420px; height: 420px; right: -200px; bottom: -220px; }
  .c2 { width: 220px; height: 220px; right: -40px; top: -110px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .stats, .badges { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 72px; }
  .site-header .wrap { gap: 12px; }
  .site-header .logo img { height: 22px; }
  .site-header nav { gap: 12px; }
  .site-header .btn { display: none; }
  .onboard .card { grid-template-columns: auto 1fr; }
  .onboard .pill { grid-column: 2; justify-self: start; }
}

/* refinements */
section { scroll-margin-top: 64px; }
.feature h2 { font-size: clamp(22px, 2.4vw, 28px); }
.domains > *, .feature > *, .grid > *, .engine > *, .steps > * { min-width: 0; }
@media (max-width: 560px) { #domains th, #domains td { white-space: normal; padding: 10px 10px; } }

/* v2 website layout */
.hero .eyebrow { color: var(--teal); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.link-light { color: #C9D3E6; text-decoration: none; font-size: 15px; }
.link-light:hover { color: var(--white); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 40px; }
.benefits .card h3 { font-size: 19px; }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.scale div { background: var(--navy-card); border-radius: 12px; padding: 16px; }
.scale b { color: var(--teal); font-size: 22px; margin-right: 8px; }
.scale span { color: var(--white); font-weight: 600; }
.scale p { margin: 6px 0 0; font-size: 14px; color: #C9D3E6; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.trust .big { font-size: 44px; font-weight: 700; color: var(--teal-dark); line-height: 1.1; margin-bottom: 8px; }
.trust ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.trust li { margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { background: var(--teal-tint); color: var(--teal-dark); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
@media (max-width: 900px) { .benefits, .trust { grid-template-columns: 1fr; } .scale { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scale { grid-template-columns: 1fr; } }
.dark .step-label { color: var(--teal); } .dark .arrow { color: var(--teal); }

/* v9 site */
.video-wrap { background: var(--navy); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(14, 27, 61, 0.18); margin-top: 28px; }
.video-wrap video { width: 100%; height: auto; display: block; border-radius: 8px; background: #000; }
.caption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stat-row .card .v { font-size: 48px; font-weight: 700; color: var(--teal-dark); line-height: 1; }
.stat-row .card .v small { font-size: 22px; }
.stat-row .card p { margin-top: 10px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 28px 0 32px; }
.plans .price { font-size: 30px; font-weight: 700; color: var(--white); margin: 4px 0 10px; }
.plans .price small { font-size: 15px; font-weight: 400; color: #C9D3E6; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 32px; }
@media (max-width: 900px) { .stat-row, .plans { grid-template-columns: 1fr; } .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; } }
@media (max-width: 900px) { .trust .card { grid-column: auto !important; } }

/* capability list with small popup examples */
.caps { display: grid; gap: 16px; margin-top: 32px; }
.cap { display: grid; grid-template-columns: 56px 1fr 200px; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.cap .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.cap h3 { font-size: 20px; margin-bottom: 6px; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }
.cap .tag-soon { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--orange); border: 1px solid #F6D3B5; border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.thumb { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); cursor: zoom-in; padding: 0; position: relative; width: 100%; }
.thumb img { width: 100%; height: 112px; object-fit: cover; object-position: top left; display: block; }
.thumb span { position: absolute; right: 6px; bottom: 6px; background: rgba(14, 27, 61, 0.85); color: var(--white); font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; }
.thumb.video img { object-position: center; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 94vw; }
.lightbox::backdrop { background: rgba(10, 20, 48, 0.82); }
.lightbox .box { background: var(--white); border-radius: 14px; overflow: hidden; }
.lightbox img, .lightbox video { width: 100%; height: auto; display: block; max-height: 80vh; object-fit: contain; background: #000; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; font-size: 14px; color: var(--ink); }
.lightbox button.close { border: 0; background: var(--navy); color: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #C9D3E6; cursor: pointer; font-size: 15px; }
.link-btn:hover { color: var(--white); }
@media (max-width: 720px) {
  .cap { grid-template-columns: 44px 1fr; padding: 20px; }
  .cap .icon { width: 40px; height: 40px; }
  .cap .thumb { grid-column: 2; max-width: 240px; }
}
@media (max-width: 720px) { .cap .thumb { max-width: 160px; } .cap .thumb img { height: 90px; } }

/* keep phrase groups together when the hero title wraps */
.nw{display:inline-block;white-space:nowrap}

/* <button> rendered with the same look as the link buttons */
button.btn{border:0;font-family:inherit;line-height:inherit;cursor:pointer}

/* vision: simplified flow diagram (3 entry points, shared core, one exit) */
.lanes {
  margin-top: 40px; padding: 30px 28px 34px; border-radius: 24px; color: var(--navy);
  background: linear-gradient(135deg, #F1F8F7 0%, #E8EFFA 100%); border: 1px solid var(--line);
}
.lanes-cap { margin: 0 0 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
.fx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .8fr); column-gap: 28px; row-gap: 26px; }
.fx-row { display: contents; list-style: none; }
.fx li { position: relative; display: flex; }
.fx-r1 li { grid-row: 1; }
.fx-r2 li { grid-row: 2; }
.fx-r3 li { grid-row: 3; }
.fx li:nth-child(1) { grid-column: 1; }
.fx li:nth-child(2) { grid-column: 2; }
.fx-r1 li:nth-child(3) { grid-column: 3; }
.fx-r1 li:nth-child(4) { grid-column: 4; }
.fx-r3 li.wide { grid-column: 3 / 5; }
.fx li.end-m { display: none; }
.fx li span, .fx-end span {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 8px 10px; border-radius: 14px; background: var(--white); color: var(--navy);
  font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; box-shadow: inset 0 0 0 1px var(--line);
}
.fx li.in span { background: #D6F1ED; color: #0A6F67; box-shadow: none; }
.fx li.hub span { box-shadow: 0 0 0 2.5px var(--teal); }
.fx em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--white); background: var(--orange); border-radius: 999px; padding: 1px 8px; }
.fx-end { grid-column: 5; grid-row: 1 / 4; display: flex; }
.fx-end span { background: var(--teal); color: var(--navy); box-shadow: none; font-size: 16px; font-weight: 700; }
/* arrows */
.fx-r1 li:nth-child(-n+4)::after, .fx-r2 li.in::after, .fx-r3 li:nth-child(-n+3)::after {
  content: "›"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%);
  font-size: 22px; line-height: 1; color: rgba(14, 27, 61, .4);
}
.fx li.up::before { content: ""; position: absolute; left: 50%; top: -24px; height: 22px; width: 2px; transform: translateX(-50%); background: var(--teal); }
.fx li.up::after { content: ""; position: absolute; left: 50%; top: -26px; transform: translateX(-50%); border: 6px solid transparent; border-top: 0; border-bottom: 8px solid var(--teal); }
@media (max-width: 1100px) {
  .lanes { padding: 22px 16px 24px; }
  .fx { display: block; }
  .fx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin: 0; padding: 0; }
  .fx-row + .fx-row { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #C9D6E6; }
  .fx li { position: static; align-items: center; }
  .fx li span { flex: none; min-height: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
  .fx em { margin: 0 0 0 6px; }
  .fx li.in span { flex-direction: row; }
  .fx li.end-m { display: flex; }
  .fx li.end-m span { background: var(--teal); color: var(--navy); box-shadow: none; font-weight: 700; }
  .fx li.join span { background: transparent; color: var(--teal-dark); box-shadow: inset 0 0 0 1.5px var(--teal); }
  .fx-end { display: none; }
  .fx li.up::before { display: none; }
  .fx-r1 li:not(:last-child)::after, .fx-r2 li:not(:last-child)::after, .fx-r3 li:not(:last-child)::after {
    content: "›"; position: static; transform: none; margin: 0 8px; font-size: 20px; color: rgba(14, 27, 61, .4);
    border: 0; width: auto; height: auto; background: none;
  }
}

/* FAQ */
.faq { display: grid; gap: 16px; max-width: 860px; margin: 0; }
.faq .card { padding: 22px 24px; }
.faq dt { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.faq dt::before { content: "Q. "; color: var(--teal-dark); }
.faq dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) {
  body.ja .hero h1 { font-size: 30px; }
  .br-wide { display: none; }
}

/* algorithm section: sub-heading under the h2 */
.sub-h { margin: 0; font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; color: var(--teal-dark); }

/* algorithm section: make it stand out after the diagram */
#accuracy { background: var(--teal-tint); }
#accuracy .stat-row .card { border: 0; border-top: 4px solid var(--teal); box-shadow: 0 8px 24px rgba(14, 27, 61, .07); }
#accuracy .stat-row .card .v { font-size: 56px; }

/* diagram entry chips carry the service name */
.fx li.in b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.fx li.in span { font-weight: 500; font-size: 12.5px; }
@media (max-width: 1100px) { .fx li.in b { display: inline; margin-right: 6px; font-size: 13px; } }

/* services */
.svc-intro { margin: 0 0 32px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 40px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px;
}
.svc + .svc { margin-top: 24px; }
.svc-badge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.svc-badge b { display: block; font-size: 18px; color: var(--navy); line-height: 1.2; }
.svc-badge small { display: block; font-size: 13px; color: var(--muted); }
.svc-logo {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; font-size: 20px; color: var(--white); background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
}
.svc-seed .svc-logo { background: linear-gradient(135deg, #7BD88F 0%, var(--teal-dark) 100%); }
.svc-clear .svc-logo { background: linear-gradient(135deg, #6E9BEA 0%, var(--navy) 100%); }
.svc-tag { font-size: 11px; font-weight: 700; color: var(--white); background: #7A8496; border-radius: 999px; padding: 2px 10px; }
.svc h3 { font-size: clamp(20px, 2.2vw, 26px); color: var(--navy); margin-bottom: 12px; }
.svc-main > p { margin: 0 0 20px; color: var(--ink); }
.svc-io { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.svc-io div { display: flex; align-items: center; gap: 8px; background: var(--teal-tint); border-radius: 999px; padding: 6px 14px 6px 6px; }
.svc-io dt { font-size: 11px; font-weight: 700; color: var(--white); background: var(--teal-dark); border-radius: 999px; padding: 2px 9px; }
.svc-io dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.svc-video {
  position: relative; align-self: start; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: var(--navy); box-shadow: 0 10px 30px rgba(14, 27, 61, .15);
}
.svc-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; }
.svc-video span {
  position: absolute; left: 16px; bottom: 16px; white-space: nowrap;
  background: var(--teal); color: var(--navy); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 10px 20px;
}
.svc-video:hover span { background: #33C7BA; }
.svc-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 28px; }
.svc-verify .svc-feats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 24px; }
.svc-feats li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.svc-feats li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); }
.svc-feats b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.svc-seed .svc-feats, .svc-clear .svc-feats { align-self: center; background: var(--bg); border-radius: 14px; padding: 22px 22px 22px 24px; }
.svc-seed .svc-feats li, .svc-clear .svc-feats li { padding-left: 22px; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; padding: 24px 20px; }
  .svc-verify .svc-feats { grid-template-columns: 1fr; }
}

/* wide screens: use more of the width */
@media (min-width: 1440px) {
  :root { --max: 1320px; }
  .hero h1 { max-width: 920px; }
  .lead, .svc-intro { max-width: 860px; }
  .plans { max-width: 1000px; }
  .faq { max-width: 1040px; }
  .svc { padding: 44px; gap: 32px 56px; }
}
@media (min-width: 1800px) {
  :root { --max: 1520px; }
  body { font-size: 17px; }
  .hero { padding: 150px 0 140px; }
  .hero h1 { font-size: 68px; max-width: 1040px; }
  .hero .lead { font-size: 21px; }
  h2 { font-size: 40px; }
  .vision p.quote { font-size: 34px; }
  .fx li span, .fx-end span { font-size: 15.5px; min-height: 64px; }
  .fx li.in b { font-size: 17px; }
  .fx li.in span { font-size: 14px; }
  .svc-feats li { font-size: 15.5px; }
  .svc-feats b { font-size: 16px; }
}

/* Verify chip: two-line label on desktop, one line in the stacked layout */
.fx li.in i { font-style: normal; }
@media (max-width: 1100px) { .fx li.in i br { display: none; } }

/* hero tagline under the h1 */
.hero .tagline { margin: 0 0 14px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.4; color: var(--teal); }
.hero h1 + .tagline { margin-top: -4px; }
@media (min-width: 1800px) { .hero .tagline { font-size: 32px; } }

/* Verify card: text and video on the left, feature list in one column on the right */
.svc-verify { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "main feats" "video feats"; align-items: start; }
.svc-verify .svc-main { grid-area: main; }
.svc-verify .svc-video { grid-area: video; }
.svc-verify .svc-feats {
  grid-area: feats; grid-template-columns: 1fr; gap: 18px; align-self: stretch;
  border-top: 0; padding-top: 4px; border-left: 1px solid var(--line); padding-left: 40px;
}
@media (max-width: 900px) {
  .svc-verify { grid-template-columns: 1fr; grid-template-areas: "main" "video" "feats"; }
  .svc-verify .svc-feats { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* keep the input/output label on one line */
.svc-io dt { flex: none; white-space: nowrap; }

/* case video playing inside the Verify card */
.svc-video.is-playing { cursor: auto; background: #000; }
.svc-video.is-playing video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* all three service cards: same column split, feature list in the same shaded box at the same position */
.svc, .svc-verify { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.svc-verify .svc-feats, .svc-seed .svc-feats, .svc-clear .svc-feats {
  align-self: start; background: var(--bg); border: 0; border-radius: 14px; padding: 24px 24px 24px 26px; gap: 18px;
}
.svc-seed .svc-feats, .svc-clear .svc-feats { grid-row: 1; grid-column: 2; }
@media (max-width: 900px) {
  .svc, .svc-verify { grid-template-columns: 1fr; }
  .svc-verify .svc-feats { border-top: 0; padding: 22px 20px; }
  .svc-seed .svc-feats, .svc-clear .svc-feats { grid-row: auto; grid-column: auto; padding: 22px 20px; }
}

/* feature box runs the full height of the card content: top with the badge, bottom with the video / io pills */
@media (min-width: 901px) {
  .svc-verify .svc-feats, .svc-seed .svc-feats, .svc-clear .svc-feats { align-self: stretch; align-content: center; }
  .svc-verify .svc-video { align-self: end; }
}

/* vision diagram v5: three entry points converge on a shared engine (element + examination algorithms) */
.eng { display: grid; grid-template-columns: minmax(0, 1.8fr) 34px minmax(0, 1.9fr) 34px minmax(0, 1.5fr) 34px minmax(0, .8fr); column-gap: 12px; align-items: stretch; }
.eng > * { position: relative; }
/* big chevrons between stages, in the input color */
.eng-arrow { align-self: center; height: 72%; background: #D6F1ED; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.eng-in { display: grid; grid-template-columns: max-content minmax(0, 1fr); grid-auto-rows: 64px; column-gap: 20px; row-gap: 14px; align-self: center; }
.eng-in .eng-box { position: relative; }
.fl-name { margin: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.fl-name b { font-size: 18px; color: var(--navy); }
.fl-name small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.eng-box {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 64px; padding: 8px 12px; border-radius: 14px; background: var(--white); color: var(--navy);
  font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; box-shadow: inset 0 0 0 1px var(--line);
}
.eng-box b { font-size: 15px; font-weight: 700; }
.eng-box small { font-size: 13px; font-weight: 500; color: var(--muted); }
.eng-box i { font-style: normal; }
.eng-box.in { flex-direction: row; justify-content: flex-start; gap: 12px; padding-left: 18px; background: #D6F1ED; color: #0A6F67; box-shadow: none; text-align: left; }
.fl-ico { flex: none; width: 26px; height: 26px; color: var(--teal-dark); }
.eng-grp { display: flex; flex-direction: column; padding: 16px 16px 18px; border-radius: 20px; border: 1.5px solid var(--teal); background: rgba(255, 255, 255, .45); }
.eng-h { margin: 0 0 12px; text-align: center; white-space: nowrap; font-size: clamp(14px, 1.15vw, 16px); font-weight: 700; color: var(--teal-dark); display: flex; align-items: center; justify-content: center; gap: 8px; }
.eng-ico { flex: none; width: 22px; height: 22px; color: var(--teal-dark); }
.eng-boxes { flex: 1; display: flex; gap: 28px; }
.eng-boxes .eng-box { position: relative; padding-left: 8px; padding-right: 8px; }
.eng-boxes .eng-box + .eng-box::before { content: "›"; position: absolute; left: -19px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: rgba(14, 27, 61, .4); }
.eng-out { display: flex; }
.eng-box.end { background: #D6F1ED; color: #0A6F67; box-shadow: none; }
.eng-box.end b { font-size: 16px; }
.lanes-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 1800px) {
  .eng-box { font-size: 15.5px; min-height: 72px; }
  .eng-box b { font-size: 16.5px; }
  .eng-in { grid-auto-rows: 72px; }
  .fl-name b { font-size: 20px; }
  .eng-h { font-size: 17px; }
  .fl-ico { width: 30px; height: 30px; }
}
@media (max-width: 1100px) {
  .eng { display: flex; flex-direction: column; }
  .eng { gap: 10px; }
  .eng-arrow { align-self: center; width: 64px; height: 22px; margin: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .eng-in { grid-auto-rows: auto; align-self: stretch; row-gap: 10px; }
  .eng-in { column-gap: 14px; }
  .fl-name b { font-size: 16px; }
  .eng-box { min-height: 48px; padding: 8px 12px; }
  .eng-box br { display: none; }
  .eng-box.in { justify-content: flex-start; }
  .fl-ico { width: 20px; height: 20px; }
  .eng-boxes { gap: 26px; }
  .eng-box b { font-size: 14px; }
  .eng-box small { font-size: 12px; }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .eng { grid-template-columns: minmax(0, 1.8fr) 26px minmax(0, 1.9fr) 26px minmax(0, 1.5fr) 26px minmax(0, .8fr); }
  .eng-grp { padding: 14px 12px 16px; }
  .eng-h { font-size: 13px; gap: 6px; }
  .eng-ico { width: 18px; height: 18px; }
}
