:root {
  --bg: #07111f;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --surface-blue: #eef4ff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e3e8f0;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-light: #c7d2fe;
  --cyan: #22d3ee;
  --green: #10b981;
  --orange: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.narrow { width: min(820px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.header-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 7px 16px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), #7c3aed);
}
.header-banner span { display: inline-flex; align-items: center; gap: 6px; }
.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.02em; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 24px; color: #475569; font-size: 14px; font-weight: 700; }
.primary-nav a { transition: color .18s ease, background .18s ease; }
.primary-nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(79,70,229,.24);
}
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: #111827; transition: .2s; }

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 520px at 78% 12%, rgba(79,70,229,.42), transparent 60%),
    radial-gradient(760px 460px at 18% 10%, rgba(34,211,238,.22), transparent 62%),
    linear-gradient(135deg, #08111f 0%, #111827 52%, #171449 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 10%, #000, transparent 70%);
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(4px); opacity: .65; }
.hero-orb-one { width: 180px; height: 180px; right: 9%; top: 18%; background: rgba(34,211,238,.18); }
.hero-orb-two { width: 260px; height: 260px; left: -120px; bottom: 10%; background: rgba(124,58,237,.2); }
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  gap: 56px;
  align-items: center;
  padding-block: 92px 82px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #dbeafe;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--brand); }
.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #a5b4fc, #67e8f9, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 720px;
  margin: 0 0 30px;
  color: #cbd5e1;
  font-size: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; box-shadow: 0 18px 42px rgba(79,70,229,.35); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.09); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-proof li {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
}
.hero-proof strong { display: block; color: #fff; font-size: 16px; }
.hero-proof span { display: block; color: #cbd5e1; font-size: 12px; }

.hero-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 22px -10px auto auto;
  width: 72%;
  height: 54%;
  background: linear-gradient(135deg, rgba(34,211,238,.26), rgba(99,102,241,.28));
  border-radius: 28px;
  transform: rotate(5deg);
  z-index: -1;
}
.hero-flow-image {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(15,23,42,.22);
}

.metrics-strip { background: #fff; border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 28px; text-align: center; }
.metrics-grid strong { display: block; color: var(--brand); font: 900 34px/1 "Inter", sans-serif; }
.metrics-grid span { color: var(--muted); font-size: 13px; }

.section { padding-block: 92px; }
.section-heading { max-width: 620px; }
.section-heading.centered { max-width: 760px; text-align: center; margin-inline: auto; margin-bottom: 46px; }
.section-heading.light { color: #fff; }
.section-heading h2 { margin: 0 0 16px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.22; letter-spacing: -0.04em; font-weight: 900; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.section-heading.light p:not(.eyebrow) { color: #cbd5e1; }

.problem-section { background: var(--surface-soft); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 16px 42px rgba(15,23,42,.06); }
.problem-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), #06b6d4); font-size: 22px; margin-bottom: 18px; }
.problem-card h3 { margin: 0 0 8px; font-size: 21px; }
.problem-card p { margin: 0; color: var(--muted); }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list p { display: flex; gap: 10px; margin: 0; color: #334155; }
.check-list i { color: var(--green); margin-top: 6px; }
.value-stack { display: grid; gap: 16px; }
.value-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 24px 24px 24px 82px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(15,23,42,.07);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.value-card:hover, .value-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(79,70,229,.18);
  border-color: var(--brand-light);
  outline: none;
}
.value-card > span:first-child { position: absolute; left: 24px; top: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #eef2ff; color: var(--brand); font-weight: 900; }
.value-card h3 { margin: 0 0 6px; }
.value-card p { margin: 0; color: var(--muted); }
.value-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--brand); font-weight: 800; font-size: 13px; }
.value-card-more i { font-size: 11px; transition: transform .18s ease; }
.value-card:hover .value-card-more i { transform: translateX(4px); }

.platform-section { background: #fbfdff; }
.ad-agent-infographic {
  margin: 0 0 32px;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}
.ad-agent-infographic img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
}
.ad-agent-infographic figcaption {
  margin: 12px 8px 4px;
  color: #dbeafe;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.platform-grid span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 900; box-shadow: 0 10px 28px rgba(15,23,42,.05); }
.platform-grid i { color: var(--brand); font-size: 20px; }
.flow-steps { counter-reset: flow; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.flow-steps li { position: relative; min-height: 168px; padding: 56px 18px 20px; border-radius: 18px; background: #0f172a; color: #fff; }
.flow-steps li::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); position: absolute; top: 16px; left: 18px; color: #67e8f9; font: 900 20px/1 "Inter", sans-serif; }
.flow-steps strong { display: block; margin-bottom: 6px; }
.flow-steps span { display: block; color: #cbd5e1; font-size: 13px; line-height: 1.6; }

.roi-section { background: linear-gradient(180deg, #fff, #f8fafc); }
.calculator-card { padding: 32px; border-radius: var(--radius-xl); background: #111827; color: #fff; box-shadow: var(--shadow); }
.calculator-card h3 { margin: 0 0 8px; font-size: 26px; }
.calculator-card p { color: #cbd5e1; margin: 0 0 20px; }
.calculator-card label { display: block; font-weight: 800; margin-bottom: 12px; }
.calculator-card input[type="range"] { width: 100%; accent-color: var(--cyan); }
.calc-output { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.calc-output div { padding: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.calc-output span { display: block; color: #cbd5e1; font-size: 12px; }
.calc-output strong { font: 900 24px/1.2 "Inter", sans-serif; }
.calc-note { margin-top: 18px !important; font-size: 12px; color: #94a3b8 !important; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.kpi-grid div { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.kpi-grid strong { display: block; color: var(--brand); font: 900 26px/1 "Inter", sans-serif; }
.kpi-grid span { color: var(--muted); font-size: 13px; }

.pricing-section { background: linear-gradient(135deg, #0f172a, #25215d); }
.pricing-card {
  display: grid;
  grid-template-columns: .7fr 1.4fr auto;
  grid-template-areas:
    "main items cta"
    "formula formula formula";
  gap: 20px 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.price-main { grid-area: main; text-align: center; border-right: 1px solid var(--line); padding-right: 28px; }
.price-main span { color: var(--muted); font-weight: 800; }
.price-main strong { display: block; color: var(--brand); font: 900 54px/1 "Inter", sans-serif; letter-spacing: -.04em; }
.price-items { grid-area: items; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-items div { padding: 16px; background: #f8fafc; border-radius: 16px; border: 1px solid var(--line); }
.price-items span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.price-items strong { display: block; font-size: 18px; }
.price-items small { display: block; color: var(--muted); line-height: 1.5; }
.price-cta { grid-area: cta; white-space: nowrap; }
.price-formula {
  grid-area: formula;
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}
.price-formula i { margin-right: 6px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.tab-button { border: 1px solid var(--line); background: #fff; color: #334155; padding: 11px 18px; border-radius: 999px; cursor: pointer; font-weight: 900; transition: .18s; }
.tab-button.active, .tab-button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.case-panel { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 32px; background: linear-gradient(135deg, #fff, #f8fafc); box-shadow: 0 18px 50px rgba(15,23,42,.07); }
.case-panel h3 { margin: 0 0 10px; font-size: 28px; }
.case-panel p { color: var(--muted); }
.case-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.case-detail-grid div { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.case-detail-grid strong { display: block; margin-bottom: 6px; color: var(--brand); }
.case-detail-grid span { color: var(--muted); font-size: 14px; }
.case-detail-open {
  margin-top: 24px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand), #06b6d4);
  border: 0;
  box-shadow: 0 14px 34px rgba(79,70,229,.24);
}
.case-detail-open:hover { transform: translateY(-2px); }
.case-panel-hint { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.case-panel-hint i { color: var(--brand); margin-right: 4px; }

.creative-section { background: #fbfdff; }
.creative-showcase {
  margin: 0 0 36px;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}
.creative-showcase img { width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,.12); }
.creative-showcase figcaption { margin: 12px 8px 4px; color: #dbeafe; text-align: center; font-size: 14px; line-height: 1.7; }
.creative-example-showcase {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
}
.creative-example-showcase img { border: 1px solid var(--line); }
.creative-example-showcase figcaption { color: var(--muted); }
.creative-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.creative-steps article { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(15,23,42,.06); }
.creative-step-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: #eef2ff; color: var(--brand); font: 900 14px/1 "Inter", sans-serif; }
.creative-steps h3 { margin: 0 0 8px; font-size: 18px; }
.creative-steps p { margin: 0; color: var(--muted); font-size: 14px; }

.implementation-section { background: var(--surface-soft); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline article { position: relative; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.timeline article::after { content: ""; position: absolute; right: -16px; top: 48px; width: 16px; height: 2px; background: var(--brand-light); }
.timeline article:last-child::after { display: none; }
.timeline span { display: inline-block; color: var(--brand); font: 900 13px/1 "Inter", sans-serif; margin-bottom: 12px; }
.timeline h3 { margin: 0 0 8px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }

.comparison-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 42px rgba(15,23,42,.06); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 860px; background: #fff; }
.comparison-table th, .comparison-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: #0f172a; color: #fff; }
.comparison-table tbody th { background: #f8fafc; width: 180px; }
.comparison-table td strong { color: var(--brand); }

.faq-section { background: #f8fafc; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 12px 0 0; color: var(--muted); }

.contact-section { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 10% 0%, rgba(34,211,238,.18), transparent 60%), linear-gradient(135deg, #111827, #312e81); color: #fff; }
.contact-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 46px; align-items: start; }
.contact-copy h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.22; letter-spacing: -.04em; }
.contact-copy p { color: #cbd5e1; }
.contact-benefits { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 12px; }
.contact-benefits li { display: flex; gap: 10px; align-items: center; color: #e5e7eb; }
.contact-benefits i { color: #67e8f9; }
.contact-cta-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.16);
}
.contact-cta-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #06b6d4);
  font-size: 26px;
  box-shadow: 0 18px 42px rgba(79,70,229,.24);
}
.contact-cta-card h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.24;
  letter-spacing: -.04em;
  font-weight: 900;
}
.contact-cta-card p { color: var(--muted); }
.contact-cta-button { width: 100%; margin-top: 10px; }
.contact-cta-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: #64748b !important; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(10px);
}
.modal-backdrop[hidden] { display: none; }
.modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 820px);
  overflow-y: auto;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 34px 90px rgba(0,0,0,.35);
  outline: none;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.modal-close:hover { transform: rotate(90deg); background: #eef2ff; color: var(--brand); }
.modal-panel h2 { max-width: 760px; margin: 0 44px 12px 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -.04em; font-weight: 900; }
.modal-lead { max-width: 760px; margin: 0 0 24px; color: var(--muted); }
.modal-flow-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.modal-flow-list li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.modal-step-number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #eef2ff, #e0f2fe); color: var(--brand); font: 900 15px/1 "Inter", sans-serif; }
.modal-flow-list strong { display: block; margin-bottom: 4px; font-size: 17px; }
.modal-flow-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.modal-diagram-image {
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 46px rgba(15,23,42,.14);
}
.modal-bullet-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.modal-bullet-list li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #334155; font-size: 14px; line-height: 1.7; }
.modal-bullet-list i { margin-top: 4px; color: var(--green); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.modal-sub-button { color: #334155; border: 1px solid var(--line); background: #fff; box-shadow: none; }
body.modal-open { overflow: hidden; }

.sticky-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.sticky-cta a { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: linear-gradient(135deg, #f97316, #ef4444); padding: 14px 18px; border-radius: 999px; box-shadow: 0 16px 42px rgba(239,68,68,.28); font-weight: 900; }

.site-footer { background: #101728; color: #96a0b5; }
.footer-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 72px;
  padding-block: 54px 46px;
}
.footer-company-block h2 {
  margin: 0 0 18px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.footer-company-block p,
.footer-company-block address {
  margin: 0 0 7px;
  color: #a7b0c2;
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
}
.footer-company-name { color: #fff !important; font-weight: 900; font-size: 16px !important; }
.footer-map-link { display: inline-flex; align-items: center; gap: 5px; color: #60a5fa; font-size: 13px; font-weight: 800; }
.privacy-mark-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px !important;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  background: rgba(255,255,255,.07);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900;
}
.privacy-mark-badge i { color: #facc15; }
.footer-cert-number { color: #677187 !important; font-size: 11px !important; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,.08); background: #070b14; }
.footer-bottom-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-policy-nav { display: flex; gap: 30px; }
.site-footer a { transition: color .16s ease; }
.site-footer a:hover { color: #fff; }
.footer-bottom-inner p { margin: 0; color: #7c879b; }

@media (max-width: 1040px) {
  .primary-nav { gap: 16px; }
  .hero-layout, .two-column, .contact-layout { grid-template-columns: 1fr; }
  .hero-layout { padding-top: 70px; }
  .hero-card { max-width: 560px; margin-inline: auto; }
  .pricing-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "items"
      "cta"
      "formula";
  }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline article::after { display: none; }
}

@media (max-width: 820px) {
  .header-banner { flex-direction: column; gap: 2px; font-size: 12px; }
  .header-inner { height: 64px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px; }
  .brand span { font-size: 14px; }
  .hero-proof, .metrics-grid, .problem-grid, .platform-grid, .price-items, .case-detail-grid, .creative-steps { grid-template-columns: 1fr; }
  .section { padding-block: 68px; }
  .form-grid, .calc-output, .kpi-grid { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 14px; align-items: end; }
  .modal-panel { max-height: 88vh; padding: 24px; border-radius: 22px 22px 0 0; }
  .modal-panel h2 { margin-right: 38px; }
  .modal-flow-list li { grid-template-columns: 1fr; gap: 10px; }
  .modal-actions .button { width: 100%; }
  .sticky-cta { left: 16px; right: 16px; bottom: 12px; }
  .sticky-cta a { width: 100%; justify-content: center; }
  .site-footer { padding-bottom: 82px; }
  .footer-company-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 42px 34px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 18px; }
  .footer-policy-nav { flex-wrap: wrap; gap: 18px 24px; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .hero-layout { padding-block: 54px 64px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .button { width: 100%; }
  .hero-card { padding: 12px; border-radius: 22px; }
  .flow-steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .contact-cta-card, .case-panel, .calculator-card, .pricing-card { padding: 22px; }
}
