:root {
  --ink: #1c1915;
  --paper: #f3efe7;
  --paper-2: #e7e1d6;
  --card: #fffaf4;
  --line: #ddd4c8;
  --muted: #6d6256;
  --rust: #c4501a;
  --rust-dark: #8d341c;
  --shadow: 0 24px 60px rgba(48, 28, 12, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(196, 80, 26, 0.16), transparent 60%),
    var(--paper);
}

a { color: var(--rust-dark); }

img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; margin: 0 0 12px; }
h2 { font-size: 1.7rem; margin: 0 0 8px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }

p { line-height: 1.5; }

button, input, textarea, select { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.top, .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
}

.top-nav, .foot, .actions, .row-actions, .brand-lock, .social-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-nav a, .foot a, .text-btn {
  color: var(--ink);
  text-decoration: none;
}

.top-nav a.btn {
  color: #f6f1e8;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
}
.logo .ribbon { fill: currentColor; }
.logo .knot { fill: #c4501a; }

.fill, .dot { fill: currentColor; stroke: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #f6f1e8;
  text-decoration: none;
  padding: 12px 18px;
  font-weight: 650;
  cursor: pointer;
}

.btn.small { padding: 8px 14px; }
.btn.tiny { padding: 7px 10px; font-size: 0.92rem; }
.btn.secondary, .text-btn {
  background: transparent;
  color: var(--ink);
}
.btn.danger { background: var(--rust-dark); border-color: var(--rust-dark); color: #fffaf4; }
.text-btn { border: 0; padding: 0; cursor: pointer; }

.flashes {
  list-style: none;
  margin: 0 auto;
  padding: 0 28px;
  width: min(880px, 100%);
  display: grid;
  gap: 8px;
}

.panel-main .flashes,
.sheet .flashes {
  width: auto;
  margin: 0 0 16px;
  padding: 0;
}

.flash {
  border-radius: 12px;
  padding: 12px 14px;
  background: #fffaf4;
  color: #241c16;
  border: 1px solid #e4d8c8;
  border-left: 4px solid #c4501a;
  text-align: start;
  font-weight: 600;
}

.flash-ok {
  background: #e7f3ea;
  color: #1a3d28;
  border-color: #b7d7c2;
  border-left-color: #2f7d4f;
}
.flash-error {
  background: #fde8e1;
  color: #6b2a16;
  border-color: #f0b8a4;
  border-left-color: #c4501a;
}
.flash-info {
  background: #fff6e8;
  color: #5c3b12;
  border-color: #ead3a4;
  border-left-color: #c4892a;
}

main { flex: 1; }

.hero, .band, .narrow, .prose, .price-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 28px 0 20px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 8px;
}

.lead { font-size: 1.12rem; color: var(--muted); }
.missing {
  min-height: 58vh;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 8px;
  padding: 36px 16px 72px;
}
.missing-code {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(5.5rem, 18vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--rust);
}
.missing h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.missing .lead { max-width: 36ch; }
.missing-chip {
  margin: 14px 0 18px;
  width: min(320px, 100%);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1.5px dashed #c4b8a8;
  background: #fffaf4;
  color: var(--muted);
  font-weight: 650;
}
.missing .btn { margin-top: 6px; }

.hint, .meta, .who { color: var(--muted); font-size: 0.95rem; }

.phone {
  width: min(320px, 100%);
  height: 640px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 36px;
  background: #1c1915;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone iframe {
  width: calc(100% + 18px);
  height: 100%;
  border: 0;
  border-radius: 28px;
  background: #f3ecdf;
}

.band { padding: 28px 0 10px; }

.steps, .cards, .price-grid, .stats {
  display: grid;
  gap: 16px;
}

.steps { grid-template-columns: repeat(3, 1fr); padding: 0; margin: 12px 0 0; list-style: none; }
.cards, .price-grid { grid-template-columns: repeat(3, 1fr); }
.price-grid { grid-template-columns: 1fr 1fr; padding-bottom: 20px; }
.stats { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }

.steps li, .cards article, .price-card, .card, .stats article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #f6f1e8;
  font-size: 0.85rem;
}

.price-card .amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  margin: 0 0 8px;
}

.price-card ul { padding-left: 18px; }
.price-card li { margin: 8px 0; }
.price-card.is-pro { background: #1c1915; color: #f6f1e8; }
.price-card.is-pro a { color: #f0c2a4; }

.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
}

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.faq summary { cursor: pointer; font-weight: 650; }

.narrow { width: min(560px, calc(100% - 32px)); padding: 12px 0 48px; }
.prose { width: min(680px, calc(100% - 32px)); padding-bottom: 48px; }
.intro { padding-top: 8px; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field input:not(.drop-input):not(.drop-flag):not([type="checkbox"]), .field textarea, .field select,
.capture input:not([type="checkbox"]):not(.hp), .capture textarea, .capture select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: #1c1915;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 450;
}
.capture input::placeholder, .capture textarea::placeholder { color: #8a8175; }
.capture select option { color: #1c1915; background: white; }
.field textarea { resize: vertical; }
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  border: 1.5px solid #c4b8a8;
  border-radius: 7px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.check:hover input:not(:disabled) { border-color: var(--rust); }
.check input:checked {
  border-color: var(--rust);
  background-color: var(--rust);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.2 6.4 11.4 12.8 4.6' fill='none' stroke='%23f6f1e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:disabled {
  cursor: not-allowed;
  background-color: #f3efe7;
  border-color: #ddd4c8;
}
.check input:disabled:checked {
  background-color: #e7b8a4;
  border-color: #e7b8a4;
}
.check:has(input:disabled) { cursor: not-allowed; color: var(--muted); }
.check em {
  margin-left: 4px;
  font-style: normal;
  color: var(--rust);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.grid-2, .grid-3 { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.foot { margin-top: auto; color: var(--muted); }

.panel { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.side {
  background: #1c1915;
  color: #f6f1e8;
  padding: 22px 16px;
}
.side .wordmark { font-size: 1.3rem; }
.side a, .side .text-btn { color: inherit; }
.side nav { display: grid; gap: 4px; }
.side nav a, .side nav .text-btn {
  text-align: left;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 10px;
}
.side nav a.is-on, .side nav a:hover { background: rgba(255, 255, 255, 0.08); }
.panel-main { padding: 28px 32px 64px; max-width: 920px; min-width: 0; }
.page-head, .link-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.page-head { margin-bottom: 16px; }
.page-head h1 { font-size: 2.2rem; }
.pill {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}
.card { margin-bottom: 16px; min-width: 0; }
.card h2 { font-size: 1.3rem; }
.lock {
  background: #fff6e8;
  border-radius: 12px;
  padding: 10px 12px;
}
.empty { color: var(--muted); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li, .link-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.link-list { list-style: none; padding: 0; margin: 0; }
.link-row p { margin: 4px 0; overflow-wrap: anywhere; }
.badge {
  display: inline-block;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  padding: 2px 8px;
  font-size: 0.78rem;
}
.stats article span { display: block; color: var(--muted); }
.stats article strong { font-family: "Fraunces", Georgia, serif; font-size: 2rem; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-top: 8px;
}
.table-scroll { max-width: 100%; overflow-x: auto; }
.bar {
  flex: 1 0 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.bar-fill {
  width: 18px;
  background: var(--rust);
  border-radius: 8px 8px 2px 2px;
}
.bar span { font-size: 11px; color: var(--muted); }
.section-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.section-tabs a, .section-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 8px 12px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.section-tabs .is-on { color: var(--ink); border-bottom-color: var(--rust); }
.section-tabs .view-page {
  margin-left: auto;
  color: var(--rust-dark);
  border-bottom-color: transparent;
}
.section-tabs .view-page:hover { color: var(--rust); }
.form .section-tabs { margin-top: 0; }
.link-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.link-copy { display: flex; gap: 12px; align-items: center; min-width: 0; }
.link-copy p { margin: 4px 0; overflow-wrap: anywhere; }
.link-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
  background: white;
}
.more { position: relative; }
.more summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.more summary::-webkit-details-marker { display: none; }
.more summary:hover, .more[open] summary { background: color-mix(in srgb, currentColor 10%, transparent); }
.more .menu {
  position: absolute;
  right: 0;
  top: 48px;
  z-index: 6;
  min-width: 168px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(28, 25, 21, 0.12);
  display: grid;
  padding: 6px;
}
.more .menu a, .more .menu button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}
.more .menu a:hover, .more .menu button:hover { background: var(--paper-2); }
.more .menu .is-danger { color: #9a3412; }
.username-status { font-weight: 600; min-height: 1.2em; }
.autosave { min-height: 1.2em; margin: 0 0 4px; }
.autosave[hidden] { display: none; }
.autosave.is-error { color: #9a3412; font-weight: 650; }
.username-status.is-free { color: #1f6b3a; }
.username-status.is-taken { color: #9a3412; }
.pct-track {
  height: 8px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  min-width: 72px;
  margin-bottom: 4px;
}
.pct-fill { height: 100%; background: var(--rust); }
.secret-box { background: #fff6e8; }
.filters { display: flex; gap: 12px; align-items: end; }
.filters .field { flex: 1; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qr, .avatar-preview { border-radius: 16px; background: white; }
.avatar-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
code { background: var(--paper-2); padding: 1px 5px; border-radius: 6px; }
.danger-zone { border-color: #e7b2a4; }
.choices { border: 0; margin: 22px 0 0; padding: 0; min-inline-size: 0; }
.choices legend {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  padding: 0;
  margin-bottom: 10px;
}
.choice-grid { display: grid; gap: 10px; }
.choice-grid-themes, .choice-grid-fonts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.choice.is-locked { cursor: not-allowed; }
.pick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 8px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.choice:hover .pick { border-color: #c4b8a8; }
.choice:has(:checked) .pick {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(196, 80, 26, 0.16);
  background: #fffaf6;
}
.choice.is-locked .pick { background: #f6f1ea; }
.choice.is-locked:hover .pick { border-color: var(--line); }
.pick-row { display: flex; align-items: center; gap: 8px; padding: 0 4px 2px; font-weight: 650; }
.choice em { margin-left: auto; font-style: normal; color: var(--rust); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.swatch {
  width: 100%;
  height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg, #ddd);
}
.mini-btn {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 12px;
  font-weight: 650;
}
.mini-relleno { background: #241c16; color: #f6f1e8; }
.mini-contorno { background: transparent; color: #241c16; border: 1.5px solid #241c16; }
.mini-suave { background: rgba(36, 28, 22, 0.08); color: #241c16; }
.mini-pastilla { background: #241c16; color: #f6f1e8; border-radius: 999px; }
.mini-sombra { background: #241c16; color: #f6f1e8; box-shadow: 3px 3px 0 #c4501a; }
.mini-cristal { background: rgba(36, 28, 22, 0.06); color: #241c16; border: 1.5px solid rgba(36, 28, 22, 0.28); }
.mini-linea { background: transparent; color: #241c16; border: 0; border-bottom: 1.5px solid #241c16; border-radius: 0; min-height: 36px; }
.mini-cuadrado { background: #241c16; color: #f6f1e8; border-radius: 0; }
.mini-marco { background: #fff; color: #241c16; border: 1.5px solid #241c16; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #241c16; }
.mini-relieve { background: #241c16; color: #f6f1e8; box-shadow: 0 3px 0 #8d341c; }
.pick-sample {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 2rem;
  line-height: 1;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.theme-claro {
  --bg: #f3ecdf;
  --fg: #241c16;
  --muted: #6d5c4e;
  --accent: #c4501a;
  --button-bg: #241c16;
  --button-fg: #f6f1e8;
  --line: #e4d8c8;
}
.theme-oscuro {
  --bg: #16130f;
  --fg: #f6f0e6;
  --muted: #b5a89a;
  --accent: #e39a62;
  --button-bg: #f6f0e6;
  --button-fg: #16130f;
  --line: #3a332b;
}
.theme-arena {
  --bg: #e7d3b4;
  --fg: #3c2718;
  --muted: #6f5138;
  --accent: #8f3d1e;
  --button-bg: #fff8ee;
  --button-fg: #3c2718;
  --line: #d7c09a;
}
.theme-aurora {
  --bg: #10241f;
  --fg: #f4fff8;
  --muted: #b7d2c6;
  --accent: #7ddec8;
  --button-bg: #f4fff8;
  --button-fg: #10241f;
  --line: rgba(255, 255, 255, 0.24);
}
.theme-noche {
  --bg: #090909;
  --fg: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #ffffff;
  --button-bg: #f5f5f5;
  --button-fg: #111111;
  --line: #2e2e2e;
}
.theme-coral {
  --bg: #3d1420;
  --fg: #ffe8df;
  --muted: #e7b2a4;
  --accent: #ffb4a2;
  --button-bg: #ffb4a2;
  --button-fg: #3d1420;
  --line: rgba(255, 255, 255, 0.2);
}
.theme-mar {
  --bg: #0b3a49;
  --fg: #e7f7fb;
  --muted: #b7d4de;
  --accent: #7fd3ea;
  --button-bg: #e7f7fb;
  --button-fg: #0b3a49;
  --line: rgba(255, 255, 255, 0.22);
}
.theme-menta {
  --bg: #e5f6ee;
  --fg: #14352a;
  --muted: #3f6b58;
  --accent: #1f8a62;
  --button-bg: #14352a;
  --button-fg: #e5f6ee;
  --line: #c5e4d6;
}
.theme-vino {
  --bg: #4a1024;
  --fg: #ffe8ef;
  --muted: #e7b3c2;
  --accent: #e7a0b5;
  --button-bg: #ffe8ef;
  --button-fg: #4a1024;
  --line: rgba(255, 255, 255, 0.2);
}
.theme-sol {
  --bg: #f6e2a8;
  --fg: #3d2a08;
  --muted: #7a5a22;
  --accent: #c4501a;
  --button-bg: #3d2a08;
  --button-fg: #fff6df;
  --line: #e4c888;
}
.theme-tinta {
  --bg: #10182e;
  --fg: #eef2ff;
  --muted: #b7c0dc;
  --accent: #9bb4ff;
  --button-bg: #eef2ff;
  --button-fg: #10182e;
  --line: rgba(255, 255, 255, 0.18);
}
.theme-flor {
  --bg: #fde7ef;
  --fg: #3d2030;
  --muted: #8a5366;
  --accent: #d4537e;
  --button-bg: #3d2030;
  --button-fg: #fff5f8;
  --line: #f0c9d6;
}
.theme-bosque {
  --bg: #10261c;
  --fg: #e7f6ee;
  --muted: #b7d2c4;
  --accent: #b6e2a1;
  --button-bg: #e7f6ee;
  --button-fg: #10261c;
  --line: rgba(255, 255, 255, 0.18);
}
.theme-niebla {
  --bg: #e6e9ee;
  --fg: #1c2430;
  --muted: #5c6778;
  --accent: #3d4d66;
  --button-bg: #1c2430;
  --button-fg: #f4f6f8;
  --line: #cfd5de;
}
.theme-propio {
  --button-bg: var(--accent);
  --muted: color-mix(in srgb, var(--fg) 68%, var(--bg));
  --line: color-mix(in srgb, var(--fg) 22%, var(--bg));
}
.swatch.theme-propio { background: linear-gradient(135deg, #f4efe8, #c4501a 55%, #1f1a17); }
.bio.theme-aurora, .swatch.theme-aurora {
  background-color: #10241f;
  background-image:
    radial-gradient(90% 70% at 8% 0%, rgba(125, 222, 200, 0.55), transparent 58%),
    radial-gradient(80% 70% at 100% 10%, rgba(244, 162, 97, 0.4), transparent 52%),
    radial-gradient(70% 60% at 50% 120%, rgba(88, 120, 255, 0.35), transparent 55%);
}
.bio.theme-mar, .swatch.theme-mar {
  background-color: #0b3a49;
  background-image: radial-gradient(90% 80% at 100% 0%, rgba(127, 211, 234, 0.55), transparent 58%);
}
.bio.theme-vino, .swatch.theme-vino {
  background-color: #4a1024;
  background-image: radial-gradient(80% 70% at 0% 100%, rgba(231, 160, 181, 0.4), transparent 55%);
}
.bio.theme-sol, .swatch.theme-sol {
  background-color: #f6e2a8;
  background-image: radial-gradient(70% 80% at 80% 0%, rgba(255, 244, 214, 0.95), transparent 60%);
}
.bio.theme-tinta, .swatch.theme-tinta {
  background-color: #10182e;
  background-image: radial-gradient(80% 70% at 0% 0%, rgba(155, 180, 255, 0.35), transparent 55%);
}
.bio.theme-bosque, .swatch.theme-bosque {
  background-color: #10261c;
  background-image: radial-gradient(80% 70% at 100% 100%, rgba(182, 226, 161, 0.35), transparent 55%);
}
.bio.theme-flor, .swatch.theme-flor {
  background-color: #fde7ef;
  background-image: radial-gradient(70% 80% at 0% 0%, rgba(255, 255, 255, 0.7), transparent 55%);
}

.bio {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  scrollbar-width: none;
}

.bio::-webkit-scrollbar {
  display: none;
}
.font-sans { font-family: "Outfit", "Avenir Next", sans-serif; }
.font-serif { font-family: "Fraunces", Georgia, serif; }
.font-clasica { font-family: "Playfair Display", Georgia, serif; }
.font-literaria { font-family: "Libre Baskerville", Georgia, serif; }
.font-mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.font-redonda { font-family: "Nunito", "Avenir Next", sans-serif; }
.font-ancha { font-family: "Space Grotesk", "Avenir Next", sans-serif; }
.font-estrecha { font-family: "Barlow Condensed", "Avenir Next Condensed", sans-serif; font-weight: 600; }
.font-gesto { font-family: "Caveat", cursive; }
.font-bloque { font-family: "Archivo Black", "Arial Black", sans-serif; letter-spacing: -0.03em; }

.sheet {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
  text-align: center;
}
.sheet h1 { font-size: 1.8rem; font-family: inherit; }
.avatar, .fallback {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}
.avatar { object-fit: cover; }
.fallback {
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: var(--accent);
  color: var(--button-fg, white);
  font-weight: 700;
  font-size: 1.6rem;
}
.lede {
  white-space: pre-line;
  color: var(--muted);
  margin-top: 0;
}
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.socials a, .socials span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
}
.stack { display: grid; gap: 12px; margin-top: 8px; }
.chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 650;
  border: 1.5px solid transparent;
}
.chip-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.chip.has-image {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
}
.chip.has-image .chip-text { align-items: flex-start; }
.chip-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}
.poster {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 18px;
  text-decoration: none;
}
.poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.poster.is-featured { outline: 2px solid var(--accent); outline-offset: 3px; }
a.poster:hover img { opacity: 0.92; }
.poster-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip-edit.is-poster .more summary {
  background: rgba(28, 25, 21, 0.28);
  color: #f6f1e8;
}
.chip-edit.is-poster .more summary:hover,
.chip-edit.is-poster .more[open] summary { background: rgba(28, 25, 21, 0.42); }
.forma-grid { grid-template-columns: 1fr 1fr; }
.forma-photo {
  display: block;
  min-height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(135deg, #e7b8a4, #c4501a 55%, #1c1915);
}
.form.is-imagen .drop-face { min-height: 200px; }
.btn-relleno .chip { background: var(--button-bg); color: var(--button-fg); }
.btn-contorno .chip { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-suave .chip { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); }
.btn-pastilla .chip { background: var(--button-bg); color: var(--button-fg); border-radius: 999px; }
.btn-sombra .chip { background: var(--button-bg); color: var(--button-fg); box-shadow: 4px 4px 0 var(--accent); }
.btn-cristal .chip {
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  color: var(--fg);
  border-color: color-mix(in srgb, var(--fg) 28%, transparent);
  backdrop-filter: blur(8px);
}
.btn-linea .chip {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
  border-bottom-color: var(--fg);
  border-radius: 0;
  min-height: 44px;
}
.btn-cuadrado .chip { background: var(--button-bg); color: var(--button-fg); border-radius: 0; }
.btn-marco .chip {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px var(--fg);
}
.btn-relieve .chip {
  background: var(--button-bg);
  color: var(--button-fg);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--button-bg) 62%, black);
}
.chip.is-featured { outline: 2px solid var(--accent); }
.star {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-relleno .chip.is-featured .star,
.btn-pastilla .chip.is-featured .star,
.btn-sombra .chip.is-featured .star,
.btn-cuadrado .chip.is-featured .star,
.btn-relieve .chip.is-featured .star { color: var(--button-fg); }
.capture {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.capture-title { margin: 0; font-weight: 650; }
.capture .field span, .capture .check span { font-weight: 600; }
.capture textarea { min-height: 96px; resize: vertical; }
.capture-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.capture-consent a { color: var(--accent); font-weight: 650; }
.builder { display: grid; gap: 10px; }
.builder [hidden] { display: none; }
.builder-head span { font-weight: 700; }
.builder-head .hint { margin: 4px 0 0; }
.builder-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.builder-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.builder-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.builder-move { display: flex; gap: 6px; }
.builder-move button, .builder-add {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 650;
  cursor: pointer;
}
.builder-add { justify-self: start; }
.builder-move button:disabled, .builder-add:disabled { cursor: not-allowed; opacity: 0.55; }
.fixed-field {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.fixed-field p { margin: 0; color: var(--muted); font-weight: 500; }
.replies { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.replies li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.replies time { color: var(--muted); font-size: 0.88rem; }
.replies dl { display: grid; gap: 8px; margin: 10px 0 0; }
.replies div { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 8px; }
.replies dt { color: var(--muted); font-weight: 650; }
.replies dd { margin: 0; white-space: pre-line; }
.capture button, .capture .capture-title { font-weight: 650; }
.capture button {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: var(--button-bg);
  color: var(--button-fg);
  cursor: pointer;
}
.capture button:disabled { cursor: default; opacity: 0.72; }
.brand { margin-top: 28px; }
.brand a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}
.brand .heart {
  width: 16px;
  height: 16px;
  flex: none;
  fill: #e11d2e;
}
.stage.bio {
  min-height: 0;
  border-radius: 28px;
  padding: 12px 0 28px;
}
.chip-edit {
  position: relative;
  cursor: grab;
  touch-action: none;
}
.chip-edit.is-lifted {
  position: fixed;
  z-index: 40;
  margin: 0;
  pointer-events: none;
  cursor: grabbing;
  background: var(--bg);
  border-radius: 16px;
  transform: scale(1.03);
  filter: drop-shadow(0 18px 28px rgba(28, 25, 21, 0.24));
}
body.is-reordering { user-select: none; cursor: grabbing; }
.stack .drop-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1.5px dashed color-mix(in srgb, var(--fg) 52%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--fg) 7%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}
.chip-edit .chip { position: relative; width: 100%; padding-left: 40px; padding-right: 40px; }
.chip-edit .grip {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: inherit;
  pointer-events: none;
}
.chip-edit .grip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.chip-edit.is-off > .chip,
.chip-edit.is-off.is-poster > .poster img,
.chip-edit.is-off.is-poster > .poster-note { opacity: 0.5; }
.chip-edit .more {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  z-index: 2;
}
.chip-edit .more summary {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}
.chip-edit .more summary:hover,
.chip-edit .more[open] summary {
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.chip-edit .more .menu, .chip-edit .more .menu button, .chip-edit .more .menu a { color: #1c1915; }
.chip-edit .more .menu .is-danger { color: #9a3412; }
.chip-edit:has(.more[open]) { position: relative; z-index: 4; }
.bio .chip.chip-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  min-height: 56px;
  border: 1.5px dashed color-mix(in srgb, var(--fg) 42%, transparent);
  border-radius: 16px;
  background: transparent;
  color: var(--fg);
  box-shadow: none;
  backdrop-filter: none;
  font-size: 1.8rem;
  line-height: 1;
  text-decoration: none;
}
.bio .chip.chip-add:hover {
  background: color-mix(in srgb, var(--fg) 7%, transparent);
}
.modal {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 18px;
  padding: 22px 26px 20px;
  background: #f6f1e8;
  color: #1c1915;
}
.modal .form { min-width: 0; gap: 14px; }
.modal .form.is-imagen [data-title-field] { display: none; }
.modal p { margin: 0; }
.modal .choices { margin: 0; }
.modal .choices legend {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.modal .choices,
.modal .field,
.modal .grid-2 { min-width: 0; }
.modal .field { gap: 6px; }
.modal .field input:not(.drop-input):not(.drop-flag):not([type="checkbox"]) {
  padding: 11px 14px;
}
.modal .forma-grid .pick {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
}
.modal .forma-grid .mini-btn,
.modal .forma-grid .forma-photo {
  width: 88px;
  min-height: 32px;
  flex: none;
}
.modal .forma-grid .pick-row { padding: 0; }
.modal .hint, .modal .lock { font-size: 0.86rem; }
.modal .lock { padding: 8px 10px; }
.modal-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  align-items: start;
}
.modal-fields { display: grid; gap: 14px; }
.modal .actions { justify-content: flex-end; width: 100%; }
.modal input[type="datetime-local"] { min-width: 0; }
.modal .drop { width: 100%; gap: 6px; }
.modal .drop-face,
.modal .form.is-imagen .drop-face {
  min-height: 0;
  height: 148px;
}
.modal .drop-empty { padding: 8px 10px; gap: 2px; }
.modal .drop-empty svg { width: 26px; height: 26px; margin-bottom: 0; }
.modal .drop-empty strong { font-size: 0.88rem; }
.modal .drop-empty span { font-size: 0.75rem; }
.modal .drop-preview { height: 148px; }
@media (max-width: 520px) {
  .modal-split { grid-template-columns: 1fr; }
  .modal .drop-face,
  .modal .form.is-imagen .drop-face,
  .modal .drop-preview { height: 72px; }
  .modal .grid-2 { grid-template-columns: 1fr; }
}
.modal::backdrop { background: rgba(28, 25, 21, 0.48); }
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.modal-head h2 { margin: 0; font-size: 1.4rem; }
.drop {
  position: relative;
  display: grid;
  gap: 10px;
}
.drop-hit { cursor: pointer; }
.drop-input, .drop-flag {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.drop-face {
  min-height: 168px;
  border: 1.5px dashed #c4b8a8;
  border-radius: 18px;
  background:
    radial-gradient(120px 80px at 50% 42%, rgba(196, 80, 26, 0.08), transparent 70%),
    #fffaf4;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drop:hover .drop-face, .drop:focus-within .drop-face, .drop.is-over .drop-face {
  border-color: var(--rust);
  background:
    radial-gradient(140px 90px at 50% 42%, rgba(196, 80, 26, 0.16), transparent 70%),
    #fff6ee;
}
.drop-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 16px;
  color: var(--muted);
  font-weight: 500;
}
.drop-empty svg {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  fill: none;
  stroke: var(--rust);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drop-empty circle { fill: var(--rust); stroke: none; }
.drop-empty strong { color: var(--ink); font-size: 1rem; }
.drop-empty span { font-size: 0.86rem; max-width: 28ch; }
.drop-preview {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.drop-preview[hidden], .drop-empty[hidden] { display: none; }
.drop.is-round {
  justify-items: start;
  width: max-content;
  max-width: 100%;
}
.drop.is-round .drop-hit,
.drop.is-round .drop-face {
  width: 96px;
  height: 96px;
}
.drop.is-round .drop-face {
  min-height: 0;
  border-radius: 50%;
}
.drop.is-round .drop-empty {
  padding: 8px;
  gap: 0;
}
.drop.is-round .drop-empty svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}
.drop.is-round .drop-empty strong {
  font-size: 0.78rem;
  line-height: 1.1;
}
.drop.is-round .drop-preview {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
}
.drop.is-round .drop-note { margin: 0; max-width: 36ch; }
.drop.is-cleared .drop-face { opacity: 0.55; }
.drop-clear {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--rust-dark);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
}
.modal-head .modal-x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 1.5px solid #d9d0c4;
  border-radius: 999px;
  background: #fffaf4;
  color: #1c1915;
  text-decoration: none;
  cursor: pointer;
}
.modal-head .modal-x:hover {
  border-color: #1c1915;
  background: #1c1915;
  color: #f6f1e8;
}
.modal-head .modal-x svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.more .menu .meta { margin: 0; padding: 8px 12px 2px; }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero, .steps, .cards, .price-grid, .stats, .grid-3 { grid-template-columns: 1fr; }
  .split, .page-head, .link-row { display: grid; }
  .link-item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .top, .foot { padding-inline: 16px; }
  .panel { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 4; padding: 12px; }
  .side nav { display: flex; gap: 6px; overflow-x: auto; }
  .side nav a, .side nav .text-btn { white-space: nowrap; }
  .panel-main { padding: 18px 16px 48px; }
  .grid-2, .choice-grid-themes, .choice-grid-fonts, .choice-grid-buttons { grid-template-columns: 1fr 1fr; }
  .replies div, .builder-pair { grid-template-columns: 1fr; }
}
