:root {
  --font-main: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-text: #111111;
  --color-muted: #272727;
  --color-paper: #ffffff;
  --color-icon-blue: #006aff;
  --hi-blue: #006aff;
  --content-width: 720px;
  --button-radius: 999px;
  --verified-badge-size-desktop: 20px;
  --verified-badge-size-mobile: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-paper);
}

html,
body {
  font-family: var(--font-main);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  background: var(--color-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select,
a,
h1,
h2,
h3,
p,
span,
small,
strong {
  font-family: var(--font-main);
}

button,
input,
textarea,
select {
  font-size: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 10vh, 92px) 20px 24px;
}

.bio-card {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.profile-image {
  width: clamp(112px, 18vw, 136px);
  height: clamp(112px, 18vw, 136px);
  margin: 0 auto 26px;
  object-fit: contain;
}

.profile-name,
.site-title,
.bio-title,
.bio-description,
.profile-description,
.description,
.social-links,
.main-buttons,
.bio-button,
.site-footer,
.footer,
footer {
  font-family: var(--font-main);
}

.profile-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--color-text);
  font-size: clamp(1.45rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.profile-name-text {
  display: inline-block;
  line-height: 1;
}

.verified-badge {
  width: var(--verified-badge-size-desktop, 20px);
  height: var(--verified-badge-size-desktop, 20px);
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 6px;
  transform: translateY(-1px);
}

.profile-description {
  max-width: 620px;
  margin: 32px auto 0;
  color: var(--color-muted);
  font-size: clamp(1.12rem, 3vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 4vw, 28px);
  width: 100%;
  max-width: 420px;
  margin: 32px auto 36px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.social-links a:focus-visible,
.bio-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hi-blue) 35%, transparent);
  outline-offset: 5px;
}

.social-icon {
  width: clamp(24px, 7vw, 38px);
  height: clamp(24px, 7vw, 38px);
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover .social-icon {
  transform: translateY(-2px);
  opacity: 0.85;
}

.main-buttons {
  width: min(100%, var(--content-width));
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
}

.bio-button {
  min-height: 76px;
  width: 100%;
  border: 3px solid var(--button-border, var(--color-text));
  border-radius: var(--button-radius);
  color: var(--button-text, var(--color-text));
  background: var(--button-bg, var(--color-paper));
  text-decoration: none;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 7px 7px 0 var(--button-border, var(--color-text));
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  padding: 0 28px;
  cursor: pointer;
}

.bio-button:hover,
.bio-button:focus-visible {
  background: var(--button-hover-bg, var(--button-text, var(--color-text)));
  color: var(--button-hover-text, var(--button-bg, var(--color-paper)));
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--button-border, var(--color-text));
}

.button-icon {
  position: absolute;
  left: 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.button-icon.is-instagram,
.button-icon.is-newsletter,
.button-icon.is-about {
  object-fit: contain;
}

.button-label {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.bio-button:hover .button-icon,
.bio-button:focus-visible .button-icon {
  filter: invert(1);
}

.about-panel,
.newsletter-panel {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transform: translateY(-6px);
  scroll-margin-top: 24px;
  transition:
    max-height 0.38s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    margin 0.25s ease;
}

.about-panel.is-open,
.newsletter-panel.is-open {
  opacity: 1;
  max-height: 1200px;
  transform: translateY(0);
}

.about-panel {
  margin: 18px auto 0;
}

.about-panel.is-open {
  max-height: 1400px;
  margin-top: 18px;
  overflow: visible;
}

.about-panel-inner {
  border: 3px solid #111;
  border-radius: 28px;
  background: #fff;
  color: #111;
  box-shadow: 6px 6px 0 #111;
  padding: 28px;
  text-align: left;
  overflow: visible;
}

.about-panel-inner h2 {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.about-panel-inner p {
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 14px;
}

.about-panel-inner p:last-child {
  margin-bottom: 0;
}

.about-panel-inner a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 28px;
  align-items: start;
}

.about-text {
  min-width: 0;
}

.about-author {
  margin: 0;
  padding: 0;
  width: 118px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-author-photo {
  width: 112px;
  height: 112px;
  max-width: 112px;
  min-width: 112px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 3px solid #006aff;
  box-shadow: none;
  background: #fff;
}

.about-panel[hidden],
.newsletter-panel[hidden] {
  display: none;
}

.humberto-status {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  color: #777;
  text-align: center;
  margin: 0 0 8px;
}

.copyright,
.site-footer {
  font-family: var(--font-main);
}

.site-footer {
  text-align: center;
  margin-top: 48px;
  padding: 0 20px 28px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.9rem;
  font-weight: 400;
}

.site-footer p {
  margin: 0;
}

.footer-persons-image {
  display: block;
  width: var(--footer-persons-width, 220px);
  max-width: min(70vw, 520px);
  height: auto;
  margin: 8px auto 0;
  object-fit: contain;
}


.newsletter-final-message {
  width: min(100%, var(--content-width));
  margin: 0 auto 18px;
  padding: 16px 20px;
  border: 2px solid var(--color-text);
  border-radius: 24px;
  background: var(--newsletter-success-bg, #dfffd2);
  color: var(--newsletter-success-text, var(--color-text));
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 4px 4px 0 var(--color-text);
}

.newsletter-final-message[hidden] {
  display: none;
}

.newsletter-final-message.success {
  color: var(--newsletter-success-text, var(--color-text));
}

.newsletter-final-message.is-unsubscribe {
  background: var(--newsletter-unsubscribe-bg, #fff3c9);
  color: var(--newsletter-unsubscribe-text, var(--color-text));
}

.newsletter-final-message.is-duplicate {
  background: var(--newsletter-duplicate-bg, #e8f2ff);
  color: var(--newsletter-duplicate-text, var(--color-text));
}

.newsletter-panel {
  padding: 0 clamp(20px, 5vw, 34px);
  text-align: left;
  background: var(--color-paper);
  border: 3px solid transparent;
  border-radius: 28px;
  box-shadow: none;
  transform-origin: top center;
  transition:
    max-height 0.38s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    margin 0.25s ease,
    padding 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.newsletter-panel.is-open {
  margin-top: 28px;
  padding: clamp(20px, 5vw, 34px);
  border-color: var(--color-text);
  box-shadow: 7px 7px 0 var(--button-border, var(--color-text));
  overflow: visible;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  overflow: visible;
}

.newsletter-content {
  display: grid;
  gap: inherit;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.newsletter-content.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group[hidden] {
  display: none;
}

.newsletter-form h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.newsletter-form p {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.newsletter-form label {
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.newsletter-form input {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--color-text);
  border-radius: 16px;
  color: var(--color-text);
  background: var(--color-paper);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 16px;
  outline: none;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.16);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.newsletter-form input.is-invalid {
  background: #fff2f2;
  box-shadow: 4px 4px 0 #842029;
}

.newsletter-form input:focus {
  box-shadow: 4px 4px 0 var(--color-icon-blue);
  transform: translate(-1px, -1px);
}

.turnstile-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 18px 0;
  min-height: 78px;
  overflow: visible;
}

.turnstile-container iframe {
  max-width: 100%;
}

.newsletter-submit {
  margin-top: 8px;
  min-height: 60px;
  cursor: pointer;
}


.newsletter-submit.is-danger {
  border-color: #c62828;
  color: #c62828;
  box-shadow: 7px 7px 0 #c62828;
}

.newsletter-submit.is-danger:hover {
  background: #c62828;
  color: #fff;
  box-shadow: 3px 3px 0 #8f1d1d;
}

.text-action-link,
.newsletter-mode-link,
.footer-privacy-link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: #666;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 8px auto 0;
  padding: 2px 4px;
}

.text-action-link:hover,
.newsletter-mode-link:hover,
.footer-privacy-link:hover {
  color: #111;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.text-action-link:focus-visible,
.newsletter-mode-link:focus-visible,
.footer-privacy-link:focus-visible {
  outline: 2px solid #006aff;
  outline-offset: 4px;
  border-radius: 6px;
}

.newsletter-mode-link {
  display: block;
  margin: 8px auto 0;
}

.newsletter-mode-link[hidden] {
  display: none;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}

.footer-links .text-action-link,
.footer-page-link {
  margin: 0;
}

.footer-link-separator {
  color: #777;
  font-family: var(--font-main);
  font-size: 0.78rem;
  line-height: 1;
  margin: 0 -1px;
}

.footer-privacy-link,
.footer-page-link {
  display: inline-block;
  margin: 0;
  font-size: 0.78rem;
  color: #777;
}

.rss-menu-toggle {
  cursor: pointer;
}

.rss-menu[hidden] {
  display: none;
}

.rss-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}

.rss-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rss-menu-card {
  width: min(360px, calc(100vw - 28px));
  border: 2px solid var(--color-text);
  border-radius: 18px;
  background: #fff;
  box-shadow: 5px 6px 0 var(--color-text);
  padding: 16px;
  text-align: left;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(.22, .61, .36, 1);
}

.rss-menu.is-open .rss-menu-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rss-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rss-menu-header strong {
  font-size: 1rem;
  font-weight: 900;
}

.rss-menu-close {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-weight: 900;
  cursor: pointer;
}

.rss-menu-card p {
  margin: 10px 0 0;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.35;
}

.rss-menu-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.rss-menu-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  padding: 0 14px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.rss-menu-action:hover,
.rss-menu-action:focus-visible {
  background: var(--color-text);
  color: #fff;
}

.rss-menu-feedback {
  min-height: 1.2em;
  font-weight: 800;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 940;
  width: min(360px, calc(100vw - 36px));
}

.cookie-consent-toggle {
  display: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-consent-card {
  border: 2px solid var(--color-text);
  border-radius: 18px;
  background: #fff;
  box-shadow: 5px 6px 0 var(--color-text);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(.22, .61, .36, 1);
}

.cookie-consent.is-open .cookie-consent-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cookie-consent.is-leaving .cookie-consent-toggle {
  opacity: 0;
  transform: scale(0.92);
}

.cookie-consent-card h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.cookie-consent-card p {
  margin: 0;
  color: #555;
  font-size: 0.84rem;
  line-height: 1.42;
}

.cookie-consent-card a {
  color: var(--color-text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
}

.cookie-choice {
  min-height: 38px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  padding: 0 14px;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.cookie-choice.primary {
  background: var(--color-text);
  color: #fff;
}

.cookie-choice.secondary {
  background: #fff;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .rss-menu {
    align-items: end;
    padding: 14px;
  }

  .rss-menu-card {
    width: min(100%, 340px);
    border-radius: 16px;
    box-shadow: 4px 5px 0 var(--color-text);
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .cookie-consent-toggle {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 2px solid #111;
    border-radius: 999px;
    background: #111;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
    cursor: pointer;
  }

  .cookie-consent-toggle img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }

  .cookie-consent-card {
    position: fixed;
    right: 14px;
    bottom: 76px;
    width: min(340px, calc(100vw - 28px));
    border-radius: 16px;
    box-shadow: 4px 5px 0 var(--color-text);
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-choice {
    flex: 1;
  }
}


.bio-button:disabled,
.newsletter-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.newsletter-message {
  min-height: 24px;
  margin: 2px 0 0;
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.newsletter-message.success,
.newsletter-message.error {
  padding: 12px 14px;
  border: 2px solid var(--color-text);
}

.newsletter-message.success,
.newsletter-message.is-success {
  color: var(--newsletter-success-text, var(--color-text));
  background: var(--newsletter-success-bg, #dfffd2);
}

.newsletter-message.is-unsubscribe {
  color: var(--newsletter-unsubscribe-text, var(--color-text));
  background: var(--newsletter-unsubscribe-bg, #fff3c9);
}

.newsletter-message.is-duplicate {
  color: var(--newsletter-duplicate-text, var(--color-text));
  background: var(--newsletter-duplicate-bg, #e8f2ff);
}

.newsletter-message.error {
  color: #842029;
  background: #f8d7da;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes newsletter-collapse {
  0% {
    max-height: 720px;
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }

  100% {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transform: scaleY(0.92) translateY(-10px);
  }
}

@media (max-width: 640px) {
  .verified-badge {
    width: var(--verified-badge-size-mobile, 18px);
    height: var(--verified-badge-size-mobile, 18px);
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .about-author {
    order: -1;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .about-author-photo {
    width: 104px;
    height: 104px;
    max-width: 104px;
    min-width: 104px;
    border: 3px solid #006aff;
    box-shadow: none;
  }

  .about-text h2 {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .page-shell {
    min-height: calc(100vh - 60px);
    padding: 38px 18px 22px;
  }

  .profile-image {
    width: 108px;
    height: 108px;
    margin-bottom: 22px;
  }

  .profile-description {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .turnstile-container {
    transform: scale(0.88);
    transform-origin: center;
    margin: 12px auto;
  }

  .social-links {
    gap: 16px;
    max-width: 100%;
    margin-top: 28px;
    margin-bottom: 32px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
  }

  .main-buttons {
    gap: 15px;
  }

  .bio-button {
    min-height: 56px;
    border-width: 2px;
    box-shadow: 4px 4px 0 var(--color-text);
    font-size: 1rem;
    padding: 0 20px;
  }

  .button-icon {
    left: 22px;
    width: 28px;
    height: 28px;
  }

  .about-panel {
    margin-top: 14px;
  }

  .about-panel.is-open {
    max-height: 1600px;
    margin-top: 18px;
  }

  .about-panel-inner {
    border-width: 2px;
    border-radius: 22px;
    box-shadow: 4px 4px 0 #111;
    padding: 20px;
  }

  .about-panel-inner p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .humberto-status {
    font-size: 0.72rem;
    padding: 0 18px;
  }

  .newsletter-panel {
    margin-top: 22px;
    border-width: 2px;
    border-radius: 22px;
    box-shadow: 4px 4px 0 var(--color-text);
  }

  .newsletter-form {
    gap: 12px;
  }

  .newsletter-form input {
    min-height: 48px;
    border-radius: 14px;
  }

  .newsletter-submit {
    min-height: 54px;
  }

  .newsletter-mode-link {
    margin-top: 7px;
    font-size: 0.82rem;
  }

  .footer-privacy-link,
  .footer-page-link,
  .footer-link-separator {
    font-size: 0.76rem;
  }

  .newsletter-submit.is-danger {
    box-shadow: 4px 4px 0 #c62828;
  }


  .newsletter-final-message {
    font-size: 0.86rem;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .site-footer {
    margin-top: 40px;
  }
}

@media (max-width: 360px) {
  .social-links {
    gap: 13px;
  }

  .social-icon {
    width: 23px;
    height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.privacy-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(84vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid var(--footer-page-border, #111);
  border-radius: 28px;
  background: var(--footer-page-bg, #fff);
  color: var(--footer-page-text, #111);
  box-shadow: 7px 7px 0 var(--footer-page-border, #111);
  text-align: left;
}

.privacy-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 12px;
}

.privacy-modal-header h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--footer-page-text, #111);
}

.privacy-modal-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 2px solid var(--footer-page-border, #111);
  border-radius: 999px;
  background: var(--footer-page-bg, #fff);
  color: var(--footer-page-text, #111);
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 28px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--footer-page-border, #111) var(--footer-page-bg, #f3f3f3);
}

.privacy-modal-body::-webkit-scrollbar {
  width: 10px;
}

.privacy-modal-body::-webkit-scrollbar-track {
  background: var(--footer-page-bg, #f3f3f3);
  border-radius: 999px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
  background: var(--footer-page-border, #111);
  border: 2px solid var(--footer-page-bg, #f3f3f3);
  border-radius: 999px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--footer-page-text, #333);
}

.privacy-text {
  white-space: pre-line;
  font-family: var(--font-main);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--footer-page-text, #111);
}

.privacy-text p {
  margin: 0 0 14px;
}

.privacy-modal-actions {
  flex: 0 0 auto;
  padding: 16px 28px 28px;
}

.privacy-understood {
  --button-bg: var(--footer-page-button-bg, #fff);
  --button-text: var(--footer-page-button-text, #111);
  --button-border: var(--footer-page-button-border, #111);
  --button-hover-bg: var(--footer-page-button-text, #111);
  --button-hover-text: var(--footer-page-button-bg, #fff);
  min-height: 54px;
  margin-top: 0;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .privacy-modal {
    padding: 14px;
  }

  .privacy-modal-card {
    max-height: 86vh;
    border-width: 2px;
    border-radius: 22px;
    box-shadow: 4px 4px 0 var(--footer-page-border, #111);
  }

  .privacy-modal-header {
    padding: 22px 20px 10px;
  }

  .privacy-modal-body {
    padding: 0 20px 24px;
  }

  .privacy-modal-actions {
    padding: 14px 20px 22px;
  }

  .privacy-text {
    font-size: 0.9rem;
  }
}

body.modal-open {
  overflow: hidden;
}


.privacy-text {
  font-family: var(--font-main);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--footer-page-text, #111);
}

.editable-text-content p {
  margin: 0 0 0.85rem;
}

.editable-text-content p:last-child {
  margin-bottom: 0;
}

.newsletter-description {
  line-height: 1.45;
}

.privacy-text p,
.plain-text-content p {
  margin: 0 0 0.85rem;
}

.privacy-text p:last-child,
.plain-text-content p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.site-intro {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Ajustes de auditoria: frase complementar legível no mobile sem estourar a Home. */
@media (max-width: 560px) {
  .site-intro {
    color: #1111119e;
    font-size: 0.86rem;
    line-height: 1.45;
    padding: 0 6px;
  }
}


.share-icon-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.share-icon-button:hover,
.share-icon-button:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.share-icon-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

@media (max-width: 560px) {
  .share-icon-button {
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
  }

  .share-icon-button img {
    width: 20px;
    height: 20px;
  }
}

.error-page-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-page-shell {
  width: min(100%, 720px);
}

.error-card {
  text-align: center;
  border: 3px solid #111111;
  border-radius: 32px;
  padding: clamp(28px, 7vw, 56px);
  box-shadow: 10px 10px 0 #111111;
  background: #ffffff;
}

.error-page-image {
  width: min(220px, 70vw);
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto 24px;
}

.error-code {
  margin: 0 0 10px;
  font-weight: 1000;
  letter-spacing: .16em;
  color: #006aff;
}

.error-card h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.error-text {
  max-width: 520px;
  margin: 22px auto 30px;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.45;
}

.error-home-button {
  width: min(100%, 420px);
  margin: 0 auto;
}


@media (max-width: 560px) {
  .error-card {
    border-radius: 24px;
    box-shadow: 6px 6px 0 #111111;
  }
}


.share-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
