/* 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; animation: fill 3s linear infinite; }
@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); }
@media (prefers-reduced-motion: reduce) { .bar i { animation: none; } }

/* 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); }
