/* Himeros · himerosapp.com
   Paleta tomada del app (MobileDesign.swift): oscuro cálido, rosa y vino. */
:root {
  --bg: #100D0F;
  --panel: #171316;
  --surface: #231C20;
  --raised: #2C2328;
  --line: #382A31;
  --text: #F5EDF0;
  --muted: #B5A5AD;
  --faint: #8C7C84;
  --rose: #DFAFB3;
  --blush: #F2C9CC;
  --red: #95515C;
  --wine: #643447;
  --online: #8FD3A8;
  --grad: linear-gradient(135deg, var(--red), var(--wine));
  --grad-text: linear-gradient(120deg, var(--blush), var(--rose) 45%, #B86F7B);
  --card: linear-gradient(145deg, #3A2430, #221A1F);
  --serif: "Fraunces", "New York", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --maxw: 1200px;
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

em { font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ---------- Ambient layers ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--wine), var(--rose)); }
.glow-cursor {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; opacity: .55; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(149,81,92,.28), rgba(100,52,71,.12) 40%, transparent 70%);
  transform: translate3d(-50%, -50%, 0); transition: opacity .4s;
}
.grain {
  position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(calc(100% - 28px), var(--maxw)); display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(23,19,22,.55); border: 1px solid rgba(56,42,49,.7);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background .3s, transform .4s var(--ease);
}
.nav.hide { transform: translate(-50%, -120%); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.wordmark { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--faint); cursor: pointer; transition: .2s; }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--text);
  background: var(--grad); box-shadow: 0 10px 40px -10px rgba(149,81,92,.8), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .25s var(--spring), box-shadow .25s; overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 50px -10px rgba(149,81,92,.95), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* ---------- Generic ---------- */
section { position: relative; padding: 120px 24px; }
.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(38px, 5.4vw, 68px); }
h3 { font-size: 26px; letter-spacing: -.015em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; margin: 20px auto 0; }

.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 1206 / 2622; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #4a3a40, #1b1418 40%, #3b2d33);
  box-shadow: 0 0 0 1.5px #5b4850 inset, 0 50px 100px -30px rgba(0,0,0,.85), 0 30px 80px -20px rgba(100,52,71,.55);
}
.phone::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 70px; border-radius: 2px; background: #3b2d33; }
.phone-screen { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; background: #0b090a; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 90px;
}
.hero-bg { position: absolute; inset: -10% calc(50% - 50vw) 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb-a { width: 620px; height: 620px; left: 0; top: -10%; background: radial-gradient(circle, rgba(149,81,92,.75), transparent 65%); }
.orb-b { width: 560px; height: 560px; right: 5%; top: 5%; background: radial-gradient(circle, rgba(100,52,71,.85), transparent 65%); animation-duration: 22s; }
.orb-c { width: 400px; height: 400px; left: 40%; bottom: -10%; background: radial-gradient(circle, rgba(223,175,179,.25), transparent 65%); animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }

.hero-title { font-size: clamp(64px, 9.6vw, 138px); font-weight: 450; letter-spacing: -.045em; line-height: .95; margin: 6px 0 26px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: var(--d); }
.hero-title.in .w > span { transform: none; }
.hero-title .w:last-child > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.hero-sub { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 540px; margin: 0 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pills { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills li { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.025); }
.hero-pills li::before { margin-right: 6px; }
.hero-pills li:nth-child(1)::before { content: "🌎 "; } .hero-pills li:nth-child(2)::before { content: "🇵🇷 "; }
.hero-pills li:nth-child(3)::before { content: "🇨🇴 "; } .hero-pills li:nth-child(4)::before { content: "🇺🇸 "; }

.hero-stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 680px; }
.phone-hero { width: 310px; transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .6s var(--ease); animation: phoneIn 1.4s var(--ease) both .3s; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotateY(-24deg) rotateX(10deg) scale(.92); } }
.float-chip, .float-bubble { position: absolute; z-index: 3; animation: bob 6s ease-in-out infinite alternate, popIn .9s var(--spring) both; will-change: transform; }
.float-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  background: rgba(35,28,32,.72); border: 1px solid rgba(223,175,179,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.7);
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px var(--rose); }
.c1 { left: 2%; top: 14%; animation-delay: 0s, .9s; } .c2 { right: -2%; top: 22%; animation-delay: -2s, 1.1s; }
.c3 { left: -4%; top: 52%; animation-delay: -1s, 1.3s; } .c4 { right: 2%; top: 64%; animation-delay: -3s, 1.5s; }
.c5 { left: 8%; bottom: 8%; animation-delay: -4s, 1.7s; }
.c2 .dot { background: #F0B37E; box-shadow: 0 0 12px #F0B37E; } .c4 .dot { background: var(--online); box-shadow: 0 0 12px var(--online); }
.float-bubble { max-width: 230px; padding: 13px 16px; border-radius: 20px 20px 20px 6px; background: var(--card); border: 1px solid rgba(223,175,179,.22); box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); }
.float-bubble small { display: block; color: var(--rose); font-weight: 600; font-size: 12.5px; margin-bottom: 3px; }
.float-bubble p { margin: 0; font-size: 15px; line-height: 1.35; }
.b1 { right: -10%; bottom: 12%; animation-delay: -2s, 2s; }
.b2 { left: 10%; top: 34%; padding: 9px 14px; border-radius: 999px; animation-delay: -5s, 2.3s; }
.b2 small { margin: 0; color: var(--online); }
@keyframes bob { from { translate: 0 -8px; } to { translate: 0 10px; } }
@keyframes popIn { from { opacity: 0; scale: .6; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--rose); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { padding: 26px 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(23,19,22,.6);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { white-space: nowrap; padding: 12px 18px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; color: var(--text); }
.mq b { color: var(--rose); font-weight: 600; margin-right: 8px; font-size: 13px; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.how-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step-n { font-family: var(--serif); font-size: 18px; color: var(--rose); border: 1px solid var(--line); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; }
.step.on .step-n { background: var(--grad); border-color: transparent; color: var(--text); box-shadow: 0 10px 30px -8px rgba(149,81,92,.9); }
.step h3 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 19px; max-width: 440px; margin: 0; }

/* simulated phone */
.phone-sim { width: 310px; overflow: hidden; }
.sim { position: absolute; inset: 11px; border-radius: 42px; overflow: hidden; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.sim-status { display: flex; justify-content: space-between; padding: 16px 28px 0; font-size: 13px; font-weight: 600; color: #111; }
.sim-status.light { color: var(--text); }
.sb-icons { letter-spacing: 2px; font-size: 10px; }
.sim-chat { background: #f4f1f2; color: #1c1a1b; }
.sim-chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid #e3dde0; }
.sim-chat-head b { display: block; font-size: 15px; } .sim-chat-head small { color: #7d7377; font-size: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, #e5a07a, #c86f8a); flex: none; }
.av-rose { background: var(--grad); }
.sim-msgs { padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.m { margin: 0; max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.35; position: relative; transition: box-shadow .4s, transform .4s; }
.sim-msgs .them { background: #fff; border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.sim-msgs .me { background: #3d7cf5; color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.sim-msgs .m::after { content: attr(data-who); position: absolute; top: -9px; right: -6px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--red); color: #fff; opacity: 0; transform: scale(.6); transition: .4s var(--spring); }
.sim-msgs .me::after { left: -6px; right: auto; background: var(--wine); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.scanline { position: absolute; left: 0; right: 0; height: 90px; top: -90px; background: linear-gradient(180deg, transparent, rgba(149,81,92,.35) 70%, rgba(242,201,204,.9) 98%, transparent); opacity: 0; pointer-events: none; }
.ocr-badge { position: absolute; left: 50%; top: 44%; translate: -50% 20px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: rgba(16,13,15,.88); color: var(--text); opacity: 0; transition: .5s var(--ease); }
.ocr-badge i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--rose); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sim-share { inset: auto 11px 11px 11px; height: 46%; border-radius: 26px 26px 42px 42px; background: rgba(250,248,249,.97); color: #1c1a1b; transform: translateY(105%); padding: 20px 18px; box-shadow: none; visibility: hidden; transition: transform .7s var(--ease), visibility 0s .7s, box-shadow .5s; }
.share-thumb { width: 74px; height: 110px; border-radius: 12px; margin: 0 auto 22px; background: linear-gradient(#e3dde0 0 0) 8px 22px / 40px 7px no-repeat, linear-gradient(#e3dde0 0 0) 8px 34px / 30px 7px no-repeat, linear-gradient(#3d7cf5 0 0) right 8px top 48px / 28px 7px no-repeat, linear-gradient(#e3dde0 0 0) 8px 62px / 44px 7px no-repeat, linear-gradient(#fff, #f1edef); border: 1px solid #ddd; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.share-row { display: flex; justify-content: space-between; padding: 0 6px; }
.app { width: 54px; height: 54px; border-radius: 14px; background: #d9d3d6; overflow: hidden; transition: transform .5s var(--spring), box-shadow .5s; }
.app.a1 { background: linear-gradient(#6fdc76, #34b84a); } .app.a2 { background: linear-gradient(#ffe36b, #f3c623); } .app.a3 { background: #e5e0e2; }
.app.himeros img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); }
.share-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: #6c6367; padding: 8px 4px 0; }
.share-labels span { width: 62px; text-align: center; } .share-labels .hl { color: var(--wine); font-weight: 700; }
.sim-himeros { background: radial-gradient(120% 60% at 0% 0%, rgba(149,81,92,.45), transparent 60%), radial-gradient(100% 60% at 100% 0%, rgba(100,52,71,.55), transparent 60%), var(--bg); opacity: 0; transform: translateX(30%); }
.hm-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 12px; }
.hm-head b { display: block; font-size: 15px; } .hm-head small { color: var(--faint); font-size: 11.5px; }
.hm-chips { display: flex; gap: 6px; padding: 4px 14px 12px; overflow: hidden; }
.hm-chips span { flex: none; font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.hm-chips .on { background: var(--grad); color: var(--text); border-color: transparent; }
.hm-cards { display: flex; flex-direction: column; gap: 9px; padding: 0 14px; }
.hm-card { padding: 12px 13px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(56,42,49,.8); opacity: 0; transform: translateY(18px) scale(.97); transition: .6s var(--spring); }
.hm-card small { color: var(--rose); font-weight: 600; font-size: 11.5px; }
.hm-card p { margin: 3px 0 9px; font-size: 14px; line-height: 1.35; }
.hm-actions { display: flex; gap: 12px; font-size: 11.5px; color: var(--rose); font-weight: 600; }
.hm-actions .copy { background: var(--raised); padding: 4px 10px; border-radius: 999px; transition: .3s; }
.hm-actions .copy.done { background: rgba(143,211,168,.18); color: var(--online); }
.hm-input { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hm-input span { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.hm-input b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--text); font-size: 15px; }
.phone-sim[data-step="4"] .hm-input { opacity: 0; }
.hm-wait { position: absolute; left: 14px; right: 14px; bottom: 26px; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid rgba(223,175,179,.22); text-align: center; opacity: 0; transform: translateY(30px); transition: .7s var(--spring); }
.wait-icon { font-size: 26px; margin-bottom: 4px; } .hm-wait b { font-family: var(--serif); font-size: 21px; font-weight: 500; } .hm-wait p { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* step states */
.phone-sim[data-step="1"] .flash { animation: flash .7s ease-out .25s; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
.phone-sim[data-step="1"] .sim-chat { transform: scale(1); }
.phone-sim[data-step="2"] .sim-chat { transform: scale(.94) translateY(-6%); border-radius: 30px; }
.phone-sim[data-step="2"] .sim-share { transform: none; visibility: visible; box-shadow: 0 -20px 50px rgba(0,0,0,.25); transition: transform .7s var(--ease) .1s, visibility 0s, box-shadow .5s; }
.phone-sim[data-step="2"] .app.himeros { transform: scale(1.12); box-shadow: 0 0 0 3px var(--rose), 0 10px 26px -6px rgba(149,81,92,.9); }
.phone-sim[data-step="2"] .scanline { animation: scan 2.4s var(--ease) .9s infinite; }
.phone-sim[data-step="2"] .sim-msgs .m::after { opacity: 1; transform: none; }
.phone-sim[data-step="2"] .sim-msgs .m:nth-child(1)::after { transition-delay: 1.1s; } .phone-sim[data-step="2"] .sim-msgs .m:nth-child(2)::after { transition-delay: 1.3s; }
.phone-sim[data-step="2"] .sim-msgs .m:nth-child(3)::after { transition-delay: 1.5s; } .phone-sim[data-step="2"] .sim-msgs .m:nth-child(4)::after { transition-delay: 1.7s; }
@keyframes scan { 0% { top: -90px; opacity: 1; } 80% { opacity: 1; } 100% { top: 70%; opacity: 0; } }
.phone-sim[data-step="3"] .sim-chat, .phone-sim[data-step="4"] .sim-chat { opacity: 0; transform: translateX(-30%); }
.phone-sim[data-step="3"] .sim-himeros, .phone-sim[data-step="4"] .sim-himeros { opacity: 1; transform: none; }
.phone-sim[data-step="3"] .hm-card { opacity: 1; transform: none; }
.phone-sim[data-step="3"] .hm-card:nth-child(1) { transition-delay: .5s; } .phone-sim[data-step="3"] .hm-card:nth-child(2) { transition-delay: .9s; } .phone-sim[data-step="3"] .hm-card:nth-child(3) { transition-delay: 1.3s; }
.phone-sim[data-step="4"] .hm-card { opacity: .18; transform: none; filter: blur(2px); }
.phone-sim[data-step="4"] .hm-wait { opacity: 1; transform: none; transition-delay: .3s; }
.phone-sim[data-step="2"] .ocr-badge { opacity: 1; translate: -50% 0; transition-delay: .8s; }

/* ---------- Tones playground ---------- */
.playground { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.pg-controls, .pg-chat, .settings-card, .tile, .cta-card { background: linear-gradient(180deg, rgba(35,28,32,.82), rgba(23,19,22,.82)); border: 1px solid var(--line); border-radius: var(--radius); }
.pg-controls { padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.ctrl-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.seg { display: flex; gap: 8px; }
.seg.wrap { flex-wrap: wrap; }
.seg button, .mini-seg button { border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted); padding: 10px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .25s var(--ease); }
.seg button:hover, .mini-seg button:hover { color: var(--text); border-color: #5a4350; }
.seg button.on, .mini-seg button.on { background: var(--grad); color: var(--text); border-color: transparent; box-shadow: 0 8px 24px -10px rgba(149,81,92,.9); }
.switch { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 46px; height: 28px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); position: relative; flex: none; transition: .25s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: .3s var(--spring); }
.switch input:checked + .track { background: var(--grad); border-color: transparent; }
.switch input:checked + .track .thumb { transform: translateX(18px); background: var(--text); }
.switch input:focus-visible + .track { outline: 2px solid var(--rose); outline-offset: 2px; }

.pg-chat { display: flex; flex-direction: column; overflow: hidden; min-height: 420px; }
.pg-chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pg-chat-head b { display: block; font-size: 15.5px; } .pg-chat-head small { color: var(--faint); font-size: 12.5px; }
.pg-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rose); padding: 6px 10px; border-radius: 999px; background: rgba(149,81,92,.16); }
.pg-badge img { width: 16px; height: 16px; }
.pg-thread { flex: 1; padding: 26px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; background: radial-gradient(90% 50% at 100% 100%, rgba(100,52,71,.3), transparent 70%); }
.pg-thread .them { background: var(--raised); border-bottom-left-radius: 6px; font-size: 16px; max-width: 85%; animation: msgIn .5s var(--spring); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.pg-suggest { align-self: flex-end; width: 92%; padding: 16px 18px; border-radius: 22px 22px 6px 22px; background: var(--card); border: 1px solid rgba(223,175,179,.22); box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); }
.pg-tone-label { color: var(--rose); font-weight: 600; font-size: 13px; }
.pg-out { margin: 4px 0 14px; font-size: 19px; line-height: 1.4; min-height: 54px; }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; margin-left: 2px; background: var(--rose); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pg-actions { display: flex; gap: 8px; }
.pg-actions button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--rose); background: var(--raised); transition: .25s; }
.pg-actions button:hover { background: #3a2d33; }
.pg-actions .done { color: var(--online); background: rgba(143,211,168,.14); }

/* ---------- Mi tono ---------- */
.mytone-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mytone-copy .lead { margin-left: 0; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text); }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(149,81,92,.3); color: var(--blush); }
.settings-card { padding: 30px; }
.settings-card h4 { margin: 0 0 18px; font-family: var(--sans); font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.sc-sec { margin: 0 0 8px 4px; color: var(--faint); font-weight: 600; font-size: 15px; }
.sc-group { background: var(--surface); border-radius: 20px; padding: 6px 18px; }
.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.sc-row > span { font-size: 15.5px; }
.mini-seg { display: flex; gap: 5px; flex-wrap: wrap; }
.mini-seg button { padding: 6px 11px; font-size: 13px; }
.sc-example { padding: 16px 0 12px; }
.sc-example small { color: var(--rose); font-weight: 600; font-size: 13px; }
.sc-example p { margin: 4px 0 0; font-size: 19px; line-height: 1.4; transition: opacity .25s, transform .25s; }
.sc-example p.swap { opacity: 0; transform: translateY(6px); }
.sc-note { margin: 14px 4px 0; font-size: 13px; color: var(--faint); }

/* ---------- Real app ---------- */
.real-phones { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; justify-items: center; }
.real-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.real-item .phone { width: 280px; transition: transform .6s var(--ease); }
.real-item:nth-child(2) { margin-top: 70px; }
.real-item:hover .phone { transform: translateY(-10px) rotate(-1deg); }
.real-item figcaption { text-align: center; max-width: 280px; }
.real-item figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 23px; margin-bottom: 4px; }
.real-item figcaption span { color: var(--muted); font-size: 15.5px; }

/* ---------- Bento ---------- */
.bento { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; padding: 30px; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(223,175,179,.13), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: #55404a; }
.t-wide { grid-column: span 2; }
.tile h3 { margin: 0 0 10px; }
.tile p { margin: 0; color: var(--muted); }
.tile-ico { font-size: 30px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--raised); margin-bottom: 26px; }
.tile-visual { height: 170px; margin: -6px -6px 24px; border-radius: 18px; background: rgba(16,13,15,.6); border: 1px solid var(--line); position: relative; overflow: hidden; }
.people { display: flex; align-items: center; justify-content: space-around; padding: 0 20px; }
.pp { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.pp i { font-style: normal; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--text); background: var(--grad); box-shadow: 0 0 0 6px rgba(149,81,92,.12), 0 14px 30px -10px rgba(149,81,92,.9); }
.pp::after { content: ""; position: absolute; inset: -18px -26px; border: 1px dashed rgba(223,175,179,.28); border-radius: 22px; }
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding-top: 20px; }
.dev { display: block; overflow: hidden; border: 4px solid #2f252a; background: #000; }
.dev img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev.mac { width: 230px; height: 140px; border-radius: 12px 12px 0 0; border-bottom: 0; display: grid; place-items: center; background: radial-gradient(80% 90% at 30% 0%, rgba(149,81,92,.55), transparent 70%), var(--bg); }
.dev.mac img { width: 64px; height: 64px; object-fit: contain; }
.t-full { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.t-full .tile-visual { margin: 0; }
.dev.iph { width: 74px; height: 150px; border-radius: 16px 16px 0 0; border-bottom: 0; }
.sync { display: flex; gap: 6px; align-self: center; }
.sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: syncdot 1.4s ease-in-out infinite; }
.sync i:nth-child(2) { animation-delay: .2s; } .sync i:nth-child(3) { animation-delay: .4s; }
@keyframes syncdot { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- Privacy ---------- */
.privacy-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; padding: 70px 60px; border-radius: 36px; background: radial-gradient(70% 90% at 0% 50%, rgba(100,52,71,.45), transparent 70%), var(--panel); border: 1px solid var(--line); }
.lock { display: grid; place-items: center; }
.lock svg { width: 100%; max-width: 260px; filter: drop-shadow(0 20px 50px rgba(149,81,92,.55)); animation: float 7s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-14px) rotate(-3deg); } }
.priv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; }
.priv b { display: block; font-size: 17px; margin-bottom: 4px; }
.priv p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Nots ---------- */
.nots { text-align: center; }
.nots h2 { margin-bottom: 40px; }
.not-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.not-list li { padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 18px; color: var(--muted); position: relative; }
.not-list li::before { content: "✕"; color: var(--red); font-weight: 700; margin-right: 10px; }

/* ---------- Name ---------- */
.name { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.name-img { border-radius: 30px; overflow: hidden; position: relative; aspect-ratio: 733/1000; }
.name-img img { width: 100%; height: 115%; object-fit: cover; object-position: top; transform: translateY(var(--par, 0px)); }
.name-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg)); }
blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.name-copy .muted { font-size: 19px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 22px; background: rgba(23,19,22,.7); transition: background .3s, border-color .3s; }
details[open] { background: var(--surface); border-color: #4a3841; }
summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-size: 18.5px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--rose); font-weight: 400; font-size: 20px; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-card { max-width: 820px; margin: 0 auto; text-align: center; padding: 70px 40px; position: relative; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 0%, rgba(149,81,92,.45), transparent 70%), var(--panel); }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 26px; filter: drop-shadow(0 18px 40px rgba(149,81,92,.6)); animation: float 6s ease-in-out infinite alternate; }
.waitlist { display: flex; gap: 10px; max-width: 520px; margin: 34px auto 0; padding: 6px; border-radius: 999px; background: rgba(16,13,15,.7); border: 1px solid var(--line); }
.waitlist input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; padding: 0 18px; }
.waitlist input::placeholder { color: var(--faint); }
.waitlist:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(149,81,92,.2); }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 24px; margin: 14px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--online); } .form-msg.err { color: #f0a0a0; }
.fine { margin: 6px 0 0; font-size: 13.5px; color: var(--faint); }

/* ---------- Footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.footer p { margin: 0; }
.footer .legal { flex-basis: 100%; font-size: 12.5px; opacity: .75; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 10px; }
  .hero-sub, .hero-pills, .hero-ctas { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero-stage { min-height: 600px; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-sticky { top: 58px; height: 470px; z-index: 2; display: block; padding-top: 8px; background: linear-gradient(180deg, var(--bg) 90%, transparent); }
  .how-sticky::before { content: ""; position: absolute; left: -24px; right: -24px; bottom: 100%; height: 70px; background: var(--bg); }
  .phone-sim { transform: scale(.64); transform-origin: top center; margin: 0 auto; }
  .step { min-height: 72vh; justify-content: flex-start; padding-top: 24px; text-align: center; align-items: center; }
  .step p { margin: 0 auto; }
  .playground, .mytone-grid, .name { grid-template-columns: 1fr; gap: 30px; }
  .real-phones { grid-template-columns: 1fr; gap: 60px; }
  .real-item:nth-child(2) { margin-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .t-full { grid-template-columns: 1fr; gap: 24px; }
  .privacy-inner { grid-template-columns: 1fr; padding: 50px 26px; gap: 20px; }
  .lock svg { max-width: 150px; }
  .name-img { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 90px 18px; }
  .btn-small { display: none; }
  .hero-stage { min-height: 520px; }
  .phone-hero { width: 250px; }
  .float-chip { font-size: 12.5px; padding: 8px 12px; }
  .c1 { left: -2%; } .c3 { left: -4%; } .c2, .c4 { right: -4%; }
  .b1 { right: -2%; max-width: 180px; } .b1 p { font-size: 13px; }
  .priv-grid { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; border-radius: 26px; padding: 10px; }
  .waitlist input[type=email] { padding: 12px; text-align: center; }
  .waitlist .btn { justify-content: center; }
  .not-list li { font-size: 16px; }
  .footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .glow-cursor { display: none; }
}
