/* ============================================================
   TeenCycle: language landing pages (es.html, and later de, fr, it, pt).
   One stylesheet for all of them. Same tokens and components as the
   English home (index.html). Tokens come from css/colors_and_type.css.
   The language picker is in css/lang-picker.css.
   ============================================================ */

:root {
  /* same page-local legibility overrides as the English home */
  --fs-micro: 12px;
  --ink-3: #716B65;
  --accent-text: color-mix(in srgb, var(--terracotta-deep), var(--ink) 18%);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { background: var(--paper); color: var(--fg-1); }
body { margin: 0; overflow-x: hidden; }
::selection { background: var(--clay); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-7); box-sizing: border-box; }
@media (max-width: 720px) { .container { padding: 0 var(--sp-5); } }

section { padding: var(--sp-9) 0; }
@media (max-width: 720px) { section { padding: var(--sp-8) 0; } }
section[id] { scroll-margin-top: 84px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(253, 251, 247, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(239, 233, 223, 0);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.nav.scrolled { border-bottom-color: rgba(239, 233, 223, 0.8); box-shadow: 0 8px 30px rgba(44, 42, 41, 0.045); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { display: block; height: 34px; width: auto; }
.nav-right { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); font-size: var(--fs-meta); color: var(--fg-2); }
.nav-links a.l { position: relative; transition: color var(--dur-fast) var(--ease-out); }
.nav-links a.l::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a.l:hover { color: var(--fg-1); }
.nav-links a.l:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: var(--r-pill);
  font-size: var(--fs-small); font-weight: 500; border: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav-cta:hover { background: #1f1d1c; }
.nav-cta:active { transform: scale(0.97); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; background: transparent; border: none;
  color: var(--ink); padding: 8px; margin: -8px; border-radius: var(--r-sm);
}
.nav-toggle svg { width: 24px; height: 24px; stroke-width: 1.75; display: block; }
.nav-toggle .ico-close { display: none; }

/* Desktop: links, then language, then the download button */
@media (min-width: 861px) {
  .nav-links { display: contents; }
  .nav-right { gap: var(--sp-6); font-size: var(--fs-meta); color: var(--fg-2); }
  .nav-right .lang { order: 2; margin-left: calc(-1 * var(--sp-2)); }
  .nav-right .nav-cta { order: 3; margin-left: calc(-1 * var(--sp-3)); }
  .nav-links a.l { white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .nav-right { gap: var(--sp-4); }
  .nav-right .lang, .nav-right .nav-cta { margin-left: 0; }
}
@media (max-width: 860px) {
  .nav-right { gap: var(--sp-4); }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-toggle .ico-menu { display: none; }
  .nav.open .nav-toggle .ico-close { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(253, 251, 247, 0.98);
    border-bottom: 1px solid var(--paper-3);
    box-shadow: 0 12px 30px rgba(44, 42, 41, 0.06);
    padding: var(--sp-2) var(--sp-5) var(--sp-5);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a.l { padding: var(--sp-4) 0; font-size: var(--fs-body); color: var(--fg-1); border-bottom: 1px solid var(--paper-3); }
  .nav-links a.l::after { display: none; }
  .nav-links .nav-cta { margin-top: var(--sp-4); text-align: center; padding: 14px 18px; font-size: var(--fs-meta); }
}

/* ---------- Eyebrows ---------- */
.eyebrow-row { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.eyebrow-row .line { width: 32px; height: 1px; background: var(--terracotta); }
.eyebrow-row .e, .e {
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 500;
}
.platform-pill {
  font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: color-mix(in srgb, var(--terracotta-3), var(--ink) 35%);
  background: var(--clay); border: 1px solid var(--clay-2);
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
}

/* ---------- Display headings ---------- */
.d-h {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.03; letter-spacing: -0.015em;
  margin: var(--sp-3) 0 0; color: var(--fg-1); text-wrap: balance;
}
.d-h em { font-style: italic; color: var(--terracotta-deep); }
.nb { white-space: nowrap; }  /* for a short hyphenated word that must not break, like "sens-tu" */
.lede { font-size: 17px; color: var(--fg-2); line-height: 1.6; }

/* ---------- Store buttons ---------- */
.stores { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: var(--r-md);
  text-align: left; text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.store-btn:hover { background: #1f1d1c; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(44,42,41,0.14); }
.store-btn:active { transform: scale(0.97); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn .copy { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .copy .small { font-size: 11px; letter-spacing: 0.04em; color: inherit; opacity: 0.92; font-weight: 400; }
.store-btn .copy .big { font-size: 18px; font-weight: 500; letter-spacing: -0.005em; margin-top: 1px; }
.store-btn.light { background: var(--paper); color: var(--ink); }
.store-btn.light:hover { background: #fff; }

.trust { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-meta); color: var(--fg-3); }
.trust .pulse {
  flex: none; width: 6px; height: 6px; background: var(--sage); border-radius: 50%;
  animation: tcPulse 2.6s var(--ease-out) infinite;
}
@keyframes tcPulse {
  0% { box-shadow: 0 0 0 0 rgba(168,184,156,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(168,184,156,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,184,156,0); }
}

/* ---------- Device frame ---------- */
.device {
  position: relative; border-radius: 42px; background: var(--paper);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--paper-3), 0 34px 80px rgba(44,42,41,0.12);
  overflow: hidden; z-index: 1;
}
.device img { display: block; width: 100%; height: auto; }
.device.dark { background: #1A1817; box-shadow: 0 0 0 1px rgba(253,251,247,0.08), 0 34px 80px rgba(0,0,0,0.5); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--paper-2); border: 1px solid var(--paper-3); border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.faq-item[open] { background: var(--paper); border-color: var(--clay-2); }
.faq-item:hover { border-color: var(--clay-2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); cursor: pointer; list-style: none;
  font-weight: 500; font-size: 17px; line-height: 1.4; color: var(--fg-1); user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible { outline: 2px solid var(--terracotta); outline-offset: -2px; border-radius: var(--r-md); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--paper-3); color: var(--terracotta);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--clay); border-color: var(--clay-2); }
.faq-a { padding: 0 var(--sp-5) var(--sp-5); font-size: 16px; line-height: 1.7; color: var(--fg-2); max-width: 68ch; }
.faq-a p { margin: 0; }
.faq-a a, .lede a, .txt-link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .faq-q { font-size: 16px; padding: var(--sp-4); }
  .faq-a { padding: 0 var(--sp-4) var(--sp-4); font-size: 15px; }
}

/* ---------- Support cards ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.help-card {
  display: flex; flex-direction: column; gap: var(--sp-2);
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
a.help-card:hover { transform: translateY(-3px); border-color: var(--clay-2); box-shadow: 0 12px 28px rgba(44,42,41,0.06); }
.help-card .glyph {
  width: 44px; height: 44px; border-radius: 50%; background: var(--clay); color: var(--terracotta-3);
  display: grid; place-items: center; margin-bottom: var(--sp-2);
}
.help-card .glyph svg { width: 20px; height: 20px; stroke-width: 1.6; }
.help-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; }
.help-card p { font-size: var(--fs-meta); color: var(--fg-2); line-height: 1.55; margin: 0; }
.help-card .go { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-meta); font-weight: 500; color: var(--accent-text); word-break: break-word; }
.help-card .note { font-size: var(--fs-small); color: var(--fg-3); }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final { background: var(--ink); color: var(--paper); text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,140,112,0.18) 0%, transparent 60%);
  border-radius: 50%; top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.final .container { position: relative; z-index: 1; }
.final .final-logo { height: 40px; width: auto; margin: 0 auto var(--sp-5); display: block; }
.final .e { color: rgba(253,251,247,0.65); letter-spacing: 0.2em; }
.final h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1; letter-spacing: -0.02em; margin: var(--sp-4) auto var(--sp-5); max-width: 16ch;
  text-wrap: balance; color: var(--clay);
}
.final h2 em { font-style: italic; color: var(--paper); }
.final .sub { font-family: var(--font-display); font-style: italic; font-size: 22px; color: rgba(253,251,247,0.7); margin: 0 auto var(--sp-6); max-width: 40ch; }
.final .stores { justify-content: center; }
.final .trust { display: inline-flex; text-align: left; color: rgba(253,251,247,0.6); }

/* ---------- Footer ---------- */
footer.f { background: var(--paper); padding: var(--sp-7) 0 var(--sp-6); border-top: 1px solid var(--paper-3); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.f-top .brand-mark img { height: 30px; }
.f-links { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-size: var(--fs-small); color: var(--fg-2); }
.f-links a:hover { color: var(--fg-1); }
.f-links .en { color: var(--fg-3); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 4px; }
.f-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--paper-3);
}
.f-copy { font-size: var(--fs-small); color: var(--fg-3); }

/* ---------- Scroll reveal (tokens file sets the base) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ============================================================
   Page sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero { padding: 56px 0 var(--sp-9); border-bottom: 1px solid var(--paper-3); overflow: hidden; transition: background-color var(--dur-slow) var(--ease-out); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-8); align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.02em; margin: var(--sp-5) 0; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 span { white-space: nowrap; }  /* keeps a hyphenated first line in one piece */
@media (max-width: 360px) { .hero h1 { font-size: 36px; } }
.hero h1 em { max-width: 9ch; }
.hero h1 em { font-style: italic; color: var(--terracotta-deep); }
.hero .h-sub { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.3; color: var(--fg-2); margin: 0 0 var(--sp-5); max-width: 28ch; }
.hero .sub { font-size: 19px; line-height: 1.55; color: var(--fg-2); max-width: 46ch; margin: 0 0 var(--sp-6); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--sp-6); }
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; min-height: 660px; }
.hero-stage::before { content: ""; position: absolute; width: 440px; height: 440px; background: var(--clay); border-radius: 50%; opacity: 0.7; animation: blobFloat 9s var(--ease-in-out) infinite; }
@keyframes blobFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.03); } }
.hero-device { width: 308px; max-width: 100%; animation: deviceFloat 7s var(--ease-in-out) infinite; }
@keyframes deviceFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-device .shot-dark { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
.is-dark .hero-device .shot-dark { opacity: 1; }
.float-chip { position: absolute; background: rgba(253,251,247,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--paper-3); border-radius: var(--r-pill); padding: 10px 16px 10px 12px; display: flex; align-items: center; gap: var(--sp-2); box-shadow: var(--shadow-md); font-size: var(--fs-small); color: var(--fg-1); z-index: 2; }
.float-chip svg { width: 16px; height: 16px; color: var(--terracotta); stroke-width: 1.5; }
.float-chip .meta { font-size: 12px; color: var(--fg-3); }
.float-chip.a { top: 220px; right: -18px; animation: chipA 6.5s var(--ease-in-out) infinite; }
.float-chip.b { bottom: 204px; left: -28px; animation: chipB 7.5s var(--ease-in-out) infinite; }
@keyframes chipA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes chipB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

/* hero light / dark toggle */
.hero-toggle { position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0; padding: 7px 9px 7px 16px; background: var(--paper-2); border: 1px solid var(--paper-3); border-radius: var(--r-pill); box-shadow: var(--shadow-md); color: var(--fg-1); transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.hero-toggle:hover { border-color: var(--terracotta); transform: translateY(-1px); }
.hero-toggle__label { font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.hero-toggle__arrow { color: var(--terracotta); font-weight: 600; }
.hero-toggle__track { position: relative; flex: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: space-between; width: 64px; height: 32px; padding: 0 8px; border-radius: var(--r-pill); background: var(--paper-3); }
.hero-toggle__track svg { position: relative; z-index: 2; width: 15px; height: 15px; stroke-width: 1.6; transition: color var(--dur-base) var(--ease-out); }
.hero-toggle__track .sun { color: var(--paper); }
.hero-toggle__track .moon { color: var(--ink-3); }
.hero-toggle__knob { position: absolute; top: 3px; left: 3px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta); transition: transform 0.55s var(--ease-in-out); }
.is-dark .hero-toggle__knob { transform: translateX(32px); }
.is-dark .hero-toggle__track .sun { color: var(--ink-3); }
.is-dark .hero-toggle__track .moon { color: var(--paper); }
.hero.is-dark {
  --paper:#1A1816; --paper-2:#232120; --paper-3:#2F2C2A;
  --ink:#F0EBE2; --ink-2:#C2BDB6; --ink-3:#8E8884; --ink-4:#5C5854;
  --terracotta:#E09E80; --terracotta-deep:#E09E80; --clay:#4A3A33; --clay-2:#5C4A40;
  --fg-1:var(--ink); --fg-2:var(--ink-2); --fg-3:var(--ink-3);
  --accent-text: var(--terracotta);
  background: var(--paper);
}
.hero.is-dark .float-chip { background: rgba(35,33,32,0.92); }
.hero.is-dark .store-btn { color: var(--paper); }
.hero.is-dark .platform-pill { color: var(--ink); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .hero-stage { min-height: 640px; }
  .hero-stage::before { width: 380px; height: 380px; }
  .float-chip.a { right: 0; } .float-chip.b { left: 0; bottom: 168px; }
}

/* ---------- Story as a letter ---------- */
.letter { max-width: 760px; margin: 0 auto; }
.letter-photo { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); margin-bottom: var(--sp-7); }
.letter h2 { margin-bottom: var(--sp-5); }
.letter p { font-size: 19px; line-height: 1.7; color: var(--fg-2); margin: 0 0 var(--sp-4); }
.letter p:first-of-type::first-letter { font-family: var(--font-display); font-size: 62px; line-height: 0.82; float: left; padding: 6px 6px 0 0; color: var(--terracotta-deep); }
.letter .sign { font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--fg-1); margin-top: var(--sp-5); }
.letter .role { font-size: var(--fs-small); color: var(--fg-3); }

/* ---------- Principle band ---------- */
.philosophy { background: var(--ink); color: var(--paper); text-align: center; }
.philosophy .e { color: rgba(253,251,247,0.6); letter-spacing: 0.2em; }
.philosophy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.05; letter-spacing: -0.015em; margin: var(--sp-4) auto var(--sp-6); max-width: 22ch; color: var(--paper); text-wrap: balance; }
.philosophy h2 em { font-style: italic; color: var(--terracotta); }
.nots { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-2); }
.not { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 8px 16px; border: 1px solid rgba(253,251,247,0.14); border-radius: var(--r-pill); color: rgba(253,251,247,0.72); font-size: var(--fs-small); }
.not::before { content: ""; width: 14px; height: 1px; background: rgba(253,251,247,0.4); }
.philosophy .signature { margin-top: var(--sp-7); font-family: var(--font-display); font-style: italic; font-size: 20px; color: rgba(253,251,247,0.6); }

/* ---------- Features ---------- */
.features-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-7); align-items: end; margin-bottom: var(--sp-8); }
.features-head .desc { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--fg-2); max-width: 42ch; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); border-top: 1px solid var(--paper-3); }
.feature { padding: var(--sp-7) var(--sp-5) var(--sp-6) 0; border-right: 1px solid var(--paper-3); display: flex; flex-direction: column; gap: var(--sp-3); }
.feature:last-child { border-right: none; }
.feature .glyph { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--terracotta); margin-bottom: var(--sp-3); }
.feature .glyph svg { width: 22px; height: 22px; stroke-width: 1.5; }
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.feature h3 em { font-style: italic; color: var(--accent-text); }
.feature p { font-size: var(--fs-meta); color: var(--fg-2); line-height: 1.55; margin: var(--sp-2) 0 0; max-width: 32ch; }
.feature .foot { margin-top: auto; padding-top: var(--sp-4); font-size: var(--fs-small); color: var(--fg-3); border-top: 1px dashed var(--paper-3); display: flex; align-items: center; gap: var(--sp-2); }
.feature .foot svg { width: 14px; height: 14px; color: var(--sage-2); }
@media (max-width: 820px) { .features-head, .features { grid-template-columns: 1fr; } .feature { border-right: none; border-bottom: 1px solid var(--paper-3); padding: var(--sp-6) 0; } .feature:last-child { border-bottom: none; } }

/* ---------- Showcase ---------- */
.show-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: end; margin-bottom: var(--sp-7); }
.show-head .lede { max-width: 44ch; margin: 0; }
.show-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-8); align-items: center; background: var(--paper-2); border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-7); border: 1px solid var(--paper-3); }
.tabs { display: flex; flex-direction: column; gap: var(--sp-2); }
.tab { background: transparent; border: 1px solid var(--paper-3); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); text-align: left; display: flex; gap: var(--sp-3); align-items: flex-start; transition: all var(--dur-base) var(--ease-out); color: var(--fg-1); }
.tab:hover { background: var(--paper); }
.tab.active { background: var(--paper); border-color: var(--terracotta); box-shadow: var(--shadow-md); }
.tab .num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--fg-3); line-height: 1; min-width: 28px; }
.tab.active .num { color: var(--accent-text); }
.tab h4 { font-weight: 500; font-size: 17px; margin: 0 0 4px; }
.tab p { font-size: 13px; color: var(--fg-3); line-height: 1.5; margin: 0; max-width: 38ch; }
.show-stage { display: flex; justify-content: center; }
.show-device { position: relative; width: 280px; max-width: 100%; aspect-ratio: 720 / 1561; border-radius: 42px; background: var(--paper); box-shadow: var(--shadow-lg), 0 0 0 1px var(--paper-3), 0 28px 64px rgba(44,42,41,0.10); overflow: hidden; }
.show-device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out); }
.show-device img.active { opacity: 1; transform: none; }
@media (max-width: 900px) { .show-body { grid-template-columns: minmax(0, 1fr); padding: var(--sp-6); } .show-head { grid-template-columns: 1fr; gap: var(--sp-4); } .show-stage { order: -1; } }

/* ---------- Mood and notes ---------- */
.flows { background: var(--paper-2); border-top: 1px solid var(--paper-3); border-bottom: 1px solid var(--paper-3); }
.notes-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-8); align-items: center; max-width: 1040px; margin: 0 auto; }
.notes-text p { color: var(--fg-2); line-height: 1.55; margin: var(--sp-5) 0 0; max-width: 46ch; }
.notes-list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-3); max-width: 46ch; }
.notes-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-meta); line-height: 1.5; color: var(--fg-2); }
.notes-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--terracotta); }
.notes-list strong { font-weight: 500; color: var(--fg-1); }
.notes-stage { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.notes-stage .device { border-radius: 30px; }
.notes-front { width: 68%; z-index: 2; }
.notes-back { position: absolute; top: var(--sp-7); right: 0; width: 60%; z-index: 1; }
@media (max-width: 820px) { .notes-grid { grid-template-columns: 1fr; gap: var(--sp-7); } .notes-stage { max-width: 360px; } }

/* ---------- Section heads ---------- */
.center-head { text-align: center; max-width: 60ch; margin: 0 auto var(--sp-7); }
.center-head .eyebrow-row { justify-content: center; }
.center-head .lede { margin: var(--sp-4) auto 0; max-width: 52ch; }
.testi { background: var(--paper-2); border-top: 1px solid var(--paper-3); border-bottom: 1px solid var(--paper-3); }
.quick { background: var(--paper-2); border-top: 1px solid var(--paper-3); border-bottom: 1px solid var(--paper-3); }
.faq .container { max-width: 880px; }
.ayuda { background: var(--paper-2); border-top: 1px solid var(--paper-3); }

.rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.rev-grid.three { grid-template-columns: repeat(3, 1fr); }
.rev { margin: 0; background: var(--paper); border: 1px solid var(--paper-3); border-radius: var(--r-lg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.rev-top { display: flex; align-items: flex-start; justify-content: space-between; }
.rev .quote-mark { font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: 0.8; color: var(--terracotta); }
.rev .stars { display: flex; gap: 3px; color: var(--terracotta); padding-top: 10px; }
.rev .stars svg { width: 14px; height: 14px; fill: currentColor; }
.rev blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-2); flex-grow: 1; }
.rev figcaption { display: flex; flex-direction: column; gap: 2px; }
.rev .name { font-size: 15px; font-weight: 600; color: var(--fg-1); }
.rev .src { font-size: 13px; color: var(--fg-3); }
.rev-note { margin: var(--sp-5) 0 0; text-align: center; font-size: var(--fs-small); color: var(--fg-3); }
@media (max-width: 1024px) { .rev-grid, .rev-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rev-grid, .rev-grid.three { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-7); border-top: 1px solid var(--paper-3); }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--paper-3); align-items: baseline; }
.facts dt { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); font-weight: 500; }
.facts dd { margin: 0; font-size: var(--fs-meta); line-height: 1.5; color: var(--fg-1); }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 110px 1fr; } }

/* Hero light / dark ripple (View Transitions API, driven from lang-landing.js) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2147483646; }

/* Very small phones */
@media (max-width: 380px) { .show-body { padding: var(--sp-5) var(--sp-4); } }
