/* Landing de Noos (usenoos.com/descubre y /discover). Solo HTML y CSS.
   Colores y fuente iguales que la app (lib/core/theme.dart). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/landing/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #4a4ed6;
  --primary-hover: #3d41c2;
  --primary-container: #e7e8fc;
  --on-primary-container: #1f2068;
  --teal: #0f7f72;
  --teal-container: #dff3ef;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f0f0ec;
  --ink: #1b1b1f;
  --muted: #5f5f6b;
  --outline: #d9d9d2;
  --outline-soft: #e7e7e1;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(27 27 31 / 6%), 0 12px 32px -12px rgb(27 27 31 / 18%);
  --shadow-lg: 0 2px 4px rgb(27 27 31 / 5%), 0 30px 60px -24px rgb(31 32 104 / 30%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Las capturas van en <picture> (WebP con srcset y la PNG de respaldo). */
picture {
  display: block;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.wiki {
  display: inline-block;
  padding: 0 0.35em;
  border-radius: 6px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 600;
  font-size: 0.92em;
  white-space: nowrap;
}

/* --- Botones ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--outline);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
}

/* --- Cabecera ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(246 246 243 / 85%);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  width: 83px;
  height: 25px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.lang {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--outline);
}

.lang:hover {
  color: var(--ink);
  border-color: var(--muted);
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .site-header .container {
    gap: 12px;
  }
}

/* --- Portada ------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background:
    radial-gradient(40% 50% at 30% 30%, rgb(74 78 214 / 14%), transparent 70%),
    radial-gradient(35% 45% at 72% 38%, rgb(15 127 114 / 12%), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.lead {
  /* Ancho para que en el ordenador quepa en dos líneas, repartidas. */
  max-width: 800px;
  text-wrap: balance;
  margin: 22px auto 0;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.fine {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-shot {
  margin: 56px auto 0;
  max-width: 1100px;
}

.frame {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--outline-soft);
  background: var(--surface);
}

.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--outline);
}

.frame-bar .url {
  width: auto;
  height: auto;
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
}

.hero .frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

/* --- Secciones ----------------------------------------------------------- */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--outline-soft);
  border-bottom: 1px solid var(--outline-soft);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Pasos */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--outline-soft);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 700;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

/* Dos vistas */

.views {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.view figcaption {
  margin-top: 22px;
}

.view figcaption p {
  margin-top: 8px;
  color: var(--muted);
}

figure {
  margin: 0;
}

/* Funciones */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--primary-container);
  color: var(--primary);
}

.feature:nth-child(3n + 2) .feature-icon {
  background: var(--teal-container);
  color: var(--teal);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
}

/* Móvil */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-text h2 {
  margin-bottom: 18px;
}

.split-text p + p {
  margin-top: 14px;
}

.split-text .muted {
  color: var(--muted);
}

/* Tiendas: App Store y Google Play. De momento abren un email a
   hello@usenoos.com para pedir la beta (TestFlight / prueba cerrada). */
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  padding: 9px 18px 9px 14px;
  border: 1px solid #374151;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.store:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.store svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-sub {
  font-size: 11px;
  color: #d1d5db;
  white-space: nowrap;
}

.store-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .store:hover {
    transform: none;
  }
}

.split-text .fine {
  max-width: 460px;
}

/* Portada: «Empieza gratis» y las dos tiendas en una fila, a la misma altura.
   En pantallas estrechas, «Empieza gratis» ocupa su fila y las tiendas van
   juntas debajo, con el mismo ancho. */
.hero-ctas {
  align-items: center;
}

.hero-ctas .btn-primary,
.hero-ctas .store {
  height: 54px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-ctas .btn-primary {
  padding-inline: 28px;
}

/* Opción B: las tiendas son lo principal y la web va como enlace debajo. */
.hero-web {
  margin-top: 18px;
  font-size: 1rem;
}

.hero-web a {
  font-weight: 600;
  text-decoration: none;
}

.hero-web a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .hero-ctas {
    max-width: 380px;
    margin-inline: auto;
  }

  .hero-ctas .btn-primary {
    flex: 1 1 100%;
  }

  .hero-ctas .store {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
  }
}

@media (max-width: 400px) {
  .hero-ctas .store {
    gap: 6px;
    padding-inline: 8px;
  }

  .hero-ctas .store svg {
    width: 22px;
    height: 22px;
  }

  .hero-ctas .store-sub {
    font-size: 10px;
  }
}

.phone {
  width: min(320px, 80vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #1b1b1f;
  box-shadow: var(--shadow-lg);
}

.phone img {
  border-radius: 36px;
}

/* Gratis */

.plan {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--outline-soft);
  box-shadow: var(--shadow);
  text-align: center;
}

.plan-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 28px;
}

.stat {
  padding: 22px 12px;
  border-radius: 14px;
  background: var(--bg);
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.stat span {
  color: var(--muted);
  font-weight: 500;
}

.plan .fine {
  margin: 0 0 28px;
}

/* Preguntas frecuentes. Las respuestas cerradas siguen en el HTML: los buscadores las leen. */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--outline-soft);
}

.faq details:first-child {
  border-top: 1px solid var(--outline-soft);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary h3 {
  font-size: 1.1rem;
}

.faq summary:hover h3 {
  color: var(--primary);
}

.faq details p {
  padding: 0 4px 22px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

/* Llamada final */

.final {
  padding: 96px 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.final p {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgb(255 255 255 / 82%);
  font-size: 1.08rem;
}

.final .btn-primary {
  margin-top: 32px;
  background: #fff;
  color: var(--primary);
}

.final .btn-primary:hover {
  background: var(--primary-container);
}

.final .wiki {
  background: rgb(255 255 255 / 16%);
  color: #fff;
}

/* Pie */

.site-footer {
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--ink);
}

.site-footer .brand img {
  width: 66px;
  height: 20px;
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 0.85rem;
}

/* --- Pantallas estrechas ------------------------------------------------- */

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-text {
    text-align: center;
  }

  .stores {
    justify-content: center;
  }

  .split-text .fine {
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .store {
    flex: 1 1 150px;
    justify-content: center;
    min-width: 0;
    padding: 9px 12px;
    gap: 8px;
  }

  .store-name {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .eyebrow {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-shot {
    margin-top: 40px;
  }

  .frame-bar {
    height: 26px;
  }

  .frame-bar .url {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .steps,
  .views,
  .features {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 32px 20px;
  }

  .plan-stats {
    grid-template-columns: 1fr;
  }

  .final {
    padding: 72px 0;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Página del botón de captura (/captura/ y /capture/) ----------------- */

.install-hero {
  padding: 64px 0 40px;
  text-align: center;
}

.install-hero h1 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.install-step {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
}

.install-step h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.install-step h2 .step-num {
  margin: 0;
  flex: none;
}

.install-step > p {
  margin-top: 14px;
  color: var(--muted);
}

.drag-zone {
  display: grid;
  place-items: center;
  gap: 14px;
  margin: 26px 0 8px;
  padding: 30px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1.5px dashed var(--outline);
  text-align: center;
}

.bookmarklet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  cursor: grab;
  box-shadow: 0 10px 24px -10px rgb(31 32 104 / 55%);
  transition: transform 0.15s, background-color 0.15s;
}

.bookmarklet:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.bookmarklet:active {
  cursor: grabbing;
}

.bookmarklet svg {
  width: 20px;
  height: 20px;
}

.drag-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.click-warning {
  display: none;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff4d6;
  color: #6b4e00;
  font-size: 0.92rem;
  font-weight: 500;
}

.click-warning.show {
  display: block;
  animation: nudge 0.35s;
}

@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid var(--outline);
  border-bottom-width: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.85em;
  font-weight: 600;
  text-align: center;
}

.try-it {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.try-it p + p {
  margin-top: 8px;
}

.try-it .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.keys {
  white-space: nowrap;
}

.manual {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
}

.manual summary {
  cursor: pointer;
  font-weight: 600;
}

.manual ol {
  margin: 14px 0 0;
  padding-left: 1.3em;
  color: var(--muted);
}

.manual li + li {
  margin-top: 6px;
}

.code-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.code-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--outline-soft);
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-note {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--teal-container);
  color: #0b4f47;
}

/* En pantallas táctiles no hay barra de marcadores a la que arrastrar. */
@media (hover: none) and (pointer: coarse) {
  .mobile-note {
    order: -1;
    margin-bottom: 20px;
    font-size: 1.05rem;
  }
}

.install-page main {
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.install-page main > .container {
  display: flex;
  flex-direction: column;
}

@media (max-width: 760px) {
  .install-hero {
    padding: 44px 0 28px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-step {
    padding: 24px 20px;
  }

  .code-row {
    flex-direction: column;
  }
}

/* --- Páginas legales (/privacidad/, /eliminar-cuenta/ y en inglés) -------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.legal h1 {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
}

.legal .updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: #3a3a44;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul,
.legal ol {
  margin: 10px 0 0;
  padding-left: 1.3em;
}

.legal li + li {
  margin-top: 6px;
}

.legal ul + p,
.legal ol + p,
.legal table + p {
  margin-top: 14px;
}

.legal strong {
  color: var(--ink);
}

.legal .summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline-soft);
}

.legal .summary ul {
  margin: 0;
}

.legal table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--outline-soft);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.legal .steps-box {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.legal .steps-box li,
.legal .steps-box p {
  color: var(--on-primary-container);
}

.legal .warn {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff4d6;
  color: #6b4e00;
}

@media (max-width: 760px) {
  .legal {
    padding: 40px 20px 64px;
  }

  .legal table,
  .legal thead,
  .legal tbody,
  .legal tr,
  .legal th,
  .legal td {
    display: block;
  }

  .legal thead {
    display: none;
  }

  .legal td {
    padding: 4px 0;
    border: 0;
  }

  .legal tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--outline-soft);
  }

  .legal td:first-child {
    font-weight: 600;
    color: var(--ink);
  }
}
