/* learning.zenda.group. HeroUI v3 (@heroui/styles) themed as Work: Roboto and Google's blue.
   HeroUI gives buttons, chips, cards and links; this file only lays out the
   page and adds the few pieces HeroUI has no static class for. */
:root {
  --accent: #0B57D0;
  --accent-foreground: #FFFFFF;
  --focus: #0B57D0;
  --success: #188038;
  --success-foreground: #FFFFFF;
  --background: #FFFFFF;
  --foreground: #1F1F1F;
  --muted: #5F6368;
  --default: #F1F3F4;
  --default-foreground: #1F1F1F;
  --surface: #FFFFFF;
  --surface-secondary: #F7F8FA;
  --border: #E0E3E7;
  --surface-shadow: 0 0 0 1px #E0E3E7, 0 1px 2px rgba(31,31,31,0.04);
  --radius: 0.75rem;
  --font-sans: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', 'Cascadia Mono', Consolas, monospace;
  --ink: #1F1F1F;
  --ground: #F7F8FA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pulse { animation: none !important; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font: 16px/1.55 var(--font-sans); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.lead { font-size: 19px; color: #3C4043; max-width: 52ch; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.band { background: var(--ground); }

.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 19px; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav .link { color: #3C4043; text-decoration: none; font-size: 15px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-shot { position: relative; height: 420px; }
.shot-doc { position: absolute; inset: 0 30% 0 0; background: #FFFFFF; border-radius: 16px; box-shadow: 0 0 0 1px var(--border), 0 18px 40px rgba(31,31,31,0.10); padding: 56px 40px; display: flex; flex-direction: column; gap: 14px; }
.shot-bar { position: absolute; left: 0; right: 0; top: 0; height: 36px; border-radius: 16px 16px 0 0; background: #F7F8FA; border-bottom: 1px solid var(--border); }
.shot-line { display: block; height: 10px; border-radius: 6px; background: #E8EAED; }
.w60 { width: 60%; } .w80 { width: 80%; } .w95 { width: 95%; }
.shot-panel { position: absolute; right: 0; top: 36px; bottom: -24px; width: 62%; background: #FFFFFF; border-radius: 20px; box-shadow: 0 0 0 1px var(--border), 0 24px 48px rgba(31,31,31,0.16); padding: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.shot-ask { align-self: flex-end; max-width: 88%; background: #F1F3F4; border-radius: 16px; padding: 10px 14px; }
.shot-step { display: flex; align-items: center; gap: 8px; color: #3C4043; }
.shot-step svg { color: #0D652D; flex: none; }
.shot-step.now { color: var(--accent); font-weight: 500; }
.pulse { width: 10px; height: 10px; margin: 0 3px; border-radius: 50%; background: #4285F4; animation: pulse 1.4s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { opacity: 0.3; } }

.tile { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: #FFFFFF; font-weight: 500; }
.t-blue { background: #4285F4; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps .card, .tools .card { padding: 24px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #D3E3FD; color: #041E49; font-weight: 500; }
.card__title { font-size: 19px; font-weight: 500; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 24px; gap: 18px; }
.plan.pick { box-shadow: 0 0 0 2px var(--accent), 0 12px 32px rgba(11,87,208,0.14); }
.plan .card__header { display: flex; flex-direction: column; gap: 6px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price .mono { font-size: 26px; font-weight: 500; color: var(--accent); }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #3C4043; flex: 1; }
.feats li { display: flex; align-items: flex-start; gap: 10px; }
.feats svg { flex: none; margin-top: 4px; color: #188038; }

.faq { display: flex; flex-direction: column; border-radius: 20px; box-shadow: 0 0 0 1px var(--border); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 24px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 150ms; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq p { padding: 0 24px 22px; color: #3C4043; max-width: 64ch; }

.foot { border-top: 1px solid var(--border); padding: 28px 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; }
  .hero-shot { height: 360px; }
  .nav .link { display: none; }
  .stack { padding-top: 56px; padding-bottom: 56px; }
}

.brand-sub { font-size: 13px; font-weight: 400; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--border); }
.shot-drive { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #FEF0E2; color: #7A3A0C; font-weight: 500; box-shadow: inset 0 0 0 2px #F2A03D; }
.shot-drive img { border-radius: 50%; }
.shot-stop { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: #FFFFFF; color: #B3261E; font-size: 13px; box-shadow: 0 0 0 1px #E0E3E7; }
.shot-next { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.shot-next span { padding: 6px 12px; border-radius: 999px; border: 1px solid #C4C7C5; color: var(--accent); font-weight: 500; font-size: 13px; }
.t-green { background: #34A853; } .t-yellow { background: #F9AB00; color: #1F1F1F; }
.tools .card { gap: 10px; }
.steps .card { gap: 10px; align-items: flex-start; }
.install { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.install .steps { grid-template-columns: minmax(0, 1fr); }
.smartscreen { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ss-shot { aspect-ratio: 4 / 3; background: #0063B1; color: #FFFFFF; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; font-family: 'Segoe UI', var(--font-sans); }
.ss-title { font-size: 24px; font-weight: 300; }
.ss-text { font-size: 14px; opacity: 0.9; }
.ss-more { font-size: 14px; text-decoration: underline; outline: 2px dashed #FFFFFF; outline-offset: 4px; width: fit-content; }
.ss-btns { margin-top: auto; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ss-btns span { padding: 6px 14px; border: 2px solid #FFFFFF; font-size: 13px; }
.ss-run { outline: 2px dashed #FFFFFF; outline-offset: 3px; }
.about { display: flex; gap: 28px; align-items: flex-start; }
.about img { flex: none; }
#preguntas .stack { padding-top: 88px; }
@media (max-width: 860px) {
  .install { grid-template-columns: minmax(0, 1fr); }
  .about { flex-direction: column; }
  .brand-sub { display: none; }
}
