/* Watcher24 marketing site — shared styles.
   Palette copied verbatim from src/constants/watcher24-theme.ts so this
   site reads as the same product as the app, not a separate thing bolted
   on. If that file's colors ever change, update the --accent/etc. custom
   properties below to match — nothing imports across the JS/TS boundary,
   this is a plain static site (see public/unirse-familia.html for the
   established "no build step" convention this follows). */

:root {
  --background: #0b0d12;
  --background-elevated: #151822;
  --background-raised: #1b1f2b;
  --border: #262b38;
  --accent: #3ddc97;
  --accent-dark: #239063;
  --warning: #f5b841;
  --danger: #ff4d4d;
  --text: #f5f3ee;
  --text-muted: #8b93a3;
  --placeholder: #5b6172;
  --button-text: #0b1710;
  --max-width: 1080px;
  --radius: 16px;
  --radius-small: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.lang-switch button[aria-pressed='true'] {
  background: var(--accent);
  color: var(--button-text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--background-elevated);
  color: var(--text);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--button-text);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 11px 20px;
}

.btn-ghost {
  background: var(--background-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18);
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p.lede {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 46ch;
}

/* The three headline protections, between the lede and the CTAs. Not
   .trust-chip (those are one-line trust signals, and these need a name plus
   a sentence) and not .feature-card (a bordered box each would out-weigh
   the h1 sitting right above it) — so a plain icon + text list, matching
   the lede's own 46ch measure so the hero column stays one shape. */
.hero-highlights {
  display: grid;
  gap: 12px;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-highlight svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.hero-highlight p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.hero-highlight strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.trust-chip svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--accent);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 320px;
}

/* ---------- Generic section ---------- */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--background-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: 30px;
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Platform picker ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform-card {
  background: var(--background-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.platform-card:hover {
  transform: translateY(-2px);
}

.platform-card svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
}

.platform-card[aria-pressed='true'] {
  border-color: var(--accent);
  background: rgba(61, 220, 151, 0.08);
}

.platform-card[aria-pressed='true'] svg {
  color: var(--accent);
}

.platform-card strong {
  font-size: 15.5px;
  font-weight: 700;
}

.platform-card span {
  color: var(--text-muted);
  font-size: 12.5px;
}

/* ---------- Interactive guide ---------- */

.guide {
  margin-top: 44px;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.feature-tab {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.feature-tab[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--button-text);
}

.feature-tab .badge-soon {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--warning);
}

.guide-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.device-stage {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 260px;
  border-radius: 34px;
  border: 8px solid #05070a;
  background: #05070a;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border);
  overflow: hidden;
  position: relative;
}

.device-frame.computer {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.device-screen {
  background: var(--background);
  min-height: 420px;
  position: relative;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

.device-frame.computer .device-screen {
  min-height: 260px;
  padding: 0;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--background-elevated);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.browser-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.browser-bar .url {
  margin-left: 10px;
  flex: 1;
  background: var(--background);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--text-muted);
  padding: 5px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.screen-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 6px 0 12px;
}

.screen-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
}

.screen-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  position: relative;
}

.screen-row .row-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--background-raised);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.screen-row .row-icon svg {
  width: 13px;
  height: 13px;
}

.screen-row .row-label {
  flex: 1;
  color: var(--text);
  font-weight: 600;
}

.screen-row .row-chevron {
  color: var(--placeholder);
  font-size: 12px;
}

.screen-row .row-toggle {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--border);
  position: relative;
  flex: none;
}

.screen-row .row-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.2s ease, background 0.2s ease;
}

.screen-row.is-on .row-toggle {
  background: var(--accent);
}

.screen-row.is-on .row-toggle::after {
  transform: translateX(14px);
  background: var(--button-text);
}

.screen-row.is-target {
  border-color: var(--accent);
}

.tap-ring {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: tap-pulse 1.4s ease-out infinite;
}

@keyframes tap-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 12px rgba(61, 220, 151, 0);
    opacity: 0.4;
  }
  100% {
    box-shadow: 0 0 0 12px rgba(61, 220, 151, 0);
    opacity: 0;
  }
}

.screen-toolbar-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 12px;
}

.screen-toolbar-icons .toolbar-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
}

.screen-toolbar-icons .toolbar-icon svg {
  width: 14px;
  height: 14px;
}

.screen-done {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
}

.screen-done .check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--button-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-done .check svg {
  width: 24px;
  height: 24px;
}

.screen-done strong {
  font-size: 14px;
}

.screen-done span {
  color: var(--text-muted);
  font-size: 12px;
}

.screen-generic {
  flex: 1;
  padding: 8px 4px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.screen-generic strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.form-field {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text);
  position: relative;
}

.form-field.is-target {
  border-color: var(--accent);
}

.guide-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-progress {
  display: flex;
  gap: 6px;
}

.step-progress .dot {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
}

.step-progress .dot.is-active {
  background: var(--accent);
}

.step-label {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.step-caption {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.step-caption b {
  color: var(--accent);
}

.feature-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* A guide step can carry a real store link (the Edge extension listing).
   Without this it would render as a default browser-blue underline, which
   is unreadable on this dark background. */
.step-caption a,
.feature-description a,
.feature-card p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.step-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-controls .btn {
  padding: 11px 18px;
}

.step-controls button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.soon-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 184, 65, 0.1);
  border: 1px solid rgba(245, 184, 65, 0.35);
  color: var(--warning);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
}

.download-cta {
  margin-top: 48px;
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.download-cta h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.download-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--background-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 168px;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex: none;
}

.store-badge .store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.store-badge .store-label small {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.store-badge .store-label strong {
  font-size: 13.5px;
}

.store-badge .soon-pill {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--warning);
  background: rgba(245, 184, 65, 0.12);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

/* ---------- Feature grid (why-us section) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(61, 220, 151, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card .icon-badge svg {
  width: 20px;
  height: 20px;
}

/* #whats-new carries an odd number of cards, so the last row has a single
   card in a 3-column grid. Centering it reads as deliberate rather than as
   a gap where a card is missing. `:nth-child(7):last-child` means the rule
   un-applies by itself the moment an eighth card is added — and it's reset
   to one column below 860px, where the grid is a single column anyway. */
#whats-new .feature-card:nth-child(7):last-child {
  grid-column: 2;
}

.feature-card h3 {
  font-size: 15.5px;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Trust / security section ---------- */

.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trust-card {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.trust-card .seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.3);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.trust-card .seal svg {
  width: 15px;
  height: 15px;
}

.trust-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.trust-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.contact-card {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card h3 {
  margin: 0;
  font-size: 18px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}

.contact-row svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* Secondary/fallback placement below the form — "chico" (small) per an
   explicit request: still there for anyone who'd rather use their own mail
   client, or if the form's JS fails for some reason, just visually
   de-emphasized now that the form itself is the primary path. */
.contact-row-fallback {
  font-size: 12.5px;
  opacity: 0.75;
}

.contact-row-fallback svg {
  width: 15px;
  height: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  background: var(--background-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
}

.contact-field textarea {
  resize: vertical;
  min-height: 88px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--placeholder);
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-form-status {
  margin: 0;
  font-size: 13.5px;
}

.contact-form-status.is-success {
  color: var(--accent);
}

.contact-form-status.is-error {
  color: var(--danger);
}

/* Honeypot — kept in the layout flow (not display:none/visibility:hidden,
   which some bots specifically check for and skip) but moved fully
   off-screen, so it's invisible and unreachable by tab order for a real
   visitor while still present in the DOM for a bot's form-fill script to
   find. See submitContactForm's own matching comment. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  width: 100%;
  color: var(--placeholder);
  font-size: 12px;
  margin-top: 12px;
}

/* ---------- Expanded footer ----------
   Used by index.html and by the generated legal pages (see
   scripts/build-legal-pages.mjs, which emits the same markup with its own
   inline i18n since those pages don't load site.js). The plain
   .site-footer rules above are what a page gets without .site-footer-full,
   and are kept as the fallback. */

.site-footer-full .wrap {
  display: block;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-about .footer-brand {
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 34ch;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col p {
  margin: 10px 0 0;
  color: var(--placeholder);
  font-size: 12.5px;
  line-height: 1.55;
}

.footer-official {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.footer-official h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.footer-official h4 svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent);
}

.footer-official p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-official p:last-child {
  margin-bottom: 0;
}

.footer-official strong {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .footer-note {
  width: auto;
  margin-top: 0;
  max-width: 62ch;
}

.footer-locales {
  color: var(--placeholder);
  font-size: 12px;
}

/* ---------- Legal pages ---------- */

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-doc h1 {
  font-size: 28px;
  margin: 0 0 6px;
}

.legal-doc .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.legal-notice {
  background: rgba(245, 184, 65, 0.1);
  border: 1px solid rgba(245, 184, 65, 0.35);
  color: var(--warning);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.legal-lang-notice {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.legal-doc p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-doc section {
  padding: 0;
  margin: 28px 0;
}

.legal-doc h2 {
  font-size: 17px;
  margin: 0 0 10px;
}

/* Subsecciones numeradas (7.1, 7.2…) de los documentos de WebLegal.ai.
   Mismo escalón de jerarquía que subsectionHeading en src/app/legal.tsx. */
.legal-doc h3 {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal-doc ul {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  padding-left: 20px;
  margin: 10px 0;
}

.legal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.legal-tabs a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.legal-tabs a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--button-text);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 220px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 20px;
    gap: 16px;
    display: none;
    z-index: 39;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 6px 0;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .guide-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  #whats-new .feature-card:nth-child(7):last-child {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .download-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .store-badges {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .device-frame {
    width: 100%;
    max-width: 260px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  section {
    padding: 48px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tap-ring {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
