/* =========================================================
   BEOMONNURI · SUPERCHART AI — Landing
   Editorial Techwear × Realtime Intelligence
   Aligned with beomonnuri.com (homepage2) design system
   ========================================================= */

/* ----- TOKENS ----- */
:root {
  --bg: #f6f4ef;
  --bg-deep: #ece8df;
  --bg-ink: #0d0d0d;
  --paper: #0d0d0d;
  --paper-soft: #1a1a1a;
  --fg: #0d0d0d;
  --acid: #921230;
  --acid-bright: #c41a3f;
  --acid-glow: rgba(146, 18, 48, 0.18);
  --mute: rgba(13, 13, 13, 0.55);
  --mute-strong: rgba(13, 13, 13, 0.72);
  --mute-soft: rgba(13, 13, 13, 0.08);
  --mute-line: rgba(13, 13, 13, 0.18);
  --mute-line-strong: rgba(13, 13, 13, 0.32);

  --glass-bg: rgba(246, 244, 239, 0.72);
  --glass-border: rgba(13, 13, 13, 0.12);

  --display: 'Archivo Black', 'Pretendard Variable', sans-serif;
  --sans: 'Pretendard Variable', Pretendard, 'Archivo', sans-serif;
  --mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, monospace;
  --en: 'Archivo', sans-serif;

  --container-max: 1520px;
  --nav-h: 88px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--acid) transparent;
  scroll-behavior: smooth;
}
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  overflow-x: hidden;
}

.nb-phrase { white-space: nowrap; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--acid); color: #fff; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: #fff; padding: 8px 14px;
  z-index: 9999; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ----- FILM GRAIN ----- */
.grain::before {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.05 0 0 0 0 0.05 0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.055; mix-blend-mode: multiply; z-index: 1;
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 1000; background: transparent;
}
.scroll-progress > div {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--acid), var(--acid-bright));
  transition: width 0.05s linear;
}

/* ===== NAV ===== */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--mute-line);
}
.top .row {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand .box {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  position: relative;
}
.brand .box img { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-ko {
  font-family: var(--sans); font-weight: 900; font-size: 14px;
  letter-spacing: -0.02em;
}
.brand-en {
  font-family: var(--mono); font-weight: 500; font-size: 10px;
  letter-spacing: 0.14em; color: var(--mute);
}

.nav-links { display: flex; align-items: stretch; }
.nav-links a {
  display: inline-flex; align-items: center; padding: 0 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  position: relative;
}
.nav-links a:not(.cta)::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 22px;
  height: 1px; background: var(--acid); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s ease;
}
.nav-links a:not(.cta):hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--acid); }
.nav-links a.cta {
  margin-left: 12px; padding: 0 22px;
  background: var(--paper); color: var(--bg);
  position: relative; overflow: hidden;
}
.nav-links a.cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--acid); transform: translateY(100%);
  transition: transform 0.3s ease;
}
.nav-links a.cta:hover::before { transform: translateY(0); }
.nav-links a.cta span { position: relative; z-index: 1; }

.nav-mobile-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--mute-line);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 20% 30%, var(--acid-glow), transparent 60%),
    radial-gradient(50% 60% at 90% 80%, rgba(196, 26, 63, 0.10), transparent 60%);
  pointer-events: none; z-index: 0;
}
/* Live wire canvas */
.hero-lines {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.35;
}

.hero .container { position: relative; z-index: 3; }

.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--mute); text-transform: uppercase;
}
.live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--acid); font-weight: 700;
}
.live-tag::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid); box-shadow: 0 0 0 4px var(--acid-glow);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* Hero headline */
.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.9; letter-spacing: -0.04em;
  margin: 0 0 40px;
}
.hero h1 .row {
  display: block; overflow: hidden;
}
.hero h1 .row > * {
  display: inline-block;
  animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 .row:nth-child(2) > * { animation-delay: 0.1s; }
.hero h1 .row:nth-child(3) > * { animation-delay: 0.2s; }
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero h1 .ko {
  font-family: var(--sans); font-weight: 900;
  letter-spacing: -0.04em;
}
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--paper); color: transparent;
  font-style: italic;
}
.hero h1 .acid { color: var(--acid); }

.hero-lead {
  max-width: 720px; font-size: 20px; line-height: 1.65;
  color: var(--mute-strong); margin-bottom: 44px;
  text-wrap: pretty;
}
.hero-lead strong { color: var(--fg); font-weight: 700; }

.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase; border: 1px solid var(--paper);
  position: relative; overflow: hidden;
  transition: color 0.28s ease;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  transform: translateY(100%); transition: transform 0.28s ease;
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }

.btn-primary {
  background: var(--paper); color: var(--bg);
}
.btn-primary::before { background: var(--acid); }
.btn-primary:hover { color: #fff; border-color: var(--acid); }

.btn-ghost {
  background: transparent; color: var(--paper);
}
.btn-ghost::before { background: var(--paper); }
.btn-ghost:hover { color: var(--bg); }

.btn .arrow {
  display: inline-block; transition: transform 0.28s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* KPI ribbon */
.kpi-ribbon {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--mute-line);
  border-bottom: 1px solid var(--mute-line);
}
.kpi-ribbon .kpi {
  padding: 24px 22px; border-right: 1px solid var(--mute-line);
  position: relative;
}
.kpi-ribbon .kpi:last-child { border-right: 0; }
.kpi-ribbon .kpi .k {
  font-family: var(--mono); font-size: 10px; color: var(--mute);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px;
}
.kpi-ribbon .kpi .v {
  font-family: var(--display); font-size: 34px; line-height: 1;
  letter-spacing: -0.02em;
}
.kpi-ribbon .kpi .v .u {
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  color: var(--mute-strong); margin-left: 6px; letter-spacing: 0;
}
.kpi-ribbon .kpi .d {
  margin-top: 8px; font-size: 12px; color: var(--mute);
  line-height: 1.5;
}
.kpi-ribbon .kpi .accent { color: var(--acid); }

/* ===== PAGE META (breadcrumb + meta grid) ===== */
.page-meta {
  padding: 32px 0 24px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--mute-line);
}
.crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--mute); text-transform: uppercase; margin-bottom: 22px;
}
.crumb a { color: var(--mute); transition: color 0.2s ease; }
.crumb a:hover { color: var(--acid); }
.crumb .sep { padding: 0 6px; opacity: 0.5; }
.crumb .current { color: var(--acid); font-weight: 700; }

.meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--mute-line); background: rgba(246, 244, 239, 0.6);
}
.meta-grid > div {
  padding: 22px 24px; border-right: 1px solid var(--mute-line);
}
.meta-grid > div:last-child { border-right: 0; }
.meta-grid .k {
  font-family: var(--mono); font-size: 10px; color: var(--mute);
  letter-spacing: 0.16em; margin-bottom: 10px;
}
.meta-grid .v {
  font-family: var(--display); font-size: 20px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.meta-grid .v .ac { color: var(--acid); }
.meta-grid .v small {
  display: block; font-family: var(--mono); font-size: 11px;
  color: var(--mute); font-weight: 400; margin-top: 6px;
  letter-spacing: 0.08em; text-transform: none;
}

/* ===== SECTION SCAFFOLD ===== */
.section {
  padding: 120px 0;
  position: relative;
  border-bottom: 1px solid var(--mute-line);
}
.section.alt { background: var(--bg-deep); }
.section.dark {
  background: var(--paper); color: var(--bg);
}
.section.dark .sect-head .id,
.section.dark .sect-head h2 .ko,
.section.dark .sect-head p { color: var(--bg); }
.section.dark .sect-head p { color: rgba(246,244,239,0.7); }

.sect-head {
  display: grid; grid-template-columns: 1.2fr 2fr;
  gap: 60px; margin-bottom: 60px;
  align-items: end;
  border-bottom: 1px solid var(--mute-line); padding-bottom: 24px;
}
.section.dark .sect-head { border-bottom-color: rgba(246,244,239,0.15); }
.sect-head .id {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--mute); text-transform: uppercase; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.sect-head .id::before {
  content: ''; width: 30px; height: 1px; background: var(--acid);
}
.sect-head h2 {
  font-family: var(--display); font-size: clamp(44px, 6vw, 84px);
  line-height: 0.94; letter-spacing: -0.035em;
}
.sect-head h2 .ko { font-family: var(--sans); font-weight: 900; letter-spacing: -0.035em; }
.sect-head h2 .acid { color: var(--acid); }
.sect-head h2 .stroke {
  -webkit-text-stroke: 2px var(--paper); color: transparent;
  font-style: italic;
}
.section.dark .sect-head h2 .stroke {
  -webkit-text-stroke: 2px var(--bg);
}
.sect-head p {
  font-size: 18px; line-height: 1.7; color: var(--mute-strong);
  text-wrap: pretty;
}

/* ===== PERFORMANCE FRAME (SEO 핵심) ===== */
.perf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--mute-line);
}
.perf-cell {
  padding: 42px 32px; border-right: 1px solid var(--mute-line);
  background: rgba(246, 244, 239, 0.5);
  position: relative;
  transition: background 0.3s ease;
}
.perf-cell:last-child { border-right: 0; }
.perf-cell:hover { background: var(--bg); }
.perf-cell .badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--acid); margin-bottom: 20px; display: inline-block;
  padding: 4px 10px; border: 1px solid var(--acid-glow);
  background: rgba(146,18,48,0.05); text-transform: uppercase;
}
.perf-cell h3 {
  font-family: var(--sans); font-weight: 900;
  font-size: 26px; letter-spacing: -0.02em;
  margin-bottom: 14px; line-height: 1.2;
}
.perf-cell p {
  font-size: 15px; line-height: 1.65; color: var(--mute-strong);
  margin-bottom: 24px;
}
.perf-cell ul { list-style: none; padding: 0; }
.perf-cell li {
  font-family: var(--mono); font-size: 12px; color: var(--mute-strong);
  padding: 8px 0 8px 20px; border-top: 1px solid var(--mute-soft);
  position: relative; letter-spacing: 0.02em;
}
.perf-cell li::before {
  content: '/'; position: absolute; left: 0; top: 8px;
  color: var(--acid); font-weight: 700;
}
.perf-cell li:first-child { border-top: 0; }

/* ===== FEATURES ===== */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--mute-line);
  border-top: 1px solid var(--mute-line);
}
.feat-cell {
  padding: 44px 36px 40px;
  border-right: 1px solid var(--mute-line);
  border-bottom: 1px solid var(--mute-line);
  background: var(--bg);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.feat-cell:hover {
  background: var(--bg-deep);
}
.feat-cell .num {
  font-family: var(--mono); font-size: 11px; color: var(--acid);
  letter-spacing: 0.2em; margin-bottom: 32px; font-weight: 700;
}
.feat-cell h3 {
  font-family: var(--sans); font-weight: 900;
  font-size: 24px; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 16px;
}
.feat-cell p {
  font-size: 15px; line-height: 1.7; color: var(--mute-strong);
  margin-bottom: 20px;
}
.feat-cell ul { list-style: none; padding: 0; }
.feat-cell ul li {
  font-family: var(--mono); font-size: 12px; color: var(--mute);
  padding: 6px 0 6px 16px; position: relative;
  letter-spacing: 0.02em;
}
.feat-cell ul li::before {
  content: '·'; position: absolute; left: 0; top: 5px;
  color: var(--acid); font-weight: 700; font-size: 16px;
}

/* ===== INDICATORS CATEGORY GRID ===== */
.ind-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--mute-line);
  border-top: 1px solid var(--mute-line);
}
.ind-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--mute-line);
  border-bottom: 1px solid var(--mute-line);
  background: var(--bg);
}
.ind-cell .cat-id {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--mute); margin-bottom: 14px; text-transform: uppercase;
}
.ind-cell h4 {
  font-family: var(--sans); font-weight: 900;
  font-size: 20px; letter-spacing: -0.02em; margin-bottom: 20px;
  color: var(--fg);
}
.ind-cell h4 .ac { color: var(--acid); }
.ind-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ind-tag {
  display: inline-block; padding: 6px 12px;
  border: 1px solid var(--mute-line);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.04em; color: var(--mute-strong);
  transition: all 0.2s ease;
}
.ind-tag:hover {
  border-color: var(--acid); color: var(--acid);
  background: rgba(146,18,48,0.04);
}
.ind-tag.pro {
  border-color: var(--acid); color: var(--acid);
  font-weight: 700;
}
.ind-tag.pro::before {
  content: '★'; margin-right: 4px; font-size: 9px;
}

/* ===== TECH STACK (dark) ===== */
.tech-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(246,244,239,0.18);
}
.tech-cell {
  padding: 40px 28px; border-right: 1px solid rgba(246,244,239,0.15);
  background: rgba(255,255,255,0.02);
  position: relative;
}
.tech-cell:last-child { border-right: 0; }
.tech-cell .letter {
  font-family: var(--display); font-size: 64px; line-height: 1;
  color: var(--acid-bright); letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.tech-cell h4 {
  font-family: var(--sans); font-weight: 900; font-size: 20px;
  letter-spacing: -0.02em; margin-bottom: 8px; color: var(--bg);
}
.tech-cell .sub {
  font-family: var(--mono); font-size: 12px;
  color: rgba(246,244,239,0.55); letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.tech-cell p {
  font-size: 14px; line-height: 1.7;
  color: rgba(246,244,239,0.72);
}

/* ===== KEYWORD MATRIX (SEO 강화) ===== */
.kw-matrix {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px;
}
.kw-chip {
  padding: 12px 20px; border: 1px solid var(--mute-line);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(246,244,239,0.6);
  transition: all 0.2s ease;
}
.kw-chip:hover {
  border-color: var(--acid); color: var(--acid);
  transform: translateY(-2px);
}
.kw-chip.hero-kw {
  background: var(--paper); color: var(--bg);
  border-color: var(--paper);
}
.kw-chip.hero-kw:hover {
  background: var(--acid); border-color: var(--acid);
}

.kw-desc {
  max-width: 780px; font-size: 16px; line-height: 1.75;
  color: var(--mute-strong);
}

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--mute-line);
}
.faq-item {
  border-bottom: 1px solid var(--mute-line);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 28px 20px 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: var(--sans); font-weight: 700;
  font-size: 20px; letter-spacing: -0.015em;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--acid); }
.faq-q .idx {
  font-family: var(--mono); font-size: 11px; color: var(--acid);
  letter-spacing: 0.16em; font-weight: 700; margin-right: 24px;
  flex-shrink: 0;
}
.faq-q .icon {
  font-family: var(--mono); font-size: 22px; color: var(--acid);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 60px 32px 0;
  font-size: 16px; line-height: 1.75;
  color: var(--mute-strong); text-wrap: pretty;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 140px 0;
  background: var(--paper); color: var(--bg);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 20% 30%, rgba(196,26,63,0.22), transparent 60%),
    radial-gradient(60% 70% at 90% 80%, rgba(146,18,48,0.15), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .fc-id {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--acid-bright); text-transform: uppercase;
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.final-cta .fc-id::before {
  content: ''; width: 30px; height: 1px; background: var(--acid-bright);
}
.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 132px);
  line-height: 0.94; letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.final-cta h2 .ko {
  font-family: var(--sans); font-weight: 900; letter-spacing: -0.035em;
}
.final-cta h2 .stroke {
  -webkit-text-stroke: 2px var(--bg); color: transparent;
  font-style: italic;
}
.final-cta h2 .acid { color: var(--acid-bright); }
.final-cta p {
  max-width: 640px; font-size: 18px; line-height: 1.7;
  color: rgba(246,244,239,0.78); margin-bottom: 40px;
}
.final-cta .cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.final-cta .btn-primary {
  background: var(--bg); color: var(--paper); border-color: var(--bg);
}
.final-cta .btn-primary::before { background: var(--acid-bright); }
.final-cta .btn-primary:hover { color: #fff; border-color: var(--acid-bright); }
.final-cta .btn-ghost { color: var(--bg); border-color: rgba(246,244,239,0.4); }
.final-cta .btn-ghost::before { background: var(--bg); }
.final-cta .btn-ghost:hover { color: var(--paper); }

/* ===== FOOTER (Minimal — chart.beomonnuri.com standalone) ===== */
.footer-min {
  padding: 32px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--mute-line);
}
.ft-min-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--mute); text-transform: uppercase;
}
.ft-min-row .ft-copy { font-weight: 700; color: var(--mute-strong); }
.ft-min-row .ft-meta { color: var(--mute); }

/* ===== Legacy full FOOTER (kept for reference) ===== */
footer:not(.footer-min) {
  padding: 80px 0 40px; background: var(--bg-deep);
  border-top: 1px solid var(--mute-line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px; margin-bottom: 60px;
}
.ft-brand img { width: 56px; height: 56px; margin-bottom: 20px; }
.ft-tag {
  font-size: 14px; line-height: 1.7; color: var(--mute-strong);
  text-wrap: pretty;
}
.footer-grid h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 20px; font-weight: 700;
}
.footer-grid a {
  display: block; padding: 6px 0;
  font-size: 14px; color: var(--mute-strong);
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--acid); }
.ft-bottom-row {
  padding-top: 24px; border-top: 1px solid var(--mute-line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.ft-bottom-row a { color: var(--mute); }
.ft-bottom-row a:hover { color: var(--acid); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== FOCUS ===== */
:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .kpi-ribbon { grid-template-columns: repeat(2, 1fr); }
  .kpi-ribbon .kpi:nth-child(2) { border-right: 0; }
  .kpi-ribbon .kpi:nth-child(1),
  .kpi-ribbon .kpi:nth-child(2) { border-bottom: 1px solid var(--mute-line); }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .meta-grid > div:nth-child(2) { border-right: 0; }
  .meta-grid > div:nth-child(1),
  .meta-grid > div:nth-child(2) { border-bottom: 1px solid var(--mute-line); }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-cell:nth-child(2) { border-right: 0; }
  .perf-cell:nth-child(1),
  .perf-cell:nth-child(2) { border-bottom: 1px solid var(--mute-line); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-cell:nth-child(2) { border-right: 0; }
  .tech-cell:nth-child(1),
  .tech-cell:nth-child(2) { border-bottom: 1px solid rgba(246,244,239,0.15); }
  .sect-head { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  :root { --nav-h: 72px; }
  .brand-en { display: none; }
  .brand-copy { gap: 0; }
  .nav-links a:not(.cta) { display: none; }
  .nav-links a.cta { margin-left: 0; padding: 0 16px; font-size: 11px; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .hero-lead { font-size: 17px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .kpi-ribbon { grid-template-columns: 1fr; }
  .kpi-ribbon .kpi { border-right: 0; border-bottom: 1px solid var(--mute-line); }
  .kpi-ribbon .kpi:last-child { border-bottom: 0; }
  .meta-grid { grid-template-columns: 1fr; }
  .meta-grid > div { border-right: 0; border-bottom: 1px solid var(--mute-line); }
  .meta-grid > div:last-child { border-bottom: 0; }
  .section { padding: 80px 0; }
  .sect-head { margin-bottom: 40px; }
  .sect-head h2 { font-size: 40px; }
  .perf-grid, .feat-grid, .ind-grid, .tech-grid { grid-template-columns: 1fr; }
  .perf-cell, .feat-cell, .ind-cell, .tech-cell {
    border-right: 0; border-bottom: 1px solid var(--mute-line);
  }
  .tech-cell { border-bottom: 1px solid rgba(246,244,239,0.15); }
  .perf-cell:last-child, .feat-cell:last-child,
  .ind-cell:last-child, .tech-cell:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-q { font-size: 17px; padding: 22px 12px 22px 0; }
  .faq-q .idx { margin-right: 12px; }
  .faq-a-inner { padding: 0 20px 24px 0; font-size: 15px; }
  .final-cta { padding: 90px 0; }
  .final-cta h2 { font-size: 44px; }
}
