/* ALLAX.pro landing — Figma: AllAX.pro / Landing Page (node 16:3) */

:root {
  --navy: #0c1b34;
  --navy-card: #142944;
  --navy-line: #30435e;
  --ink: #122440;
  --body: #53647d;
  --muted: #7a89a0;
  --index: #7f94b2;
  --line: #d9e1ed;
  --soft: #f3f6fb;
  --sky: #eef4ff;
  --sky-line: #c7d9ff;
  --blue: #265edb;
  --blue-light: #93b7ff;
  --on-dark: #b8c7db;
  --on-dark-2: #bdd0ed;
  --on-blue: #d7e4ff;
  --on-blue-2: #cfdeff;
  --white: #fff;

  --font-kr: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --font-en: "Inter", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1440px;
  --gutter: 80px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; background: var(--blue); color: var(--white); border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 1.3px;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--blue-light); }

.h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -1.5px;
  color: var(--ink);
}
.on-dark .h2 { color: var(--white); }

.lead { font-size: 17px; line-height: 1.8; color: var(--body); }
.on-dark .lead { color: var(--on-dark); }

.num { font-family: var(--font-mono); font-size: 12px; line-height: 1.3; color: var(--blue); }
.on-dark .num { color: var(--blue-light); }

.label { font-weight: 700; font-size: 12px; line-height: 1.4; color: var(--blue); }

.on-dark { background: var(--navy); color: var(--white); }
.bg-soft { background: var(--soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn img { width: 17px; height: 17px; flex: none; }
.btn:hover { background: #1f50c2; border-color: #1f50c2; }
.btn--ghost { background: var(--navy); border-color: var(--navy-line); }
.btn--ghost:hover { background: var(--navy-card); border-color: #46607f; }

/* ---------- Section header (title left / description right) ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}
.section-head__title { display: flex; flex-direction: column; gap: 18px; flex: none; }
.section-head__desc { flex: 1 1 0; min-width: 0; }

/* ---------- Header / GNB ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.gnb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.gnb__logo img { width: 194px; height: auto; }
.gnb__menu { display: flex; align-items: center; gap: 36px; }
.gnb__menu a:not(.btn) { font-weight: 500; font-size: 14px; color: var(--ink); }
.gnb__menu a:not(.btn):hover { color: var(--blue); }
.gnb__toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.gnb__toggle span,
.gnb__toggle span::before,
.gnb__toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.gnb__toggle span::before,
.gnb__toggle span::after { content: ""; position: absolute; left: 0; }
.gnb__toggle span::before { top: -7px; }
.gnb__toggle span::after { top: 7px; }
.gnb__toggle[aria-expanded="true"] span { background: transparent; }
.gnb__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.gnb__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding-top: 64px; overflow: hidden; }
.hero__body {
  display: flex;
  align-items: center;
  gap: 46px;
  margin-top: 40px;
  padding-right: 0;
}
.hero__msg { width: 594px; flex: none; display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  font-weight: 700;
  font-size: 60px;
  line-height: 1.32;
  letter-spacing: -2.8px;
  max-width: 594px;
  color: var(--white);
}
.hero__bar { width: 60px; height: 4px; background: var(--blue); }
.hero__desc { font-size: 19px; line-height: 1.8; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
.hero__visual { flex: 1 1 auto; min-width: 0; padding: 10px 0 24px; }
.hero__visual .window { width: 720px; max-width: none; }

.product-index { border-top: 1px solid var(--navy-line); margin-top: 0; }
.product-index ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.product-index a { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; }
.product-index .idx { font-family: var(--font-mono); font-size: 10px; color: var(--index); }
.product-index .name { font-family: var(--font-en); font-weight: 500; font-size: 16px; color: var(--white); }
.product-index a:hover .name { color: var(--blue-light); }

/* ---------- Product window (screen mockups) ---------- */

.window {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(8, 22, 46, .14);
}
.window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  background: var(--white);
}
.window__dots { display: flex; gap: 5px; }
.window__dots i { width: 6px; height: 6px; border-radius: 4px; background: #b4c0d1; }
.window__dots i:nth-child(2) { background: #cdd5e1; }
.window__dots i:nth-child(3) { background: #e1e6ee; }
.window__title { font-family: var(--font-en); font-size: 11px; color: var(--body); white-space: nowrap; }
.window__tag { font-size: 10px; color: var(--muted); white-space: nowrap; }
.window img { width: 100%; }

/* ---------- Why (운영 과제) ---------- */

.why .container { display: flex; align-items: flex-start; gap: 80px; padding-top: 96px; padding-bottom: 96px; }
.why__intro { width: 440px; flex: none; display: flex; flex-direction: column; gap: 22px; }
.why__list { flex: 1 1 0; min-width: 0; }

.num-list > li {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}
.num-list__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.num-list h3 { font-weight: 700; font-size: 20px; line-height: 1.5; color: var(--ink); }
.num-list p { font-size: 14px; line-height: 1.8; color: var(--body); }

/* ---------- FDE ---------- */

.fde .container { display: flex; flex-direction: column; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.fde .section-head__title { width: 700px; }
.fde__body { display: flex; align-items: flex-start; gap: 32px; }
.fde__features { flex: 1 1 0; min-width: 0; border-top: 1px solid var(--navy-line); }
.fde__features > li {
  display: flex; gap: 20px; padding: 28px 0;
  border-bottom: 1px solid var(--navy-line);
}
.fde__features .body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fde__features h3 { font-weight: 700; font-size: 19px; line-height: 1.5; color: var(--white); }
.fde__features p { font-size: 14px; line-height: 1.8; color: var(--on-dark); }

.fde__card {
  width: 480px; flex: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  padding: 32px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
}
.fde__card-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--blue-light); }
.fde__card ul { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.fde__card li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.7; color: var(--on-dark); }
.fde__card li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--blue-light); flex: none; }

/* ---------- Process ---------- */

.process .container { display: flex; flex-direction: column; gap: 46px; padding-top: 88px; padding-bottom: 88px; }
.process .section-head__title { width: 760px; }
.process .section-head__desc { flex: 0 1 380px; }
.process .section-head__desc p { font-size: 16px; line-height: 1.8; color: var(--body); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 18px; }
.steps__mark { display: flex; align-items: center; gap: 16px; }
.steps__mark span { font-family: var(--font-mono); font-size: 28px; line-height: 1.3; color: var(--blue); }
.steps__mark::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }
.steps h3 { font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--ink); }
.steps p { font-size: 14px; line-height: 1.8; color: var(--body); }

/* ---------- Stack ---------- */

.stack .container { display: flex; flex-direction: column; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.stack .section-head__title { width: 700px; }
.stack .section-head__desc { flex: 0 1 400px; }
.stack-diagram { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stack-card__head { display: flex; align-items: center; justify-content: space-between; }
.stack-card__head h3 { font-family: var(--font-en); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--ink); }
.stack-card__head img { width: 22px; height: 22px; }
.stack-card strong { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink); }
.stack-card p { font-size: 14px; line-height: 1.8; color: var(--body); }
.stack-diagram__arrow { display: flex; justify-content: center; height: 22px; }
.stack-diagram__arrow img { width: 20px; height: 20px; }
.stack-proxy {
  grid-column: span 2;
  display: flex; align-items: center; gap: 32px;
  min-height: 140px; padding: 28px;
  background: var(--blue); border-radius: var(--radius);
}
.stack-proxy__name { width: 268px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.stack-proxy__name h3 { font-family: var(--font-en); font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--white); }
.stack-proxy__name span { font-family: var(--font-mono); font-size: 12px; color: var(--on-blue-2); }
.stack-proxy__role { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.stack-proxy__role strong { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--white); }
.stack-proxy__role p { font-size: 14px; line-height: 1.8; color: var(--on-dark); }
.stack-control {
  display: flex; flex-direction: column; gap: 9px;
  padding: 26px;
  background: var(--navy); border-radius: var(--radius);
}
.stack-control h3 { font-family: var(--font-en); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--white); }
.stack-control p { font-size: 14px; line-height: 1.8; color: var(--on-dark); }
.stack__more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--blue);
}
.stack__more img { width: 20px; height: 20px; flex: none; }
.stack__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Product showcase (AgentPortal / ControlCenter) ---------- */

.showcase .container { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.showcase .section-head { gap: 64px; }
.showcase .section-head__title { width: 760px; }
.showcase__body { display: flex; align-items: flex-start; gap: 32px; }
.showcase__body .window { flex: 0 1 1000px; min-width: 0; }
.showcase__notes { width: 248px; flex: none; display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.showcase--cc .showcase__notes { gap: 8px; }
.showcase__notes .note {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
}
.showcase__notes h3 { font-weight: 700; font-size: 19px; line-height: 1.5; color: var(--ink); }
.showcase__notes p { font-size: 14px; line-height: 1.8; color: var(--body); }
.showcase__source { font-size: 12px; color: var(--muted); }

/* ---------- Infra (llmProxy / CodeMaster) ---------- */

.infra .container { display: flex; flex-direction: column; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.infra .section-head__title { width: 760px; }
.infra__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.infra__product { display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--navy-line); padding-top: 22px; }
.infra__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.infra__title h3 { font-family: var(--font-en); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--white); }
.infra__title span { font-family: var(--font-mono); font-size: 12px; color: var(--blue-light); white-space: nowrap; }
.infra__product > p { font-size: 17px; line-height: 1.8; color: var(--on-dark); }

.node {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
}
.node--accent { background: var(--blue); border-color: var(--blue); }
.node strong { font-family: var(--font-en); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--white); }
.node span { font-size: 13px; line-height: 1.6; color: var(--on-dark-2); }
.flow { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.flow__arrow { display: flex; justify-content: center; }
.flow__arrow img { width: 18px; height: 18px; }
.flow__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.harness {
  display: flex; flex-direction: column; gap: 20px;
  padding: 24px;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
}
.harness__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--blue-light); }
.harness__target {
  display: flex; justify-content: center;
  padding: 24px;
  border: 1px dashed var(--navy-line);
  font-family: var(--font-en); font-size: 20px; line-height: 1.2; color: var(--white);
}
.harness > p { font-size: 14px; line-height: 1.8; color: var(--on-dark); }

/* ---------- ReceptionBot ---------- */

.reception .container { display: flex; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 96px; }
.reception__intro { width: 480px; flex: none; display: flex; flex-direction: column; gap: 22px; }
.reception__cards { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.touch-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  padding: 28px;
  background: var(--soft);
  border-radius: var(--radius);
}
.touch-card img { width: 28px; height: 28px; }
.touch-card h3 { font-weight: 700; font-size: 25px; line-height: 1.4; color: var(--ink); }
.touch-card p { font-size: 15px; line-height: 1.8; color: var(--body); }

/* ---------- Education ---------- */

.edu .container { display: flex; flex-direction: column; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.edu__head { display: flex; align-items: flex-end; gap: 64px; }
.edu__intro { width: 700px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.edu__badge {
  padding: 8px 16px;
  background: var(--sky);
  border: 1px solid var(--sky-line);
  border-radius: var(--radius);
  font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--blue);
}
.edu__points { flex: 1 1 0; min-width: 0; }
.edu__points.num-list > li { gap: 20px; padding: 22px 0; }
.edu__points .num-list__body { gap: 6px; }
.edu__points h3 { font-size: 17px; }
.edu__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edu-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.edu-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--sky); border-radius: 8px;
}
.edu-card__icon img { width: 22px; height: 22px; }
.edu-card h3 { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); }
.edu-card p { font-size: 14px; line-height: 1.8; color: var(--body); }

/* ---------- Expert ---------- */

.expert .container { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.expert__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--blue); }
.expert__eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.expert__body { display: flex; align-items: flex-start; gap: 80px; }
.expert__profile { width: 352px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.expert__photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 8px 24px -8px rgba(18, 36, 64, .08);
}
.expert__name { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.expert__name strong { font-family: var(--font-en); font-weight: 600; font-size: 30px; line-height: 1.2; letter-spacing: -.8px; color: var(--ink); }
.expert__name span { font-weight: 500; font-size: 16px; color: var(--body); }
.expert__content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.expert__msg { display: flex; flex-direction: column; gap: 20px; }
.expert__scope {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.expert__scope li { display: flex; flex-direction: column; gap: 12px; }
.expert__body--next { padding-top: 40px; border-top: 1px solid var(--line); }
.expert__scope h3, .expert__scope h4 { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); }
.expert__scope p { font-size: 14px; line-height: 1.75; color: var(--body); }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  background: var(--soft);
  border-radius: var(--radius);
  transition: background-color .15s ease;
}
.contact-card:hover { background: #e8eef8; }
.contact-card__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-card__info span { font-weight: 500; font-size: 14px; color: var(--body); }
.contact-card__info strong {
  font-family: var(--font-en); font-weight: 600; font-size: 22px; line-height: 1.2;
  letter-spacing: -.4px; color: var(--blue); overflow-wrap: anywhere;
}
.contact-card img { width: 24px; height: 24px; flex: none; }

/* ---------- CTA ---------- */

.cta { background: var(--blue); }
.cta .container { display: flex; align-items: center; gap: 80px; padding-top: 80px; padding-bottom: 80px; }
.cta__msg { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cta .h2 { font-size: 44px; color: var(--white); }
.cta .lead { color: var(--on-blue); }
.cta__action { width: 300px; flex: none; }
.cta__btn {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 24px;
  background: var(--white); border-radius: var(--radius);
  font-weight: 700; font-size: 17px; color: var(--blue);
  transition: background-color .15s ease;
}
.cta__btn:hover { background: var(--sky); }
.cta__btn img { width: 20px; height: 20px; }

/* ---------- Footer ---------- */

.site-footer .container { display: flex; flex-direction: column; gap: 36px; padding-top: 54px; padding-bottom: 30px; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer__brand { width: 440px; display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { font-size: 14px; line-height: 1.7; color: var(--body); }
.footer__stack { display: flex; flex-direction: column; gap: 18px; }
.footer__stack > span { font-size: 12px; color: var(--muted); }
.footer__stack ul { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__stack a { font-family: var(--font-en); font-weight: 500; font-size: 13px; color: var(--ink); }
.footer__stack a:hover { color: var(--blue); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.4; color: var(--muted);
}
.footer__bottom small { font-family: var(--font-en); font-size: inherit; }
.footer__bottom a:hover { color: var(--blue); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1360px) {
  :root { --gutter: 56px; }
  .fde .section-head__title,
  .stack .section-head__title,
  .process .section-head__title,
  .infra .section-head__title,
  .showcase .section-head__title { width: auto; flex: 1 1 0; }
  .edu__intro { width: auto; flex: 1 1 0; }
  .fde__card { width: 420px; }
}

@media (max-width: 1200px) {
  :root { --gutter: 40px; }

  /* hero: stack text above the product screen */
  .hero__body { flex-direction: column; align-items: stretch; gap: 48px; padding-right: var(--gutter); }
  .hero__msg { width: auto; max-width: 640px; }
  .hero__visual { padding: 0 0 56px; }
  .hero__visual .window { width: 100%; max-width: 960px; }

  .showcase__body { flex-direction: column; }
  .showcase--cc .showcase__body { flex-direction: column-reverse; }
  .showcase__body .window { flex: none; width: 100%; }
  .showcase__notes { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
  .showcase--cc .showcase__notes { gap: 24px; }
  .showcase__notes > .label { grid-column: 1 / -1; }

  .reception .container { flex-direction: column; align-items: stretch; gap: 48px; }
  .reception__intro { width: auto; max-width: 640px; }

  .expert__profile { width: 260px; }
  .expert__body { gap: 56px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }

  .h2 { font-size: 34px; letter-spacing: -1.2px; }
  .cta .h2 { font-size: 36px; }
  .hero__title { font-size: 48px; letter-spacing: -2px; }

  .section-head,
  .showcase .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head__title,
  .section-head__desc,
  .process .section-head__desc,
  .stack .section-head__desc { width: 100%; flex: none; }

  .why .container { flex-direction: column; gap: 40px; }
  .why__intro { width: auto; }
  .why__list { width: 100%; }

  .fde__body { flex-direction: column; align-items: stretch; }
  .fde__card { width: auto; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }

  .stack-diagram { grid-template-columns: 1fr; }
  .stack-diagram__arrow:nth-of-type(n+2) { display: none; }
  .stack-proxy { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 16px; }
  .stack-proxy__name { width: auto; }

  .infra__products { grid-template-columns: 1fr; gap: 56px; }

  .edu__head { flex-direction: column; align-items: stretch; gap: 32px; }
  .edu__cards { grid-template-columns: 1fr; }

  .expert__body { flex-direction: column; gap: 40px; }
  .expert__profile { width: 100%; flex-direction: row; align-items: center; }
  .expert__name { border-top: 0; padding-top: 0; }

  .cta .container { flex-direction: column; align-items: stretch; gap: 32px; }
  .cta__action { width: 100%; max-width: 360px; }

  .footer__top { flex-direction: column; }
  .footer__brand { width: auto; }
}

@media (max-width: 860px) {
  /* compact header with menu toggle */
  .gnb { height: 68px; }
  .gnb__logo img { width: 150px; }
  .gnb__toggle { display: inline-flex; }
  .gnb__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(8, 22, 46, .08);
    display: none;
  }
  .gnb__menu.is-open { display: flex; }
  .gnb__menu a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnb__menu .btn { margin-top: 16px; justify-content: space-between; }
  html { scroll-padding-top: 68px; }

  .product-index { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .product-index::-webkit-scrollbar { display: none; }
  .product-index ul { gap: 32px; min-height: 64px; width: max-content; min-width: 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .h2 { font-size: 28px; letter-spacing: -1px; }
  .cta .h2 { font-size: 30px; }
  .lead { font-size: 16px; }
  .hero { padding-top: 48px; }
  .hero__body { margin-top: 28px; gap: 40px; }
  .hero__title { font-size: 36px; letter-spacing: -1.4px; }
  .hero__desc { font-size: 16px; }
  .hero__desc br { display: none; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__visual { padding-bottom: 40px; }

  .window__bar { height: 32px; padding: 0 12px; }
  .window__tag { display: none; }

  .why .container,
  .showcase .container,
  .reception .container,
  .edu .container,
  .expert .container { padding-top: 64px; padding-bottom: 64px; }
  .fde .container,
  .process .container,
  .stack .container,
  .infra .container { padding-top: 64px; padding-bottom: 64px; gap: 36px; }
  .cta .container { padding-top: 56px; padding-bottom: 56px; }

  .num-list > li { gap: 16px; }
  .num-list h3 { font-size: 18px; }

  .fde__card { padding: 24px; }

  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps__mark span { font-size: 24px; }

  .showcase__notes { grid-template-columns: 1fr; gap: 0; }
  .showcase--cc .showcase__notes { gap: 0; }
  .showcase__notes > .label { margin-bottom: 12px; }

  .infra__title h3 { font-size: 26px; }
  .infra__product > p { font-size: 16px; }
  .harness { padding: 20px; }

  .reception__cards { grid-template-columns: 1fr; }
  .touch-card h3 { font-size: 22px; }

  .expert__scope { grid-template-columns: 1fr; gap: 20px; }
  .expert__photo { width: 112px; height: 112px; }
  .expert__name strong { font-size: 26px; }
  .contact-card { padding: 18px 20px; }
  .contact-card__info strong { font-size: 18px; }

  .footer__stack ul { gap: 14px 20px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

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