/* =====================================================================
   AiiPo — demo_aiipojp design system
   REACTOR (v-reactor.app) / VALLEYIN (valleyin.co.jp) と共通のトーン:
   First view: dark / technology.  Sections: light / human-friendly.
   ===================================================================== */
:root {
  --navy: #050914;
  --navy-2: #0b1428;
  --navy-3: #111d36;
  --ink: #0f1a2b;
  --ink-2: #33415a;
  --muted: #64748b;
  --line: #e4eaf3;
  --line-2: #d3dded;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf2ff;
  --primary: #003ee5;       /* AiiPo brand blue */
  --primary-2: #1d5cff;
  --primary-3: #4d7fff;
  --cyan: #61cfff;
  --cyan-2: #00b4e6;
  --success: #12b76a;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --shadow-s: 0 1px 2px rgba(15, 26, 43, .04), 0 4px 14px rgba(15, 26, 43, .05);
  --shadow: 0 2px 6px rgba(15, 26, 43, .05), 0 18px 40px -16px rgba(0, 62, 229, .18);
  --shadow-l: 0 12px 40px -8px rgba(0, 62, 229, .22), 0 40px 90px -40px rgba(15, 26, 43, .35);
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-display: "Michroma", "Inter", sans-serif;
  --header-h: 72px;
  --demo-h: 34px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.mobile-menu) { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; font-weight: 800; word-break: auto-phrase; text-wrap: balance; }
.nw { display: inline-block; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan-2); outline-offset: 3px; border-radius: 6px; }

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

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 48px); }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.center { text-align: center; }
.center-flex { justify-content: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.small { font-size: 13.5px; }
.muted { color: var(--muted); }
.link { color: var(--primary); font-weight: 700; }
.link:hover { text-decoration: underline; }
.sp { display: none; }

/* ---------- Demo bar ---------- */
.demo-bar { position: fixed; inset: 0 0 auto 0; height: var(--demo-h); z-index: 60; display: flex; align-items: center; justify-content: center; gap: 14px; background: #ffd84d; color: #3a2d00; font-size: 12.5px; padding: 0 16px; padding-top: env(safe-area-inset-top, 0px); }
.demo-bar b { background: #3a2d00; color: #ffd84d; padding: 1px 7px; border-radius: 4px; margin-right: 6px; font-size: 11px; letter-spacing: .1em; }
.demo-bar a { text-decoration: underline; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .02em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; box-shadow: 0 10px 28px -10px rgba(0, 62, 229, .7); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(0, 62, 229, .85); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn-outline { color: var(--primary); border: 1.5px solid var(--line-2); background: #fff; }
.btn-outline:hover { border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--primary); margin-bottom: 14px; }
.eyebrow--dark { color: var(--cyan); }
.eyebrow--dark b { color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(97, 207, 255, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(97, 207, 255, .6); } 70% { box-shadow: 0 0 0 10px rgba(97, 207, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(97, 207, 255, 0); } }
.grad { background: linear-gradient(100deg, #7fb2ff 0%, var(--cyan) 55%, #b9f0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: var(--demo-h); inset-inline: 0; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 40px; width: auto; }
.brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--light, .site-header.menu-open .brand-logo--light { display: block; }
.site-header.is-scrolled .brand-logo--dark, .site-header.menu-open .brand-logo--dark { display: none; }
.desktop-nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.desktop-nav a { position: relative; padding: 6px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.site-header.is-scrolled .desktop-nav { color: var(--ink-2); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-link { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.site-header.is-scrolled .nav-link { color: var(--ink-2); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; }
.site-header.is-scrolled .menu-btn, .site-header.menu-open .menu-btn { color: var(--ink); }
.mobile-menu { position: absolute; top: var(--header-h); inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px; box-shadow: var(--shadow); }
.mobile-menu nav { display: grid; margin-bottom: 16px; }
.mobile-menu nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--demo-h) + var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; }
.orb-1 { width: 620px; height: 620px; left: -160px; top: -140px; background: radial-gradient(circle, rgba(0, 62, 229, .75), transparent 65%); }
.orb-2 { width: 560px; height: 560px; right: -120px; top: 120px; background: radial-gradient(circle, rgba(97, 207, 255, .45), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-60px, 40px); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.18; letter-spacing: -.02em; font-weight: 900; }
.hero-lead { margin-top: 24px; font-size: clamp(15px, 1.4vw, 17.5px); color: rgba(255, 255, 255, .78); line-height: 1.95; }
.hero-lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--cyan); }

.hero-visual { position: relative; }
.app-window { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .98), #f6f9ff); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; }
.app-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.dots i:first-child { background: #ff6b6b; } .dots i:nth-child(2) { background: #ffc94d; } .dots i:nth-child(3) { background: #3ecf8e; }
.app-title { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.model-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--bg-tint); padding: 4px 10px; border-radius: 999px; }
.model-chip .pulse { background: var(--primary-2); }
.chat { padding: 18px; display: grid; gap: 14px; align-content: start; }
.msg { font-size: 13px; line-height: 1.7; border-radius: 14px; padding: 11px 14px; max-width: 94%; }
.msg-user { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-ai { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; display: grid; gap: 10px; box-shadow: var(--shadow-s); }
.ai-label { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: .06em; }
.doc-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg-soft); }
.doc-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.doc-head span { color: var(--muted); }
.doc-card dl { margin: 8px 0; display: grid; gap: 4px; font-size: 12px; }
.doc-card dl div { display: flex; justify-content: space-between; gap: 12px; }
.doc-card dt { color: var(--ink-2); } .doc-card dd { margin: 0; font-variant-numeric: tabular-nums; }
.doc-total { display: flex; justify-content: space-between; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.doc-total b { color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11.5px; font-weight: 700; color: var(--primary); border: 1px solid #c9d8ff; border-radius: 999px; padding: 3px 10px; background: #fff; }
.chips span:first-child { background: var(--primary); color: #fff; border-color: var(--primary); }
.app-input { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); background: #fff; }
.app-input svg { color: var(--primary); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(11, 20, 40, .82); border: 1px solid rgba(97, 207, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 12.5px; }
.float-card small { font-size: 11px; color: rgba(255, 255, 255, .65); }
.fc-ico { font-size: 20px; }
/* typing reveal for the chat */
.chat.is-typing .msg-ai { opacity: 0; transform: translateY(8px); }
.chat .msg-ai { transition: opacity .6s var(--ease), transform .6s var(--ease); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats > div { padding: 26px 20px 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b { display: block; font-family: "Inter", var(--font); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-stats b small { font-size: .5em; margin-left: 2px; }
.hero-stats span { font-size: 12.5px; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }

/* ---------- Clients ---------- */
.clients { padding: 36px 0; border-bottom: 1px solid var(--line); }
.clients-label { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.clients-row img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.clients-row img:hover { filter: none; opacity: 1; }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; }
.section-head > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 16px; }

/* ---------- Dark section (Fable) ---------- */
.section.dark { background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.dark-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 0% 0%, rgba(0, 62, 229, .35), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(97, 207, 255, .16), transparent 60%); }
.section.dark .section-head > p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.split--center { align-items: center; }
.spec-list { margin-top: 30px; display: grid; gap: 16px; }
.spec-list li { padding-left: 18px; border-left: 2px solid var(--cyan); }
.spec-list b { display: block; font-size: 15.5px; }
.spec-list span { font-size: 14px; color: rgba(255, 255, 255, .65); }
.flow { display: grid; gap: 16px; align-content: center; }
.flow-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 24px 24px 24px 22px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .3s, border-color .3s; }
.flow-step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(97, 207, 255, .35); }
.flow-num { position: absolute; top: 16px; right: 20px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .3); }
.flow-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 12px 30px -12px rgba(0, 62, 229, .9); }
.flow-step h3 { font-size: 22px; }
.flow-step p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.prompt-cards { margin-top: clamp(48px, 6vw, 72px); }
.prompt-label { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; letter-spacing: .06em; }
.prompt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.prompt-row span { font-size: 14px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.feature { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 16px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.feature:hover { border-color: #b9ccff; box-shadow: var(--shadow); transform: translateY(-3px); }
.f-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--bg-tint); font-size: 26px; margin-bottom: 12px; }
.feature h3 { font-size: 16.5px; }
.feature p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.f-tag { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; }
.price-card.is-featured { border: 2px solid var(--primary); box-shadow: var(--shadow-l); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #ff7a45, #ff4d6d); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 20px; }
.price-desc { margin-top: 6px; font-size: 13.5px; color: var(--muted); min-height: 2.8em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: "Inter", var(--font); font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.price s, .price-sub s { color: var(--muted); font-size: 14px; }
.is-featured .price b { color: var(--primary); }
.price-sub { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.price-sub b { color: var(--primary); }
.price-card ul { margin: 22px 0 26px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.price-card li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.price-card li span { color: var(--muted); }
.price-card li b { text-align: right; }

/* ---------- Reactor bridge ---------- */
.bridge { padding: 0 0 clamp(72px, 9vw, 120px); }
.bridge-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: radial-gradient(600px 240px at 0% 0%, rgba(0, 62, 229, .5), transparent 60%), radial-gradient(500px 240px at 100% 100%, rgba(97, 207, 255, .22), transparent 60%), var(--navy); color: #fff; }
.bridge-logos { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); }
.bridge-logos img:first-child { height: 34px; width: auto; }
.bridge-logos img:last-child { height: 36px; width: 36px; }
.bridge-logos span { color: rgba(255, 255, 255, .4); }
.bridge-copy .eyebrow { margin-bottom: 8px; }
.bridge-copy h2 { font-size: clamp(20px, 2.3vw, 28px); }
.bridge-copy p { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Hero（元サイトの画像） ---------- */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.3); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.hero-kicker { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px; background: #ffd84d; color: #231a00; font-weight: 900; font-size: clamp(14px, 1.4vw, 17px); letter-spacing: .04em; transform: rotate(-2deg); }
.video-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.video-link:hover { color: #fff; }
.play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); padding-left: 2px; }
.hero-device { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.float-card--1 { left: -10px; top: 6%; }
.float-card--2 { right: -10px; bottom: 4%; animation-delay: -3s; }
.hero-stats { grid-template-columns: 1.6fr 1fr 1fr; }
.stat-main b { display: flex; align-items: baseline; gap: 4px; }
.stat-main em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--cyan); font-weight: 700; }
.stat-main > span { display: block; }
.hero-stats b span { font-size: inherit; color: inherit; letter-spacing: inherit; }

/* ---------- News strip ---------- */
.news-strip { border-bottom: 1px solid var(--line); background: #fff; }
.news-strip-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 18px; }
.news-strip h2 .eyebrow { margin: 0; }
.news-list a { display: flex; gap: 18px; padding: 4px 0; font-size: 14px; }
.news-list a:hover span { color: var(--primary); text-decoration: underline; }
.news-list time { font-family: "Inter", var(--font); color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.clients { background: #fff; }

/* ---------- Intro（名刺管理なら「AiiPo」） ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.intro h2 { font-size: clamp(28px, 3.6vw, 44px); }
.target-list { margin: 24px 0; display: grid; gap: 12px; }
.target-list li { position: relative; padding: 14px 18px 14px 50px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; }
.target-list li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.intro-lead { margin-bottom: 22px; font-size: 17px; font-weight: 700; color: var(--primary); }
.intro-visual img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-l); transform: rotate(1.5deg); }

/* ---------- Photo slider（元サイトのスライド） ---------- */
.slides { padding: 0 0 clamp(72px, 9vw, 110px); overflow: hidden; }
.slides-track { overflow: hidden; padding: 4px 0 16px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.slides-rail { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.slides-track:hover .slides-rail, .slides-track:focus-within .slides-rail { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.slide { position: relative; flex: 0 0 min(420px, 78vw); height: 300px; margin: 0 18px 0 0; border-radius: var(--radius-l); overflow: hidden; background: var(--navy-2); }
.slide--phone { flex-basis: min(220px, 50vw); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slide:hover img { transform: scale(1.04); }
.slide figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(5, 9, 20, .85)); color: #fff; }
.slide figcaption b { display: block; font-size: 17px; line-height: 1.45; }
.slide figcaption span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- About / Points ---------- */
.about-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-bottom: clamp(24px, 4vw, 40px); }
.about-phone { width: 190px; height: auto; border-radius: 22px; box-shadow: var(--shadow-l); margin-bottom: 40px; }
.points { display: grid; gap: 22px; }
.point { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-s); }
.point:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.point:nth-child(even) img { order: 2; }
.point img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.point-body { padding: clamp(24px, 4vw, 48px); }
.point-num { display: flex; align-items: baseline; gap: 6px; font-family: "Inter", var(--font); font-weight: 700; color: var(--primary); letter-spacing: .1em; }
.point-num b { font-size: 44px; line-height: 1; }
.point h3 { margin-top: 10px; font-size: clamp(20px, 2.2vw, 26px); }
.point-body > p:last-child { margin-top: 12px; color: var(--ink-2); }

/* ---------- AI section / feature highlight ---------- */
.section.dark .app-window { align-self: center; }
.section.dark .section-head b { color: #fff; }
.feature.is-ai { background: linear-gradient(145deg, var(--primary), #0b2fb8); color: #fff; border: 0; }
.feature.is-ai .f-ico { background: rgba(255, 255, 255, .16); }
.feature.is-ai .f-tag { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); font-size: 10px; padding: 2px 8px; }

/* ---------- Showcase（名刺を撮影するだけで） ---------- */
.showcase { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--bg-tint), #f8fbff); border: 1px solid #d6e3ff; overflow: hidden; }
.showcase h3 { font-size: clamp(24px, 3vw, 36px); }
.showcase-copy > p:not(.eyebrow) { margin: 16px 0 24px; color: var(--ink-2); max-width: 560px; }
.showcase-phone { width: 210px; height: auto; border-radius: 26px; border: 6px solid var(--navy); box-shadow: var(--shadow-l); margin-block: -20px -120px; transform: rotate(4deg); }

/* ---------- Pricing additions ---------- */
.price-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.price s { display: block; width: 100%; }
.price-card li b s { color: var(--muted); font-weight: 500; margin-right: 4px; }
.standalone { margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.standalone-copy { max-width: 860px; margin: 0 auto 32px; }
.standalone-copy h3 { font-size: clamp(19px, 2.2vw, 24px); }
.standalone-copy p { margin-top: 12px; color: rgba(255, 255, 255, .78); }
.standalone-copy .muted { color: rgba(255, 255, 255, .55); }
.price-card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; }
.price-card--dark .price-desc, .price-card--dark li span { color: rgba(255, 255, 255, .6); }
.price-card--dark .price span { color: rgba(255, 255, 255, .8); }
.price-card--dark ul { border-top-color: rgba(255, 255, 255, .12); }
.price-card--dark .price b { font-size: 38px; }

/* ---------- CTA（元サイトの写真背景） ---------- */
.cta { position: relative; padding: clamp(80px, 10vw, 120px) 0; color: #fff; text-align: center; overflow: hidden; isolation: isolate; background: var(--navy); }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(0, 62, 229, .88) 0%, rgba(11, 47, 184, .82) 55%, rgba(5, 9, 20, .9) 100%); }
.cta-mark { margin: 0 auto 16px; width: 60px; height: auto; }
.cta h2 { font-size: clamp(26px, 3.6vw, 42px); }
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 36px auto 0; text-align: left; }
.cta-card { display: block; padding: 26px 28px; border-radius: var(--radius-l); background: #fff; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.cta-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.cta-card b { display: flex; justify-content: space-between; align-items: center; font-size: 20px; color: var(--primary); }
.cta-card b::after { content: "→"; }
.cta-card span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.cta-card--ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.cta-card--ghost b { color: #fff; }
.cta-card--ghost span { color: rgba(255, 255, 255, .8); }

/* ---------- Video modal（元サイトの紹介動画） ---------- */
.video-modal { width: min(960px, 100% - 32px); padding: 0; border: 0; border-radius: var(--radius-l); background: #000; color: #fff; overflow: visible; }
.video-modal::backdrop { background: rgba(5, 9, 20, .8); backdrop-filter: blur(4px); }
.video-modal video { width: 100%; display: block; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.video-modal p { padding: 12px 18px; font-size: 14px; }
.video-close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; font-size: 28px; color: #fff; }

/* ---------- Footer（VALLEYIN / REACTOR 共通構成） ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand img { height: 46px; width: auto; }
.footer-brand > p { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-series { display: block; margin-top: 10px; font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .22em; color: var(--cyan); font-weight: 700; }
.footer-collab { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); width: max-content; max-width: 100%; flex-wrap: wrap; }
.footer-collab img:first-child { height: 20px; width: auto; }
.footer-collab img:last-of-type { height: 22px; width: 22px; }
.footer-collab span { color: rgba(255, 255, 255, .4); }
.footer-collab small { font-family: "Inter", var(--font); font-size: 9.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .5); margin-left: 6px; }
.footer-company { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.valleyin-logo { display: inline-block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em; color: #fff; margin-bottom: 8px; transition: opacity .2s; }
.valleyin-logo:hover { opacity: .8; }
.footer-company p { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.footer-company p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.footer-company small { color: rgba(255, 255, 255, .5); font-size: 12px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col strong { color: #fff; font-size: 14px; margin-bottom: 4px; letter-spacing: .04em; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; font-size: 13.5px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .desktop-nav, .nav-link { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .price-grid { max-width: 520px; margin-inline: auto; }
  .bridge-inner { grid-template-columns: 1fr; justify-items: start; }
  .intro, .point, .point:nth-child(even) { grid-template-columns: 1fr; }
  .point:nth-child(even) img { order: 0; }
  .price-grid, .price-grid--2, .cta-cards { grid-template-columns: 1fr; }
  .news-strip-inner { grid-template-columns: 1fr; gap: 6px; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-main { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .sp { display: inline; }
  .pc { display: none; }
  .demo-bar { font-size: 11px; gap: 8px; }
  .nav-actions .btn-sm { display: none; }
  .brand-logo { height: 34px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .feature { padding: 16px 6px 14px; }
  .feature h3 { font-size: 12.5px; }
  .f-ico { width: 44px; height: 44px; font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-head { grid-template-columns: 1fr; }
  .about-phone { display: none; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-phone { width: 160px; margin: 0 auto -110px; }
  .slide { height: 240px; }
  .float-card--1 { left: -6px; top: -18px; }
  .float-card--2 { right: -6px; bottom: -18px; }
  .news-list a { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .slides-track { overflow-x: auto; }
}

/* =====================================================================
   Subpages (generated by tools/build.py)
   ===================================================================== */
:root:has(.site-header.no-demo) { --demo-h: 0px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section--tight { padding-top: clamp(36px, 5vw, 56px); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: calc(var(--demo-h) + var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(36px, 5vw, 56px); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .orb-1 { width: 520px; height: 520px; left: -180px; top: -220px; }
.page-hero .orb-2 { width: 420px; height: 420px; right: -120px; top: -60px; opacity: .45; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.35; max-width: 900px; }
.page-lead { margin-top: 14px; max-width: 820px; color: rgba(255, 255, 255, .78); font-size: clamp(14.5px, 1.3vw, 16px); }
.hero-icon { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 18px; font-size: clamp(56px, 8vw, 96px); opacity: .9; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(97, 207, 255, .14); border: 1px solid rgba(97, 207, 255, .35); color: var(--cyan); font-weight: 700; font-size: 12px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .55); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Answer box (AEO) ---------- */
.answer-box { margin: 0 0 clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-l); background: linear-gradient(135deg, var(--bg-tint), #f8fbff); border: 1px solid #cfdcff; border-left: 5px solid var(--primary); }
.answer-box-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--primary); }
.answer-box-q { margin-top: 4px; font-size: clamp(18px, 2vw, 22px); }
.answer-box-a { margin-top: 10px; color: var(--ink-2); }
.answer-box-a p + p { margin-top: 8px; }
.answer-box-a a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.step-list { margin-top: 10px; padding-left: 0; counter-reset: s; display: grid; gap: 6px; }
.step-list li { counter-increment: s; position: relative; padding-left: 36px; list-style: none; }
.step-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Prose (article body) ---------- */
.prose { font-size: 16px; line-height: 1.95; color: var(--ink); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; padding: 12px 18px; border-radius: 12px; background: var(--bg-soft); border-left: 4px solid var(--primary); font-size: clamp(19px, 2.1vw, 23px); scroll-margin-top: calc(var(--header-h) + var(--demo-h) + 16px); }
.prose h3 { margin-top: 1.9em; padding-bottom: 8px; border-bottom: 2px solid var(--line); font-size: clamp(17px, 1.8vw, 19px); scroll-margin-top: calc(var(--header-h) + var(--demo-h) + 16px); }
.prose h4 { margin-top: 1.6em; font-size: 16.5px; color: var(--primary); }
.prose h5 { margin-top: 1.4em; font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.2em 0; }
.prose img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-s); margin-inline: auto; }
.prose strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(97, 207, 255, .35) 62%); }
.prose blockquote { padding: 14px 18px; border-left: 4px solid var(--line-2); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose th { background: var(--bg-soft); font-weight: 700; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line); }
.manual-body h2, .manual-body h3 { border: 0; padding: 12px 16px; background: var(--bg-soft); border-radius: 12px; font-size: 17px; }
.manual-body h3::before, .manual-body h2::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 2px; background: var(--primary); transform: rotate(45deg) translateY(-2px); }

/* ---------- Doc layout (manual / column) ---------- */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.doc-side { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - var(--demo-h) - 40px); overflow-y: auto; padding-right: 4px; }
.toc, .side-nav { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.toc-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.toc-title a { color: var(--primary); letter-spacing: .02em; font-size: 14px; }
.toc ol, .side-nav ul { display: grid; gap: 2px; }
.toc a, .side-nav a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.toc a:hover, .side-nav a:hover { background: var(--bg-soft); color: var(--primary); }
.toc .toc-h3 a { padding-left: 20px; font-size: 12.5px; color: var(--muted); }
.side-nav [aria-current] a { background: var(--bg-tint); color: var(--primary); font-weight: 700; }
.post-hero { margin: 0 0 28px; }
.post-hero img { width: 100%; border-radius: var(--radius-l); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pager a { display: block; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); font-size: 14px; font-weight: 700; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.pager a:hover { border-color: #b9ccff; box-shadow: var(--shadow-s); }
.pager small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.pager .next { text-align: right; }
.help-footer-box, .form-note { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; }
.help-footer-box a, .form-note a:not(.btn) { color: var(--primary); font-weight: 700; text-decoration: underline; }
.form-note p + p { margin-top: 8px; }
.form-note .btn { margin-top: 10px; }
.inline-cta { margin-top: 40px; padding: 24px; border-radius: var(--radius-l); background: linear-gradient(135deg, var(--primary), #0b2fb8); color: #fff; }
.inline-cta p + p { margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.inline-cta .btn { margin-top: 14px; background: #fff; color: var(--primary); }

/* ---------- Cards / lists ---------- */
.sec-title { margin: clamp(40px, 5vw, 56px) 0 18px; font-size: clamp(20px, 2.4vw, 26px); }
.list-cards { display: grid; gap: 12px; }
.list-card { display: block; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.list-card:hover { border-color: #b9ccff; box-shadow: var(--shadow-s); transform: translateY(-2px); }
.list-card h3 { font-size: 16px; line-height: 1.5; color: var(--ink); }
.list-card p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.list-card-meta { display: inline-block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; color: var(--primary); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9ccff; }
.svc-card h2 { font-size: 19px; }
.svc-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); flex: 1; }
.svc-card .more { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.svc-points { display: grid; gap: 18px; }
.svc-point { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; }
.svc-point img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.svc-point h3 { margin-top: 4px; font-size: 19px; }
.svc-point p:last-child { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.svc-point .point-num b { font-size: 30px; }
.svc-mini { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-mini a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; transition: border-color .2s, color .2s; }
.svc-mini a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- FAQ blocks ---------- */
.faq-block { margin-top: clamp(40px, 5vw, 56px); }
.faq-block > h2 { margin-bottom: 16px; font-size: clamp(20px, 2.4vw, 26px); }
.qa { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.qa + .qa { margin-top: 10px; }
.qa summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 18px 48px 18px 20px; font-weight: 700; position: relative; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(-135deg); top: 30px; }
.q { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-size: 13px; }
.qa-a { padding: 0 22px 20px 58px; color: var(--ink-2); font-size: 15px; }
.qa-a p + p { margin-top: 8px; }
.qa-a a { color: var(--primary); text-decoration: underline; }
.qa-link { font-size: 13px; }

/* ---------- Help center ---------- */
.help-search { display: flex; gap: 10px; margin-top: 24px; max-width: 680px; }
.help-search input { flex: 1; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px; border: 0; font-size: 16px; color: var(--ink); background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.help-search input:focus { outline: 3px solid var(--cyan); }
.help-search .btn { min-height: 54px; }
.search-results { margin-top: 16px; max-width: 820px; background: #fff; color: var(--ink); border-radius: var(--radius-l); padding: 10px; box-shadow: var(--shadow-l); max-height: 60vh; overflow-y: auto; }
.search-results a { display: block; padding: 12px 14px; border-radius: 12px; }
.search-results a:hover, .search-results a:focus { background: var(--bg-soft); }
.search-results b { display: block; font-size: 15px; }
.search-results small { font-size: 12px; color: var(--primary); font-weight: 700; }
.search-results span { display: block; font-size: 13px; color: var(--muted); }
.search-results .empty { padding: 14px; color: var(--muted); font-size: 14px; }
.help-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.help-quick a { display: block; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; text-align: left; }
.help-quick a:hover { border-color: #b9ccff; box-shadow: var(--shadow-s); }
.help-quick b { display: block; font-size: 16px; color: var(--primary); }
.help-quick span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.help-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.help-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.help-chips a:hover { border-color: var(--primary); color: var(--primary); }
.help-group { margin-top: clamp(40px, 5vw, 60px); scroll-margin-top: calc(var(--header-h) + var(--demo-h) + 16px); }
.help-group > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: clamp(20px, 2.3vw, 25px); }
.help-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.help-cat { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.help-cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.help-cat-head h3 { font-size: 16.5px; color: var(--ink); }
.help-cat-head span { font-size: 12px; color: var(--muted); flex: none; }
.help-cat-head:hover h3 { color: var(--primary); }
.help-cat ul { margin-top: 8px; display: grid; gap: 2px; }
.help-cat li a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.help-cat li a:hover { color: var(--primary); text-decoration: underline; }
.help-cat-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 80px) 0; background: radial-gradient(600px 240px at 0% 0%, rgba(97, 207, 255, .3), transparent 60%), linear-gradient(135deg, var(--primary) 0%, #0b2fb8 55%, var(--navy-2) 100%); color: #fff; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 32px); }
.cta-band p:not(.eyebrow) { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid--wide { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }

@media (max-width: 1100px) {
  .footer-grid--wide { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; max-height: none; order: -1; }
  .doc-side .side-nav { display: none; }
  .svc-grid, .help-cats { grid-template-columns: 1fr 1fr; }
  .help-quick { grid-template-columns: 1fr; }
  .hero-icon { display: none; }
}
@media (max-width: 640px) {
  .svc-grid, .help-cats { grid-template-columns: 1fr; }
  .svc-point { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .footer-grid--wide { grid-template-columns: 1fr 1fr; }
  .qa-a { padding-left: 20px; }
  .help-search { flex-direction: column; }
  .prose { font-size: 15.5px; }
}
.breadcrumb ol, .toc ol, .step-list, .side-nav ul { margin: 0; padding: 0; list-style: none; }
.help-page .section:first-of-type { padding-top: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-side--manual { display: none; }
}
@media (max-width: 640px) {
  .help-search input { flex: none; }
}

/* =====================================================================
   Subpage design refresh — same visual language as the top page
   ===================================================================== */
.page-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .hero-photo { opacity: .2; }
.page-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-hero.has-visual .page-hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -.02em; }
.page-hero-visual { position: relative; }
.page-hero-visual img { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius-l); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(2deg); animation: float 7s ease-in-out infinite; }
.page-hero-visual img[src*="top-hero"] { object-fit: contain; max-height: none; box-shadow: none; transform: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); border-radius: 0; }
.page-hero-visual::before { content: ""; position: absolute; inset: 12% -8% -8% 12%; border-radius: var(--radius-xl); background: radial-gradient(circle at 30% 30%, rgba(29, 92, 255, .55), transparent 70%); filter: blur(30px); z-index: -1; }
.page-hero--compact { padding-bottom: clamp(36px, 4vw, 52px); }
.page-hero--compact h1 { font-size: clamp(24px, 3.2vw, 38px); }
.hero-btn { margin-top: 24px; }
.hero-stats-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-stats-inline b { font-family: "Inter", var(--font); font-size: 22px; color: #fff; margin-right: 4px; }
.narrow-box { max-width: 860px; margin: 0 auto clamp(48px, 6vw, 72px); }
.narrow-box .answer-box { margin-bottom: 0; }
.answer-box { box-shadow: var(--shadow-s); }
.section.soft .answer-box { background: #fff; }

/* service index cards with photos */
.svc-card { padding: 0; overflow: hidden; }
.svc-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 24px 24px; }
.svc-card-body .f-ico { position: absolute; top: -28px; left: 22px; margin: 0; background: #fff; box-shadow: var(--shadow); }

/* list cards: thumbnails + grid variant */
.list-card.has-thumb { display: flex; gap: 16px; align-items: center; padding: 14px; }
.list-card-thumb { flex: none; width: 132px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.list-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s var(--ease); }
.list-card:hover .list-card-thumb img { transform: scale(1.05); }
.list-card-body { display: block; min-width: 0; }
.list-cards--grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.list-cards--grid .list-card.has-thumb { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.list-cards--grid .list-card-thumb { width: 100%; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.list-cards--grid .list-card-body { padding: 16px 18px 20px; }
.list-cards--grid .list-card:not(.has-thumb) { display: flex; flex-direction: column; }

/* help center */
.help-quick .hq-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-tint); font-size: 22px; margin-bottom: 12px; }
.help-quick { margin-top: 0; }
.help-quick a { padding: 24px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.help-quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-chips--center { justify-content: center; margin-top: 8px; }
.help-group { margin: 0; padding: clamp(48px, 6vw, 72px) 0; }
.help-group--soft { background: var(--bg-soft); }
.help-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.help-group-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.help-group-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); font-size: 24px; box-shadow: 0 12px 30px -12px rgba(0, 62, 229, .8); }
.help-cat { position: relative; padding: 22px; border-radius: var(--radius-l); box-shadow: var(--shadow-s); transition: box-shadow .25s, transform .25s var(--ease); overflow: hidden; }
.help-cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.help-cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.help-cat-head h3 { font-size: 17.5px; }

/* FAQ page */
.faq-cat-block { margin-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + var(--demo-h) + 16px); }
.faq-cat-block .section-head { margin-bottom: 18px; }
.faq-block--bare { margin-top: 0; }
.qa { box-shadow: var(--shadow-s); transition: box-shadow .25s; }
.qa[open] { box-shadow: var(--shadow); border-color: #cfdcff; }

/* article body images & side */
.doc-main .post-hero img { box-shadow: var(--shadow-l); }
.toc, .side-nav { box-shadow: var(--shadow-s); }

@media (max-width: 1100px) {
  .list-cards--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-hero.has-visual .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero-visual { max-width: 420px; }
  .page-hero-visual img { max-height: 220px; }
}
@media (max-width: 640px) {
  .page-hero-visual { display: none; }
  .list-cards--grid { grid-template-columns: 1fr; }
  .list-card-thumb { width: 96px; }
}
