/* ============================================================
   RoomFit AI — Global Styles
   https://roomfitai.com
   ============================================================ */

@import url('variables.css');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- Typography ---- */
.td   { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.h1   { font-size: clamp(46px, 6vw, 84px); }
.h2   { font-size: clamp(34px, 4vw, 56px); }
.h3   { font-size: clamp(22px, 2.5vw, 32px); }
.accent { color: var(--accent); }
.strong { color: var(--text); font-weight: 600; }

/* ---- Layout ---- */
.wrap  { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.sec   { padding: 96px 0; border-top: 1px solid var(--border); }

/* ---- Eyebrow Label ---- */
.eye {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.eye-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; border-radius: var(--r);
  padding: 14px 28px; white-space: nowrap; letter-spacing: 0.01em;
}
.b-amber { background: var(--amber); color: #0D0A00; }
.b-amber:hover { background: #ffc55e; box-shadow: 0 0 32px rgba(255, 178, 63, 0.4); transform: translateY(-2px); }
.b-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border2); }
.b-ghost:hover { border-color: var(--accent-bd); color: var(--text); }
.b-lg  { font-size: 17px; padding: 17px 40px; border-radius: 12px; }

/* ============================================================
   Navigation
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; background: rgba(8, 8, 16, 0.82); backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }
.n-logo { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.n-logo span { color: var(--accent); }
.n-links { display: flex; align-items: center; gap: 8px; }
.n-link {
  font-size: 14px; font-weight: 500; color: var(--text2); text-decoration: none;
  padding: 8px 14px; border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.n-link:hover { color: var(--text); background: var(--bg3); }
.n-link.active { color: var(--accent); }

/* Mobile Nav Toggle */
.n-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; z-index: 310;
}
.n-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 0 auto; transition: all 0.25s; border-radius: 2px;
}
.n-toggle span + span { margin-top: 6px; }
.n-toggle.open span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.n-toggle.open span:nth-child(2) { opacity: 0; }
.n-toggle.open span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 62px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px; opacity: 0.35; pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, black, transparent);
}
.h-left { display: flex; flex-direction: column; justify-content: center; padding: 72px 56px 72px 0; position: relative; z-index: 2; }
.h-left > * { opacity: 0; animation: rise 0.55s ease forwards; }
.h-left > *:nth-child(1) { animation-delay: .05s; }
.h-left > *:nth-child(2) { animation-delay: .15s; }
.h-left > *:nth-child(3) { animation-delay: .28s; }
.h-left > *:nth-child(4) { animation-delay: .42s; }
.h-left > *:nth-child(5) { animation-delay: .56s; }
.h-left > *:nth-child(6) { animation-delay: .68s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.h-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; background: var(--accent-bg); border: 1px solid var(--accent-bd);
  border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px;
}
.b-pulse { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.75); } }
.h-h1 { margin-bottom: 18px; }
.h-h1 .gr { background: linear-gradient(100deg, var(--accent) 0%, #00D9FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.h-sub { font-size: 18px; line-height: 1.72; color: var(--text2); max-width: 440px; margin-bottom: 36px; }

/* Upload CTA Block */
.upload-block {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--rl); padding: 24px; margin-bottom: 24px; max-width: 480px;
}
.ub-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.ub-title span { color: var(--amber); }
.ub-row { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; }
.u-step {
  flex: 1; background: var(--bg3); border: 1px dashed var(--border2);
  border-radius: 8px; padding: 14px 10px; text-align: center; cursor: pointer; transition: border-color 0.2s;
}
.u-step:hover { border-color: var(--accent-bd); }
.u-step.result { border-style: solid; border-color: var(--accent-bd); background: var(--accent-bg); }
.us-icon { font-size: 20px; margin-bottom: 5px; }
.us-label { font-size: 11px; font-weight: 700; color: var(--text); display: block; margin-bottom: 1px; }
.us-sub  { font-size: 10px; color: var(--text2); font-family: var(--font-mono); }
.u-step.result .us-label { color: var(--accent); }
.u-step.result .us-sub   { color: var(--accent); }
.ub-arrow { color: var(--accent); font-size: 16px; flex-shrink: 0; padding-bottom: 8px; }
.ub-btn {
  width: 100%; background: var(--amber); color: #0D0A00; border: none;
  border-radius: 8px; padding: 15px; font-family: var(--font-display);
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.ub-btn:hover { background: #ffc55e; box-shadow: 0 0 24px rgba(255, 178, 63, 0.35); }
.ub-note { font-size: 12px; color: var(--text2); margin-top: 10px; display: flex; align-items: center; gap: 6px; }

.h-proof { display: flex; align-items: center; gap: 14px; max-width: 480px; }
.p-avs   { display: flex; }
.p-av {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg);
  background: var(--bg3); margin-left: -7px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.p-av:first-child { margin-left: 0; }
.p-txt   { font-size: 13px; color: var(--text2); line-height: 1.4; }
.p-txt strong { color: var(--text); font-weight: 600; }
.p-stars { color: var(--amber); font-size: 11px; letter-spacing: 1px; display: block; margin-bottom: 2px; }

/* Hero Right */
.h-right { position: relative; overflow: hidden; border-left: 1px solid var(--border); }
.h-img {
  width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72);
  opacity: 0; animation: imgIn 0.8s 0.3s ease forwards; display: block;
}
@keyframes imgIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.h-product-tag {
  position: absolute; top: 24px; left: 24px;
  background: rgba(8, 8, 16, 0.9); backdrop-filter: blur(16px);
  border: 1px solid var(--border2); border-radius: var(--rl);
  padding: 12px 16px; opacity: 0; animation: rise 0.5s 0.75s ease forwards;
  display: flex; align-items: center; gap: 12px;
}
.hpt-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border2); }
.hpt-tag  { font-family: var(--font-mono); font-size: 9px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 3px; }
.hpt-name { font-size: 13px; font-weight: 600; color: var(--text); }
.h-overlay {
  position: absolute; bottom: 32px; left: 24px; right: 24px;
  background: rgba(8, 8, 16, 0.88); backdrop-filter: blur(20px);
  border: 1px solid var(--border2); border-radius: var(--rl);
  padding: 18px 20px; opacity: 0; animation: rise 0.5s 0.9s ease forwards;
}
.ho-top  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ho-lbl  { font-family: var(--font-mono); font-size: 10px; color: var(--text2); letter-spacing: 0.12em; text-transform: uppercase; }
.ho-live { font-family: var(--font-mono); font-size: 10px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.ho-live::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
.ho-result {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-bg); border: 1px solid var(--accent-bd);
  border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--accent);
}
.ho-sub { font-size: 12px; color: var(--text2); margin-top: 8px; }

/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 14px 0; overflow: hidden;
}
.t-track { display: inline-flex; animation: scroll 30s linear infinite; white-space: nowrap; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 36px; border-right: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2);
}
.t-item em { color: var(--text); font-style: normal; }
.t-dot { color: var(--accent); font-size: 14px; }

/* ============================================================
   How It Works
   ============================================================ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border); border-radius: var(--rl);
  overflow: hidden; margin-top: 56px;
}
.how-c {
  background: var(--bg2); padding: 44px 36px; position: relative;
  overflow: hidden; transition: background 0.25s;
}
.how-c:hover { background: var(--bg3); }
.how-c::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #00CFFF);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.how-c:hover::after { transform: scaleX(1); }
.how-n {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.how-n::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.how-ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-bg); border: 1px solid var(--accent-bd);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px;
}
.how-t { font-size: 20px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 10px; }
.how-p { font-size: 14px; color: var(--text2); line-height: 1.75; }

/* ============================================================
   Before/After Sliders
   ============================================================ */
.ri { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: flex-end; margin-bottom: 48px; }
.ri-a { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ri-n { font-family: var(--font-mono); font-size: 11px; color: var(--text2); letter-spacing: 0.1em; text-align: right; }
.ba-g { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border-radius: var(--rl); overflow: hidden; margin-bottom: 2px; }
.ba-c { background: var(--bg2); overflow: hidden; }
.ba-w { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; cursor: col-resize; user-select: none; }
.ba-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-ai  { clip-path: inset(0 50% 0 0); }
.ba-l   { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 10; transform: translateX(-50%); pointer-events: none; }
.ba-k {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: #fff; border-radius: 50%;
  z-index: 11; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); pointer-events: none;
}
.ba-k svg { width: 18px; height: 18px; }
.ba-tag {
  position: absolute; top: 14px; z-index: 12;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; pointer-events: none;
}
.ba-tb { left: 14px; background: rgba(0, 0, 0, 0.65); color: #aaa; }
.ba-ta { right: 14px; background: rgba(10, 255, 224, 0.15); border: 1px solid rgba(10, 255, 224, 0.35); color: var(--accent); }
.ba-ft { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.ba-item { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }
.ba-room { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; }
.ba-wide { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2px; background: var(--border); border-radius: 0 0 var(--rl) var(--rl); overflow: hidden; }

/* ============================================================
   Problem Section
   ============================================================ */
.pg { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.pain-c { display: flex; flex-direction: column; gap: 10px; }
.pain {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r); transition: border-color 0.2s;
}
.pain:hover { border-color: var(--border2); }
.pain-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 90, 90, 0.1); border: 1px solid rgba(255, 90, 90, 0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.pain-t h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.pain-t p  { font-size: 13px; color: var(--text2); line-height: 1.55; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border); border-radius: var(--rl);
  overflow: hidden; margin-top: 40px;
}
.stat { background: var(--bg2); padding: 28px 24px; text-align: center; transition: background 0.2s; }
.stat:hover { background: var(--bg3); }
.s-n { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); display: block; margin-bottom: 4px; }
.s-l { font-size: 12px; color: var(--text2); line-height: 1.4; }

/* ============================================================
   Differentiator Section
   ============================================================ */
.diff { background: var(--bg2); }
.diff-in { max-width: 1240px; margin: 0 auto; padding: 96px 48px; }
.dg { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 56px; }
.not-l { display: flex; flex-direction: column; gap: 10px; }
.not-i {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: rgba(255, 90, 90, 0.05);
  border: 1px solid rgba(255, 90, 90, 0.12); border-radius: var(--r); transition: border-color 0.2s;
}
.not-i:hover { border-color: rgba(255, 90, 90, 0.22); }
.not-x {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 90, 90, 0.15); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; color: var(--danger); flex-shrink: 0; font-weight: 700;
}
.not-i p { font-size: 14px; font-weight: 500; color: var(--text2); }
.not-i p strong { color: var(--text); font-weight: 600; }
.is-l { display: flex; flex-direction: column; gap: 10px; }
.is-i {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; background: var(--accent-bg);
  border: 1px solid var(--accent-bd); border-radius: var(--r); transition: border-color 0.2s;
}
.is-i:hover { border-color: rgba(10, 255, 224, 0.4); }
.is-ck {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(10, 255, 224, 0.15); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.is-ck svg { width: 12px; height: 12px; stroke: var(--accent); stroke-width: 2.5; fill: none; }
.is-t h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; letter-spacing: -0.01em; font-family: var(--font-display); }
.is-t p  { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* ============================================================
   Spaces Grid
   ============================================================ */
.sg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 52px; }
.sp { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); transition: all 0.25s; position: relative; }
.sp:hover { border-color: var(--accent-bd); transform: translateY(-4px); }
.sp-i  { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; filter: brightness(0.6); transition: filter 0.3s; }
.sp:hover .sp-i { filter: brightness(0.82); }
.sp-inf { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 14px 14px; background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent); }
.sp-n { font-size: 14px; font-weight: 700; }
.sp-s { font-family: var(--font-mono); font-size: 9px; color: var(--text2); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 52px; }
.faq-i { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 24px 24px 20px; transition: border-color 0.2s; }
.faq-i:hover { border-color: var(--border2); }
.faq-q { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; font-family: var(--font-display); }
.faq-a { font-size: 14px; color: var(--text2); line-height: 1.7; }
.faq-a strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Final CTA
   ============================================================ */
.final { position: relative; overflow: hidden; text-align: center; padding: 140px 48px; border-top: 1px solid var(--border); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.07; filter: blur(3px); }
.final-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(10, 255, 224, 0.07) 0%, transparent 70%); pointer-events: none; }
.final-in { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.f-sub { font-size: 18px; line-height: 1.7; color: var(--text2); margin-bottom: 40px; }
.f-sub strong { color: var(--text); }
.f-acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.f-trust { font-size: 13px; color: var(--text2); display: flex; align-items: center; justify-content: center; gap: 8px; }
.f-trust::before, .f-trust::after { content: ''; width: 40px; height: 1px; background: var(--border2); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg);
}
.footer-top {
  max-width: 1240px; margin: 0 auto; padding: 64px 48px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .fl { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; display: block; margin-bottom: 12px; }
.footer-brand .fl span { color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--text2); line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text2);
  padding: 5px 0; transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 20px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--border2); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--text2); transition: color 0.15s; }
.footer-legal a:hover { color: var(--text); }

/* ============================================================
   Inner Pages — Shared Layout
   ============================================================ */
.page-hero {
  padding: 140px 0 80px; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px; opacity: 0.2; pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, black, transparent);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-body { padding: 80px 0 120px; }
.page-body .wrap { max-width: 840px; }
.page-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); margin: 48px 0 16px; letter-spacing: -0.02em; }
.page-body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.page-body p  { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; }
.page-body ul, .page-body ol { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }
.page-body li { margin-bottom: 8px; }
.page-body a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: #fff; }
.page-body strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Contact Form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text2); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 14px 16px; color: var(--text);
  font-family: var(--font-body); font-size: 15px; transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; transition: border-color 0.2s;
}
.ci-card:hover { border-color: var(--border2); }
.ci-icon { font-size: 20px; margin-bottom: 10px; }
.ci-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ci-value { font-size: 15px; color: var(--text); font-weight: 500; }
.ci-detail { font-size: 13px; color: var(--text2); margin-top: 4px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  nav { padding: 0 24px; }
  .n-toggle { display: flex; flex-direction: column; justify-content: center; }
  .n-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column; justify-content: center; align-items: center;
    background: rgba(8, 8, 16, 0.96); backdrop-filter: blur(24px);
    gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .n-links.open { opacity: 1; pointer-events: auto; }
  .n-links .n-link { display: block; font-size: 18px; padding: 12px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .h-left { padding: 48px 24px 40px; }
  .h-right { height: 380px; display: block; }
  .pg, .dg, .ri, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba-g, .ba-wide { grid-template-columns: 1fr; }
  .how-grid, .faq-g { grid-template-columns: 1fr; }
  .sg { grid-template-columns: repeat(2, 1fr); }
  .sg .sp:last-child { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; }
  .diff-in, .final { padding: 70px 24px; }
  .sec { padding: 70px 0; }
  .ri-a { align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 12px; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
  .page-body { padding: 56px 0 80px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
