/* ===========================================================
   N-AddIn — PDF特化のシステム開発スタジオ
   Shared stylesheet
   =========================================================== */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #5d6b7e;
  --line: #ccd6e4;
  --line-soft: #dde5ef;
  --bg: #ffffff;
  --page: #eef2f8;
  --bg-soft: #e6ecf5;
  --bg-tint: #dfe7f1;

  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #3b82f6;
  --cyan: #06b6d4;
  --accent: #0ea5e9;

  --grad: linear-gradient(120deg, #2563eb 0%, #0ea5e9 55%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .07), 0 4px 12px -5px rgba(15, 23, 42, .12);
  --shadow: 0 10px 28px -12px rgba(15, 23, 42, .22);
  --shadow-lg: 0 24px 60px -24px rgba(30, 58, 138, .35);

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --header-h: 70px;

  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; letter-spacing: .01em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; }
.section--tint { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #e2e8f0; }

/* ---------- helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
/* Keep the brand name in its proper case (not uppercased by .eyebrow) */
.brand-name { text-transform: none; letter-spacing: normal; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.section-lead { color: var(--muted); font-size: 17px; margin: 0; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-light); color: var(--brand-dark); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ===========================================================
   Header
   =========================================================== */
.campaign-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 20px;
  background: #e0f2fe;
  border-bottom: 1px solid #bae6fd;
  color: #0c4a6e;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background .15s, color .15s;
}
.campaign-bar:hover {
  background: #bae6fd;
  color: #075985;
  text-decoration: none;
}
.campaign-bar-label {
  padding: 3px 8px;
  border: 1px solid #eab308;
  border-radius: 4px;
  background: #fef08a;
  color: #713f12;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.campaign-bar-more {
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
/* Logo image (PNG lockup: mark + wordmark). Sized by height; width auto. */
.logo img { height: 40px; width: auto; display: block; }
/* Footer sits on a dark background → render the logo in white (needs a transparent PNG) */
.footer-brand .logo img { height: 38px; filter: brightness(0) invert(1); }
.logo .logo-text b { color: var(--brand-dark); }
.logo .logo-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: -3px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.nav a:hover { background: var(--bg-tint); color: var(--brand-dark); text-decoration: none; }
.nav a.is-active {
  color: var(--brand-dark);
  background: transparent;
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
/* Header CTA: solid color for clear, high-contrast readability (no gradient fade) */
.nav .btn { margin-left: 14px; padding: 11px 20px; font-size: 14px; }
.nav .btn::after { display: none; }
.nav .btn-primary { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 16px -8px rgba(29, 78, 216, .7); }
.nav .btn-primary:hover { background: #1e40af; color: #fff; box-shadow: 0 10px 22px -10px rgba(29, 78, 216, .8); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.nav-toggle:hover { border-color: #93c5fd; background: #eff6ff; }
.nav-toggle:focus-visible { outline: 3px solid rgba(37,99,235,.22); outline-offset: 2px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, #e0f2fe 0%, rgba(224,242,254,0) 60%),
    radial-gradient(900px 500px at 8% 8%, #eef2ff 0%, rgba(238,242,255,0) 55%),
    #ffffff;
  padding: 68px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 18px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: .005em;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 590px;
}
.hero-transform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  max-width: 610px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
.hero-transform > div {
  position: relative;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
}
.hero-transform > div::after {
  content: "↓";
  position: absolute;
  top: 9px;
  right: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.hero-transform span,
.hero-transform b { display: block; }
.hero-transform span {
  padding-right: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.hero-transform b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}
.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 130px;
}
.hero-stat b { display: block; font-size: 26px; color: var(--brand-dark); line-height: 1.2; }
.hero-stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* hero visual */
.hero-visual { position: relative; }
.hero-image {
  margin: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
  z-index: 2;
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.mock-bar i:nth-child(1) { background: #fca5a5; }
.mock-bar i:nth-child(2) { background: #fcd34d; }
.mock-bar i:nth-child(3) { background: #86efac; }
.mock-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.mock-pdf, .mock-csv {
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.mock-pdf { background: #fef2f2; border: 1px solid #fecaca; }
.mock-csv { background: #ecfeff; border: 1px solid #a5f3fc; }
.mock-doc-ico { font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 10px; }
.mock-pdf .mock-doc-ico { background: #ef4444; color: #fff; }
.mock-csv .mock-doc-ico { background: #0891b2; color: #fff; }
.mock-line { height: 7px; border-radius: 4px; background: #e2e8f0; margin: 7px 8px; }
.mock-line.s { width: 60%; }
.mock-arrow { color: var(--brand); font-size: 24px; font-weight: 800; }
.mock-foot { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mock-foot .chk { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 11px; }
.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  z-index: 3;
}
.hero-float.one { top: -18px; left: -16px; color: var(--brand-dark); }
.hero-float.two { bottom: -16px; right: -10px; color: #0891b2; }
.hero-float .big { font-size: 20px; }

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 18px 0;
}
.trust-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.trust-inner span { color: var(--muted); font-weight: 600; font-size: 13px; }
.trust-inner span b {
  margin-right: 6px;
  color: var(--brand-dark);
  font-size: 18px;
}
.trust-inner a { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---------- first contract offer ---------- */
.first-offer {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: 42px 0;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.first-offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 36px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: none;
}
.first-offer-label {
  margin: 0 0 7px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
}
.first-offer h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(21px, 2.7vw, 29px);
}
.first-offer h2 strong {
  color: var(--brand-dark);
  white-space: nowrap;
}
.first-offer h2 em {
  font-size: 1.16em;
  font-style: normal;
  line-height: 1;
}
.first-offer-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #334155;
  font-size: 14px;
}
.first-offer-action {
  display: grid;
  gap: 9px;
  justify-items: center;
}
.first-offer-action .btn { justify-content: center; }
.first-offer-link { font-size: 13px; font-weight: 700; }
.first-offer-notes {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 16px 0 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ===========================================================
   Cards / grids
   =========================================================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--brand-dark);
  margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card .ico img { width: 30px; height: 30px; display: block; object-fit: contain; }
.card h3 { font-size: 18px; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* problem cards */
.problem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem:hover {
  transform: translateY(-3px);
  border-color: #b9c7d9;
  box-shadow: var(--shadow);
}
.problem-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-tint);
}
.problem-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(15,23,42,.12));
  pointer-events: none;
}
.problem-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform .35s ease;
}
.problem:hover .problem-image img { transform: scale(1.025); }
.problem-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 24px;
}
.problem .pnum {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  display: grid; place-items: center;
  font-weight: 800;
}
.problem h3 { font-size: 16px; margin: 2px 0 6px; }
.problem p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- services ---------- */
/* Inverted icon tiles: blue gradient base with a white pictogram.
   The .card-scoped selector out-specifies the default light .card .ico. */
.service-ico,
.card .ico.service-ico {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 14px -7px rgba(37, 99, 235, .55);
}

/* ---------- media cards (image on top) ---------- */
.media-card { padding: 0; overflow: hidden; }
.card-media { background: var(--bg-tint); line-height: 0; }
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-card-body { padding: 22px 24px 26px; }
.media-card-body > p { color: var(--muted); font-size: 15px; margin: 0; }

/* small inline icon + title head (services & media cards) */
.service-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.service-head .ico { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 0; flex: none; display: grid; place-items: center; }
.service-head .ico svg { width: 22px; height: 22px; }
.service-head h3 { margin: 0; font-size: 17px; }

/* ---------- service cards with embedded video ---------- */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card-body { padding: 22px 24px 26px; }
.service-card-body > p { color: var(--muted); font-size: 15px; margin: 0; }
.service-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-tint);
  line-height: 0;
}
.service-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-media span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

/* YouTube-ready video facade (loads the embed only on click) */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f1f3d center / cover no-repeat;
  background-image: url("../img/service-data-extract.jpg");
  cursor: pointer;
  overflow: hidden;
}
.video-embed.is-empty,
.video-embed.is-empty .video-play { cursor: default; }
.video-embed::after {
  content: "";
  position: absolute; inset: 0;
  /* gentle, uniform darken so the white play button stays visible
     on both dark and light (themed) posters */
  background: linear-gradient(180deg, rgba(15,23,42,.10) 0%, rgba(15,23,42,.06) 45%, rgba(15,23,42,.34) 100%);
  pointer-events: none;
}
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 62px; height: 62px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--brand-dark);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(2,6,23,.55);
  transition: transform .18s ease, background .18s ease;
  z-index: 2;
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-embed:hover .video-play { transform: scale(1.08); background: #fff; }
.video-tag {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  background: rgba(15,23,42,.62);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: 999px;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 3;
}

/* about image inside contact info card */
.contact-card { overflow: hidden; }
.about-media { margin: -32px -32px 24px; background: var(--bg-tint); line-height: 0; }
.about-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ---------- strengths ---------- */
.feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
}
.feature .ico { flex: none; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }
.section-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-bridge p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}
.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.assurance-strip > div { padding: 20px; background: #fff; }
.assurance-strip strong { display: block; margin-bottom: 4px; color: var(--brand-dark); }
.assurance-strip span { display: block; color: var(--muted); font-size: 13px; }
.metric-note {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.works-more { margin-top: 38px; text-align: center; }

/* ---------- pricing (order-made / quote) ---------- */
.price-callout { max-width: 1000px; margin-inline: auto; }
.base-price {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.base-price-summary {
  display: grid;
  align-content: center;
  padding: 34px;
  background: #eff6ff;
  border-right: 1px solid #bfdbfe;
}
.base-price-label {
  margin: 0 0 5px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}
.base-price-amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--ink);
}
.base-price-amount strong { font-size: clamp(42px, 6vw, 64px); line-height: 1.1; }
.base-price-amount span { font-size: 17px; font-weight: 700; }
.base-price-summary > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.base-price-details { padding: 30px 34px; }
.base-price-details h3 { margin: 0 0 14px; font-size: 18px; }
.base-price-details ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.base-price-details li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}
.base-price-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}
.base-price-details > p { margin: 0; color: var(--muted); font-size: 13px; }
.price-points { margin-bottom: 22px; }
.quote-point {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.quote-point:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.quote-point .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.quote-point .ico svg { width: 26px; height: 26px; }
.quote-point h3 { font-size: 18px; margin: 0 0 10px; }
.quote-point p { color: var(--muted); margin: 0; font-size: 15px; }
.price-cta {
  margin-top: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}
.price-cta > p:first-child { font-size: 17px; color: var(--ink-soft); margin: 0 0 22px; max-width: 620px; margin-inline: auto; }
.price-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* ---------- flow ---------- */
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flow-step { position: relative; padding-top: 14px; }
.flow-step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.flow-step h3 { font-size: 17px; margin: 0 0 8px; }
.flow-step p { color: var(--muted); margin: 0; font-size: 14.5px; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 35px; left: 58px; right: -11px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 12px);
}
.flow-step:last-child::after { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q .q-ico { flex: none; width: 24px; height: 24px; position: relative; transition: transform .2s; }
.faq-q .q-ico::before, .faq-q .q-ico::after {
  content: ""; position: absolute; background: var(--brand); border-radius: 2px;
  top: 11px; left: 4px; width: 16px; height: 2px;
}
.faq-q .q-ico::after { transform: rotate(90deg); }
.faq-item.open .q-ico::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }

/* ===========================================================
   Achievements
   =========================================================== */
.ach-hero {
  background:
    radial-gradient(900px 460px at 80% -10%, #e0f2fe 0%, rgba(224,242,254,0) 60%),
    var(--bg-soft);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-media { background: var(--bg-tint); line-height: 0; }
.case-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.case-top {
  padding: 22px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.case-no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
}
.case-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--grad-soft);
  border: 1px solid #dbeafe;
  padding: 5px 11px;
  border-radius: 999px;
}
.case-body { padding: 14px 28px 26px; flex: 1; display: flex; flex-direction: column; }
.case-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 14px; }
.case-head .ico { width: 46px; height: 46px; border-radius: 12px; flex: none; margin-bottom: 0; display: grid; place-items: center; }
.case-head .ico svg { width: 24px; height: 24px; }
.case h3 { font-size: 20px; margin: 0 0 14px; line-height: 1.4; }
.case .case-head h3 { font-size: 19px; margin: 0; line-height: 1.45; }
.case .case-desc { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; }
.case ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.case ul li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 14.5px; }
.case ul li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(37,99,235,.2);
}
.case ul li::after {
  content: "";
  position: absolute; left: 5px; top: 10px;
  width: 4px; height: 7px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}
.case-metrics {
  margin-top: auto;
  display: flex; gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.case-metric b { display: block; font-size: 22px; color: var(--brand-dark); line-height: 1.2; }
.case-metric span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ach-title { max-width: 780px; font-size: clamp(28px, 4.4vw, 42px); }
.ach-lead { max-width: 680px; }
.ach-stats { max-width: 640px; margin-top: 32px; }

/* product chips */
.prod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.prod-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.prod-ico { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.prod-ico svg { width: 21px; height: 21px; }
.prod .prod-cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.prod h3 { font-size: 17px; margin: 8px 0 10px; }
.prod p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.prod .prod-metric { font-size: 13px; font-weight: 700; color: var(--brand-dark); }
.prod { overflow: hidden; }
.prod-media { margin: -24px -24px 18px; background: var(--bg-tint); line-height: 0; }
.prod-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.image-sample { position: relative; }
.image-sample span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

/* ===========================================================
   CTA band
   =========================================================== */
.cta {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta::before { width: 280px; height: 280px; top: -120px; right: -60px; }
.cta::after { width: 200px; height: 200px; bottom: -100px; left: -40px; }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(24px, 3.6vw, 34px); margin: 0 0 14px; color: #fff; }
.cta p { font-size: 17px; margin: 0 0 28px; color: rgba(255,255,255,.92); }
.cta .btn-light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta .btn-light:hover { background: #f8fafc; }

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--brand-dark); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-about-title { margin-top: 0; }
.contact-about-copy { color: var(--muted); }
.contact-term { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.contact-detail { display: block; font-weight: 600; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field label .req { color: #dc2626; font-size: 12px; margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-submit { width: 100%; justify-content: center; }
.form-status { min-height: 1.8em; margin: 8px 0 0; font-weight: 700; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  cursor: pointer;
}
.form-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

/* Honeypot — visually hidden, off-screen, skipped by tab/AT */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Human verification (anti-bot) challenge */
.human-check { display: flex; align-items: center; gap: 12px; }
.human-check .human-q {
  flex: none;
  font-weight: 800;
  font-size: 17px;
  color: var(--brand-dark);
  background: var(--grad-soft);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 12px 16px;
  letter-spacing: .04em;
  white-space: nowrap;
  user-select: none;
}
.human-check input { max-width: 140px; }

/* ===========================================================
   Legal pages
   =========================================================== */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 56px 0;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.page-hero .crumb { font-size: 14px; color: var(--muted); }
.page-hero .crumb a { color: var(--muted); }
.legal { max-width: 820px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 {
  font-size: 20px;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p { color: var(--ink-soft); margin: 0 0 14px; }
.legal ul, .legal ol { color: var(--ink-soft); padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 7px; }
.legal .legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal .legal-table th, .legal .legal-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; font-size: 15px; }
.legal .legal-table th { background: var(--bg-soft); width: 32%; font-size: 14px; }
.overview-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 30px;
}
.overview-points > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.overview-points h3 { margin: 0 0 8px; color: var(--ink); }
.overview-points p { margin: 0; font-size: 14px; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(148,163,184,.18);
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo .logo-sub { color: #94a3b8; }
.footer-brand p { margin: 16px 0 0; font-size: 14px; max-width: 320px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #94a3b8; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ===========================================================
   Reveal on scroll
   =========================================================== */
/* Hidden state applies only when JS is active (html.js). Without JS — or if
   the reveal observer never runs — content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
}
.business-only {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: #eff6ff;
}
.business-only strong { color: var(--brand-dark); font-size: 14px; }
.business-only span { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

@media (max-width: 1040px) {
  .site-header {
    background: #fff;
    backdrop-filter: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 89;
    background: rgba(15,23,42,.34);
    backdrop-filter: blur(2px);
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 101;
    width: min(360px, 90vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 42px rgba(15,23,42,.14);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s;
  }
  .nav-open .nav {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    border-radius: 8px;
    font-size: 16px;
  }
  .nav a + a:not(.btn) { border-top: 1px solid var(--line-soft); }
  .nav a.is-active {
    padding-left: 14px;
    background: transparent;
    box-shadow: inset 3px 0 var(--brand);
  }
  .nav a.is-active::after { display: none; }
  .nav .btn {
    min-height: 48px;
    margin: 18px 0 0;
    justify-content: center;
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { display: none; }
  .hero { padding: 52px 0 44px; }
  .hero-transform { grid-template-columns: 1fr; }
  .hero-transform > div { padding: 11px 14px; }
  .hero-cta { display: grid; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .hero-note { text-align: center; line-height: 1.7; }
  .trust-inner { justify-content: flex-start; gap: 10px 22px; }
  .trust-label { width: 100%; }
  .problem-image img { aspect-ratio: 16 / 8; }
  .campaign-bar {
    min-height: 40px;
    gap: 8px;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1.45;
  }
  .campaign-bar > span:nth-child(2) { max-width: 250px; }
  .campaign-bar-more { display: none; }
  .first-offer { padding: 32px 0; }
  .first-offer-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .first-offer h2 strong { white-space: normal; }
  .first-offer-action { justify-items: stretch; }
  .first-offer-action .btn { width: 100%; }
  .first-offer-notes {
    grid-column: auto;
    margin: 0;
    padding: 16px 0 0 20px;
  }
  .base-price { grid-template-columns: 1fr; }
  .base-price-summary { border-right: 0; border-bottom: 1px solid #bfdbfe; }
  .base-price-details ul { grid-template-columns: 1fr; }
  .section-bridge {
    display: grid;
    padding: 22px 0;
  }
  .section-bridge .btn { justify-content: center; width: 100%; }
  .assurance-strip { grid-template-columns: 1fr; }
  .overview-points { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero h1 { font-size: 31px; line-height: 1.28; }
  .hero h1 .gradient-text { white-space: nowrap; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { flex-direction: column; }
  .case-top, .case-body { padding-inline: 22px; }
}
