/* GlobeZenith OÜ — corporate site. Self-hosted fonts, no scripts, no trackers. */
@font-face { font-family: "Noto Sans JP"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-jp-400.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-sans-jp-500.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans SC"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/noto-sans-sc.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans JP"; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-sans-jp-700.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunken: #f6f9fc;
  --ink: #0a2540;
  --ink-2: #425466;
  --ink-3: #697386;
  --line: #e3e8ee;
  --line-strong: #cfd7df;
  --navy: #0a2540;
  --navy-2: #1a3d63;
  --deep: #0a2540;
  --accent: #635bff;
  --accent-ink: #5149e6;
  --accent-soft: #f2f1ff;
  --draft: #fff1b8;
  --ok: #2f6b45;
  --ok-soft: #e9f4ec;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 38, .06), 0 8px 24px -12px rgba(14, 26, 38, .16);
  --wrap: 1180px;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em; font-feature-settings: "palt" 0; }
h1, h2, h3, h4 { word-break: auto-phrase; text-wrap: balance; font-feature-settings: "palt" 1; letter-spacing: .03em; line-height: 1.45; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .wrap { width: min(100% - 32px, var(--wrap)); } body { font-size: 15px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: #e7a85a; color: #1d1204; }
.btn-accent:hover { background: #efb873; }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.arrow-r::after { content: "→"; font-weight: 500; }
.link { color: var(--accent-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: .03em; }
.nav { display: flex; gap: 4px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.nav a:hover { background: var(--sunken); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-link { font-size: 13px; color: var(--ink-3); text-decoration: none; padding: 6px 8px; }
.lang-link:hover { color: var(--ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-content: center; gap: 5px; background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(86vw, 320px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; }
.menu-panel a { padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--sunken); }
.menu-panel .btn { margin: 8px 0 4px; color: #fff; }
@media (max-width: 1020px) {
  .nav, .header-actions { display: none; }
  .menu { display: block; }
}

/* Section scaffolding */
.section { padding: 88px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--sunken); border-block: 1px solid var(--line); }
.section-dark { background: var(--deep); color: #e9edf2; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.section-dark .kicker { color: #9fb6d1; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: start; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head .lead { color: var(--ink-2); font-size: 16px; padding-top: 30px; }
@media (max-width: 860px) { .section-head .lead { padding-top: 0; } }
.section-dark .section-head .lead { color: #b9c4d2; }
.section-head.stack { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 36px; }
}

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 48px); max-width: 900px; }
.page-hero .lead { margin-top: 22px; max-width: 760px; color: var(--ink-2); font-size: 17px; }
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.breadcrumb a { color: var(--ink-3); }

/* Home hero */
.hero { position: relative; padding: 88px 0 96px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 13fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.4; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .lead { margin-top: 26px; color: var(--ink-2); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.hero-facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.stack-shots { position: relative; aspect-ratio: 16 / 12.6; }
.stack-shots .browser { position: absolute; width: 78%; }
.stack-shots .s1 { top: 0; right: 0; z-index: 1; }
.stack-shots .s2 { top: 26%; left: 0; z-index: 2; }
.stack-shots .s3 { bottom: 0; right: 6%; width: 62%; z-index: 3; }
@media (max-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Browser frame around real screenshots */
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d1c6; }
.browser-bar b { margin-left: 10px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; line-height: 19px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-note { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }

/* Proof numbers */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.proof > div { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.proof > div:last-child { border-right: 0; }
.proof .big { font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.proof .big small { font-size: .45em; font-weight: 700; margin-left: 4px; }
.proof .what { font-weight: 700; font-size: 15px; line-height: 1.6; }
.proof .src { margin-top: auto; font-size: 12.5px; color: var(--ink-3); line-height: 1.65; }
@media (max-width: 960px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(2) { border-right: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof > div { border-right: 0; border-bottom: 1px solid var(--line); } .proof > div:last-child { border-bottom: 0; } }

/* Product rows */
.product-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product-row:first-of-type { border-top: 0; padding-top: 0; }
.product-row.flip > :first-child { order: 2; }
.product-row h3 { font-size: clamp(24px, 2.6vw, 30px); }
.product-row .sub { color: var(--ink-3); font-size: 14px; font-weight: 500; margin-top: 4px; }
.product-row .desc { color: var(--ink-2); margin-top: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.badge { font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--surface); }
.badge.live { border-color: #a9cfb4; color: var(--ok); background: var(--ok-soft); }
.badge.dev { border-color: var(--line-strong); color: var(--ink-2); background: var(--sunken); }
.spec { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 14.5px; }
.spec dt { color: var(--ink-3); font-weight: 500; }
.spec dd { margin: 0; color: var(--ink); }
.points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-50%); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 960px) { .product-row, .product-row.flip { grid-template-columns: 1fr; gap: 32px; } .product-row.flip > :first-child { order: 0; } }

/* Product mini cards (home) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 16 / 10; background: var(--sunken); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 19px; }
.card .sub { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.card .more { margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); }
.card-placeholder { display: grid; place-content: center; height: 100%; padding: 24px; text-align: center; color: var(--ink-3); font-size: 13px; background:
  repeating-linear-gradient(135deg, var(--sunken) 0 12px, #efece5 12px 24px); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cap { background: var(--surface); padding: 32px 30px; display: flex; flex-direction: column; gap: 10px; }
.cap svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 6px; }
.cap h3 { font-size: 18px; }
.cap p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.cap .base { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); line-height: 1.75; }
.cap .base b { display: block; font-size: 12px; letter-spacing: .06em; color: var(--navy); font-weight: 700; margin-bottom: 2px; }
@media (max-width: 960px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { counter-increment: s; position: relative; padding: 0 28px 0 0; }
.step::before { content: "STEP " counter(s); display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: 34px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step h3 { font-size: 18px; padding-top: 22px; }
.step .when { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }
.section-dark .step::after { background: rgba(255, 255, 255, .2); }
.section-dark .step p, .section-dark .step .when { color: #b9c4d2; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.case .tag { font-size: 12px; font-weight: 700; color: var(--accent-ink); letter-spacing: .06em; }
.case h3 { font-size: 19px; }
.case .result { font-size: 30px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.case .result small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.case p { font-size: 14.5px; color: var(--ink-2); }
.case .more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }

/* Case study detail */
.study { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding: 72px 0; border-top: 1px solid var(--line); }
.study:first-of-type { border-top: 0; padding-top: 0; }
.study h2 { font-size: clamp(24px, 2.8vw, 32px); }
.study .lede { margin-top: 14px; color: var(--ink-2); }
.study h3 { font-size: 16px; margin: 32px 0 10px; padding-left: 12px; border-left: 3px solid var(--accent); }
.study p, .study li { color: var(--ink-2); font-size: 15px; }
.study ul { padding-left: 1.2em; margin: 0; }
.study li + li { margin-top: 6px; }
.study aside { align-self: start; position: sticky; top: 96px; display: grid; gap: 18px; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.facts h4 { font-size: 13px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: 12.5px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; line-height: 1.6; }
.facts dd.big { font-size: 26px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.facts .src { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 960px) { .study { grid-template-columns: 1fr; gap: 28px; } .study aside { position: static; } }

/* Lists of principles / quality */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar h3 { font-size: 18px; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: 15px; }
.pillar .n { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .12em; margin-bottom: 10px; }
.section-dark .pillar p { color: #b9c4d2; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 28px; } }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.check svg { width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }
.check h3 { font-size: 16px; }
.check p { grid-column: 2; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .checklist { grid-template-columns: 1fr; } }

/* Prose blocks */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 56px 0 16px; }
.prose h3 { font-size: 18px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }

/* Message */
.message { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.message blockquote { margin: 0; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.7; letter-spacing: .03em; }
.message .body p { color: var(--ink-2); }
.message .body p + p { margin-top: 1.1em; }
.message .sign { margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.message .sign b { display: block; font-size: 20px; color: var(--ink); letter-spacing: .1em; margin-top: 4px; }
@media (max-width: 860px) { .message { grid-template-columns: 1fr; gap: 28px; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 30px 32px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline time { font-weight: 700; font-size: 14px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.timeline p { color: var(--ink-2); margin-top: 2px; }

/* News */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 130px 110px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.news .cat { font-size: 12px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; justify-self: start; }
.news a { text-decoration: none; font-weight: 500; }
.news a:hover { text-decoration: underline; }
@media (max-width: 640px) { .news li { grid-template-columns: auto 1fr; } .news li > :last-child { grid-column: 1 / -1; } }

/* Tables */
.info { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info th, .info td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; }
.info th { width: 210px; background: var(--sunken); color: var(--ink-2); font-weight: 500; }
.info a { color: var(--accent-ink); }
@media (max-width: 640px) { .info th, .info td { display: block; width: auto; padding: 12px 18px; } .info th { border-bottom: 0; padding-bottom: 2px; font-size: 13px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); }
.faq details > div p + p { margin-top: .8em; }

/* Notes and callouts */
.note { font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.callout { background: var(--accent-soft); border: 1px solid #d6e1ec; border-radius: var(--radius); padding: 22px 24px; color: var(--ink-2); font-size: 15px; }
.callout b { color: var(--ink); }

/* CTA band */
.cta { background: var(--deep); color: #fff; border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(24px, 2.8vw, 32px); }
.cta p { color: #b9c4d2; margin-top: 12px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
.cta .mail { font-size: 14px; color: #b9c4d2; text-align: center; }
.cta .mail a { color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 36px 28px; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.mailbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.mailbox .addr { display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); width: fit-content; margin: 8px 0 18px; word-break: break-all; }
.mailbox .addr:hover { color: var(--accent-ink); }
.templates { display: grid; gap: 10px; margin-top: 18px; }
.templates a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; }
.templates a:hover { border-color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--deep); color: #a8b4c3; font-size: 14px; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 40px; }
.footer-brand p { margin-top: 16px; line-height: 1.8; font-size: 13px; }
.brand-invert .brand-name { color: #fff; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer-head { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.site-footer a { color: #c9d2dd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: 72px 0 112px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); }
.legal-meta { color: var(--ink-3); font-size: 13.5px; margin: 10px 0 40px; }
.legal h2 { font-size: 18px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: .8em; }
.legal ul { padding-left: 1.2em; margin: 0; }

/* 404 */
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: 32px; margin-bottom: 12px; }
.notfound .btn { margin-top: 28px; }

.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Values awaiting the owner's decision: highlighted in previews; scripts/check.mjs --prod refuses them. */
[data-draft] { background: var(--draft); box-shadow: 0 0 0 2px var(--draft); border-radius: 2px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e9eef4; }

/* Headings used outside section heads */
.h2 { font-size: clamp(24px, 2.8vw, 32px); }
.h3 { font-size: 19px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }

/* Price plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plans-2 { grid-template-columns: repeat(2, 1fr); }
.plan { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 28px 28px 26px; display: flex; flex-direction: column; }
.plan-step { font-weight: 700; font-size: 15px; color: var(--navy); }
.plan-price { font-size: clamp(28px, 2.8vw, 34px); font-weight: 700; line-height: 1.25; margin-top: 10px; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 4px; }
.plan-term { font-size: 14px; color: var(--ink-2); margin-top: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan .points { margin-top: 16px; }
.plan-foot { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--ink-3); line-height: 1.75; }
@media (max-width: 960px) { .plans, .plans-2 { grid-template-columns: 1fr; } }

/* Person */
.person { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.person-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); display: grid; place-content: center; color: var(--ink-3); font-size: 13px; background: var(--sunken); border: 1px dashed var(--line-strong); }
.person-photo[data-draft] { background: var(--draft); box-shadow: none; }
.message .person-photo { max-width: 240px; }
.person-role { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.person-name { font-size: 28px; font-weight: 700; letter-spacing: .08em; margin-top: 4px; }
.person-name span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }
.person-bio { margin-top: 16px; color: var(--ink-2); }
.person .points { margin-top: 24px; }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; gap: 28px; } .person-photo { max-width: 220px; } }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 56px; padding: 40px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc-head h3 { font-size: 22px; margin-bottom: 12px; }
.svc-head p { color: var(--ink-2); }
.svc-shot { margin: 24px 0 0; max-width: 460px; }
.svc-spec { margin: 0; display: grid; gap: 14px; align-content: start; background: var(--sunken); border-radius: var(--radius); padding: 22px 24px; }
.svc-spec dt { font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.svc-spec dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink); line-height: 1.75; }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; } }

/* Contact flow */
.flow { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 16px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; }
.flow li::before { content: counter(f); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-content: center; }
.flow b { font-size: 15px; }
.flow span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.draft-legend { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.ph-16x10 { aspect-ratio: 16 / 10; }
.facts .src span[data-draft], .flow span[data-draft] { display: inline; }
.case { text-decoration: none; color: inherit; }
a.case:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.page-hero .hero-actions { margin-top: 28px; }

/* Hero meta, mini product, case headings */
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 36px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-meta dt { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.hero-meta dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .hero-meta { gap: 0 20px; } .hero-meta dd { font-size: 14px; } }
.lead-s { color: var(--ink-2); margin-top: 12px; }
.product-mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.product-mini h3 { font-size: 18px; }
.product-mini p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.product-mini .row-actions { display: flex; gap: 20px; margin-top: 16px; }
.case h3 { font-size: 18px; line-height: 1.55; }
.callout { font-size: 15px; border-left: 4px solid var(--navy); border-radius: 4px; background: var(--sunken); border-top: 0; border-right: 0; border-bottom: 0; }
.callout b { display: inline-block; margin-right: 8px; }

/* Works index */
.work-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: w; }
.work-index li { counter-increment: w; }
.work-index a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; height: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.work-index a::before { content: counter(w, decimal-leading-zero); grid-row: span 3; font-weight: 700; font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; padding-top: 1px; }
.work-index a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.work-index .tag { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.work-index b { font-size: 16px; line-height: 1.6; }
.work-index span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 860px) { .work-index { grid-template-columns: 1fr; } }
.section-alt .study { border-top-color: var(--line-strong); }
.section-alt .facts { background: var(--surface); }

/* Home hero summary panel */
.hero-panel { background: var(--sunken); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.hero-panel-head { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.hero-panel ul { list-style: none; margin: 0 0 18px; padding: 0; }
.hero-panel li { display: grid; grid-template-columns: 112px 1fr; gap: 0 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-panel li .tag { grid-row: span 2; font-size: 12px; font-weight: 700; color: var(--ink-3); padding-top: 3px; }
.hero-panel li b { font-size: 15.5px; }
.hero-panel li span:last-child { font-size: 14px; color: var(--ink-2); }
@media (max-width: 480px) { .hero-panel { padding: 22px 20px; } .hero-panel li { grid-template-columns: 1fr; } .hero-panel li .tag { grid-row: auto; } }

/* First-client offer under the price plans */
.plan-first { margin-top: 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--navy); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.plan-first b { display: inline-block; margin-right: 10px; color: var(--navy); }

img.person-photo { display: block; width: 100%; height: auto; object-fit: cover; border: 0; padding: 0; background: var(--sunken); }

/* ===== Stripe-style layer: gradient band, pill buttons, quiet surfaces ===== */
:root {
  --s-ink: #0a2540;
  --s-text: #425466;
  --s-muted: #8792a2;
  --s-indigo: #635bff;
  --s-soft: #f6f9fc;
  --s-line: #e3e8ee;
  --s-shadow: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --s-shadow-s: 0 13px 27px -5px rgba(50, 50, 93, .18), 0 8px 16px -8px rgba(0, 0, 0, .2);
  --band-h: 100%;
}
body { color: var(--s-ink); }
h1, h2, h3, h4 { color: var(--s-ink); }

/* Header sits on the band */
.site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; border-bottom: 0; }
.brand-name { color: var(--s-ink); }
.nav a { color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(10, 37, 64, .12); }
.nav a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.lang-link { color: rgba(255, 255, 255, .9); font-weight: 700; }
.lang-link:hover { color: #fff; }
.header-actions .btn-primary { background: rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; }
.header-actions .btn-primary:hover { background: rgba(255, 255, 255, .34); }
.menu summary { border: 0; background: rgba(255, 255, 255, .7); }
.menu-panel { border: 0; box-shadow: var(--s-shadow-s); border-radius: 12px; }

/* The band: a skewed gradient with slow-moving colour fields and a fine grain */
.hero, .s-hero, .page-hero, .legal, .notfound { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .hero::after, .s-hero::before, .page-hero::before, .legal::before, .notfound::before, .hero::after, .s-hero::after, .page-hero::after, .legal::after, .notfound::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--band-h); transform: skewY(-12deg); transform-origin: 0 100%; z-index: -1; pointer-events: none; }
.hero::before, .s-hero::before, .page-hero::before, .legal::before, .notfound::before {
  background:
    radial-gradient(28% 55% at 18% 62%, rgba(255, 216, 120, .95), transparent 70%),
    radial-gradient(26% 50% at 52% 26%, rgba(255, 95, 150, .85), transparent 70%),
    radial-gradient(30% 60% at 86% 58%, rgba(108, 196, 255, .9), transparent 70%),
    radial-gradient(24% 48% at 70% 86%, rgba(150, 92, 255, .85), transparent 70%),
    linear-gradient(105deg, #ffefb5 0%, #ffd08a 20%, #ffab8e 38%, #ff7aa6 52%, #e061d6 64%, #9a63ff 78%, #6e86ff 90%, #7fd4ff 100%);
  background-size: 170% 170%, 150% 150%, 160% 160%, 150% 150%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, 0 0;
  animation: band-flow 26s ease-in-out infinite alternate;
}
.hero::after, .s-hero::after, .page-hero::after, .legal::after, .notfound::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .14; mix-blend-mode: overlay;
}
@keyframes band-flow {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, 0 0; }
  50% { background-position: 60% 40%, 40% 70%, 0% 30%, 80% 20%, 0 0; }
  100% { background-position: 100% 100%, 0% 100%, 100% 0%, 30% 0%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hero::before, .s-hero::before, .page-hero::before, .legal::before, .notfound::before { animation: none; } }
@media (max-width: 760px) {
  .hero::before, .s-hero::before, .page-hero::before, .legal::before, .notfound::before { background-size: 220% 170%, 200% 150%, 200% 160%, 200% 150%, 230% 100%; }
}

/* Inner page hero */
.page-hero { padding: 168px 0 176px; border-bottom: 0; background: transparent; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.25; letter-spacing: .01em; mix-blend-mode: multiply; }
.page-hero .lead { color: var(--s-ink); font-weight: 500; font-size: 18px; }
.page-hero .kicker { color: var(--s-ink); opacity: .78; }
.breadcrumb, .breadcrumb a { color: var(--s-ink); opacity: .75; }
@media (max-width: 760px) { .page-hero { padding: 132px 0 112px; } .page-hero .lead { font-size: 16px; } }

/* Legal and 404 pages get a short band */
.legal, .notfound { --band-h: 440px; padding-top: 200px; }
.hero { padding: 160px 0 120px; background: transparent; border-bottom: 0; }
.hero h1 { mix-blend-mode: multiply; }
.hero .lead, .hero .kicker { color: var(--s-ink); font-weight: 500; }
.hero .hero-facts { color: var(--s-ink); border-top-color: rgba(10, 37, 64, .2); }
.hero-panel { background: #fff; border: 0; box-shadow: var(--s-shadow); }
@media (max-width: 960px) { .hero { padding: 132px 0 80px; } }
@media (max-width: 760px) { .legal, .notfound { --band-h: 220px; padding-top: 168px; } }

/* Buttons, links, kickers */
.btn { border-radius: 999px; min-height: 46px; padding: 0 22px; }
.btn-primary { background: var(--s-indigo); }
.btn-primary:hover { background: var(--s-ink); }
.btn-line { border-color: var(--s-line); }
.btn-line:hover { border-color: var(--s-ink); }
.btn-white { color: var(--s-ink); }
.kicker { letter-spacing: .06em; text-transform: none; font-size: 14px; color: var(--s-indigo); }
.link { color: var(--s-indigo); border-bottom: 0; }
.link:hover { color: var(--s-ink); }

/* Surfaces */
.section-alt { background: var(--s-soft); border-block: 0; }
.section-head h2 { letter-spacing: .01em; }
.plan, .case, .facts, .mailbox, .product-mini, .work-index a { border-color: var(--s-line); border-radius: 12px; }
.plan { border-top: 1px solid var(--s-line); }
.plan-step { color: var(--s-indigo); }
.info { border-color: var(--s-line); border-radius: 12px; }
.info th { background: var(--s-soft); }
.callout { border-left-color: var(--s-indigo); background: var(--s-soft); }
.badge { border-radius: 999px; }
.badge.live { color: #0e6245; background: #e6f7ef; border-color: #b5e3cc; }
.cta { background: var(--s-ink); border-radius: 16px; }
.site-footer { background: var(--s-ink); }
.timeline li::before { border-color: var(--s-indigo); }
.timeline time { color: var(--s-indigo); }
.points li::before { border-color: var(--s-indigo); }
.study h3 { border-left-color: var(--s-indigo); }
.flow li::before { background: var(--s-indigo); }
.browser { border-color: var(--s-line); border-radius: 10px; box-shadow: var(--s-shadow-s); }
.browser-bar i { display: none; }
.browser-bar { justify-content: center; }
.browser-bar b { margin-left: 0; }

/* ===== Home ===== */
.s-home h1, .s-home h2, .s-home h3 { color: var(--s-ink); letter-spacing: .01em; }
.s-home p { color: var(--s-text); }
.s-kicker { font-size: 14px; font-weight: 700; color: var(--s-indigo); letter-spacing: .04em; margin-bottom: 14px; }
.s-home .s-kicker { color: var(--s-indigo); }
.s-muted { color: var(--s-muted); }
.s-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 36px; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.s-btn span { font-size: 18px; line-height: 1; transition: transform .15s; }
.s-btn:hover span { transform: translateX(3px); }
.s-btn-primary { background: var(--s-ink); color: #fff; }
.s-btn-primary:hover { background: var(--s-indigo); }
.s-btn-plain { color: var(--s-ink); padding: 0 6px; }
.s-btn-plain:hover { color: var(--s-indigo); }
.s-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--s-indigo); font-weight: 700; font-size: 15px; text-decoration: none; }
.s-link span { font-size: 18px; line-height: 1; transition: transform .15s; }
.s-link:hover span { transform: translateX(3px); }
.s-tag, .s-home .s-tag { font-size: 13px; font-weight: 700; color: var(--s-indigo); letter-spacing: .04em; }
.s-note, .s-home .s-note { font-size: 13px; color: var(--s-muted); margin-top: 12px; }
.s-note a { color: var(--s-indigo); margin-left: 8px; }

/* Hero */
.s-hero { --band-h: 760px; padding: 160px 0 96px; }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 12fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.s-hero-copy { padding-top: 24px; }
.s-hero .s-kicker { color: var(--s-ink); opacity: .8; }
.s-hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.14; font-weight: 700; letter-spacing: -.01em; mix-blend-mode: multiply; }
.s-hero .s-lead { margin-top: 28px; max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.9; font-weight: 500; color: var(--s-ink); }
.s-screens { position: relative; height: 590px; margin: 0; }
.s-win { position: absolute; margin: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--s-shadow); }
.s-win-bar { display: flex; align-items: center; justify-content: center; height: 28px; background: var(--s-soft); border-bottom: 1px solid var(--s-line); }
.s-win-bar span { font-size: 11px; color: #697386; background: #fff; border: 1px solid var(--s-line); border-radius: 6px; padding: 0 14px; line-height: 18px; }
.s-win img { width: 100%; height: auto; }
.s-win-back { top: 0; left: 12%; width: 620px; }
.s-win-front { top: 170px; left: -12%; width: 470px; }
.s-screens-note { position: absolute; left: -12%; right: 0; bottom: 0; font-size: 12.5px; color: var(--s-muted) !important; }
@media (max-width: 1000px) {
  .s-hero { --band-h: 820px; padding: 132px 0 72px; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .s-hero-copy { padding-top: 0; }
  .s-screens { height: auto; padding-bottom: 64px; }
  .s-win-back { position: relative; left: auto; top: auto; width: 100%; }
  .s-win-front { top: auto; bottom: 56px; left: auto; right: -4%; width: 62%; }
  .s-screens-note { position: static; margin-top: 16px; }
}
@media (max-width: 560px) {
  .s-hero { --band-h: 860px; }
  .s-win-front { width: 76%; right: -2%; bottom: 40px; }
  .s-screens { padding-bottom: 120px; }
}

/* Sections */
.s-section { padding: 120px 0; }
.s-head { max-width: 860px; margin-bottom: 56px; }
.s-head h2 { font-size: clamp(26px, 3.1vw, 38px); line-height: 1.45; font-weight: 700; }
@media (max-width: 760px) { .s-section { padding: 88px 0; } .s-head { margin-bottom: 40px; } }

/* Three businesses */
.s-biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.s-biz a { display: block; padding-top: 22px; border-top: 2px solid var(--s-ink); text-decoration: none; }
.s-biz .s-num { font-size: 13px; font-weight: 700; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.s-biz h3 { font-size: 21px; margin-top: 6px; }
.s-biz p { font-size: 15px; margin-top: 10px; line-height: 1.85; }
.s-biz .s-link { margin-top: 14px; }
@media (max-width: 900px) { .s-biz { grid-template-columns: 1fr; gap: 32px; } }

/* Capability list */
.s-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.s-tile { padding-top: 20px; border-top: 1px solid var(--s-line); }
.s-ico { display: block; width: 26px; height: 26px; color: var(--s-indigo); margin-bottom: 14px; }
.s-ico svg { width: 26px; height: 26px; }
.s-tile h3 { font-size: 17px; line-height: 1.55; }
.s-tile p { font-size: 15px; margin-top: 8px; line-height: 1.85; }
.s-tile .s-base { font-size: 13px; color: var(--s-muted); margin-top: 12px; }
.s-decline { margin-top: 56px; font-size: 14px; color: var(--s-muted) !important; padding-top: 20px; border-top: 1px solid var(--s-line); }
@media (max-width: 1000px) { .s-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .s-grid3 { grid-template-columns: 1fr; gap: 32px; } }

/* Slanted soft band */
.s-slant { position: relative; padding: 150px 0 160px; isolation: isolate; }
.s-slant::before { content: ""; position: absolute; inset: 0; background: var(--s-soft); transform: skewY(-6deg); transform-origin: 0 50%; z-index: -1; }

/* Feature rows */
.s-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; padding: 40px 0; }
.s-feat-flip .s-feat-text { order: 2; }
.s-feat h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.5; margin-top: 10px; }
.s-feat-text p:not(.s-tag) { margin-top: 14px; font-size: 16px; line-height: 1.9; }
.s-shot { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--s-shadow); }
.s-shot img { width: 100%; height: auto; }
.s-figs { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 12px; box-shadow: var(--s-shadow); overflow: hidden; }
.s-figs div { padding: 26px 28px; border-bottom: 1px solid var(--s-line); }
.s-figs div:nth-child(odd) { border-right: 1px solid var(--s-line); }
.s-figs div:nth-last-child(-n+2) { border-bottom: 0; }
.s-figs b { display: block; font-size: 30px; line-height: 1.2; color: var(--s-ink); font-variant-numeric: tabular-nums; }
.s-figs b small { font-size: 15px; margin-left: 2px; }
.s-figs span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--s-text); line-height: 1.7; }
.s-more-row { margin-top: 32px; text-align: center; }
@media (max-width: 960px) { .s-feat, .s-feat-flip { grid-template-columns: 1fr; gap: 28px; } .s-feat-flip .s-feat-text { order: 0; } .s-slant { padding: 110px 0 120px; } }
@media (max-width: 480px) { .s-figs div { padding: 20px; } .s-figs b { font-size: 24px; } }

/* Dark numbers band */
.s-dark { background: var(--s-ink); padding: 120px 0; }
.s-head-dark h2 { color: #fff !important; }
.s-home .s-head-dark .s-kicker { color: #a5a0ff; }
.s-head-dark .s-muted { color: #8ea1b8; }
.s-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.s-stats > div { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.s-stat { display: flex; align-items: baseline; gap: 4px; }
.s-stat .num { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1; color: #fff; }
.s-stat small { font-size: 16px; font-weight: 700; color: #c7d2e0; }
.s-stats p:not(.s-stat) { margin-top: 12px; font-size: 14px; color: #adbdcc !important; line-height: 1.75; }
@media (max-width: 900px) { .s-stats { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .s-dark { padding: 88px 0; } }

/* Steps and plans */
.s-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.s-steps li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 10px; background: var(--s-soft); }
.s-steps span { font-size: 12px; font-weight: 700; color: var(--s-indigo); }
.s-steps b { font-size: 16px; color: var(--s-ink); }
.s-steps em { font-style: normal; font-size: 13px; color: var(--s-muted); }
.s-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-plan { padding: 30px 28px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); }
.s-plan-hi { border-color: transparent; box-shadow: var(--s-shadow); }
.s-plan-name { font-size: 14px; font-weight: 700; color: var(--s-indigo) !important; }
.s-plan-price { font-size: 34px; font-weight: 700; color: var(--s-ink) !important; margin-top: 8px; line-height: 1.2; }
.s-plan-price small { display: block; font-size: 12.5px; font-weight: 500; color: var(--s-muted); margin-top: 6px; }
.s-plan-desc { font-size: 14.5px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--s-line); line-height: 1.85; }
.s-offer { margin-top: 20px; padding: 18px 22px; border-radius: 12px; background: var(--s-soft); font-size: 15px; color: var(--s-ink) !important; }
.s-offer b { margin-right: 12px; color: var(--s-indigo); }
@media (max-width: 900px) { .s-steps { grid-template-columns: 1fr 1fr; } .s-plans { grid-template-columns: 1fr; } }

/* Security */
.s-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.s-split .s-head { margin-bottom: 0; }
.s-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-sec div { padding: 22px; background: #fff; border-radius: 12px; box-shadow: 0 2px 5px -1px rgba(50, 50, 93, .1), 0 1px 3px -1px rgba(0, 0, 0, .08); }
.s-sec b { font-size: 15px; color: var(--s-ink); }
.s-sec p { font-size: 14px; margin-top: 8px; line-height: 1.8; }
@media (max-width: 900px) { .s-split { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .s-sec { grid-template-columns: 1fr; } }

/* Person */
.s-person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.s-person-photo img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--s-shadow); }
.s-person-text h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.45; }
.s-quote { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--s-ink) !important; }
.s-person-text > p:not(.s-kicker):not(.s-quote):not(.s-sign) { margin-top: 16px; font-size: 15.5px; line-height: 1.95; }
.s-sign { margin-top: 22px; font-size: 13px; color: var(--s-muted) !important; }
.s-sign b { font-size: 20px; letter-spacing: .12em; color: var(--s-ink); margin-right: 12px; }
@media (max-width: 900px) { .s-person { grid-template-columns: 1fr; gap: 48px; } .s-person-photo { max-width: 300px; } }

/* Products */
.s-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.s-prod a { display: flex; flex-direction: column; padding: 32px; border-radius: 14px; border: 1px solid var(--s-line); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.s-prod a:hover { border-color: transparent; box-shadow: var(--s-shadow-s); }
.s-prod h3 { font-size: 26px; margin-top: 6px; }
.s-prod p:not(.s-tag) { margin-top: 10px; font-size: 15.5px; line-height: 1.85; }
.s-prod dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; padding-top: 18px; border-top: 1px solid var(--s-line); }
.s-prod dt { color: var(--s-muted); }
.s-prod dd { margin: 0; color: var(--s-ink); }
.s-prod .s-link { margin-top: auto; padding-top: 22px; }
@media (max-width: 900px) { .s-prod { grid-template-columns: 1fr; } .s-prod a { padding: 26px; } }

/* CTA */
.s-cta { padding: 112px 0; border-top: 1px solid var(--s-line); }
.s-cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.s-cta h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.4; }
.s-cta p { margin-top: 16px; font-size: 16px; }
.s-cta-links a { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--s-line); text-decoration: none; }
.s-cta-links a:last-child { border-bottom: 1px solid var(--s-line); }
.s-cta-links b { font-size: 17px; color: var(--s-ink); }
.s-cta-links b::after { content: " ›"; color: var(--s-indigo); }
.s-cta-links span { font-size: 14px; color: var(--s-text); }
@media (max-width: 900px) { .s-cta-grid { grid-template-columns: 1fr; gap: 32px; } .s-cta { padding: 88px 0; } }

/* Business and marketing pages */
.biz-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; padding: 64px 0; border-top: 1px solid var(--s-line); }
.biz-row:first-of-type { border-top: 0; padding-top: 0; }
.biz-row .n { font-size: 13px; font-weight: 700; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.biz-row h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 6px; }
.biz-row .lead-s { margin-top: 14px; }
.biz-row .row-actions { margin-top: 24px; }
.biz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.biz-list li { padding: 18px 0; border-top: 1px solid var(--s-line); }
.biz-list li:first-child { border-top: 0; padding-top: 4px; }
.biz-list b { display: block; font-size: 16px; }
.biz-list span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.biz-list em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .biz-row { grid-template-columns: 1fr; padding: 48px 0; } }
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: l; }
.loop li { counter-increment: l; padding: 22px; border-radius: 12px; background: #fff; box-shadow: 0 2px 5px -1px rgba(50, 50, 93, .1), 0 1px 3px -1px rgba(0, 0, 0, .08); }
.loop li::before { content: counter(l, decimal-leading-zero); display: block; font-size: 12px; font-weight: 700; color: var(--s-indigo); margin-bottom: 6px; }
.loop b { display: block; font-size: 16px; }
.loop span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* Headings on dark surfaces */
.cta h2, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

/* ===== v5: logo, pricing, work cards, products ===== */
.brand-logo { width: 40px; height: 40px; border-radius: 50%; }
.brand-invert .brand-logo { background: #fff; box-shadow: 0 0 0 2px #fff; }
.s-section-soft { background: var(--s-soft); }

.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plan-hi { border-color: transparent; box-shadow: var(--s-shadow-s); }
.plan-hi .plan-step::after { content: "おすすめ"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--s-indigo); color: #fff; font-size: 11px; vertical-align: 1px; }
.plan .plan-price small { display: block; }
@media (max-width: 1100px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans-4 { grid-template-columns: 1fr; } }

.s-prod-3 { grid-template-columns: repeat(3, 1fr); }
.s-prod h3 small { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--s-muted); letter-spacing: .06em; }
@media (max-width: 1000px) { .s-prod-3 { grid-template-columns: 1fr; } }

.s-more-list { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.s-more-list a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--s-ink); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 5px -1px rgba(50, 50, 93, .1), 0 1px 3px -1px rgba(0, 0, 0, .08); transition: color .15s, box-shadow .15s; }
.s-more-list a:hover { color: var(--s-indigo); box-shadow: var(--s-shadow-s); }
.s-note a + a { margin-left: 14px; }

.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wk { display: flex; flex-direction: column; border: 1px solid var(--s-line); border-radius: 14px; overflow: hidden; background: #fff; scroll-margin-top: 24px; transition: box-shadow .15s, border-color .15s; }
.wk:hover { border-color: transparent; box-shadow: var(--s-shadow-s); }
.wk-vis { aspect-ratio: 16 / 10; overflow: hidden; background: var(--s-soft); }
.wk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.wk-num { display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 28px; background:
  radial-gradient(60% 90% at 100% 0%, rgba(108, 196, 255, .28), transparent 70%),
  radial-gradient(60% 90% at 0% 100%, rgba(255, 122, 166, .2), transparent 70%),
  linear-gradient(135deg, #f6f9fc, #eef1fb); }
.wk:nth-child(3n+2) .wk-num { background:
  radial-gradient(60% 90% at 100% 0%, rgba(255, 208, 138, .4), transparent 70%),
  radial-gradient(60% 90% at 0% 100%, rgba(154, 99, 255, .18), transparent 70%),
  linear-gradient(135deg, #f6f9fc, #f3f0fb); }
.wk-num b { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; color: var(--s-ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wk-num b small { font-size: 18px; margin-left: 3px; }
.wk-num span { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--s-text); }
.wk-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.wk-body h2 { margin-top: 6px; font-size: 19px; line-height: 1.55; }
.wk-body > p:not(.s-tag) { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--s-text); }
.wk-facts { margin: auto 0 0; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-facts div { padding-top: 12px; border-top: 1px solid var(--s-line); }
.wk-facts dt { font-size: 12px; color: var(--s-muted); }
.wk-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; color: var(--s-ink); }
@media (max-width: 1080px) { .wk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .wk-grid { grid-template-columns: 1fr; } }

.h2-sub { margin-left: 12px; font-size: 15px; font-weight: 500; color: var(--s-muted); letter-spacing: .08em; }
.cue-card { align-self: center; padding: 30px; border-radius: 16px; background: var(--s-ink); box-shadow: var(--s-shadow); color: #fff; }
.cue-card p { margin: 0; }
.cue-card span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.cue-q { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 16px; color: #c7d2e0; }
.cue-q span { color: #8ea1b8; }
.cue-a { margin-top: 14px !important; padding: 18px; border-radius: 12px; background: #fff; color: var(--s-ink); font-size: 19px; font-weight: 700; line-height: 1.6; }
.cue-a span { color: var(--s-indigo); }
.cue-src { margin-top: 12px !important; font-size: 13px; color: #a5b4c8; }
.cue-note { margin-top: 18px !important; font-size: 12px; color: #6f8299; text-align: right; }
.badge.dev { color: var(--s-indigo); background: #efeefe; border-color: #d5d2ff; }
.s-section-soft .s-steps li { background: #fff; }
.s-person-photo { max-width: 400px; }
@media (max-width: 1000px) { .s-screens-note { display: none; } }

/* ===== Languages: Simplified Chinese has its own font; English reads better with tighter tracking ===== */
html:lang(zh-Hans) { --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans JP", system-ui, sans-serif; }
html:lang(en) body { letter-spacing: 0; line-height: 1.75; }
html:lang(en) h1, html:lang(en) h2, html:lang(en) h3 { letter-spacing: -.01em; }
html:lang(zh-Hans) body { line-height: 1.85; }
.footer-langs { display: flex; gap: 18px; }
html:lang(en) .plan-hi .plan-step::after { content: "Recommended"; }
html:lang(zh-Hans) .plan-hi .plan-step::after { content: "推荐"; }
.nav a, .lang-link, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1180px) {
  html:lang(en) .nav, html:lang(en) .header-actions { display: none; }
  html:lang(en) .menu { display: block; }
}
