
  :root {
    --paper: #E9D9CB;
    --paper-2: #faf6f0;
    --ink: #1a1212;
    --ink-2: #2a1f1f;
    --muted: #6b5a5a;
    --crimson: #5c0a0a;
    --crimson-2: #7B0000;
    --gold: #D4AF37;
    --gold-soft: #C9A227;
    --champagne: #F7E7CE;
    --line: #e8d9c8;
    --pad: clamp(20px, 6vw, 64px);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 118px; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: "Karla", "Helvetica Neue", Arial, sans-serif; font-weight: 300;
    font-size: 18.5px; line-height: 1.7; -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  a { color: var(--crimson); text-decoration: none; }
  a:hover { color: var(--crimson-2); }
  img, svg { max-width: 100%; }

  .wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
  section { padding: clamp(56px, 10vw, 112px) 0; border-top: 1px solid var(--line); }
  section:first-of-type { border-top: 0; }
  #inicio {
    background: linear-gradient(180deg, rgba(92, 10, 10, .05) 0%, var(--paper) 72%);
  }
  footer {
    background: linear-gradient(0deg, rgba(74, 4, 4, .06) 0%, transparent 100%);
  }

  .eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 18px; font-weight: 400; }
  h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
    color: var(--crimson); margin: 0; letter-spacing: -.01em; }
  h1 { font-size: clamp(52px, 12vw, 88px); line-height: 1.02; }
  h2 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; }
  h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; color: var(--ink); }
  p { margin: 0 0 18px; color: var(--ink-2); text-wrap: pretty; }
  p:last-child { margin-bottom: 0; }
  .lead { font-family: "Instrument Serif", Georgia, serif; font-style: italic;
    font-size: clamp(22px, 3vw, 30px); line-height: 1.35; color: var(--ink); }
  .measure { max-width: 62ch; }

  /* header */
  header { position: sticky; top: 0; z-index: 10; background: rgba(233, 217, 203, .92);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
  .mark { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; color: var(--crimson);
    letter-spacing: .02em; margin-right: auto; white-space: nowrap; }
  .bar nav { display: none; gap: clamp(16px, 2.4vw, 30px); }
  .bar nav a { font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-2); padding: 12px 0; }
  .bar nav a:hover { color: var(--crimson); }
  @media (min-width: 860px) { .bar nav { display: flex; } }

  .tiktok-live {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin: 0; padding: 10px var(--pad);
    background: #000; color: #fff; border-top: 1px solid rgba(255,255,255,.08);
    text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .03em; line-height: 1.4;
    text-align: left;
  }
  .tiktok-live:hover { color: #fff; background: #111; }
  .tiktok-live img {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: block;
  }
  .tiktok-live .tiktok-copy { min-width: 0; flex: 1; white-space: normal; text-wrap: pretty; }
  .tiktok-live .tiktok-kicker { font-weight: 700; }
  .tiktok-live .tiktok-rest { font-weight: 400; }
  @media (min-width: 720px) {
    .tiktok-live { gap: 14px; padding: 12px var(--pad); font-size: 15px; letter-spacing: .04em; text-align: center; }
    .tiktok-live img { width: 40px; height: 40px; border-radius: 10px; }
    .tiktok-live .tiktok-copy { white-space: nowrap; flex: 0 1 auto; }
  }
  .socials { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
  .socials .ig img { width: 20px; height: 20px; border-radius: 5px; display: block; }
  .btn .wa-icon { width: 28px; height: 28px; border-radius: 7px; display: block; flex-shrink: 0; }

  /* idioma */

  .lang { display: flex; align-items: center; gap: 2px; }
  .lang a { font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    background: transparent; border: 0; color: var(--muted); cursor: pointer;
    padding: 10px 8px; min-height: 44px; }
  .lang a:hover { color: var(--crimson); }
  .lang a[aria-current="page"] { color: var(--crimson); border-bottom: 1px solid var(--crimson); }
  .lang span { color: var(--line); }

  /* buttons — DeepJob kumo style, gold brand */
  .btn {
    --kumo-button-brand: #D4AF37;
    --kumo-button-text: #1a1212;
    --kumo-button-text-shadow: 0 1px 0 #ffffff66;
    --kumo-button-emphasis-ring: color-mix(in oklch, var(--kumo-button-brand), black 10%);
    --kumo-button-emphasis-bg: color-mix(in oklch, var(--kumo-button-brand), white 30%);
    --kumo-button-emphasis-gradient-start: color-mix(in oklch, var(--kumo-button-brand), white 15%);
    --kumo-button-emphasis-gradient-end: var(--kumo-button-brand);
    display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 56px; padding: 14px 24px; border-radius: 6px;
    background-color: var(--kumo-button-brand);
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-gradient-start), var(--kumo-button-emphasis-gradient-end));
    border: 1px solid var(--kumo-button-emphasis-ring);
    color: var(--kumo-button-text);
    font-family: inherit; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
    font-weight: 600; cursor: pointer; white-space: nowrap;
    box-shadow: inset 0 1px 0 var(--kumo-button-emphasis-bg), 0 1px 2px #0000000d;
    text-shadow: var(--kumo-button-text-shadow);
    transition: background-image .15s ease, border-color .15s ease, transform .08s ease, color .15s ease;
  }
  .btn:hover {
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-bg), var(--kumo-button-emphasis-gradient-end));
    border-color: var(--kumo-button-emphasis-ring);
    color: var(--kumo-button-text);
    filter: none;
  }
  .btn:active { transform: translateY(1px); }
  .btn.wine {
    --kumo-button-brand: #5C0A0A;
    --kumo-button-text: #E9D9CB;
    --kumo-button-text-shadow: 0 1px 1px #0006;
  }
  .btn.ghost {
    background-color: transparent; background-image: none;
    color: var(--kumo-button-brand); border-color: color-mix(in oklch, var(--kumo-button-brand), black 15%);
    box-shadow: none; text-shadow: none;
  }
  .btn.ghost:hover {
    background-color: var(--kumo-button-brand);
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-gradient-start), var(--kumo-button-emphasis-gradient-end));
    color: var(--kumo-button-text);
    border-color: var(--kumo-button-emphasis-ring);
    box-shadow: inset 0 1px 0 var(--kumo-button-emphasis-bg), 0 1px 2px #0000000d;
    text-shadow: var(--kumo-button-text-shadow);
  }
  .btn.sm { min-height: 48px; padding: 12px 20px; }
  .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .btns .btn { flex-grow: 1; }
  @media (min-width: 560px) { .btns .btn { flex-grow: 0; } }

  /* hero */
  .hero { display: grid; gap: clamp(24px, 4vw, 40px); align-items: center;
    padding-top: clamp(8px, 1.5vw, 20px); }
  @media (min-width: 900px) { .hero { grid-template-columns: .9fr 1.4fr; } }
  .hero-art { display: flex; justify-content: center; width: 100%; }
  .hero-photo { display: block; width: 100%; max-width: none; height: auto; border-radius: 4px; background: none; }
  .rule { height: 1px; background: var(--line); margin: 28px 0; }

  /* cards */
  .grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
  @media (min-width: 700px) { .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 720px) and (max-width: 999px) {
    .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 1000px) {
    .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 30px);
    display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
  .card .price { font-family: "Instrument Serif", Georgia, serif; font-size: 42px;
    line-height: 1; color: var(--crimson); }
  .card .price-note { margin: -8px 0 0; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .card .price-alt { margin: 0; font-size: 17px; color: var(--ink-2); }
  .card .price-alt strong { font-weight: 500; color: var(--ink); }
  .card ul { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .card li { display: flex; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
  .card li svg { flex-shrink: 0; margin-top: 7px; }
  .card .btn { margin-top: 0; }

  .portrait { display: block; width: clamp(72px, 7vw, 88px); height: clamp(72px, 7vw, 88px);
    object-fit: cover; object-position: center; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; margin: 0 0 clamp(20px, 3vw, 28px); }

  /* steps */
  .steps { display: grid; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px;
    padding: 26px 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .step-n { font-family: "Instrument Serif", Georgia, serif; font-size: 32px;
    line-height: 1; color: var(--gold); }

  /* pagos */
  .note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--muted); }
  .note svg { flex-shrink: 0; margin-top: 4px; }

  /* modal */
  dialog { border: 1px solid var(--line); background: var(--paper); color: var(--ink);
    padding: 0; width: min(760px, calc(100vw - 32px)); max-height: 90vh; }
  dialog::backdrop { background: rgba(26, 18, 18, .55); }
  .modal { padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 20px; }
  .modal-cols { display: grid; gap: clamp(20px, 3vw, 32px); align-items: start; }
  @media (min-width: 640px) { .modal-cols { grid-template-columns: 1fr 280px; } }
  .modal-info { display: flex; flex-direction: column; gap: 18px; }
  .modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
  .modal .close { font: inherit; font-size: 24px; line-height: 1; background: transparent;
    border: 0; color: var(--muted); cursor: pointer; padding: 6px 8px; min-height: 44px; }
  .modal .close:hover { color: var(--crimson); }
  .modal img { width: 100%; border: 1px solid var(--line); background: #fff; }
  .uuid { display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
  .uuid code { font-family: "Karla", monospace; font-size: 20px; letter-spacing: .04em;
    color: var(--ink); word-break: break-all; flex-grow: 1; }
  .copy { font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    background: transparent; color: var(--crimson); border: 1px solid var(--line);
    padding: 10px 14px; min-height: 44px; cursor: pointer; }
  .copy:hover { border-color: var(--crimson); }

  .fields { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 16px; }
  .field-head { font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 10px; }
  .field { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline;
    padding: 9px 0; border-bottom: 1px solid var(--line); }
  .field:last-child { border-bottom: 0; }
  .field-label { flex-basis: 148px; flex-shrink: 0; font-size: 15px; color: var(--muted); }
  .field-value { flex-grow: 1; font-size: 18px; color: var(--ink); word-break: break-all; }
  .field .copy { align-self: center; }

  /* footer */
  footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 48px; }
  .foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
  .foot small { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  @media (max-width: 699px) {
    .foot small { font-size: 16px; letter-spacing: .14em; line-height: 1.45; }
  }
  .ig { display: inline-flex; align-items: center; gap: 10px;
    font-family: "Instrument Serif", Georgia, serif; font-size: 24px; }

  /* authority extras */
  .auth-facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .auth-facts li { display: flex; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
  .auth-facts li svg { flex-shrink: 0; margin-top: 7px; }
  .about-profile { display: flex; flex-direction: column; align-items: flex-start; }
  .about-profile .portrait { margin-bottom: clamp(16px, 2.5vw, 24px); }
  .about-copy { max-width: 62ch; }
  @media (min-width: 900px) {
    .about-copy { font-size: 20.5px; line-height: 1.75; }
    .about-layout { align-items: start; gap: clamp(28px, 4vw, 48px); }
  }
  #pagos .card .btn { margin-top: auto; align-self: stretch; }
  @media (min-width: 700px) {
    #pagos .card .btn { align-self: flex-start; }
  }

  /* books — Amazon chips share DeepJob kumo gold */
  .store-picker,
  .book-stores {
    --kumo-button-brand: #9a8f86;
    --kumo-button-text: #1a1212;
    --kumo-button-text-shadow: 0 1px 0 #ffffff66;
    --kumo-button-emphasis-ring: color-mix(in oklch, var(--kumo-button-brand), black 10%);
    --kumo-button-emphasis-bg: color-mix(in oklch, var(--kumo-button-brand), white 30%);
    --kumo-button-emphasis-gradient-start: color-mix(in oklch, var(--kumo-button-brand), white 15%);
    --kumo-button-emphasis-gradient-end: var(--kumo-button-brand);
  }
  .store-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
  .store-picker button,
  .book-stores a {
    font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
    white-space: nowrap; flex-shrink: 0; border-radius: 6px; cursor: pointer;
    padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center;
    background-color: transparent; background-image: none;
    color: var(--kumo-button-brand);
    border: 1px solid color-mix(in oklch, var(--kumo-button-brand), black 15%);
    box-shadow: none; text-shadow: none;
    transition: background-image .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, box-shadow .15s ease;
  }
  .book-stores a { font-size: 12px; letter-spacing: .1em; padding: 10px 14px; min-height: 40px; text-decoration: none; }
  .store-picker button:hover,
  .book-stores a:hover {
    background-color: var(--kumo-button-brand);
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-gradient-start), var(--kumo-button-emphasis-gradient-end));
    border-color: var(--kumo-button-emphasis-ring);
    color: var(--kumo-button-text);
    box-shadow: inset 0 1px 0 var(--kumo-button-emphasis-bg), 0 1px 2px #0000000d;
    text-shadow: var(--kumo-button-text-shadow);
    filter: none;
  }
  .store-picker button:active,
  .book-stores a:active { transform: translateY(1px); }
  .store-picker button[aria-pressed="true"],
  .book-stores a.is-active {
    background-color: var(--kumo-button-brand);
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-gradient-start), var(--kumo-button-emphasis-gradient-end));
    border-color: var(--kumo-button-emphasis-ring);
    color: var(--kumo-button-text);
    box-shadow: inset 0 1px 0 var(--kumo-button-emphasis-bg), 0 1px 2px #0000000d;
    text-shadow: var(--kumo-button-text-shadow);
  }
  .store-picker button[aria-pressed="true"]:hover,
  .book-stores a.is-active:hover {
    background-image: linear-gradient(to bottom, var(--kumo-button-emphasis-bg), var(--kumo-button-emphasis-gradient-end));
    border-color: var(--kumo-button-emphasis-ring);
    color: var(--kumo-button-text);
  }
  .book-year { font-size: 17px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
  .book-cover { border-radius: 12px;  display: block; width: 100%; height: clamp(280px, 32vw, 380px); object-fit: contain; object-position: bottom center; border: 0; background: transparent; box-shadow: none; padding: 0; }
  .book-isbn { font-size: 14px; color: var(--muted); margin: auto 0 0; }
  .book-stores { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* —— mobile / responsive polish —— */
  @media (max-width: 859px) {
    html { scroll-padding-top: 140px; }
    .bar { gap: 8px; min-height: 60px; }
    .mark { font-size: clamp(18px, 5.2vw, 22px); }
    .btn.sm { min-height: 44px; padding: 10px 14px; font-size: 12px; letter-spacing: .1em; }
    .lang a { padding: 8px 6px; min-height: 40px; font-size: 12px; }
  }
  @media (max-width: 699px) {
    html { scroll-padding-top: 150px; }
    body { font-size: 17px; }
    h1 { font-size: clamp(56px, 14vw, 72px); }
    .hero { padding-top: clamp(6px, 2vw, 16px); gap: 22px; }
    .rule { margin: 20px 0; }
    .card { padding: 20px; gap: 14px; }
    .card .price { font-size: 36px; }
    .card .btn,
    .btns .btn,
    #pagos .btn,
    #servicios .btn { width: 100%; }
    .btn {
      white-space: normal; justify-content: center; gap: 10px;
      min-height: 52px; padding: 12px 16px; letter-spacing: .12em; font-size: 13px;
      text-align: center;
    }
    .btn .wa-icon { width: 24px; height: 24px; border-radius: 6px; }
    .store-picker { gap: 8px; margin: 20px 0 28px; }
    .store-picker button {
      flex: 1 1 calc(50% - 8px); justify-content: center; min-height: 44px;
      padding: 10px 12px; font-size: 12px; letter-spacing: .08em;
    }
    .book-stores { gap: 6px; padding-bottom: 2px; }
    .book-cover { height: clamp(220px, 58vw, 320px); }
    .steps .step { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; }
    .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
    .ig { font-size: 20px; }
    .socials { gap: 14px; }
    .modal { padding: 20px; }
    .uuid code { font-size: 16px; }
    .field-label { flex-basis: 100%; }
    dialog { width: min(760px, calc(100vw - 20px)); }
  }
  @media (max-width: 399px) {
    :root { --pad: 16px; }
    .store-picker button { flex-basis: 100%; }
    .tiktok-live { align-items: flex-start; }
    .tiktok-live img { width: 28px; height: 28px; margin-top: 2px; }
  }

  .store-hint { font-size: 15px; color: var(--muted); margin: 0 0 8px; }

  a.mark:hover { color: var(--crimson); }
  .card-more { font-size: 15px; letter-spacing: .02em; align-self: flex-start; }
  .foot-pages { display: flex; flex-wrap: wrap; gap: 8px 16px; width: 100%; padding: 8px 0 20px; }
  .foot-pages a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
  .page-hero h1 { font-size: clamp(40px, 6.5vw, 64px); max-width: 18ch; }
  .page-hero { padding-bottom: clamp(36px, 6vw, 72px); }
  .related { display: flex; flex-wrap: wrap; gap: 10px 18px; }
  .related a { font-size: 16px; }
  @media (min-width: 860px) {
    .bar { flex-wrap: wrap; }
    .bar nav { flex-wrap: wrap; justify-content: flex-end; }
  }
