/* Home page. Builds on ui.css. */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 960px); display: grid; align-items: center; padding: 108px 0 132px; overflow: hidden; isolation: isolate; }
.hero-sky { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 52vw; height: 52vw; left: 38%; top: -18%; background: radial-gradient(closest-side, rgba(25,211,219,.55), transparent); }
.b2 { width: 40vw; height: 40vw; left: 62%; top: 36%; background: radial-gradient(closest-side, rgba(111,99,255,.45), transparent); animation-delay: -7s; }
.b3 { width: 36vw; height: 36vw; left: -8%; top: 52%; background: radial-gradient(closest-side, rgba(75,227,176,.3), transparent); animation-delay: -13s; }
@keyframes drift { to { transform: translate(-6vw, 5vh) scale(1.12); } }
.hero-road { position: absolute; top: auto; right: 0; bottom: 0; left: 0; height: 72%; z-index: -1; perspective: 520px; -webkit-mask: linear-gradient(transparent, #000 28%); mask: linear-gradient(transparent, #000 28%); pointer-events: none; }
.road-static { display: none; }
.road-plane { position: absolute; left: 50%; bottom: -12%; width: min(1100px, 96%); height: 175%; transform: translateX(-50%) rotateX(76deg); transform-origin: bottom; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(232,244,246,.75) 4% 4.5%, transparent 4.5% 95.5%, rgba(232,244,246,.75) 95.5% 96%, transparent 96%),
    radial-gradient(60% 40% at 50% 100%, rgba(25,211,219,.10), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 2px, transparent 2px 7px),
    linear-gradient(90deg, transparent, #0b1519 3%, #101c22 50%, #0b1519 97%, transparent); }
.road-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 7px; transform: translateX(-50%);
  background: repeating-linear-gradient(0deg, rgba(240,248,250,.9) 0 70px, transparent 70px 170px); animation: dash .9s linear infinite; }
.road-line::before, .road-line::after { content: ""; position: absolute; top: -20%; width: 4px; height: 26%; border-radius: 4px; filter: blur(1.5px); animation: trail 2.6s linear infinite; }
.road-line::before { left: -26vw; background: linear-gradient(transparent, rgba(143,246,242,.95)); box-shadow: 0 0 18px rgba(25,211,219,.9); }
.road-line::after { left: 22vw; background: linear-gradient(rgba(255,90,80,.95), transparent); box-shadow: 0 0 18px rgba(255,70,60,.8); animation-delay: -1.3s; animation-direction: reverse; }
.hero-road::before { content: ""; position: absolute; left: 50%; top: 18%; width: 70%; height: 30%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(143,246,242,.22), rgba(25,211,219,.06) 50%, transparent); filter: blur(10px); }
@keyframes trail { from { transform: translateY(0); } to { transform: translateY(460%); } }
@keyframes dash { to { background-position: 0 170px; } }.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-title { font-size: clamp(64px, min(10.5vw, 18vh), 152px); }
.hero-ctas { margin-top: 6px; }
.hero-fine { max-width: 46ch; margin: -6px 0 0; }

.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3b4b54; }
.status i.live { background: var(--mint); box-shadow: 0 0 0 0 rgba(75,227,176,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(75,227,176,0); } 100% { box-shadow: 0 0 0 0 rgba(75,227,176,0); } }
.hero-visual { position: relative; height: clamp(360px, calc(100vh - 280px), 580px); }
.hero-phone { position: absolute; left: 8%; top: 50%; transform: translateY(-50%) var(--tilt, translateZ(0)); }
.hero-phone { perspective: 1600px; }

.hero-phone::after { content: ""; position: absolute; left: 10%; right: 0; bottom: -46px; height: 60px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(14px); transform: rotateZ(-3deg); }
/* Transform only: animating opacity on .device would flatten its 3D edge. */
@keyframes phone-in { from { transform: rotateY(-70deg) rotateX(22deg) rotateZ(-12deg) translateY(40px); } }
@media (prefers-reduced-motion: reduce) { .hero-phone .device { animation: none; } }
.hero-phone .device { --w: clamp(210px, 32vh, 290px) !important; }
.hero-gecko { position: absolute; right: -4%; bottom: -2%; width: 62%; height: 86%; }
.hero-chip { position: absolute; z-index: 3; animation: float 6s ease-in-out infinite; }
.hero-chip.c1 { left: -4%; top: 14%; }
.hero-chip.c2 { right: 2%; top: 6%; animation-delay: -2s; }
.hero-chip.c3 { left: 2%; bottom: 10%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 46px; border-radius: 999px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.25) inset; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) and (min-width: 701px) {
  .hero-grid { gap: 24px; }
  .hero-copy { gap: 18px; }
  .hero-title { font-size: clamp(64px, 10.5vw, 102px); }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { padding-inline: 18px; font-size: 14px; }
  .hero-phone { left: 0; }
  .hero-phone .device { --w: 210px !important; }
  .hero-chip { padding: 9px 12px 9px 9px; }
  .hero-chip.c1 { left: -8%; }
  .hero-chip.c2 { right: -4%; }
}
@media (max-width: 700px) {
  .hero { min-height: 100vh; padding: 98px 0 76px; align-content: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { gap: 18px; }
  .hero-title { font-size: clamp(64px, 15vw, 96px); }
  .hero-copy .lead { font-size: 17px; max-width: 38ch; }
  .hero-ctas { gap: 10px; margin-top: 0; }
  .hero-ctas .btn { padding-inline: 18px; font-size: 14px; min-height: 50px; }
  .hero-fine { font-size: 12px; max-width: 48ch; }

  .hero-visual { height: clamp(220px, 30vh, 300px); width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero-phone { left: 14%; }
  .hero-phone .device { --w: clamp(118px, 16vh, 150px) !important; }
  .hero-gecko { width: 55%; height: 94%; right: 4%; }
  .hero-road { height: 68%; }

  .scroll-cue { top: min(calc(100vh - 58px), calc(100% - 58px)); bottom: auto; left: auto; right: 16px; transform: none; width: 28px; height: 40px; background: rgba(3,8,12,.65); }
}
@media (max-width: 520px) {
  .hero-chip { padding: 8px 10px 8px 8px; gap: 8px; }
  .hero-chip b { font-size: 12px; }
  .hero-chip small { font-size: 10px; }
  .hero-chip .dot { width: 26px; height: 26px; }
  .hero-chip.c1 { left: 0; top: 4%; } .hero-chip.c2 { right: 0; top: auto; bottom: 40%; } .hero-chip.c3 { left: 0; bottom: 4%; }
}

/* ---------- Statement ---------- */



@supports not (font-size: clamp(16px, 2vw, 24px)) {
  .hero { min-height: 100vh; }
  .hero-title { font-size: 72px; }
  .hero-grid { gap: 24px; }
  .hero-visual { height: 420px; }
  .hero-phone .device { --w: 240px !important; }
  .tile { padding: 24px; }
  .bento { gap: 14px; }
  .tile-copy .h2 { font-size: 38px; }
  @media (max-width:700px) {
    .hero-title { font-size: 64px; }
    .hero-visual { height: 240px; }
    .hero-phone .device { --w: 132px !important; }
  }
}
@media (max-width:700px) {

  .hero .blob { filter: none; }
  .hero .chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0d1c25; }
  .hero .phone { box-shadow: 0 0 0 1px #ffffff29 inset, 0 20px 35px -25px #0009; }
  .hero .gecko-halo { filter: none; }
  .display, .h1, .h2, .lead { text-wrap: wrap; }
  .hero .hero-sky, .hero .road-plane { display: none; }
  .hero-road { perspective: none; -webkit-mask: none; mask: none; }
  .road-static { display: block; width: 100%; height: 100%; }
  .grain::after { display: none; }
  .hero .blob, .hero .road-plane, .hero .road-line, .hero .hero-chip, .hero .status i { animation: none; }
  .scroll-cue span { animation: none; }
  .hero.grain::after { display: none; }
}

.statement { padding-block: clamp(72px, 10vw, 140px); }
.statement-text { margin: 0; font: 700 clamp(34px, 5.6vw, 84px)/1.04 var(--display); letter-spacing: -.04em; color: #e2edf0; max-width: 23ch; }
.statement-text span { transition: color .5s var(--ease); }
.statement-text span.lit { color: var(--white); }
.statement-text span.lit:nth-last-child(-n+6) { color: var(--cyan-hi); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 14px; min-height: 340px; isolation: isolate; }
.tile::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(25,211,219,.14), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile.night { background: var(--night-2); box-shadow: 0 0 0 1px var(--night-line) inset; }
.tile-docs { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 460px; }
.tile-docs .tile-copy { align-content: center; }
.tile-docs .tile-art { align-self: end; }
.tile-docs .tile-art .phone { --w: 250px !important; margin-bottom: -150px; }
.tile-fuel { grid-column: span 2; }
.tile-fuel, .tile-chat, .tile-care { padding-bottom: 144px; }
.tile-chat { grid-column: span 2; }
.tile-care { grid-column: span 2; }
.tile-report { grid-column: span 6; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; min-height: 420px; }
.tile-report .tile-copy { max-width: 560px; align-content: center; }
.tile-report .tile-art .phone { margin-bottom: -170px; }
.tile-near { grid-column: span 2; }
.tile-near .radar { width: 150px; height: 150px; margin-top: 6px; }
.tile-copy { display: grid; gap: 14px; align-content: end; align-self: stretch; }
.tile-copy .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.tile-art { position: relative; align-self: end; }
.tile-art .phone { margin-bottom: -90px; }
.tile-gecko { position: absolute; left: -46%; bottom: -14px; width: 70%; height: 74%; }
.tile-gecko-sm { position: absolute; right: 12px; bottom: 12px; width: 132px; height: 112px; }
.tile p { margin: 0; }
.doc-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; max-width: 360px; }
.doc-list li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: var(--paper); font-weight: 600; color: var(--ink); font-size: 15px; }
.doc-list i { flex: none; }
.doc-list span { margin-left: auto; font: 500 12.5px/1 var(--mono); color: var(--muted); }
.doc-list i { width: 10px; height: 10px; border-radius: 50%; }
.doc-list .ok { background: var(--mint); } .doc-list .warn { background: var(--amber); } .doc-list .miss { background: #b9c6cb; }
.price-board { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.price-board li { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 14px; }
.price-board li:first-child { background: rgba(25,211,219,.14); box-shadow: 0 0 0 1px rgba(25,211,219,.35) inset; }
.price-board b { margin-left: auto; font: 700 17px/1 var(--display); color: var(--white); font-variant-numeric: tabular-nums; }
.price-board em { font: 600 11.5px/1 var(--mono); font-style: normal; color: var(--mint); }
.chat { display: grid; gap: 8px; font-size: 14px; line-height: 1.45; }
.chat p { margin: 0; padding: 11px 14px; border-radius: 16px; }
.chat .me { justify-self: end; background: var(--ink); color: var(--white); border-bottom-right-radius: 5px; }
.chat .it { background: var(--paper); color: var(--ink); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 5px; justify-self: start; background: var(--paper); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .35; } }
.km-meter { height: 12px; border-radius: 999px; background: var(--paper); overflow: hidden; margin-top: 8px; }
.km-meter span { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--aurora); transform-origin: left; animation: grow 1.6s var(--ease) both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
@keyframes grow { from { transform: scaleX(0); } }
.km-label { font-size: 14px; color: var(--muted); }
.km-label b { font: 700 22px/1 var(--display); color: var(--ink); }
.radar { position: relative; width: 220px; height: 220px; }
.radar i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(11,111,118,.25) inset; }
.radar i:nth-child(2) { top: 22%; right: 22%; bottom: 22%; left: 22%; } .radar i:nth-child(3) { top: 44%; right: 44%; bottom: 44%; left: 44%; background: var(--teal); box-shadow: 0 0 0 8px rgba(25,211,219,.2); }
.radar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(25,211,219,.35), transparent 25%); animation: sweep 4s linear infinite; }
.radar b { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255,181,71,.22); }
.radar .p1 { left: 20%; top: 28%; } .radar .p2 { right: 16%; top: 40%; background: var(--mint); box-shadow: 0 0 0 5px rgba(75,227,176,.22); } .radar .p3 { left: 44%; bottom: 12%; }
@keyframes sweep { to { transform: rotate(1turn); } }
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-docs { grid-column: span 2; }
  .tile-report { grid-column: span 2; }
  .tile-fuel, .tile-chat, .tile-care, .tile-near { grid-column: span 1; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .tile-docs, .tile-report, .tile-near, .tile-fuel, .tile-chat, .tile-care { grid-column: auto; grid-row: auto; }
  .tile-docs, .tile-report { grid-template-columns: 1fr; }
  .tile-art { justify-self: center; } .tile-art .phone { --w: 210px !important; margin-bottom: -120px; }
  .tile-gecko { left: auto; right: -38%; }
  .tile-near { padding-bottom: 150px; }
  .price-board, .chat, .km-meter { max-width: 100%; }
  .tile-gecko-sm { height: 120px; }
  .tile-fuel, .tile-chat, .tile-care { padding-bottom: 150px; }
}

/* ---------- Steps (pinned phone) ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); }
.steps-stage { position: relative; }
.steps-sticky { position: sticky; top: calc(50vh - 330px); display: grid; justify-items: center; gap: 22px; }
.steps-sticky { isolation: isolate; }
.steps-sticky::before { content: ""; position: absolute; top: -10%; right: -20%; bottom: -10%; left: -20%; z-index: -1; background: radial-gradient(closest-side, rgba(25,211,219,.3), transparent); filter: blur(30px); }
.steps-sticky .phone img { opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.steps-sticky .phone img.active { opacity: 1; transform: none; }
.steps-dots { display: flex; gap: 8px; }
.steps-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.2); transition: width .4s var(--ease), background .3s; }
.steps-dots i.active { width: 28px; background: var(--cyan); }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li { min-height: 70vh; display: grid; align-content: center; gap: 18px; opacity: .28; transition: opacity .6s var(--ease); }
.step-list li.active { opacity: 1; }
.step-n { font: 600 14px/1 var(--mono); color: var(--cyan); letter-spacing: .12em; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-stage { order: 2; } .steps-sticky { position: static; } .steps-sticky .phone { --w: 240px !important; }
  .step-list li { min-height: 0; padding: 26px 0; opacity: 1; border-top: 1px solid var(--night-line); }
  .steps-sticky .phone { touch-action: pan-y; }
  .steps-dots { gap: 4px; }
  .steps-dots i { position: relative; cursor: pointer; margin: 10px 4px; }
  .steps-dots i::before { content: ""; position: absolute; inset: -12px -6px; }
}

/* ---------- Road help ---------- */
.help-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.help-steps li { position: relative; padding: 30px 26px 34px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 12px; align-content: start; }
.help-steps li span { font: 700 64px/1 var(--display); letter-spacing: -.05em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.help-steps li p { margin: 0; }
.help-steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 54px; width: 10px; height: 10px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); opacity: .5; }
@media (max-width: 900px) { .help-steps { grid-template-columns: 1fr 1fr; } .help-steps li::after { display: none; } }
@media (max-width: 520px) { .help-steps { grid-template-columns: 1fr; } }

/* ---------- Chile ---------- */
.chile-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(32px, 6vw, 90px); align-items: center; }
.local-tiles { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.local-tiles li { padding: 18px 16px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--night-line) inset; font-size: 13.5px; }
.local-tiles b { display: block; margin-bottom: 6px; font: 700 26px/1 var(--display); color: var(--white); letter-spacing: -.03em; }
.plate-tool { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; background: linear-gradient(160deg, #0f2029, #08131a); }
.plate-tool p { margin: 0; }
.digits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.digits button { min-height: 52px; aspect-ratio: 1; border: 0; border-radius: 16px; background: #f4f1e6; color: #111; font: 700 26px/1 var(--display); cursor: pointer; box-shadow: 0 0 0 2px #111 inset, 0 4px 0 #bdb7a3; transition: transform .2s var(--spring), background .2s; }
.digits button:hover { transform: translateY(-2px); }
.digits button[aria-pressed="true"] { background: var(--cyan); box-shadow: 0 0 0 2px #04262a inset, 0 4px 0 #0b6f76; }
.plate-result { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: rgba(25,211,219,.08); box-shadow: 0 0 0 1px rgba(25,211,219,.25) inset; min-height: 92px; }
.plate-month { font: 700 34px/1 var(--display); letter-spacing: -.03em; color: var(--white); }
.plate-result.pop .plate-month { animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.plate-detail { font-size: 14px; }
.plate-fixed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.plate-fixed li { display: flex; gap: 12px; align-items: baseline; }
.plate-fixed b { flex: none; min-width: 108px; font: 600 13px/1.3 var(--mono); color: var(--cyan); }
@media (max-width: 900px) { .chile-grid { grid-template-columns: 1fr; } .local-tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.plan { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; isolation: isolate; }
.plan::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(25,211,219,.16), transparent 60%); }
.plan:hover::before { opacity: 1; }
.plan p { margin: 0; }
.plan-hot { background: var(--night-2); box-shadow: 0 0 0 1px rgba(25,211,219,.35) inset, 0 40px 80px -40px rgba(25,211,219,.45); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 6px !important; font: 700 clamp(56px, 6vw, 76px)/1 var(--display); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-hot .plan-price { color: var(--white); }
.plan-price .cur { font-size: .5em; align-self: flex-start; margin-top: .3em; }
.plan-price small { margin-left: 8px; font: 500 14px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.plan-hot .plan-price small { color: var(--night-text); }
.checks { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 16px; height: 9px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }
.plan-hot .checks li::before { border-color: var(--cyan); }
.plan .btn { justify-self: start; }
.trial { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trial li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.trial li b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 15px/1 var(--display); }
.trial strong { color: var(--ink); }
.plans-fine { max-width: 860px; margin: 32px auto 0; text-align: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .trial { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-3); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.founder-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(to top, rgba(3,8,12,.85), transparent 45%); }
.founder-photo figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 1; color: var(--night-text); font-size: 14px; }
.founder-photo figcaption b { display: block; font: 700 22px/1.2 var(--display); color: var(--white); }
.founder-quote { margin: 0; font: 600 clamp(28px, 3.4vw, 46px)/1.12 var(--display); letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.founder a { color: var(--cyan); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 420px; } }

/* ---------- Guides ---------- */
.guides-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.guides-head .section-head { margin: 0; }
.guide { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 0 0 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; transition: transform .5s var(--ease), box-shadow .4s; }
.guide > :not(.guide-art) { margin: 0 26px; }
.guide:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 60px -30px rgba(5,16,23,.35); }
.guide p { margin: 0 26px !important; }
/* Same covers as /guias/: the app screen that goes with each guide. */
.guide-art { display: grid; align-items: start; height: 200px; padding-top: 26px; margin-bottom: 8px; background: #e6efee; overflow: hidden; }
.guide-art img { width: 160px; height: auto; margin-inline: auto; border-radius: 20px; transform: rotate(-5deg); box-shadow: 0 18px 45px #05101733; transition: transform .8s var(--ease); }
.guide-art.care { background: #dceee7; }
.guide-art.care img { transform: rotate(5deg); }
.guide-art.fuel { background: var(--night-2); }
.guide:hover .guide-art img { transform: translateY(-6px) rotate(-2deg); }
/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- Final ---------- */
.final { overflow: hidden; isolation: isolate; }
.final-glow { position: absolute; left: 50%; bottom: -40%; z-index: -1; width: 120vw; height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(25,211,219,.4), transparent 70%); filter: blur(20px); }
.final-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 30px; }
.final .display { font-size: clamp(54px, 8vw, 120px); }
.final-gecko { height: 560px; }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; } .final-gecko { height: 380px; } }

/* ---------- Footer extras ---------- */
.socials { gap: 16px; font-weight: 600; }

/* Hero device: a real 3D object. The titanium edge is a stack of slices behind the screen (built by home.js),
   so turning the phone shows its thickness, like a product shot. */
.hero-phone .device { position: relative; width: var(--w); transform-style: preserve-3d;
  transform: rotateY(-34deg) rotateX(13deg) rotateZ(-9deg); animation: phone-in 1.6s var(--ease) both .2s; }
.hero-phone .device .phone { transform: translateZ(0); backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 0 calc(var(--w) * .008) #0b0f12, 0 0 0 calc(var(--w) * .016) #8f9ca3, 0 0 0 calc(var(--w) * .019) #3b454b; }
.hero-phone .device .phone::after { display: none; }
.device .edge { position: absolute; inset: calc(var(--w) * -.019); border-radius: calc(var(--w) * .16); pointer-events: none;
  transform: translateZ(calc(var(--k) * var(--w) * -.0044));
  background: linear-gradient(100deg, #1e252a 0%, #6e7b82 9%, #cfd8dc 15%, #7d8a91 22%, #2b3439 38%, #151b1f 55%, #46525a 72%, #b6c1c6 86%, #59656c 93%, #1c2327 100%); }
.device .edge.back { background: radial-gradient(120% 80% at 70% 20%, #2a3338, #0b0f12 60%); }
.device .button { position: absolute; left: calc(var(--w) * -.03); width: calc(var(--w) * .02); border-radius: 4px;
  background: linear-gradient(90deg, #39444a, #b9c4c9 45%, #4c575d); transform: translateZ(calc(var(--w) * -.06)) rotateY(-90deg); transform-origin: right center; }
.device .button.b1 { top: 18%; height: 4%; } .device .button.b2 { top: 25%; height: 7%; } .device .button.b3 { top: 34%; height: 7%; }
/* Store badges in the hero: Google Play is live; App Store is shown as coming soon. */
.hero-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; width: 100%; max-width: 380px; margin-top: 6px; }
.store-option { min-width: 0; display: grid; grid-template-rows: 54px auto; justify-items: center; gap: 12px; }
.store-option .store-badge { height: 54px; max-width: 100%; align-items: center; justify-content: center; }
.store-option .store-badge img { max-width: 100%; width: auto; height: 54px; object-fit: contain; }
.store-caption { margin: 0; width: 100%; color: var(--cyan-hi); font: 600 13px/1.5 var(--body); text-align: center; }
.store-badge { position: relative; display: inline-flex; border-radius: 12px; transition: transform .35s var(--spring), box-shadow .35s; }
.store-badge img { display: block; height: 54px; width: auto; }
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(25,211,219,.7); }
.store-badge.soon img { opacity: .55; filter: grayscale(.2); }
.hero-stores { margin-bottom: 14px; }
@media (max-width: 520px) {
  .hero-stores { gap: 12px; max-width: 350px; }
  .store-option { grid-template-rows: 46px auto; gap: 10px; }
  .store-option .store-badge, .store-option .store-badge img { height: 46px; }
  .store-caption { font-size: 12px; }
}
/* ---------- Auto y moto ---------- */
.ride { overflow: hidden; isolation: isolate; }
.ride-glow { position: absolute; left: 50%; top: 40%; z-index: -1; width: 110vw; height: 70%; translate: -50% 0; background: radial-gradient(closest-side, rgba(25,211,219,.18), transparent 70%); filter: blur(20px); }
.ride-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.ride-card { position: relative; margin: 0; display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px) clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: 0 0 0 1px var(--night-line) inset; overflow: hidden; }
.ride-card::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 26%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(12px); }
.ride-img { position: relative; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.reveal:not(.in) .ride-img.from-left { transform: translateX(-18%); }
.reveal:not(.in) .ride-img.from-right { transform: translateX(18%); }
.ride-card:hover .ride-img { transform: translateY(-6px) scale(1.02); }
.ride-card figcaption { position: relative; color: var(--night-text); font-size: 15.5px; }
.ride-card figcaption b { display: block; margin-bottom: 4px; font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; color: var(--white); }
@media (max-width: 760px) { .ride-grid { grid-template-columns: 1fr; } }
/* ---------- Hero on phones: one clear device, Gecko beside it, the road only below ---------- */
@media (max-width: 700px) {
  .hero { padding-bottom: 40px; }
  .hero-visual { height: 400px; max-width: 380px; }
  .hero-phone { left: 6%; }
  .hero-phone .device { --w: 178px !important; transform: rotateY(-16deg) rotateX(5deg) rotateZ(-3deg); }
  @keyframes phone-in { from { transform: rotateY(-40deg) rotateX(10deg) rotateZ(-5deg) translateY(30px); } }
  .hero-gecko { width: 50%; height: 78%; right: -2%; bottom: 0; }
  .hero-chip, .scroll-cue { display: none; }
  .hero-road { height: 46%; -webkit-mask: linear-gradient(transparent, #000 45%); mask: linear-gradient(transparent, #000 45%); opacity: .7; }
}
.nav-with-account .nav-account { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; font: 600 14.5px/1 var(--body); color: inherit; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; transition: background .25s, box-shadow .25s; }
.nav-with-account .nav-account:hover { background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.nav-with-account.light .nav-account { box-shadow: 0 0 0 1px var(--line) inset; }
.nav-with-account.light .nav-account:hover { background: rgba(5,16,23,.04); box-shadow: 0 0 0 1px var(--muted) inset; }
@media (max-width: 1100px) {
  .nav-with-account .nav-toggle { margin-left: 0; }
}
@media (max-width: 380px) {
  .nav-with-account .nav-account { padding-inline: 12px; font-size: 13px; }
}
