/* trawün landing and static pages — Electric Editorial. */
:root {
  --bg: #101110;
  --surface: #191b17;
  --surface-2: #22251f;
  --line: #34382f;
  --line-strong: #4b5043;
  --text: #f8f9f2;
  --muted: #b3b5ae;
  --lime: #d5fa48;
  --on-lime: #101110;
  --radius: 14px;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
  color-scheme: dark;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html {
  scroll-behavior: smooth;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--lime);
  color: var(--on-lime);
  padding: 10px 14px;
  border-radius: 8px;
}
.brand-name {
  font-weight: 800;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
  flex: none;
}
.wordmark span {
  color: var(--lime);
}
/* Firma vectorial del kit v1.0 (mínimo 132 px de ancho según la guía). */
.wordmark img {
  display: block;
  height: 33px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-link:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn-primary {
  background: var(--lime);
  color: var(--on-lime);
}
.btn-primary:hover {
  background: #e3ff7a;
}
.btn-secondary {
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--muted);
}
.btn-lg {
  min-height: 56px;
  padding: 14px 22px;
  font-size: 1.04rem;
}
.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.92rem;
}
.muted-inline {
  font-weight: 600;
  opacity: 0.7;
}

/* Type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lime);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgb(213 250 72 / 0.18);
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--lime);
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 18px 0 0;
}
.lead strong {
  color: var(--text);
  font-weight: 600;
}
.micro,
.hint {
  font-size: 0.86rem;
  color: var(--muted);
}
.micro a {
  color: var(--lime);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 88px);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 12px;
}
.hero-visual {
  position: relative;
  margin: 0;
  padding-bottom: 8%;
}
.screen {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}
.phone {
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #2b2e27;
  background: #111;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.6);
  max-width: 280px;
}
.hero-phone {
  position: absolute;
  left: -6%;
  bottom: 0;
  width: 30%;
  min-width: 120px;
}
.hero-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Proof */
.proof {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.proof-inner {
  padding-block: 18px;
  text-align: center;
  color: var(--muted);
}
.proof-inner p {
  margin: 0;
}
.proof strong {
  color: var(--text);
}

/* Sections */
.section {
  padding-block: clamp(56px, 9vw, 110px);
}
.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.section h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 22px;
}
.step-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
  margin-bottom: 18px;
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 800;
  margin: 0 8px 10px;
}
.step h3 {
  font-size: 1.3rem;
  margin: 0 8px 8px;
}
.step p {
  color: var(--muted);
  margin: 0 8px;
}
.split {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.split .phone {
  justify-self: center;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}
.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 0.78rem;
  font-weight: 800;
}
.checks strong {
  color: var(--text);
}
.cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.case {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.case:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.case-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 700;
}
.case p {
  margin: 0;
  font-size: 1.02rem;
}
.case-cta {
  margin-top: auto;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Access */
.access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.access-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 40px);
}
.access-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.access-card > p {
  color: var(--muted);
}
.waitlist label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 16px 0 6px;
}
.waitlist input:not([type='checkbox']),
.waitlist select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 1rem;
}
.waitlist input:focus,
.waitlist select:focus {
  border-color: var(--lime);
}
.waitlist .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--lime);
  flex: none;
}
.consent a {
  color: var(--lime);
}
.waitlist .btn {
  margin-top: 18px;
  width: 100%;
}
.status {
  min-height: 1.4em;
  color: var(--lime);
  margin: 10px 0 0;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p {
  margin: 0;
}
.footer nav {
  display: flex;
  gap: 16px;
}

/* Privacy and other text pages */
.privacy-page {
  max-width: 760px;
  padding-block: 40px 80px;
}
.privacy-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}
.privacy-page h2 {
  font-size: 1.35rem;
  margin: 32px 0 10px;
}
.privacy-page p,
.privacy-page li {
  color: #d5d7cf;
}
.privacy-page a,
.header > a:not(.wordmark) {
  color: var(--lime);
}

.guide h1 em {
  font-style: normal;
  color: var(--lime);
}
.guide .btn {
  margin-top: 12px;
  color: var(--on-lime);
}

/* Reveal on scroll (only when JS adds .reveal) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 680px;
    margin-left: 6%;
  }
  .steps,
  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }
  .nav-link {
    padding: 8px;
  }
  .cta-row .btn {
    width: 100%;
  }
  .steps,
  .cases {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .phone {
    max-width: 230px;
  }
  .hero-visual figcaption {
    position: static;
    margin-top: 10px;
  }
  .hero-visual {
    padding-bottom: 14%;
  }
}
