/* Ultra Sups · Novedades. Brand: apple.com look, system font, orange only as accent. */
:root {
  --orange: #FD492A;
  --orange-ink: #D93A1E; /* brand orange darkened just enough for white text at 4.5:1 */
  --orange-press: #C2321A;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --line: #D2D2D7;
  --gray: #F5F5F7;
  --white: #FFFFFF;
  --danger: #C4271B;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

  /* Spacing tokens */
  --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 24px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100svh;
  display: flex; flex-direction: column;
}
img, svg { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

/* Text styles */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.028em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
h1, h2, p { text-wrap: pretty; }
h1, .heading-2, .heading-5 { text-wrap: balance; }

.wrap { width: min(1080px, 100% - 2 * var(--s-200)); margin-inline: auto; }
.muted { color: var(--ink-2); }
.ink { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* Skip link */
.skip {
  position: absolute; left: var(--s-200); top: var(--s-200); z-index: 10;
  background: var(--ink); color: var(--white);
  padding: var(--s-75) var(--s-100); border-radius: 8px; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Top bar */
.top { display: flex; justify-content: center; position: relative; padding: var(--s-300) var(--s-200) 0; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }

/* Language switch */
.lang {
  position: absolute; right: var(--s-200); top: var(--s-300);
  display: flex; height: 44px; border-radius: 9999px; background: var(--gray);
}
.lang button {
  position: relative; z-index: 1; width: 44px; height: 44px;
  border: 0; border-radius: 9999px; background: transparent;
  color: var(--ink-2); cursor: pointer;
  transition: color 300ms var(--ease);
}
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang .knob {
  position: absolute; top: var(--s-50); left: var(--s-50); width: 36px; height: 36px;
  border-radius: 9999px; background: var(--white);
  transition: transform 500ms var(--ease);
}
.lang[data-lang="en"] .knob { transform: translateX(44px); }
.brand {
  display: inline-flex; align-items: center; gap: var(--s-75);
  min-height: 44px; padding: 0 var(--s-100); border-radius: 9999px;
  text-decoration: none;
  transition: background-color 300ms var(--ease);
}
.brand img { width: 28px; height: auto; }

/* Hero */
.hero { flex: 1; display: flex; align-items: center; padding: var(--s-700) 0 var(--s-800); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1, .hero .sub { max-width: 680px; }
.grad {
  background: linear-gradient(90deg, #000000, #666666); /* taste-skill-ignore: hero heading gradient required by landing-page-design B5 */
  -webkit-background-clip: text; background-clip: text; /* taste-skill-ignore: same B5 rule */
  color: transparent;
}
.sub { color: var(--ink-2); margin-top: var(--s-300); max-width: 520px; font-size: 18px; line-height: 28px; }

/* Form */
.form, .done { width: 100%; max-width: 400px; margin-top: var(--s-500); }
.form { display: flex; flex-direction: column; gap: var(--s-200); text-align: left; }
.field { display: flex; flex-direction: column; gap: var(--s-75); }
.field label { color: var(--ink); }
.field input {
  height: 48px; padding: var(--s-100) var(--s-200);
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white);
  font-size: 16px; line-height: 24px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.field input::placeholder { color: #8E8E93; }
.field input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.15); /* taste-skill-ignore: focus ring, not a resting shadow */ }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(196, 39, 27, 0.18); /* taste-skill-ignore: focus ring */ }
.err { color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: hidden spam trap */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: var(--s-75) var(--s-300);
  margin-top: var(--s-75);
  border: 0; border-radius: 9999px;
  background: var(--orange-ink); color: var(--white);
  cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .btn-label { opacity: 0.7; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; left: var(--s-300); right: var(--s-300); bottom: var(--s-75);
  height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.85);
  transform-origin: left; animation: load 1.2s var(--ease) infinite;
}
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: 0; } }

.fine { color: var(--ink-2); text-align: center; }
.fine a, .foot a { text-underline-offset: 3px; }
@media (pointer: coarse) { .fine a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; } }
.fine a:focus-visible, .foot a:focus-visible, .brand:focus-visible, .btn-ghost:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px;
}
.brand:focus-visible, .btn-ghost:focus-visible { border-radius: 9999px; }
.form-err {
  color: var(--danger); text-align: center;
  background: #FDEDEB; border-radius: 12px; padding: var(--s-100) var(--s-200);
}
.form-err a { font-weight: 500; }

/* Success */
.done { display: flex; flex-direction: column; align-items: center; gap: var(--s-100); }
.done:focus { outline: none; }
.done[hidden], .form[hidden] { display: none; }
.check { width: 40px; height: 40px; fill: var(--orange); margin-bottom: var(--s-75); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: var(--s-75) var(--s-300); margin-top: var(--s-100);
  border: 1px solid var(--orange-ink); border-radius: 9999px; /* taste-skill-ignore: brand calls for one outlined orange pill */
  color: var(--orange-ink); text-decoration: none;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.btn-ghost:active { transform: scale(0.98); }

.proof { margin-top: var(--s-600); color: var(--ink-2); }

/* Entrance */
.js .hero-inner > * { opacity: 0; transform: translateY(32px); }
.js.ready .hero-inner > * {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js.ready .hero-inner > *:nth-child(2) { transition-delay: 80ms; }
.js.ready .hero-inner > *:nth-child(3) { transition-delay: 160ms; }
.js.ready .hero-inner > *:nth-child(n+4) { transition-delay: 240ms; }

/* Email preview */
.preview-sec { background: var(--gray); padding: var(--s-900) 0; }
.preview-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.preview-inner h2 { max-width: 680px; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.mail {
  width: 100%; max-width: 480px; margin-top: var(--s-500);
  background: var(--white); border-radius: 24px; padding: var(--s-300);
  text-align: left;
  display: flex; flex-direction: column; gap: var(--s-300);
}
.mail-head { display: flex; align-items: center; gap: var(--s-100); }
.mail-head img { width: 40px; height: auto; }
.tabs { display: none; }
.js .tabs { display: flex; gap: var(--s-50); padding: var(--s-50); background: var(--gray); border-radius: 9999px; }
.tab {
  flex: 1; min-height: 44px; border: 0; border-radius: 9999px;
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
}
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.tab:active { transform: scale(0.98); }
.tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.panels { display: flex; flex-direction: column; gap: var(--s-300); }
.panel { display: flex; flex-direction: column; gap: var(--s-75); }
.js .panels { display: grid; }
.js .panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s linear 500ms; }
.js .panel.on { opacity: 1; visibility: visible; transform: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s; }
.mail-foot { padding-top: var(--s-200); }

/* Scroll rise */
.js .rise { opacity: 0; transform: translateY(32px); }
.js .rise.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

/* Tagline reveal */
.reveal-sec { background: #000000; padding: var(--s-900) 0; }
.tagline { max-width: 680px; margin-inline: auto; text-align: center; }
.tagline .ln { display: block; }
.tagline .w { color: rgba(255, 255, 255, 0.3); transition: color 500ms var(--ease); }
.tagline .w.on { color: var(--white); }

/* Footer */
.foot { background: var(--gray); padding: var(--s-400) 0 var(--s-500); color: var(--ink-2); }
.foot-inner { display: flex; flex-direction: column; gap: var(--s-100); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

/* Hover only where there is a mouse */
@media (hover: hover) {
  .brand:hover { background: var(--gray); }
  .field input:hover { border-color: #AEAEB2; }
  .btn:hover { background: var(--orange-press); }
  .btn-ghost:hover { background: #FFF1EE; }
  .tab[aria-selected="false"]:hover { color: var(--ink); }
  .lang button[aria-pressed="false"]:hover { color: var(--ink); }
  .foot-links a:hover { color: var(--orange-ink); }
}

/* Inline padding grows the hit area to 44px without moving the line */
.fine a, .legal p a { padding: 14px 4px; }

[hidden] { display: none !important; }

/* Legal page */
.legal { padding: var(--s-700) 0 var(--s-800); }
.legal .wrap { max-width: 680px; }
.legal h1 { margin-bottom: var(--s-300); }
.legal h2 { margin: var(--s-500) 0 var(--s-100); }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: var(--s-300); display: flex; flex-direction: column; gap: var(--s-75); }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s-500); color: var(--orange-ink); text-underline-offset: 3px; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }

@media (max-width: 640px) {
  .heading-1 { font-size: 30px; line-height: 36px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .hero { padding: var(--s-500) 0 var(--s-700); align-items: flex-start; }
  .sub { font-size: 16px; line-height: 24px; margin-top: var(--s-200); }
  .form, .done { margin-top: var(--s-400); }
  .reveal-sec { padding: var(--s-800) 0; }
  .preview-sec { padding: var(--s-800) 0; }
  .mail { margin-top: var(--s-400); }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-inner > * { transform: none; }
  .js.ready .hero-inner > * { transition: opacity 300ms linear; transition-delay: 0ms; }
  .tagline .w { color: var(--white); transition: none; }
  .js .rise, .js .panel { transform: none; }
  .js .rise.in { transition: opacity 300ms linear; }
  .tab:active { transform: none; }
  .lang .knob { transition: none; }
  .btn:active, .btn-ghost:active { transform: none; }
  .btn[aria-busy="true"]::after { animation: none; transform: none; opacity: 0.6; }
}
