/* Vistazo Studio. Fonts self-hosted (SIL OFL), no third-party requests. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolagegrotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrumentsans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrainsmono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ground: #f3f4f7;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b6070;
  --line: #dadde5;
  --accent: #2b3bff;
  --accent-ink: #ffffff;
  --spark: #ffb020;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f1117;
    --surface: #171a22;
    --ink: #eef0f5;
    --muted: #9aa0b2;
    --line: #2a2f3b;
    --accent: #7c8bff;
    --accent-ink: #0f1117;
    --spark: #ffc24d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { font: 800 1.35rem/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.lang { font: 500 0.8rem/1 var(--mono); border: 1px solid var(--line); padding: 0.4rem 0.55rem; border-radius: 6px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.eyebrow { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 0.98; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 1.5rem 0 2rem; }
.cta { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 0.9rem 1.35rem; border-radius: 999px; }
.cta:hover { filter: brightness(1.08); }
.cta-note { display: block; margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }

/* the phone: a 3-second timer, the whole pitch in one object */
.phone { justify-self: center; width: min(17rem, 80vw); aspect-ratio: 9 / 16; background: var(--surface); border: 1px solid var(--line); border-radius: 2rem; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px -30px rgb(22 24 29 / 0.35); }
.bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--spark); transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.clock { font: 500 3.25rem/1 var(--mono); letter-spacing: -0.04em; }
.clock small { display: block; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
.swipe { font: 600 0.95rem/1.3 var(--body); color: var(--muted); }
.swipe b { color: var(--ink); }
.swipe b { transition: color 0.2s ease; }
.phone.decide .swipe b { color: var(--accent); }
.phone.decide .clock .num { color: var(--spark); }

/* sections */
section { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; font-weight: 700; max-width: 40rem; }
.intro { color: var(--muted); max-width: 40rem; margin: 1rem 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); }
.step { font: 500 0.8rem/1 var(--mono); color: var(--accent); display: block; margin-bottom: 1rem; }
.soon { border-style: dashed; display: grid; place-items: center; text-align: center; min-height: 14rem; color: var(--muted); }
.honest { margin-top: 1.75rem; font-size: 0.95rem; color: var(--muted); max-width: 44rem; }

.contact { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.mail { font: 700 clamp(1.4rem, 3.4vw, 2.3rem)/1.1 var(--display); color: var(--ink); text-decoration-color: var(--accent); word-break: break-word; }

/* footer + legal */
footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; }
footer a { color: var(--muted); }
.legal { max-width: 46rem; padding-block: 2rem 4rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { font: 500 0.8rem/1.4 var(--mono); color: var(--muted); }
.pending { background: color-mix(in srgb, var(--spark) 22%, transparent); padding: 0 0.25em; border-radius: 3px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .phone { width: min(14rem, 70vw); }
  .top nav a:not(.lang) { display: none; }
}

/* pricing */
.price .amount { font: 800 2.4rem/1 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 0.75rem 0 1rem; }
.price .amount small { font: 500 1rem var(--body); color: var(--muted); margin-left: 0.2rem; }
.price ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: 0.35rem; }
.price.featured { border: 2px solid var(--accent); }

/* order form */
.order { flex: 1 1 26rem; max-width: 40rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.order label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.order .wide, .order button, .order .formnote { grid-column: 1 / -1; }
.order input, .order select, .order textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.8rem; width: 100%; }
.order input:focus, .order select:focus, .order textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.order button { justify-self: start; border: 0; cursor: pointer; font-size: 1rem; }
.formnote { margin: 0; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 560px) { .order { grid-template-columns: 1fr; } }

/* wizard (crea / create) */
.wizard { max-width: 40rem; padding-block: 1.5rem 4rem; }
.wizard h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 1.5rem 0 2rem; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .progress span { transition: none; } }
.wstep { display: grid; gap: 1rem; }
.wstep h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.wstep label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.wstep input:not([type=radio]), .wstep select, .wstep textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.8rem; width: 100%; }
.wstep input:focus-visible, .wstep select:focus-visible, .wstep textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: grid; gap: 0.3rem; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; cursor: pointer; font-weight: 600; }
.choice small { font-weight: 400; color: var(--muted); }
.choice input:checked + span { border: 2px solid var(--accent); padding: calc(1rem - 1px); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wnav { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.ghost { background: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.9rem 1.35rem; font: 600 1rem var(--body); cursor: pointer; }
.wnav .cta { border: 0; cursor: pointer; font-size: 1rem; }
.draft { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.5rem; }
.draft p { margin: 0 0 0.9rem; }
.draft b { display: block; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.draft .shots { color: var(--muted); font-size: 0.95rem; }
.example { padding: 0; overflow: hidden; }
.example video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--line); }
.example figcaption { padding: 0.8rem 1rem 1rem; font-size: 0.92rem; color: var(--muted); text-align: center; }
figure.card { margin: 0; }

/* faq */
.faq { display: grid; gap: 0.6rem; margin-top: 2rem; max-width: 46rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 600 1.2rem/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }

/* custom example player: play and pause only */
.vplay { position: relative; background: #000; }
.vplay video { display: block; cursor: pointer; }
.vcover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .25s ease; }
.vplay.started .vcover { opacity: 0; }
.vbtn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(22 24 29 / 0.62); backdrop-filter: blur(6px); transition: opacity .2s ease, transform .2s ease; }
.vbtn::before { content: ""; position: absolute; left: 34px; top: 26px; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.vbtn:hover { transform: scale(1.06); }
.vbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.vplay.playing .vbtn::before { left: 28px; top: 26px; width: 9px; height: 32px; border: 0; background: #fff; box-shadow: 18px 0 0 #fff; }
.vplay.playing .vbtn, .vplay.loading .vbtn { opacity: 0; }
.vplay.playing:hover .vbtn, .vplay.playing.show .vbtn, .vplay.playing .vbtn:focus-visible { opacity: 1; }
.vspin { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; border: 4px solid rgb(255 255 255 / 0.3); border-top-color: #fff; opacity: 0; pointer-events: none; }
.vplay.loading .vspin { opacity: 1; animation: vspin 0.8s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vbtn, .vcover { transition: none; } .vplay.loading .vspin { animation-duration: 2s; } }


/* layout pass, 20 Oct 2026: every section spans the full width */
.showcase { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 1.25rem; margin-top: 2.25rem; align-items: stretch; }
.includes { display: flex; flex-direction: column; justify-content: center; padding: 2rem 2.25rem; }
.includes h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.includes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.includes li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); }
.includes .honest { margin-top: 1.5rem; }
.faqgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; align-items: start; }
.faqgrid .faq { margin-top: 0; max-width: none; }
.faqside { position: sticky; top: 2rem; }
.closer { text-align: center; max-width: 40rem; margin: 0 auto; display: grid; gap: 1.1rem; justify-items: center; }
.closer h2 { margin: 0 auto; }
.closer p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.closer .closer-mail a { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .showcase, .faqgrid { grid-template-columns: 1fr; }
  .faqside { position: static; }
  .showcase .example { max-width: 22rem; margin: 0 auto; width: 100%; }
}

.examples2 { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 22rem) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.nextup { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding: 2rem 2.25rem; }
.nextup h3 { font-size: 1.6rem; line-height: 1.1; }
.nextup p { margin: 0; color: var(--muted); }
.nextup .eyebrow { color: var(--accent); font: 500 0.8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .examples2 { grid-template-columns: 1fr; justify-items: center; } .examples2 .example { max-width: 22rem; width: 100%; } }
