/* ------------------------------------------------------------------
   Halle Labs — hallelabs.com
   Shared styles: landing + privacy + terms
   ------------------------------------------------------------------ */

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

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-dark: #0a0e1a;
  --text: #0a0e1a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;
  --primary: #3b82f6;       /* Trainer blue */
  --primary-dark: #2563eb;
  --accent: #10b981;        /* Member mint */
  --accent-dark: #059669;
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --gradient-2: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 50%, #0f172a 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard", "Noto Sans KR", "Malgun Gothic",
    system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==================================================================
   NAV (top bar)
   ================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}
.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-logo img { height: 28px; width: auto; }
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}
.site-nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.15s;
}
.site-nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px;
  background: var(--text);
  color: #fff !important;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}
.mobile-only { display: none; }

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  padding: 96px 24px 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 80% 20%, rgba(59, 130, 246, 0.2), transparent 40%),
    radial-gradient(600px circle at 20% 80%, rgba(16, 185, 129, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.store-badge {
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 0;
}
.store-badge img {
  height: 56px;
  width: auto;
  display: block;
}
.store-badge:hover {
  transform: translateY(-2px);
}
.store-badge.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.store-badge.disabled:hover { transform: none; }
.store-badge .coming-soon {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.65rem;
  background: var(--accent);
  color: #fff;
  padding: 3px 9px;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(59, 130, 246, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.phone-frame:hover { transform: rotate(0deg) scale(1.02); }
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #181818 0%, #1f1f1f 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 5;
}
.phone-content {
  padding: 60px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}
.phone-greet {
  font-size: 0.7rem;
  color: #b0b0b0;
}
.phone-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.phone-card {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 14px;
  padding: 14px;
  margin-top: 6px;
}
.phone-card .pc-label { font-size: 0.65rem; opacity: 0.85; margin-bottom: 4px; }
.phone-card .pc-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.phone-card .pc-meta { font-size: 0.7rem; opacity: 0.85; }
.phone-list { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.phone-list-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}
.phone-list-item .dot-g { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.phone-list-item .dot-b { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.phone-list-item .meta { color: #b0b0b0; margin-left: auto; }
.phone-tab {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.3);
}
.phone-tab span { font-size: 0.6rem; color: #666; }
.phone-tab span.active { color: var(--primary); }

/* Floating UI ornament around phone */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
}
.float-card.f1 { top: 10%; left: -10%; animation: float 5s ease-in-out infinite; }
.float-card.f2 { bottom: 18%; right: -8%; animation: float 5s ease-in-out infinite 1.5s; }
.float-card .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.float-card .fc-icon.b { background: rgba(59, 130, 246, 0.15); color: var(--primary); }
.float-card .fc-icon.g { background: rgba(16, 185, 129, 0.15); color: var(--accent); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==================================================================
   SECTIONS
   ================================================================== */
.section {
  padding: 96px 24px;
}
.section-soft { background: var(--bg-soft); }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 700px;
}
.section-sub {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 600px;
  line-height: 1.6;
}
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-head .section-title,
.section-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================================
   FEATURE GRID
   ================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  transition: all 0.3s;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--gradient-1);
}
.feature-icon.green { background: var(--gradient-2); }
.feature-icon.purple { background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%); }
.feature-icon.orange { background: linear-gradient(135deg, #f97316 0%, #fb7185 100%); }
.feature-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ==================================================================
   ROLE SPLIT (Trainer / Member)
   ================================================================== */
.role-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.role-card {
  position: relative;
  padding: 48px 40px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}
.role-card:hover { transform: translateY(-4px); }
.role-card.trainer { background: var(--gradient-1); }
.role-card.member { background: var(--gradient-2); }
.role-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px circle at 100% 0%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}
.role-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.role-card h3 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.role-card p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 360px;
}
.role-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.role-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.role-card li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==================================================================
   AI HIGHLIGHT (banner)
   ================================================================== */
.ai-banner {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 32px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.ai-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 80% 50%, rgba(99, 102, 241, 0.25), transparent 50%);
  pointer-events: none;
}
.ai-banner-content { position: relative; z-index: 1; }
.ai-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ai-banner h2 .grad {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ai-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 460px;
}
.ai-banner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.ai-banner-stat .num {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.ai-banner-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==================================================================
   TRUST / BADGES
   ================================================================== */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 24px;
}
.trust-item .ti-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.trust-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.trust-item p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ==================================================================
   PRICING
   ================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.price-card {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.price-card.featured {
  background: linear-gradient(160deg, #1e3a8a 0%, #1e1b4b 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card.featured:hover {
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.35);
}
.price-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.price-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.price-card.featured .price-name { color: #fff; }
.price-amount {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card.featured .price-amount {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.price-card.featured .price-period { color: rgba(255, 255, 255, 0.6); }
.price-card hr {
  border: 0;
  height: 1px;
  background: var(--border-soft);
  margin: 0 0 20px;
}
.price-card.featured hr { background: rgba(255, 255, 255, 0.1); }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-soft);
  flex: 1;
}
.price-card.featured .price-features { color: rgba(255, 255, 255, 0.85); }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card.featured .price-features li::before { color: #34d399; }
.price-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ==================================================================
   CTA BAND
   ================================================================== */
.cta-band {
  background: var(--gradient-hero);
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 30% 30%, rgba(59, 130, 246, 0.3), transparent 50%),
    radial-gradient(400px circle at 70% 70%, rgba(16, 185, 129, 0.2), transparent 50%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ==================================================================
   FOOTER
   ================================================================== */
.site-footer {
  background: #0a0e1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 40px;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand .footer-logo img { height: 24px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==================================================================
   LEGAL PAGES (privacy, terms)
   ================================================================== */
.legal-root {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}
.legal-eyebrow {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legal-body { font-size: 15px; color: var(--text-soft); line-height: 1.75; }
.legal-body p { margin: 0.75rem 0; }
.legal-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.01em;
}
.legal-body h3 {
  font-size: 1.075rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.legal-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal-body ul, .legal-body ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.5rem;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin: 0.25rem 0; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--primary-dark); }

.table-wrap {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.table-wrap th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}
.table-wrap tr:last-child td { border-bottom: none; }

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
}
.contact-card h4 { margin-top: 0; margin-bottom: 0.5rem; font-size: 0.95rem; }
.contact-card ul { margin: 0.5rem 0 0; list-style: none; padding-left: 0; }
.contact-card li { margin: 0.15rem 0; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .role-split { grid-template-columns: 1fr; }
  .ai-banner { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-nav-inner { padding: 12px 18px; }
  .site-nav-links { gap: 14px; }
  .site-nav-links .desktop-only { display: none; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 64px 20px; }
  .ai-banner { padding: 40px 24px; border-radius: 20px; }
  .role-card { padding: 36px 28px; min-height: auto; }
  .cta-band { padding: 48px 28px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .float-card { display: none; }
  .phone-frame { width: 240px; height: 500px; transform: rotate(0deg); }
  .legal-root { padding: 36px 20px 56px; }
  .legal-title { font-size: 1.75rem; }
  .legal-body h2 { font-size: 1.25rem; }
  .ai-banner-stats { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}
