  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: 'Jost', sans-serif, system-ui;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    user-select: none;
  }

  .wrap {
    max-width: 460px;
    margin: 0 auto;
    padding: 44px 22px 60px;
  }

  .mark {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }
  .mark svg { width: 64px; height: 64px; }
  .mark path { stroke: var(--olive); }
  :root[data-theme="dark"] .mark path,
  @media (prefers-color-scheme: dark) { .mark path { stroke: var(--olive-deep); } }

  h1 {
    font-family: sans-serif;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    line-height: 1.05;
    margin: 0 0 6px;
    color: #fff;
  }
.autor {
    font-family: sans-serif;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0;
    color: #fff;
    text-align: justify;
    margin: 0 0 14px;
  }
  .sub {
    text-align: center;
    color: #fff;
    font-size: 15px;
    margin: 0 0 38px;
    font-family: sans-serif;
  }

  nav.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 6px;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: #333;
    border: 1px solid #778;
    border-radius: 3px;
    padding: 17px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .btn:hover { border-color: #ff3200; }
  .btn .go {
    color: #ff3200;
    font-family: sans-serif;
    font-style: italic;
    font-size: 15px;
    flex-shrink: 0;
  }
  .btn .plus {
    color: #ff3200;
    font-size: 20px;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    line-height: 1;
  }
  .btn[aria-expanded="true"] .plus { transform: rotate(45deg); }

  .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .panel.open { max-height: 900px; }

  .panel-inner {
    border: 1px solid #778;
    border-top: none;
    border-radius: 0 0 3px 3px;
    margin-top: -10px;
    padding: 22px 20px 24px;
    background: #333;
  }

  /* Certificado */
  .cert {
    border: 1px solid #ff3200;
    padding: 22px 18px;
    position: relative;
  }
  .cert::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid #778;
    pointer-events: none;
  }
  .cert-title {
    font-family: sans-serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #ff3200;
    text-align: center;
    margin: 0 0 14px;
  }
  .cert-work {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 26px;
    text-align: center;
    margin: 0 0 18px;
    color: #fff;
  }
  .cert-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 9px 0;
    border-top: 1px solid #778;
    color: #fff;
  }
  .cert-row:last-of-type { border-bottom: 1px solid #778; }
  .cert-row span:last-child { color: #fff; font-weight: 500; }
  .cert-seal {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
    padding-top: 4px;
  }
  .sig {
    font-family: sans-serif;
    font-style: italic;
    font-size: 16px;
    color: #fff;
    padding-bottom: 4px;
  }
  .firma {
    font-family: sans-serif;
    font-style: normal;
    font-size: 22px;
    color: #fff;
    padding-bottom: 4px;
    border-bottom: 1px solid #fff;
  }
  .sig-label {
    font-size: 10px;
    color: #fff;
    margin-top: 4px;
  }
  .seal {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid #ff3200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-style: italic;
    font-size: 10px;
    color: #ff3200;
    text-align: center;
    line-height: 1.1;
    flex-shrink: 0;
  }

  /* Artista */
  .artist-name {
    font-family: sans-serif;
    font-style: italic;
    font-size: 22px;
    margin: 0 0 12px;
    color: #fff;
  }
  .artist-bio p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #fff;
    margin: 0 0 12px;
  }
  .artist-bio p:last-child { margin-bottom: 0; }
  .artist-bio { height: 100%; }
  footer {
    text-align: center;
    margin-top: 30px;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #fff;
    opacity: 0.7;
  }