/* ============================================================
   外星宝宝 · 星伴AI 官网
   设计系统：Cohere（22px 卡片圆角 / 冷灰边框 / 深紫英雄带 / 克制成色）
   ============================================================ */

:root {
  /* Cohere 核心色 */
  --black: #000000;
  --near-black: #212121;
  --deep: #17171c;
  --blue: #1863dc;            /* 唯一交互蓝 */
  --focus-purple: #9b60aa;
  --white: #ffffff;
  --snow: #fafafa;
  --gray-line: #f2f2f2;
  --border-cool: #d9d9dd;
  --border-light: #e5e7eb;
  --muted: #6f6f7a;
  --muted-light: #93939f;

  /* 品牌星空带（蓝紫，仅用于整幅区段） */
  --band-1: #0d1240;
  --band-2: #1a2370;
  --band-3: #2744b6;
  --brand: #1550d6;
  --star: #ffd66b;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(16, 18, 40, .04);
  --shadow-float: 0 24px 60px -24px rgba(7, 12, 46, .45);

  --font-display: "Space Grotesk", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", Arial, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 通用排版 ================= */

.section { padding: 96px 0; }
.section--snow { background: var(--snow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--on-band { color: #9db4ff; }

.h2 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--black);
}
.h2 .accent { color: var(--brand); }

.lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
}

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* ================= 按钮 ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--blue); }
.btn-light { background: var(--white); color: #18206b; }
.btn-light:hover { background: #e7edff; }
.btn-ghost-light { background: transparent; color: var(--near-black); border-color: var(--border-cool); }
.btn-ghost-light:hover { color: var(--blue); border-color: var(--blue); }
.btn-ghost-band { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost-band:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ================= 卡片 / 图卡 ================= */

.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.shot {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -18px rgba(16, 24, 80, .25);
}
.shot img {
  width: 100%;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}
.shot figcaption {
  margin-top: 12px;
  padding: 2px 8px 6px;
  font-size: 14px;
  color: var(--muted-light);
  text-align: center;
  line-height: 1.5;
}
.section--snow .shot { border-color: var(--border-light); }

/* ================= 导航 ================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--gray-line);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--white);
  transition: color .25s ease;
}
.nav.is-scrolled .brand { color: var(--black); }
.brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  margin-left: 2px;
}
.nav.is-scrolled .brand .brand-sub { color: var(--muted-light); }
.brand-mark { flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  transition: color .2s ease;
}
.nav.is-scrolled .nav-links a { color: #3c3c46; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: 8px; }
.nav.is-scrolled .nav-cta { background: var(--black); color: #fff; }
.nav-cta { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.nav-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav.is-scrolled .nav-toggle { border-color: var(--border-cool); }
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: background .25s ease;
}
.nav.is-scrolled .nav-toggle span { background: var(--black); }

/* ================= Hero ================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 110px;
  color: var(--white);
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(123, 140, 255, .35), transparent 60%),
    radial-gradient(700px 460px at 6% 18%, rgba(88, 196, 255, .20), transparent 60%),
    linear-gradient(160deg, var(--band-1) 0%, var(--band-2) 48%, var(--band-3) 100%);
}
.hero-stars, .hero-stars::before, .hero-stars::after {
  position: absolute; inset: 0;
  pointer-events: none;
  content: "";
}
.hero-stars {
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(2px 2px at 26% 62%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 14%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2px 2px at 57% 30%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 71% 12%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2px 2px at 88% 28%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 93% 58%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(2px 2px at 6% 74%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 48%, rgba(255,255,255,.35), transparent 60%);
}
.hero-stars::before {
  background-image:
    radial-gradient(2.5px 2.5px at 20% 38%, rgba(255,224,140,.9), transparent 60%),
    radial-gradient(2.5px 2.5px at 80% 42%, rgba(255,224,140,.8), transparent 60%),
    radial-gradient(2px 2px at 64% 70%, rgba(255,224,140,.6), transparent 60%);
}

.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--star); }

.hero h1 {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 auto;
  max-width: 880px;
}
.hero p.hero-sub {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-figure {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 72px auto -160px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow-float);
}
.hero-figure img { border-radius: var(--radius-sm); width: 100%; cursor: zoom-in; }
.hero-figure figcaption {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 8px 8px;
  font-size: 14px;
  color: var(--muted);
}
.hero-figure figcaption::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

/* ================= 总览：两类业务 + 四组件 ================= */

#overview { padding-top: 240px; }

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.biz-card {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.biz-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-cool);
  box-shadow: 0 22px 50px -24px rgba(16, 24, 80, .22);
}
.biz-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3ff, #e3ecff);
  color: var(--brand);
}
.biz-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--black);
}
.biz-card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.biz-card .biz-tag {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--blue);
}

.sys-head {
  margin: 72px 0 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.sys-head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
}
.sys-head span { color: var(--muted); font-size: 15px; }

.comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.comp-card {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 248px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.comp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(16,24,80,.2); }
.comp-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted-light);
}
.comp-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: #f3f6fd;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.comp-card h4 { font-size: 17px; font-weight: 600; color: var(--black); line-height: 1.4; }
.comp-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }

.slogan-strip {
  margin-top: 56px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #eef3ff, #f4f0ff);
  border: 1px solid #e3e9ff;
  text-align: center;
  padding: 20px 28px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #1b2a80;
}

/* ================= 故事 ================= */

.story-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}
.story-poster { padding: 12px; }
.story-poster img { border-radius: var(--radius-sm); cursor: zoom-in; }
.story-copy h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 20px;
}
.story-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.85; margin-bottom: 14px; }
.story-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid var(--border-light);
  font-size: 14px;
  color: #33407e;
  font-weight: 500;
}
.chip--star { background: #fff6df; border-color: #ffe6a8; color: #8a5a00; }

.themes-card {
  margin: 72px auto 0;
  max-width: 760px;
  padding: 16px;
}
.themes-card img { border-radius: var(--radius-sm); cursor: zoom-in; }
.themes-card figcaption { padding: 14px 12px 6px; text-align: center; color: var(--muted); font-size: 14px; }

/* ================= 硬件品牌 ================= */

.kind-card { padding: 18px; }
.kind-card img { border-radius: var(--radius-sm); cursor: zoom-in; }
.kind-labels {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px;
  padding: 18px 12px 8px;
}
.kind-labels span {
  font-size: 15px; font-weight: 600; color: var(--black);
  display: inline-flex; align-items: center; gap: 8px;
}
.kind-labels span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}

.sub-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin: 80px 0 8px;
}
.sub-title + p.sub-desc { color: var(--muted); font-size: 16px; margin-bottom: 32px; }

.solve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.solve-card {
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.solve-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -20px rgba(16,24,80,.22); }
.solve-step {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .12em; color: var(--blue);
}
.solve-card h4 { font-size: 17px; font-weight: 600; color: var(--black); }
.solve-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.banner-card { padding: 14px; }
.banner-card img { border-radius: var(--radius-sm); width: 100%; cursor: zoom-in; }
.banner-card figcaption { text-align: center; padding: 12px 8px 4px; font-size: 13.5px; color: var(--muted-light); }

.gap-28 { margin-top: 28px; }

/* ================= 儿童机构（深紫带） ================= */

.band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(820px 460px at 88% -6%, rgba(126, 142, 255, .28), transparent 60%),
    radial-gradient(640px 420px at -4% 36%, rgba(88, 196, 255, .14), transparent 60%),
    linear-gradient(165deg, var(--band-1) 0%, var(--band-2) 52%, var(--band-3) 120%);
}
.band .h2 { color: var(--white); }
.band .lead { color: rgba(255,255,255,.78); }

.band .shot { box-shadow: 0 20px 60px -28px rgba(0,0,0,.55); }

.org-types { padding: 16px; }
.org-types img { border-radius: var(--radius-sm); cursor: zoom-in; }

.band .sub-title { color: var(--white); }
.band .sub-title + p.sub-desc { color: rgba(255,255,255,.72); }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.flow-step {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
}
.flow-step .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9db4ff;
  letter-spacing: .1em;
}
.flow-step h4 { font-size: 16px; font-weight: 600; margin: 8px 0 6px; }
.flow-step p { font-size: 13px; color: rgba(255,255,255,.68); line-height: 1.55; }

.band-tags {
  margin-top: 56px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}
.band-tags li {
  padding: 12px 26px;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ================= 联系 / 页脚 ================= */

.contact-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 52px 56px;
  align-items: center;
  margin-top: 48px;
}
.contact-main h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.contact-main p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.contact-email {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--brand);
  padding: 12px 0;
  border-bottom: 2px solid #dbe5ff;
  transition: color .2s ease, border-color .2s ease;
  word-break: break-all;
}
.contact-email:hover { color: var(--blue); border-color: var(--blue); }
.contact-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.contact-qr {
  justify-self: center;
  text-align: center;
}
.contact-qr .qr-box {
  width: 220px; height: 220px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.contact-qr figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.dusk {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(60, 80, 200, .35), transparent 70%),
    linear-gradient(180deg, #0c1138 0%, #080b26 55%, #05071a 100%);
}
.dusk .h2 { color: var(--white); }
.dusk .lead { color: rgba(255,255,255,.72); }

.footer {
  background: var(--black);
  color: rgba(255,255,255,.62);
  padding: 40px 0 32px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer .brand { color: #fff; font-size: 16px; }
.footer .brand .brand-sub { color: rgba(255,255,255,.45); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; font-size: 12.5px; color: rgba(255,255,255,.38); margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }

/* ================= 灯箱 ================= */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 10, 30, .86);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1500px);
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 20px;
  cursor: pointer;
}

/* ================= 滚动显现 ================= */

/* 隐藏态仅在 JS 可用时生效（.js 由 head 内联脚本提前添加），无 JS 时内容默认可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= 响应式 ================= */

@media (max-width: 1024px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .solve-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-poster { max-width: 480px; margin: 0 auto; }
  .hero h1 { font-size: 48px; }
  .h2 { font-size: 36px; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .container { padding: 0 18px; }

  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-line);
    padding: 8px 18px 16px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    color: var(--near-black) !important;
    padding: 13px 4px;
    border-bottom: 1px solid var(--gray-line);
    font-size: 15px;
  }
  .nav-links a.nav-cta { margin: 12px 0 0; background: var(--black) !important; color: #fff !important; border-bottom: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 132px 0 84px; }
  .hero h1 { font-size: 34px; letter-spacing: -.01em; }
  .hero p.hero-sub { font-size: 16px; }
  .hero-figure { margin: 52px calc(-18px) -130px; border-radius: 18px; }
  #overview { padding-top: 180px; }

  .h2 { font-size: 28px; }
  .lead { font-size: 16px; }
  .section-head { margin-bottom: 40px; }

  .biz-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .biz-card { padding: 28px 24px; }
  .sys-head { margin-top: 52px; }
  .sys-head h3 { font-size: 23px; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp-card { min-height: 0; }
  .slogan-strip { font-size: 16px; border-radius: 22px; padding: 18px 20px; }

  .story-copy h3 { font-size: 23px; }
  .sub-title { font-size: 22px; margin-top: 56px; }
  .solve-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .contact-main h3 { font-size: 24px; }
  .contact-email { font-size: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .shot, .kind-card, .banner-card, .themes-card, .org-types { padding: 10px; border-radius: 18px; }
  .lightbox { padding: 16px; }
}

@media (max-width: 420px) {
  .flow-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
