:root {
  --bg: #08111f;
  --bg-soft: #0e1a2f;
  --panel: rgba(17, 28, 49, 0.72);
  --panel-strong: #101d33;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #ecf3ff;
  --muted: #9eb0ca;
  --primary: #5b8cff;
  --primary-2: #7e5cff;
  --accent: #12d6b4;
  --accent-2: #ffd76a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --transition: 260ms ease;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(126, 92, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #06101d 0%, #08111f 40%, #091423 100%);
  overflow-x: hidden;
}

body.error-body {
  min-height: 100vh;
}

body.public-body {
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  filter: blur(80px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.orb-1 {
  width: 22rem;
  height: 22rem;
  background: rgba(91, 140, 255, 0.18);
  top: 4rem;
  left: -8rem;
}
.orb-2 {
  width: 28rem;
  height: 28rem;
  background: rgba(18, 214, 180, 0.12);
  right: -10rem;
  top: 22rem;
}
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.site-header,
.hero,
.section,
.site-footer,
.trust-strip {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(6, 12, 24, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand strong {
  display: block;
  font-size: 1rem;
}
.brand small {
  color: var(--muted);
  display: block;
}
.brand-mark {
  width: 46px;
  height: 46px;
  /* display: grid; */
  /* place-items: center; */
  /* border-radius: 14px; */
  /* background: linear-gradient(135deg, var(--primary), var(--primary-2)); */
  /* box-shadow: var(--shadow); */
  /* font-weight: 800; */
  /* font-size: 1.2rem; */
}
.brand-mark--image {
  overflow: hidden;
  padding: 0;
}
.brand-mark--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav a {
  color: var(--muted);
  transition: color var(--transition);
}
.nav a:hover {
  color: var(--text);
}
.btn-nav {
  margin-left: .5rem;
  min-width: 8.9rem;
  padding: 0 1.45rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  padding: 6.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.cta-box h2,
.contact-copy h2 {
  margin: 0 0 1rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-text,
.section-head p,
.plan-desc,
.benefit-card p,
.cta-box p,
.faq-item p,
.contact-copy p,
.site-footer p,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 30px rgba(91, 140, 255, 0.32);
}
.btn-secondary,
.btn-outline {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.btn-full { width: 100%; }

.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-metrics article {
  flex: 1 1 160px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  position: relative;
  min-height: 730px;
  padding: 0 0 1rem;
}
.glass-card,
.price-card,
.benefit-card,
.contact-card,
.faq-item,
.cta-box {
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.card-main {
  border-radius: 30px;
  padding: 2rem;
  min-height: 420px;
  position: absolute;
  top: 5rem;
  right: 1rem;
  bottom: auto;
  left: auto;
  width: min(calc(100% - 3.5rem), 30rem);
}
.chip,
.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.chip {
  color: #fff;
  background: rgba(18, 214, 180, 0.15);
  border: 1px solid rgba(18, 214, 180, 0.3);
}
.card-main h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.08;
}
.feature-list,
.plan-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.feature-list li,
.plan-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-image: url("/img/info-tooltip.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: transparent;
  font-size: 0;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

.info-tooltip::after {
  content: none;
}

.floating-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 17, 31, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
  pointer-events: none;
}

.floating-tooltip[hidden] {
  display: none;
}

#planes .price-card:hover,
#planes .price-card:focus-within {
  z-index: 30;
}
.feature-list li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 16px rgba(18, 214, 180, 0.5);
}

.floating-card {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(8, 18, 36, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.floating-card {
  z-index: 2;
}
.floating-card span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
}
.floating-card strong {
  display: block;
  margin-top: .25rem;
}
.fc-1 { left: 0; top: 1rem; }
.fc-2 { right: 0; bottom: 0; }

.trust-strip {
  padding-bottom: 2rem;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.trust-inner > span {
  color: var(--muted);
  font-weight: 600;
}
.trust-tags {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.trust-tags span {
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #dce8ff;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: .92rem;
}

.section {
  padding: 5rem 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}
.section-head h2,
.cta-box h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.benefit-card {
  border-radius: 24px;
  padding: 1.4rem;
}
.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(18, 214, 180, 0.18));
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
  color: #dce8ff;
}
.icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 0.96;
}
.benefit-card h3 {
  margin: 0 0 .5rem;
}

.pricing-section {
  padding-top: 4rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 1.6rem;
  z-index: 1;
}
.price-card h3 {
  font-size: 1.8rem;
  margin: 0;
}
#planes .plan-desc,
#caracteristicas .plan-desc {
  min-height: 5.4rem;
}
#caracteristicas .price-card h3 {
  min-height: 4.4rem;
  display: flex;
  align-items: flex-end;
}
.price-card.featured {
  transform: translateY(-10px);
  background:
    linear-gradient(180deg, rgba(91,140,255,0.18), rgba(17,28,49,0.82)),
    rgba(17, 28, 49, 0.82);
  border-color: rgba(126, 92, 255, 0.48);
}
.plan-badge.muted {
  background: rgba(255,255,255,.06);
}
.plan-badge.dark {
  background: rgba(255,215,106,.12);
  color: #ffdf88;
}
.featured-badge {
  background: linear-gradient(135deg, var(--accent), #1fbfff);
  color: #041320;
}
.price-line {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  margin: 1rem 0 1.2rem;
}
.price-line strong {
  font-size: 3.3rem;
  line-height: 1;
}
.price-line span {
  color: var(--muted);
  padding-bottom: .45rem;
}
.table-wrap {
  margin-top: 2rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.comparison-table th {
  background: rgba(255,255,255,.04);
}
.comparison-table td {
  color: var(--muted);
}
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.price-card .plan-list {
  flex: 1;
}

.price-card .btn {
  margin-top: auto;
}

.cta-box {
  border-radius: 32px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-item {
  border-radius: 20px;
  padding: 1rem 1.2rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item p {
  margin-bottom: 0.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-card {
  border-radius: 28px;
  padding: 1.4rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  margin-bottom: .45rem;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: .95rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(91, 140, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.12);
}

.site-footer {
  padding: 2rem 0 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.6rem;
}
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.footer-copy p {
  margin: 0;
}
.footer-brandline {
  color: var(--text);
  font-weight: 700;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--muted);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.legal-page-body {
  min-height: 100vh;
}

.legal-main {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 4.5rem;
}

.legal-shell {
  max-width: 900px;
}

.legal-header-inner {
  min-height: 78px;
}

.legal-header-link {
  white-space: nowrap;
}

.legal-intro,
.legal-document {
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-intro {
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.legal-kicker {
  margin: 0 0 .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

.legal-document {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-section + .legal-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
}

.legal-document h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.legal-document h3 {
  margin: 1rem 0 .75rem;
  font-size: 1.05rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-document ul {
  margin: .9rem 0 0;
  padding-left: 1.25rem;
}

.legal-document a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: .2rem;
}

.legal-document a:hover,
.legal-document a:focus-visible {
  text-decoration-color: rgba(255, 255, 255, 0.65);
}

.legal-note {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.legal-return {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
    padding-bottom: 0;
  }

  .card-main {
    position: relative;
    inset: 0;
    width: 100%;
    min-height: auto;
  }

  .fc-1,
  .fc-2 {
    position: relative;
    inset: auto;
    margin-top: 1rem;
    display: inline-block;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .pricing-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .card-main {
    position: relative;
    inset: 0;
    width: 100%;
    min-height: auto;
  }

  .fc-1,
  .fc-2 {
    position: relative;
    inset: auto;
    margin-top: 1rem;
    display: inline-block;
  }

  .price-card.featured {
    transform: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 78px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 13, 24, 0.96);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .comparison-table {
    min-width: 700px;
  }

  .table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5rem;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .card-main,
  .price-card,
  .benefit-card,
  .contact-card,
  .cta-box,
  .faq-item {
    border-radius: 20px;
  }

  .price-line strong {
    font-size: 2.6rem;
  }

  .header-inner {
    min-height: 70px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .legal-header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: .9rem 0;
  }

  .floating-tooltip {
    max-width: min(18rem, calc(100vw - 2rem));
  }

  #planes .plan-desc,
  #caracteristicas .plan-desc {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .legal-main {
    padding-top: 2rem;
    padding-bottom: 3.25rem;
  }

  .legal-intro,
  .legal-document {
    border-radius: 20px;
  }

  .legal-document {
    padding: 1.35rem;
  }

  .legal-section + .legal-section {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
  }

  .footer-meta,
  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }
}

.error-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.error-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.error-media,
.error-card {
  position: relative;
  z-index: 1;
}

.error-media {
  display: grid;
  place-items: center;
  max-width: 28rem;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(91, 140, 255, 0.2), transparent 55%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.error-media img {
  width: min(100%, 16rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.25));
}

.error-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-radius: 30px;
  padding: 2rem;
}

.error-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.error-card p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.public-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.public-shell {
  width: min(calc(100% - 2rem), 760px);
  margin: 0 auto;
}

.public-card {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-radius: 30px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.public-card__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.public-card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.public-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-right: 0.9rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: #dce8ff;
}

.public-status--error {
  background: rgba(255, 107, 107, 0.14);
  color: #ffd1d1;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.public-status--success {
  background: rgba(18, 214, 180, 0.15);
  color: #cafff3;
  border: 1px solid rgba(18, 214, 180, 0.24);
}

.public-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.public-footer {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .error-shell {
    grid-template-columns: 1fr;
  }

  .error-media {
    max-width: 20rem;
  }
}

@media (max-width: 640px) {
  .error-page {
    padding: 4rem 0;
  }

  .public-page {
    padding: 4rem 0;
  }

  .error-media {
    padding: 1.25rem;
  }

  .error-card {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .error-card h1 {
    font-size: 2.4rem;
  }

  .public-card {
    border-radius: 20px;
    padding: 1.5rem;
  }

  .public-card__title {
    font-size: 2.3rem;
  }

}
