/* ============================================================
   TBNC — Responsive Stylesheet (mobile-first, single source)
   Breakpoint: 900px (≥900px applies desktop overrides)
   Loads after colors_and_type.css (which provides --font-mono, --radius-*).
   ============================================================ */

/* ---------- A2Z (에이투지체) webfont ---------- */
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-3Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-4Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-5Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-6SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-7Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'A2Z';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-6@1.0/%EC%97%90%EC%9D%B4%ED%88%AC%EC%A7%80%EC%B2%B4-8ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens (dark premium, always-on) ---------- */
:root {
  --font-sans: 'A2Z', ui-sans-serif, system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-heading: 'A2Z', ui-sans-serif, system-ui, sans-serif;
  /* --font-mono inherited from colors_and_type.css */

  --accent-color: #E0B370;
  --accent-color-foreground: #1a1a1a;

  --background: oklch(0.13 0.005 60);
  --foreground: oklch(0.96 0.005 70);
  --card: oklch(0.175 0.006 60);
  --card-foreground: oklch(0.96 0.005 70);
  --muted: oklch(0.22 0.005 60);
  --muted-foreground: oklch(0.68 0.01 70);
  --border: oklch(1 0 0 / 7%);
  --input: oklch(1 0 0 / 10%);
  --primary: var(--accent-color);
  --primary-foreground: var(--accent-color-foreground);
  --surface: oklch(0.155 0.005 60);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   MOBILE BASE (default)
   ============================================================ */

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 44px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { opacity: 0.85; transform: translateY(0); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, var(--border));
  background: color-mix(in oklch, var(--primary) 6%, transparent);
}
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }
.btn-kakao {
  background: #FEE500;
  color: #1a1a1a;
  border-color: #FEE500;
}
.btn-kakao:hover { background: #FDD835; border-color: #FDD835; color: #1a1a1a; }
.btn-block { width: 100%; }

/* ---------- Section ---------- */
.section { padding: 72px 0; position: relative; }
.section-alt { background: var(--surface); }

.section-head {
  display: block;
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.section-lead {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 18px 0 0;
}
.accent { color: var(--primary); }

/* ---------- Eyebrow (symmetric gold side-bars) ---------- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  min-width: 0;
}
.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand-accent { color: var(--primary); }
.brand-tagline {
  display: none;  /* mobile: hidden */
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.header-cta-row { display: none; }  /* mobile: hidden */
.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Drawer (mobile only) ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 50%);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--background);
  border-left: 1px solid var(--border);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-nav { flex: 1; padding: 12px 8px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 8px;
}
.drawer-nav a:active { background: var(--muted); }
.drawer-foot {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(color-mix(in oklch, var(--primary) 16%, transparent) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  opacity: 0.55;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content .eyebrow { margin-bottom: 22px; }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 7.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-align: center;
}
.hero-lead {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 12px;
  text-align: center;
}
.hero-sign {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--foreground);
  margin: 0 auto 28px;
  text-align: center;
  width: 100%;
}
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.hero-cta-row .btn { width: 100%; }

/* ---------- Services lead ---------- */
.services-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 600px;
  text-align: center;
}
.services-lead p { margin: 0; }
.services-lead-emph {
  color: var(--foreground);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* ---------- Services cards (mobile = accordion) ---------- */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.service-card-header {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.1em;
}
.service-toggle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.service-card[data-open="true"] .service-toggle {
  transform: rotate(45deg);
  background: color-mix(in oklch, var(--primary) 14%, transparent);
  border-color: color-mix(in oklch, var(--primary) 35%, var(--border));
  color: var(--primary);
}
.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.service-card-en {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}
.service-card-summary {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.service-card-body {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}
.service-card[data-open="false"] .service-card-body { display: none; }
.service-card-header:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 18px;
}
.service-item { display: flex; flex-direction: column; gap: 4px; }
.service-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}
.service-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}
.service-item-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  padding-left: 15px;
}

/* ---------- Why us (mobile = 2x2 stats + 1col reasons) ---------- */
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.stat-card-value .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-left: 3px;
}
.stat-card-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.why-reasons {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.reason-card {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reason-card:last-child { border-bottom: 1px solid var(--border); }
.reason-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.reason-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.reason-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0;
}

/* ---------- Process (mobile = vertical list) ---------- */
.process-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.process-step-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0;
}
.process-step-desc small {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  opacity: 0.75;
}

/* ---------- Contact form ---------- */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 0.875rem;
  font-weight: 500;
}
.field-label .req { color: var(--primary); margin-left: 2px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.input, .textarea {
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9375rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder, .textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.55;
}
.input:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 25%, transparent);
}
.textarea { min-height: 120px; resize: vertical; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.chip:hover { border-color: color-mix(in oklch, var(--primary) 50%, var(--border)); }
.chip.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.form-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  text-align: center;
}
/* Submit button — keep both state spans inline-flex when visible */
#submit-btn .submit-default:not([hidden]),
#submit-btn .submit-done:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Footer (mobile = 1col + bottom padding for floating CTA) ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-wordmark { font-size: 1.5rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; margin: 0; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--foreground); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.75rem;
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Floating CTA bar (mobile only) ---------- */
.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.floating-cta-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 600px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: color-mix(in oklch, var(--background) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border);
}
.floating-cta-inner .btn {
  height: 46px;
  padding: 0 12px;
  font-size: 0.875rem;
  width: 100%;
}
.floating-cta.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

/* ============================================================
   DESKTOP overrides (≥ 900px)
   ============================================================ */
@media (min-width: 900px) {

  .container { padding: 0 48px; }

  /* Section padding bigger */
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 64px; }
  .section-title {
    font-size: clamp(2.25rem, 3.6vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }
  .section-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 24px 0 0;
  }

  /* Header — show CTAs, hide hamburger */
  .site-header-inner { height: 72px; gap: 40px; }
  .brand-tagline { display: inline-block; }
  .header-cta-row { display: flex; gap: 10px; }
  .header-cta-row .btn { min-width: 132px; }
  .menu-btn { display: none; }

  /* Drawer never shown on desktop */
  .drawer, .drawer-backdrop { display: none !important; }

  /* Hero */
  .hero { padding: 120px 0 140px; }
  .hero-content .eyebrow { margin-bottom: 28px; }
  .hero-title {
    font-size: clamp(2.75rem, 4.6vw, 4.25rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 0 0 32px;
  }
  .hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 auto 16px;
  }
  .hero-sign {
    font-size: 0.9375rem;
    margin: 0 auto 44px;
  }
  .hero-cta-row {
    flex-direction: row;
    max-width: none;
    width: auto;
    justify-content: center;
    gap: 14px;
  }
  .hero-cta-row .btn { width: auto; }

  /* Services lead bigger */
  .services-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 760px;
    gap: 14px;
  }
  .services-lead-emph { font-size: 1.125rem; }

  /* Services — 3-col grid; bodies always visible; hover lift */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    border-radius: 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .service-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in oklch, var(--primary) 55%, var(--border));
    box-shadow: 0 24px 60px -24px color-mix(in oklch, var(--primary) 35%, transparent),
                0 0 0 1px color-mix(in oklch, var(--primary) 20%, transparent) inset;
  }
  .service-card-header {
    cursor: default;
    padding: 36px 32px;
    gap: 20px;
  }
  .service-card-title { font-size: 1.5rem; }
  .service-toggle { display: none; }
  .service-card[data-open="false"] .service-card-body,
  .service-card[data-open="true"] .service-card-body {
    display: flex;
  }
  .service-card-body {
    padding: 0 32px 32px;
    padding-top: 20px;
    margin-top: 0;
  }

  /* Why us — 4-col stats + 3-col reason cards w/ top accent */
  .why-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
  }
  .stat-card {
    padding: 28px;
    border-radius: 18px;
    gap: 12px;
  }
  .stat-card-value { font-size: 2.75rem; letter-spacing: -0.04em; }
  .stat-card-value .unit { font-size: 1.25rem; }
  .stat-card-label { font-size: 0.875rem; line-height: 1.5; }

  .why-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .reason-card {
    padding: 32px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    gap: 10px;
  }
  .reason-card:last-child { border-bottom: 1px solid var(--border); }
  .reason-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--primary);
  }
  .reason-num { margin-bottom: 4px; }
  .reason-title { font-size: 1.25rem; margin: 0; }
  .reason-desc { font-size: 0.9375rem; line-height: 1.65; }

  /* Process — 3-col cards + gold arrow between */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .process-step {
    padding: 36px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    gap: 14px;
  }
  .process-step:last-child { border-bottom: 1px solid var(--border); }
  .process-step::after {
    content: "→";
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    text-align: center;
    color: var(--primary);
    font-size: 1.25rem;
    z-index: 1;
    pointer-events: none;
  }
  .process-step:last-child::after { display: none; }
  .process-num { font-size: 1rem; }
  .process-step-title { font-size: 1.5rem; }
  .process-step-desc { font-size: 0.9375rem; }

  /* Contact — form card centered, 2-col fields */
  .contact-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 48px;
  }
  .form { gap: 22px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .input, .textarea { padding: 14px 16px; }
  .textarea { min-height: 140px; }

  /* Footer — 4-col grid, no floating-CTA bottom padding */
  .site-footer { padding: 80px 0 40px; }
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.3fr;
    gap: 40px;
    margin-bottom: 64px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
  }

  /* Floating CTA hidden on desktop */
  .floating-cta { display: none !important; }
}

/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================================ */
.legal-page {
  padding: 56px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 28px;
}
.legal-page .back:hover { color: var(--foreground); }
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.legal-page .updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 32px;
}
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.legal-page p,
.legal-page li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
  margin: 0 0 12px;
}
.legal-page ul,
.legal-page ol { padding-left: 22px; margin: 0 0 16px; }

@media (min-width: 900px) {
  .legal-page { padding: 80px 0 120px; }
  .legal-page h1 { font-size: 2.5rem; }
  .legal-page h2 { font-size: 1.5rem; margin: 48px 0 14px; }
}
