:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  color: #f8f5ff;
  background: #100d17;
  --muted: #c4bacf;
  --lilac: #d9bcff;
  --line: #362e46;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #ebd7ff; outline-offset: 5px; }
.top, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1.25rem, 6vw, 6rem);
}
.top { position: absolute; inset: 0 0 auto; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 720; white-space: nowrap; }
.mark { color: var(--lilac); font-size: 1.6rem; line-height: 1; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1rem, 3vw, 2.5rem); justify-content: flex-end; }
nav a, footer a { font-size: .94rem; }
nav a:hover, footer a:hover { color: var(--lilac); text-decoration: underline; }
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, #080610 0%, #08061091 34%, transparent 76%),
    linear-gradient(0deg, #100d17 0%, transparent 16%, transparent 85%, #080610b0 100%),
    #080610 url("portada.webp") center / cover no-repeat;
  padding: 7rem clamp(1.25rem, 8vw, 8rem) 5rem;
}
.hero h1 { font-size: clamp(5rem, 14vw, 14rem); font-weight: 730; letter-spacing: -.092em; line-height: .79; margin: 0; }
.hero em { color: var(--lilac); font-style: normal; }
.hero p { font-size: clamp(1.15rem, 2vw, 1.55rem); color: #e3d9ee; margin: 2rem 0 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  cursor: pointer;
  font-weight: 670;
}
.primary { background: var(--lilac); color: #150c21; }
.primary:hover { background: #ebd7ff; }
.return-home { margin-top: .75rem; border-color: #554168; color: var(--lilac); font-size: .94rem; }
.return-home:hover { background: #2e2140; }
.example-content > .return-home { margin-top: 1.5rem; }
.content { width: min(100%, 86rem); margin: auto; }
.prompt-section, .example-section { padding: clamp(4rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.prompt-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.section-intro > h2 + p { color: var(--muted); max-width: 30ch; font-size: 1.1rem; line-height: 1.7; }
.eyebrow { color: var(--lilac); margin: 0 0 1.25rem; font-weight: 650; }
h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: .94; letter-spacing: -.072em; margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--lilac); }
.console { border: 1px solid var(--line); border-radius: 1rem; background: #171221; overflow: hidden; min-width: 0; }
.console-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .65rem 1rem; border-bottom: 1px solid var(--line); }
.console-bar > span { color: var(--muted); font-size: .9rem; }
.copy { background: #2e2140; color: #f4e8ff; border-color: #554168; font-size: .9rem; }
.copy:not(:disabled):hover { background: #48325f; }
.copy:disabled { opacity: .6; cursor: default; }
#titulo-transcripcion { font-size: clamp(2.5rem, 4.7vw, 5.5rem); overflow-wrap: anywhere; }
.transcript-pending { margin: 0; padding: 1.25rem; color: var(--muted); }
.copy-icon { width: .78rem; height: .8rem; border: 1px solid currentColor; border-radius: .13rem; position: relative; margin-left: .14rem; }
.copy-icon::before { content: ""; position: absolute; inset: -.22rem .16rem .14rem -.22rem; border-top: 1px solid; border-left: 1px solid; border-radius: .13rem 0 0 0; }
pre { margin: 0; padding: 1.25rem; max-height: min(64svh, 38rem); overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.68; }
pre:focus-visible { outline-offset: -4px; }
pre code { color: #eee5fa; }
.status { margin: 0; color: var(--lilac); }
.status:not(:empty) { padding: .6rem 1rem; border-top: 1px solid var(--line); }
.example-section { background: radial-gradient(ellipse at 12% 85%, #2f1949, transparent 65%), #171121; border-block: 1px solid var(--line); }
.example-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); margin-top: 3rem; }
h3 { margin-top: 0; font-size: 1rem; color: var(--lilac); }
.example-quote { margin: 0; font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.3; max-width: 22ch; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: minmax(8rem, .65fr) minmax(0, 1.35fr); gap: .7rem; border-top: 1px solid var(--line); padding: .75rem 0; }
dt { font-weight: 650; }
dd { color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 730px) {
  .prompt-layout, .example-layout { grid-template-columns: 1fr; }
  .hero { background-position: center, center, 59% center; }
  .top { align-items: flex-start; }
  nav { gap: .45rem .95rem; }
}
@media (max-width: 390px) {
  .top { flex-direction: column; }
  dl div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
