/* =========================
   ACORDIO — BRAND SYSTEM
   Tokens, base, layout, components.
   Source of truth for all public pages.
   ========================= */

:root {
  /* Colors (aligned with acordio_app/lib/src/config/app_colors.dart) */
  --bg: #FAFAF8;
  --bg-soft: #F3F2EF;
  --bg-dark: #1A1A1A;
  --ink: #1A1A1A;
  --ink-soft: #4A4A45;
  --ink-muted: #888880;
  --line: #E6E1DA;

  --accent: #0F6E56;
  --accent-hover: #085041;
  --accent-light: #1D9E75;
  --accent-surface: #E1F5EE;

  --violet: #534AB7;
  --violet-deep: #26215C;
  --violet-soft: #EEEDFE;

  --warm: #EF9F27;
  --warm-soft: #FAEEDA;
  --warm-deep: #633806;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Section rhythm (compact, responsive) */
  --section-y: clamp(56px, 7vw, 88px);
  --section-y-sm: clamp(40px, 5vw, 60px);

  /* Type scale */
  --t-display: clamp(40px, 6vw, 72px);
  --t-h2: clamp(28px, 3.5vw, 44px);
  --t-h3: 20px;
  --t-body: 17px;
  --t-caption: 14px;
  --t-micro: 12px;

  --radius: 14px;
  --radius-sm: 8px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: var(--t-display); font-weight: 700; }
h2 { font-size: var(--t-h2); font-weight: 700; }
h3 { font-size: var(--t-h3); font-family: var(--font-body); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* Layout */
.w { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s-5); }

/* =========================
   NAV
   ========================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); flex-shrink: 0; }
.brand-mark svg { width: 22px; height: 22px; display: block; }

.nav-menu { display: flex; align-items: center; gap: var(--s-6); }
.nav-menu a { font-size: var(--t-caption); color: var(--ink-soft); transition: color 0.15s ease; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.btn-primary { color: var(--bg); }
.nav-menu a.btn-primary:hover { color: var(--bg); }
.nav-menu a.nav-login { color: var(--ink); font-weight: 500; }
.nav-menu a.nav-login:hover { color: var(--accent); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--ink); color: var(--bg);
  padding: 12px 22px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 12px 18px; color: var(--ink);
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.15s ease;
}
.btn-ghost:hover { opacity: 0.6; }

/* =========================
   HERO
   ========================= */
.hero { padding: clamp(40px, 6vw, 72px) 0 var(--section-y); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 15%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(239, 159, 39, 0.08), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-caption); color: var(--ink-muted); margin-bottom: var(--s-5); font-weight: 500; }
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--ink-muted); }

.hero h1 { margin-bottom: var(--s-5); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 700; }
.hero-sub { font-size: 19px; line-height: 1.5; color: var(--ink-soft); margin-bottom: var(--s-6); max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }

/* Sample card */
.hero-visual { position: relative; }
.sample {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 20px 40px -20px rgba(26, 26, 26, 0.15), 0 40px 80px -30px rgba(26, 26, 26, 0.08);
  position: relative;
  transform: rotate(-1deg);
}
.sample::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(135deg, transparent 0%, rgba(239, 159, 39, 0.3) 100%);
  z-index: -1; filter: blur(20px); opacity: 0.4;
}
.sample-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s-4); border-bottom: 1px dashed var(--line); margin-bottom: var(--s-5); }
.sample-head .label { font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.sample-status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-micro); color: var(--accent); font-weight: 600; }
.sample-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.15); }
.sample-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: var(--s-5); letter-spacing: -0.01em; }
.sample-rows { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); }
.sample-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.sample-row span { color: var(--ink-muted); }
.sample-row strong { font-weight: 600; color: var(--ink); }
.sample-sign { display: flex; gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.sign-slot { flex: 1; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 20px; color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; line-height: 1; }

/* Contextos strip */
.contexts { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.contexts-label { font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: var(--s-4); }
.contexts-list { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); list-style: none; }
.contexts-list li { font-size: 15px; color: var(--ink-soft); position: relative; }
.contexts-list li + li::before { content: ''; position: absolute; left: calc(var(--s-7) / -2 - 4px); top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--line); transform: translateY(-50%); }

/* =========================
   SECTIONS
   ========================= */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 640px; margin-bottom: var(--s-6); }
.section-tag { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: var(--s-4); }
.section-tag::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head p { font-size: 18px; line-height: 1.5; color: var(--ink-soft); }

/* CONTRAST */
.contrast { padding: var(--section-y-sm) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.contrast-before, .contrast-after { padding: var(--s-5) 0; }
.contrast-tag { font-size: var(--t-caption); font-weight: 600; margin-bottom: var(--s-3); display: inline-block; }
.contrast-before .contrast-tag { color: var(--warm); }
.contrast-after .contrast-tag { color: var(--accent); }
.contrast-quote { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.25; font-weight: 500; color: var(--ink); font-style: italic; letter-spacing: -0.01em; }
.contrast-before .contrast-quote { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: rgba(239, 159, 39, 0.5); text-decoration-thickness: 1.5px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; }
.step { padding: var(--s-6) 0; border-top: 1px solid var(--ink); position: relative; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; margin-bottom: var(--s-5); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: var(--s-3); font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* CASES */
.cases-section { background: var(--bg-soft); }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case { background: var(--bg); padding: var(--s-7); display: flex; flex-direction: column; gap: var(--s-4); transition: background 0.2s ease; }
.case:hover { background: var(--bg-soft); }
.case-kicker { font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm); font-weight: 600; }
.case h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.case p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* DELIVERY */
.delivery-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-7); align-items: start; }
.delivery-title { margin-bottom: var(--s-5); }
.delivery-sub { font-size: 18px; color: var(--ink-soft); max-width: 460px; }
.delivery-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-5); }
.delivery-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-5); align-items: start; }
.delivery-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.delivery-item h3 { margin-bottom: 6px; font-size: 17px; }
.delivery-item p { font-size: 15px; color: var(--ink-soft); }
.delivery-note { margin-top: var(--s-6); padding: var(--s-5); background: var(--warm-soft); border-radius: var(--radius-sm); border-left: 3px solid var(--warm); font-size: 14px; color: var(--warm-deep); line-height: 1.55; }
.delivery-note strong { color: var(--ink); font-weight: 700; }

/* =========================
   APP SECTION
   ========================= */
.app-section { background: var(--bg); border-top: 1px solid var(--line); }
.app-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-7);
  align-items: center;
}
.app-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 8px 24px -8px rgba(26,26,26,0.12);
}
.app-availability {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: center;
}
.app-avail-badge {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
  background: var(--accent-surface);
  color: var(--accent);
}
.app-info-col { max-width: 520px; }
.app-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: var(--s-5) 0 var(--s-6);
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.app-store-btn:hover { background: var(--accent); transform: translateY(-1px); }
.app-note {
  margin-top: var(--s-5);
  font-size: 14px;
  color: var(--ink-muted);
}
.app-note-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.app-note-link:hover { color: var(--accent-hover); }
@media (max-width: 700px) {
  .app-grid { grid-template-columns: 1fr; gap: var(--s-6); text-align: center; }
  .app-icon-col { order: -1; }
  .app-info-col { max-width: 100%; }
  .app-store-btn { width: 100%; justify-content: center; }
}

/* PRICING */
.pricing-section { background: var(--bg-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.price-card-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  position: relative;
}
.price-card-featured p, .price-card-featured .price-feature { color: rgba(250, 250, 248, 0.75); }
.price-card-featured h3, .price-card-featured .price-amount { color: var(--bg); }
.price-card-featured::before {
  content: 'Recomendado';
  position: absolute; top: -10px; right: var(--s-5);
  background: var(--warm); color: var(--warm-deep);
  font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}
.price-kicker { font-size: var(--t-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.price-card-featured .price-kicker { color: rgba(250, 250, 248, 0.5); }
.price-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.price-amount-row { display: flex; align-items: baseline; gap: var(--s-2); }
.price-amount { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.price-period { font-size: 14px; color: var(--ink-muted); }
.price-card-featured .price-period { color: rgba(250, 250, 248, 0.55); }
.price-desc { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.price-card-featured .price-desc { color: rgba(250, 250, 248, 0.7); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-2); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.price-card-featured .price-features { border-top-color: rgba(250, 250, 248, 0.15); }
.price-feature { font-size: 14px; display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); line-height: 1.45; }
.price-feature::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-card-featured .price-feature::before { color: var(--warm); }
.price-extra { font-size: 13px; color: var(--ink-muted); font-style: italic; margin-top: var(--s-3); }
.price-card-featured .price-extra { color: rgba(250, 250, 248, 0.5); }
.price-cta {
  margin-top: auto;
  display: inline-flex; justify-content: center; align-items: center; gap: var(--s-2);
  padding: 12px 22px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--ink); color: var(--ink);
  background: transparent;
  cursor: pointer; transition: all 0.15s ease;
}
.price-cta:hover { background: var(--ink); color: var(--bg); }
.price-card-featured .price-cta { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.price-card-featured .price-cta:hover { background: var(--warm); color: var(--warm-deep); border-color: var(--warm); }
.pricing-note { text-align: center; margin-top: var(--s-6); font-size: 13px; color: var(--ink-muted); }

.pricing-portal {
  margin-top: var(--s-7);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6) var(--s-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.pricing-portal-copy { max-width: 560px; display: flex; flex-direction: column; gap: 6px; }
.pricing-portal-kicker {
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.pricing-portal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pricing-portal-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.pricing-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.pricing-portal-cta:hover { background: var(--accent); transform: translateY(-1px); }
.pricing-portal-cta .arrow { transition: transform 0.2s ease; }
.pricing-portal-cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .pricing-portal { padding: var(--s-5); flex-direction: column; align-items: flex-start; }
  .pricing-portal-cta { width: 100%; justify-content: center; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: var(--s-5) 0; }
.faq-item summary { font-family: var(--font-display); font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); letter-spacing: -0.01em; transition: color 0.15s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after { content: '+'; font-family: var(--font-body); font-size: 24px; font-weight: 300; color: var(--ink-muted); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; color: var(--accent); }
.faq-item p { margin-top: var(--s-4); padding-right: var(--s-6); font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* =========================
   FLOATING CHAT BUTTON
   ========================= */
.chat-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-3);
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(15, 110, 86, 0.4);
  transition: background 0.15s ease, transform 0.15s ease;
}
.chat-toggle:hover { background: var(--accent-hover); transform: scale(1.05); }
.chat-popup {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.15);
  padding: var(--s-4);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  position: relative;
  animation: fadeUp 0.2s ease;
}
.chat-popup[hidden] { display: none; }
.chat-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.chat-popup-close:hover { background: var(--line); color: var(--ink); }
.chat-popup-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: var(--s-2) var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-1);
  padding-right: 36px;
}
.chat-option {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
  font-size: 14px;
  font-weight: 500;
}
.chat-option:hover { background: var(--bg-soft); }
.chat-option svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 560px) {
  .chat-float { bottom: 16px; right: 16px; }
}

/* LEGAL LINKS SECTION (on index) */
.legal-section { padding: var(--section-y-sm) 0; border-top: 1px solid var(--line); }
.legal-section-tag { margin-bottom: var(--s-5); }
.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.legal-link { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.15s ease, transform 0.15s ease; display: flex; flex-direction: column; gap: 6px; }
.legal-link:hover { border-color: var(--ink); transform: translateY(-2px); }
.legal-link-label { font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.legal-link-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }

/* FOOTER */
footer { padding: var(--s-7) 0 var(--s-6); border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: var(--s-3); }
.footer-copy { font-size: var(--t-caption); color: var(--ink-muted); }
.footer-links { display: flex; gap: var(--s-5); font-size: var(--t-caption); flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--ink); }

/* =========================
   LEGAL PAGE (shared for legal/*.html)
   ========================= */
.legal-page { padding: 96px 0 var(--section-y); }
.legal-page .w { max-width: 780px; }
.legal-back {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-caption); color: var(--accent); font-weight: 500;
  margin-bottom: var(--s-6);
  transition: color 0.15s ease;
}
.legal-back:hover { color: var(--accent-hover); }
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--s-3);
}
.legal-meta {
  font-size: var(--t-caption);
  color: var(--ink-muted);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: var(--s-7) 0 var(--s-3);
  color: var(--ink);
}
.legal-page p, .legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page ul { padding-left: var(--s-5); margin-bottom: var(--s-4); }
.legal-page ul li { margin-bottom: 6px; }
.legal-nav {
  display: flex; gap: var(--s-5); flex-wrap: wrap;
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.legal-nav a {
  font-size: var(--t-caption);
  color: var(--accent); font-weight: 500;
  transition: color 0.15s ease;
}
.legal-nav a:hover { color: var(--accent-hover); }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .hero-grid, .contrast-grid, .delivery-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .steps { grid-template-columns: 1fr; gap: var(--s-5); }
  .cases { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu a:not(.btn-primary):not(.nav-login) { display: none; }
  .legal-page { padding: 84px 0 var(--section-y-sm); }
}

@media (max-width: 560px) {
  .legal-grid { grid-template-columns: 1fr; }
  .contexts-list { gap: var(--s-3); }
  .contexts-list li + li::before { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions, .sample { animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero h1 { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }
.sample { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
