html[data-theme="light"] body::before {
  background:
    var(--page-bg-accent), var(--page-bg-overlay), var(--page-bg-image),
    var(--bg-base);
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover, auto;
  opacity: 1;
  filter: none;
}

.flash-container {
  position: fixed;
  top: var(--flash-top);
  right: var(--flash-side);
  z-index: 2000;
  display: grid;
  gap: 0.5rem;
}

.flash {
  padding: var(--flash-padding-y) var(--flash-padding-x);
  border-radius: var(--flash-radius);
  color: #0b1727;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  font-size: var(--flash-font-size);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.flash--success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #14532d;
}

.flash--error {
  background: #fee2e2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.flash--warning {
  background: #fef9c3;
  border-color: #fef08a;
  color: #713f12;
}

.flash--info {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0b1727;
}

@media (max-width: 640px) {
  .flash {
    width: 100%;
  }
}

html[data-theme="light"] header.hero {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .hero-fold-toggle,
html[data-theme="light"] .hero-card-account__toggle {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.7)
  );
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .hero-card {
  background: var(--surface-elevated-strong);
  border: 1px solid var(--surface-border-soft);
  box-shadow:
    var(--surface-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .hero-card-account__footer span {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.24);
}

html[data-theme="light"] .section {
  background: transparent;
  border: none;
  box-shadow: none;
}

html[data-theme="light"] .service-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .step-card,
html[data-theme="light"] .manual-card,
html[data-theme="light"] .contact-text,
html[data-theme="light"] .contact-card {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border-soft);
  box-shadow:
    var(--surface-shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

html[data-theme="light"] .contact-notice {
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 112, 209, 0.07),
      transparent 34%
    ),
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.96),
      rgba(237, 236, 237, 0.94)
    );
  border-color: rgba(0, 112, 209, 0.18);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: var(--text-light);
}

html[data-theme="light"] .badge-soft {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  box-shadow: 0 0.8rem 1.6rem rgba(16, 46, 88, 0.06);
  color: #0056a6;
}

html[data-theme="light"] .btn-ghost {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 236, 237, 0.9)
  );
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: var(--surface-shadow-soft);
}

html[data-theme="light"] .btn-ghost:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(232, 238, 245, 0.88)
  );
  border-color: var(--accent);
  box-shadow: 0 1.1rem 2.2rem rgba(16, 46, 88, 0.08);
}

html[data-theme="light"] .lang-switcher,
html[data-theme="light"] .lang-menu,
html[data-theme="light"] .lang-option,
html[data-theme="light"] .lang-inline button {
  background: var(--surface-elevated);
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: var(--surface-shadow-soft);
}

html[data-theme="light"] .lang-option.active {
  background: #0070d1;
  color: #ffffff;
}

html[data-theme="light"] .hero-fold-toggle,
html[data-theme="light"] .hero-card-account__toggle,
html[data-theme="light"] .section-fold-toggle {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 236, 237, 0.86)
  );
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .availability-pill,
html[data-theme="light"] .mobile-action-bar,
html[data-theme="light"] .calendar-day,
html[data-theme="light"] .calendar-modal__close {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 236, 237, 0.88)
  );
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 0.9rem 1.6rem rgba(16, 46, 88, 0.06);
}

html[data-theme="light"] .contact-call {
  --contact-call-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 236, 237, 0.9)
  );
  --contact-call-border: rgba(148, 163, 184, 0.24);
  --contact-call-hover-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(232, 238, 245, 0.9)
  );
  --contact-call-hover-border: rgba(0, 112, 209, 0.22);
  color: var(--text-light);
  box-shadow: 0 0.9rem 1.6rem rgba(16, 46, 88, 0.06);
}

html[data-theme="light"] .contact-call--whatsapp {
  --contact-call-bg: linear-gradient(135deg, #ecfdf5, #dcfce7);
  --contact-call-border: rgba(22, 163, 74, 0.28);
  --contact-call-hover-bg: linear-gradient(135deg, #dcfce7, #bbf7d0);
  --contact-call-hover-border: rgba(22, 163, 74, 0.42);
}

html[data-theme="light"] .contact-call--signal {
  --contact-call-bg: linear-gradient(135deg, #eff6ff, #dbeafe);
  --contact-call-border: rgba(37, 99, 235, 0.26);
  --contact-call-hover-bg: linear-gradient(135deg, #dbeafe, #bfdbfe);
  --contact-call-hover-border: rgba(37, 99, 235, 0.4);
}

html[data-theme="light"] .contact-call--telegram {
  --contact-call-bg: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  --contact-call-border: rgba(2, 132, 199, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #e0f2fe, #bae6fd);
  --contact-call-hover-border: rgba(2, 132, 199, 0.38);
}

html[data-theme="light"] .contact-card--quickactions {
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 112, 209, 0.08),
      transparent 36%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(232, 233, 236, 0.48),
      transparent 32%
    ),
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.96),
      rgba(237, 236, 237, 0.96)
    );
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 1rem 2rem rgba(16, 46, 88, 0.07);
}

html[data-theme="light"] .contact-card--quickactions .contact-call__body em {
  color: rgba(71, 85, 105, 0.88);
}

html[data-theme="light"] .contact-card--quickactions .contact-call__glyph {
  background: transparent;
  border-color: transparent;
}

html[data-theme="light"] .contact-card--quickactions .contact-call--email {
  --contact-call-bg: linear-gradient(135deg, #fff7ed, #ffedd5);
  --contact-call-border: rgba(249, 115, 22, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #ffedd5, #fed7aa);
  --contact-call-hover-border: rgba(249, 115, 22, 0.38);
}

html[data-theme="light"] .contact-card--quickactions .contact-call--gmail {
  --contact-call-bg: linear-gradient(135deg, #fff7ed, #fee2e2);
  --contact-call-border: rgba(239, 68, 68, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #ffe4e6, #fecaca);
  --contact-call-hover-border: rgba(220, 38, 38, 0.38);
}

html[data-theme="light"] .contact-card--quickactions .contact-call--proton {
  --contact-call-bg: linear-gradient(135deg, #eef2ff, #e0e7ff);
  --contact-call-border: rgba(99, 102, 241, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  --contact-call-hover-border: rgba(79, 70, 229, 0.38);
}

html[data-theme="light"] .contact-card--quickactions .contact-call--phone {
  --contact-call-bg: linear-gradient(135deg, #f8fafc, #e2e8f0);
  --contact-call-border: rgba(100, 116, 139, 0.26);
  --contact-call-hover-bg: linear-gradient(135deg, #eef2f7, #dbe4ef);
  --contact-call-hover-border: rgba(71, 85, 105, 0.38);
}

html[data-theme="light"] .mobile-action-bar {
  border-top-color: rgba(148, 163, 184, 0.35);
}

html[data-theme="light"] .hero-card-avatar::after {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text-light);
  box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .service-card::before,
html[data-theme="light"] .step-card::before {
  color: rgba(0, 112, 209, 0.18);
}

html[data-theme="light"] .legal-section {
  background: linear-gradient(145deg, #f7f9fb, #eef1f6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .legal-list {
  color: var(--text-light);
}

html[data-theme="light"] .legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  color: #0f172a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg-base);
  position: relative;
  isolation: isolate;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
}

.has-topnav {
  padding-top: calc(var(--topnav-offset) + 1rem);
}

.has-topnav.home-page.theme-dark-locked {
  padding-top: var(--topnav-offset);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  transform: none;
  filter: none;
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.topnav .nav-link,
.topnav .auth-cta,
.topnav .lang-switcher,
.hero-kicker,
.section-kicker,
.services-badge,
.service-meta {
  font-family: var(--font-accent);
}

.hero h1,
.section-title,
.service-title {
  font-family: var(--font-display);
}

.page-shell {
  width: 100%;
  max-width: var(--page-shell-max-width);
  margin: 0 auto;
  padding: 0 var(--page-shell-inline-padding) var(--page-shell-bottom-padding);
  box-sizing: border-box;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="file"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-light);
  font-size: 1rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

html[data-theme="light"] .form input[type="text"],
html[data-theme="light"] .form input[type="email"],
html[data-theme="light"] .form input[type="password"],
html[data-theme="light"] .form input[type="file"],
html[data-theme="light"] .form select,
html[data-theme="light"] .form textarea {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text-dark);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form,
.auth-form,
.interp-filter__form,
.form-stacked,
.contact-reply-form,
.translator-form {
  display: grid;
  gap: 1rem;
}

.form .form-field,
.form .form-group,
.auth-form .form-field,
.auth-form .form-group,
.form-stacked .form-field,
.form-stacked .form-group,
.contact-reply-form .form-field,
.contact-reply-form .form-group,
.translator-form .form-field,
.translator-form .form-group {
  display: grid;
  gap: 0.35rem;
}

.form label,
.auth-form label,
.form-stacked label,
.contact-reply-form label,
.translator-form label {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
}

html[data-theme="light"] .form label,
html[data-theme="light"] .auth-form label,
html[data-theme="light"] .form-stacked label,
html[data-theme="light"] .contact-reply-form label,
html[data-theme="light"] .translator-form label {
  color: var(--text-dark);
}

.form-help {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-top: 0.25rem;
}

:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="text"],
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="email"],
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="password"],
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="file"],
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  select,
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-light);
  font-size: 1rem;
  box-shadow: inset 0 1px 2.5px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  min-height: 3rem;
}

html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="text"],
html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="email"],
html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="password"],
html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input[type="file"],
html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  select,
html[data-theme="light"]
  :is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  textarea {
  background: #fff;
  color: var(--text-dark);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: inset 0 1px 1.5px rgba(15, 23, 42, 0.06);
}

:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  input:focus,
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  select:focus,
:is(.form, .auth-form, .form-stacked, .contact-reply-form, .translator-form)
  textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
  background: rgba(15, 23, 42, 0.82);
}

.form-error {
  color: #f87171;
  font-weight: 600;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form button[type="submit"] {
  margin-top: 0.9rem;
}
.topnav {
  --topnav-chip-bg:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(15, 23, 42, 0.5);
  --topnav-chip-bg-hover:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.18),
      rgba(56, 189, 248, 0.08)
    ),
    rgba(8, 47, 73, 0.38);
  --topnav-chip-border: rgba(148, 163, 184, 0.18);
  --topnav-chip-shadow:
    0 0.85rem 1.8rem rgba(2, 6, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: visible;
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.14),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.9),
      rgba(15, 23, 42, 0.9) 52%,
      rgba(8, 47, 73, 0.84)
    );
  box-shadow:
    0 1.15rem 2.6rem rgba(2, 6, 23, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 -1px 0 rgba(2, 6, 23, 0.35) inset;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.32rem, 0.9vw, 0.72rem);
  padding: 0.58rem 0.78rem 0.64rem;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.topnav::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.85rem;
  right: 0.85rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05),
    rgba(191, 219, 254, 0.2) 48%,
    rgba(255, 255, 255, 0.04)
  );
  pointer-events: none;
}

.topnav::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 211, 252, 0.35) 18%,
    rgba(148, 163, 184, 0.16) 50%,
    rgba(125, 211, 252, 0.25) 82%,
    transparent
  );
  pointer-events: none;
}

.topnav .nav-link,
.topnav .auth-cta,
.topnav .lang-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.topnav .nav-link {
  min-height: 2.75rem;
  padding: 0.74rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--topnav-chip-border);
  background: var(--topnav-chip-bg);
  box-shadow: var(--topnav-chip-shadow);
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.topnav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7dd3fc, #38bdf8);
  transform: scaleX(0.38);
  transform-origin: 50% 50%;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

@keyframes topnavUnderline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.topnav .nav-link:hover,
.topnav .nav-link:focus-visible {
  color: #f8fafc;
  text-decoration: none;
  background: var(--topnav-chip-bg-hover);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow:
    0 1rem 2rem rgba(8, 47, 73, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.topnav .nav-link:hover::after,
.topnav .nav-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav .nav-link.active {
  background:
    linear-gradient(
      135deg,
      rgba(125, 211, 252, 0.24),
      rgba(56, 189, 248, 0.12)
    ),
    rgba(8, 47, 73, 0.34);
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow:
    0 1rem 2.15rem rgba(14, 116, 144, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.topnav .nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav .auth-cta {
  min-height: 2.75rem;
  margin: 0;
  padding: 0.74rem 1.12rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.topnav .auth-cta::after {
  content: none;
}

.topnav .auth-cta--login {
  color: #031525;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  border: 1px solid rgba(125, 211, 252, 0.7);
  box-shadow:
    0 1rem 2.15rem rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.topnav .auth-cta--login:hover,
.topnav .auth-cta--login:focus-visible {
  color: #031525;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #bae6fd, #67e8f9);
  box-shadow:
    0 1.2rem 2.4rem rgba(14, 165, 233, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  outline: none;
}

.topnav .auth-cta--account {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #e0f2fe;
  background:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.16),
      rgba(56, 189, 248, 0.06)
    ),
    rgba(8, 47, 73, 0.5);
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow:
    0 0.95rem 2rem rgba(8, 47, 73, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topnav .auth-cta--account .auth-cta__icon,
.sidenav .auth-cta--account .auth-cta__icon {
  font-size: 1rem;
  line-height: 1;
}

.topnav .auth-cta--account:hover,
.topnav .auth-cta--account:focus-visible,
.topnav .auth-cta--account.active {
  transform: translateY(-1px);
  color: #f8fafc;
  background:
    linear-gradient(
      135deg,
      rgba(125, 211, 252, 0.28),
      rgba(56, 189, 248, 0.12)
    ),
    rgba(8, 47, 73, 0.56);
  border-color: rgba(125, 211, 252, 0.44);
  box-shadow:
    0 1.1rem 2.2rem rgba(8, 47, 73, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  outline: none;
}

.topnav .auth-cta--logout {
  color: #e2e8f0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 0.95rem 2rem rgba(2, 6, 23, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.topnav .auth-cta--logout:hover,
.topnav .auth-cta--logout:focus-visible {
  transform: translateY(-1px);
  color: #f8fafc;
  background:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.16),
      rgba(56, 189, 248, 0.06)
    ),
    rgba(8, 47, 73, 0.52);
  border-color: rgba(125, 211, 252, 0.34);
  box-shadow:
    0 1.1rem 2.2rem rgba(8, 47, 73, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

.topnav .icon {
  display: none;
  margin-left: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  justify-content: center;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.54rem 0.86rem;
  border-radius: 999px;
  border: 1px solid var(--topnav-chip-border);
  background: var(--topnav-chip-bg);
  box-shadow: var(--topnav-chip-shadow);
  color: #e2e8f0;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.burger:hover,
.burger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.3);
  background: var(--topnav-chip-bg-hover);
  box-shadow:
    0 1rem 2rem rgba(8, 47, 73, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

.burger-line {
  width: 19px;
  height: 2px;
  background: var(--text-light);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease,
    width 0.3s ease;
}

.burger.change .burger-line:nth-child(1) {
  transform: translateY(6.55px) rotate(-45deg);
}

.burger.change .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.change .burger-line:nth-child(3) {
  transform: translateY(-6.55px) rotate(45deg);
}

.topnav .lang-wrapper {
  order: 3;
  position: relative;
  margin: 0 0 0 auto;
  padding: 0;
  z-index: 24;
}

.topnav .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.34rem 0.44rem 0.34rem 0.88rem;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--topnav-chip-bg);
  border: 1px solid var(--topnav-chip-border);
  border-radius: 999px;
  box-shadow: var(--topnav-chip-shadow);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.topnav .lang-switcher::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.topnav .lang-switcher:hover,
.topnav .lang-switcher:focus-visible,
.topnav .lang-switcher[aria-expanded="true"] {
  color: #f8fafc;
  background: var(--topnav-chip-bg-hover);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow:
    0 1rem 2rem rgba(8, 47, 73, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.topnav .lang-switcher[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-1px);
  opacity: 0.9;
}

.topnav .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  min-height: 2rem;
  padding: 0.18rem 0.66rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #031525;
  background: linear-gradient(135deg, #e0f2fe, #67e8f9);
  border: 1px solid rgba(186, 230, 253, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.topnav .lang-menu {
  min-width: 13rem;
  padding: 0.46rem;
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 1.25rem 2.8rem rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
}

.topnav .lang-option {
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 3rem;
  border-radius: 0.82rem;
  padding: 0.78rem 0.9rem;
  font-size: 0.9rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.topnav .lang-option::after {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  margin-left: auto;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scale(0.4);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.topnav .lang-option:hover,
.topnav .lang-option:focus-visible {
  background:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.18),
      rgba(56, 189, 248, 0.08)
    ),
    rgba(8, 47, 73, 0.44);
  border-color: rgba(125, 211, 252, 0.3);
  transform: translateY(-1px);
  outline: none;
}

.topnav .lang-option.active {
  color: #031525;
  background: linear-gradient(135deg, #e0f2fe, #67e8f9);
  border-color: rgba(186, 230, 253, 0.5);
}

.topnav .lang-option.active::after {
  opacity: 0.75;
  transform: scale(1);
}

.topnav:not(.topnav--dashboard) .nav-link {
  order: 2;
}

.topnav:not(.topnav--dashboard) .auth-cta {
  order: 4;
}

.topnav:not(.topnav--dashboard) .icon {
  order: 5;
}

html[data-theme="light"] .topnav {
  --topnav-chip-bg:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(237, 236, 237, 0.9)
    ),
    rgba(255, 255, 255, 0.9);
  --topnav-chip-bg-hover:
    linear-gradient(
      180deg,
      rgba(250, 250, 250, 0.98),
      rgba(237, 236, 237, 0.94)
    ),
    rgba(255, 255, 255, 0.94);
  --topnav-chip-border: rgba(148, 163, 184, 0.18);
  --topnav-chip-shadow:
    0 0.85rem 1.75rem rgba(16, 46, 88, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 14% 0, rgba(0, 112, 209, 0.08), transparent 30%),
    radial-gradient(
      circle at 86% 0,
      rgba(237, 236, 237, 0.82),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(242, 241, 242, 0.93) 52%,
      rgba(237, 236, 237, 0.95)
    );
  box-shadow:
    0 1rem 2.25rem rgba(16, 46, 88, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -1px 0 rgba(214, 230, 245, 0.48) inset;
}

html[data-theme="light"] .topnav::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.25),
    rgba(148, 163, 184, 0.14) 48%,
    rgba(255, 255, 255, 0.22)
  );
}

html[data-theme="light"] .topnav::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.16) 18%,
    rgba(148, 163, 184, 0.12) 50%,
    rgba(0, 112, 209, 0.1) 82%,
    transparent
  );
}

html[data-theme="light"] .topnav .nav-link,
html[data-theme="light"] .topnav .lang-switcher,
html[data-theme="light"] .burger {
  color: #0f172a;
}

html[data-theme="light"] .topnav .nav-link:hover,
html[data-theme="light"] .topnav .nav-link:focus-visible,
html[data-theme="light"] .topnav .nav-link.active {
  color: #00439c;
}

html[data-theme="light"] .topnav .nav-link::after {
  background: linear-gradient(90deg, #0070d1, #00a0ff);
}

html[data-theme="light"] .topnav .nav-link:hover,
html[data-theme="light"] .topnav .nav-link:focus-visible {
  background: var(--topnav-chip-bg-hover);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .topnav .nav-link.active {
  background: linear-gradient(135deg, #0070d1, #0057aa);
  color: #ffffff;
  border-color: rgba(0, 112, 209, 0.26);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .topnav .auth-cta--login {
  color: #ffffff;
  background: linear-gradient(135deg, #0070d1, #0057aa);
  border-color: rgba(0, 112, 209, 0.28);
  box-shadow:
    0 0.95rem 2rem rgba(16, 46, 88, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .topnav .auth-cta--login:hover,
html[data-theme="light"] .topnav .auth-cta--login:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #0a84ff, #006dc7);
  box-shadow:
    0 1.1rem 2.2rem rgba(16, 46, 88, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .topnav .auth-cta--account {
  color: #082f49;
  background:
    linear-gradient(
      180deg,
      rgba(240, 249, 255, 0.98),
      rgba(224, 242, 254, 0.94)
    ),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow:
    0 0.95rem 1.9rem rgba(16, 46, 88, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .topnav .auth-cta--account:hover,
html[data-theme="light"] .topnav .auth-cta--account:focus-visible,
html[data-theme="light"] .topnav .auth-cta--account.active {
  color: #00439c;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(224, 242, 254, 0.98)
    ),
    rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 112, 209, 0.32);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .topnav .auth-cta--logout {
  color: #0f172a;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(237, 236, 237, 0.9)
    ),
    rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow:
    0 0.95rem 1.9rem rgba(16, 46, 88, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .topnav .auth-cta--logout:hover,
html[data-theme="light"] .topnav .auth-cta--logout:focus-visible {
  color: #00439c;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 236, 237, 0.94)
    ),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .topnav .lang-menu {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.96),
    rgba(237, 236, 237, 0.92)
  );
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow:
    0 1.2rem 2.5rem rgba(16, 46, 88, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .topnav .lang-option {
  color: #0f172a;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(237, 236, 237, 0.88)
    ),
    rgba(255, 255, 255, 0.84);
  border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .topnav .lang-option.active {
  color: #ffffff;
}

html[data-theme="light"] .topnav .lang-current {
  color: #ffffff;
  background: linear-gradient(135deg, #0070d1, #0057aa);
  border-color: rgba(0, 112, 209, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media screen and (min-width: 426px) {
  .topnav {
    padding: 0.62rem 0.92rem 0.68rem;
  }
  .topnav .nav-link {
    padding: 0.76rem 1.04rem;
  }
  .topnav .icon {
    padding: 0;
  }
  .topnav .lang-current {
    padding: 0.18rem 0.7rem;
  }
}

@media (min-width: 45rem) and (max-width: 52rem) {
  .topnav {
    gap: 0.34rem;
  }
  .topnav .nav-link {
    padding: 0.72rem 0.86rem;
    font-size: 0.84rem;
  }
  .topnav .auth-cta {
    padding: 0.72rem 1rem;
    font-size: 0.84rem;
  }
  .topnav .lang-switcher {
    padding-left: 0.8rem;
  }
  .nav-cube {
    transform: translateY(-0.01rem) scale(0.42);
  }
  .nav-cube-link {
    margin-right: 0.35rem;
  }
}

@media (min-width: 50.0625rem) and (max-width: 68rem) {
  .topnav {
    gap: 0.28rem;
    padding-inline: 0.68rem;
  }

  .topnav .nav-link {
    padding: 0.68rem 0.82rem;
    font-size: 0.82rem;
  }

  .topnav .auth-cta {
    padding: 0.68rem 0.92rem;
    font-size: 0.82rem;
  }

  .topnav .lang-switcher {
    padding-left: 0.72rem;
  }

  .nav-cube-link {
    --nav-cube-link-width: 9rem;
    margin-right: 0.28rem;
  }

  .nav-cube {
    transform: translateY(-0.01rem) scale(0.4);
  }
}

@media screen and (max-width: 68rem) {
  .topnav .nav-link,
  .topnav .auth-cta {
    display: none;
  }

  .topnav .icon,
  .burger {
    display: inline-flex;
  }
}

@media screen and (max-width: 800px) {
  .topnav .nav-link,
  .topnav .auth-cta {
    display: none;
  }
  .topnav .icon {
    display: inline-flex;
  }
  .burger {
    display: inline-flex;
  }
  .topnav {
    padding: 0.55rem 0.72rem 0.6rem;
  }
}

@media screen and (max-width: 560px) {
  .topnav::before {
    left: 0.65rem;
    right: 0.65rem;
  }
  .topnav::after {
    left: 0.75rem;
    right: 0.75rem;
  }
  .topnav .lang-switcher {
    min-height: 2.55rem;
    padding: 0.3rem 0.4rem 0.3rem 0.74rem;
  }
  .topnav .lang-current {
    min-width: 2.35rem;
    min-height: 1.85rem;
    padding-inline: 0.58rem;
  }
  .burger {
    min-width: 2.55rem;
    min-height: 2.55rem;
    padding: 0.48rem 0.7rem;
  }
}

body.nav-open {
  overflow: hidden;
}

.sidenav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11990;
  border: 0;
  padding: 0;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.sidenav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.sidenav {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.42s;
}

.sidenav.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.sidenav__panel {
  --sidenav-radius-2xl: 1.85rem;
  --sidenav-radius-xl: 1.4rem;
  --sidenav-radius-lg: 1.1rem;
  --sidenav-radius-md: 1rem;
  --sidenav-radius-pill: 999px;
  --sidenav-accent: #7dd3fc;
  --sidenav-accent-strong: #38bdf8;
  --sidenav-text: #f8fafc;
  --sidenav-text-muted: #c7d6e6;
  --sidenav-label: #94a3b8;
  --sidenav-border: rgba(148, 163, 184, 0.18);
  --sidenav-border-strong: rgba(148, 163, 184, 0.3);
  position: relative;
  isolation: isolate;
  width: min(29rem, calc(100vw - 1rem));
  height: calc(100vh - 1rem);
  height: calc(100dvh - 1rem);
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0.5rem 0 0.5rem 0.5rem;
  padding: 1.05rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(125, 211, 252, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(45, 212, 191, 0.18),
      transparent 24%
    ),
    linear-gradient(
      155deg,
      rgba(11, 18, 32, 0.96),
      rgba(7, 12, 24, 0.92) 48%,
      rgba(3, 7, 18, 0.98)
    );
  border: 1px solid var(--sidenav-border);
  border-radius: var(--sidenav-radius-2xl);
  box-shadow:
    0 1.6rem 3rem rgba(2, 6, 23, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  opacity: 0;
  transform: translate3d(calc(-100% - 1rem), 0, 0) scale(0.98);
  transform-origin: left center;
  backface-visibility: hidden;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    box-shadow 0.32s ease;
}

.sidenav__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 22%),
    radial-gradient(
      circle at 10% 22%,
      rgba(125, 211, 252, 0.14),
      transparent 24%
    );
  pointer-events: none;
}

.sidenav__panel::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  right: 0.85rem;
  bottom: 1.05rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(125, 211, 252, 0.34),
    rgba(148, 163, 184, 0.08) 18%,
    rgba(148, 163, 184, 0.08) 82%,
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

.sidenav__panel > * {
  position: relative;
  z-index: 1;
}

.sidenav.is-open .sidenav__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.sidenav__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.95rem;
  margin: 0 0 0.2rem;
  padding: 0.2rem 0.2rem 1rem;
  background: linear-gradient(
    180deg,
    rgba(5, 9, 18, 0.88),
    rgba(5, 9, 18, 0.74) 64%,
    rgba(5, 9, 18, 0)
  );
  border-radius: calc(var(--sidenav-radius-2xl) - 0.35rem)
    calc(var(--sidenav-radius-2xl) - 0.35rem) 0 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sidenav__header::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.4),
    rgba(148, 163, 184, 0.1) 68%,
    transparent
  );
  pointer-events: none;
}

.sidenav__header-copy {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 6rem;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0 0;
}

.sidenav__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.36rem 0.72rem;
  border-radius: var(--sidenav-radius-pill);
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: linear-gradient(
    180deg,
    rgba(125, 211, 252, 0.14),
    rgba(125, 211, 252, 0.04)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--sidenav-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidenav__title {
  margin: 0;
  color: var(--sidenav-text);
  font-size: clamp(1.5rem, 2vw + 0.9rem, 1.95rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.sidenav__subtitle {
  margin: 0.1rem 0 0;
  max-width: 30ch;
  color: var(--sidenav-text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.sidenav__subtitle:empty {
  display: none;
}

.sidenav__close {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: var(--sidenav-radius-lg);
  border: 1px solid var(--sidenav-border);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05)
    ),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0.8rem 1.6rem rgba(2, 6, 23, 0.2);
  color: var(--sidenav-text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.sidenav__close:hover,
.sidenav__close:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.22),
      rgba(56, 189, 248, 0.08)
    ),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(75, 194, 255, 0.45);
  box-shadow:
    0 1rem 1.9rem rgba(8, 47, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  outline: none;
}

@media screen and (max-width: 30rem) {
  .sidenav__panel {
    --sidenav-radius-2xl: 1.5rem;
    --sidenav-radius-xl: 1.2rem;
    width: calc(100vw - 0.85rem);
    height: calc(100vh - 0.85rem);
    height: calc(100dvh - 0.85rem);
    max-height: calc(100vh - 0.85rem);
    max-height: calc(100dvh - 0.85rem);
    margin: 0.425rem 0 0.425rem 0.425rem;
    padding: 0.85rem;
  }

  .sidenav__header {
    gap: 0.75rem;
    padding-bottom: 0.9rem;
  }

  .sidenav__header-copy {
    min-height: 5rem;
    gap: 0.28rem;
  }

  .sidenav__subtitle {
    max-width: none;
    font-size: 0.88rem;
  }

  .sidenav__close {
    width: 2.75rem;
    height: 2.75rem;
    align-self: flex-start;
  }
}

.sidenav__content {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 0.25rem;
}

.sidenav__section {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: var(--sidenav-radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(15, 23, 42, 0.48);
  box-shadow:
    0 1rem 2rem rgba(2, 6, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sidenav__section-label {
  margin: 0 0 0.15rem;
  color: var(--sidenav-label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidenav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
  border-radius: var(--sidenav-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.06);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--sidenav-text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sidenav a:hover,
.sidenav a:focus-visible {
  color: var(--sidenav-text);
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.12), rgba(45, 212, 191, 0.08)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(75, 194, 255, 0.24);
  box-shadow:
    0 1rem 1.8rem rgba(2, 6, 23, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  outline: none;
}

.sidenav a.active {
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.22), rgba(45, 212, 191, 0.1)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(75, 194, 255, 0.34);
  color: var(--sidenav-text);
  box-shadow:
    0 1rem 2rem rgba(56, 189, 248, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidenav a.active::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  bottom: 0.72rem;
  left: 0.5rem;
  width: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--sidenav-accent),
    var(--sidenav-accent-strong)
  );
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.12);
}

.sidenav .auth-cta {
  text-align: center;
  font-weight: 700;
  justify-content: center;
}

.sidenav .auth-cta--login {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 55%, #22d3ee);
  color: #042235;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow:
    0 1rem 2rem rgba(56, 189, 248, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.sidenav .auth-cta--login:hover,
.sidenav .auth-cta--login:focus-visible {
  color: #042235;
  background: linear-gradient(135deg, #a5e3ff, #4bc2ff 52%, #2dd4bf);
}

.sidenav .auth-cta--account {
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.14), rgba(45, 212, 191, 0.08)),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(75, 194, 255, 0.28);
}

.sidenav .auth-cta--account:hover,
.sidenav .auth-cta--account:focus-visible,
.sidenav .auth-cta--account.active {
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.24), rgba(45, 212, 191, 0.12)),
    rgba(255, 255, 255, 0.07);
  border-color: rgba(75, 194, 255, 0.38);
}

.sidenav .auth-cta--logout {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(148, 163, 184, 0.18);
}

.sidenav__footer {
  margin-top: auto;
  padding-bottom: 0.25rem;
}

.sidenav a.btn-primary {
  width: 100%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
}

.sidenav-lang {
  margin: 0 0 0.2rem;
}

.sidenav-lang .lang-wrapper {
  display: flex;
  width: 100%;
}

.sidenav-lang .lang-switcher {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sidenav-text);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow:
    0 0.8rem 1.6rem rgba(2, 6, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 0.7rem 0.85rem;
  border-radius: var(--sidenav-radius-md);
}

.sidenav-calendar {
  margin-top: 1.2rem;
  text-align: left;
  padding: 0.5rem 1rem 1rem;
}

.sidenav-calendar .section-kicker {
  margin: 0;
  color: var(--sidenav-label);
  font-size: 0.9rem;
  font-weight: 700;
}

.sidenav-calendar .section-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.1rem;
  color: var(--sidenav-text);
}

.sidenav-calendar .section-intro {
  color: var(--sidenav-text-muted);
  margin: 0.25rem 0 0.6rem;
}

html[data-theme="light"] .sidenav__panel {
  --sidenav-accent: #0ea5e9;
  --sidenav-accent-strong: #0284c7;
  --sidenav-text: #0f172a;
  --sidenav-text-muted: #475569;
  --sidenav-label: #64748b;
  --sidenav-border: rgba(148, 163, 184, 0.24);
  --sidenav-border-strong: rgba(148, 163, 184, 0.34);
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(14, 165, 233, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(16, 185, 129, 0.11),
      transparent 24%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.9),
      rgba(248, 250, 252, 0.95) 48%,
      rgba(235, 241, 248, 0.98)
    );
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow:
    0 1.4rem 3rem rgba(148, 163, 184, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] .sidenav__panel::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 22%),
    radial-gradient(
      circle at 10% 22%,
      rgba(14, 165, 233, 0.12),
      transparent 24%
    );
}

html[data-theme="light"] .sidenav__header {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.72) 64%,
    transparent
  );
}

html[data-theme="light"] .sidenav__eyebrow {
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.14);
  background: linear-gradient(
    180deg,
    rgba(14, 165, 233, 0.12),
    rgba(14, 165, 233, 0.04)
  );
}

html[data-theme="light"] .sidenav__title {
  color: var(--sidenav-text);
}

html[data-theme="light"] .sidenav__subtitle,
html[data-theme="light"] .sidenav-calendar .section-intro {
  color: var(--sidenav-text-muted);
}

html[data-theme="light"] .sidenav-calendar .section-title {
  color: var(--sidenav-text);
}

html[data-theme="light"] .sidenav__section {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.68)
    ),
    rgba(248, 250, 252, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    0 0.9rem 1.8rem rgba(148, 163, 184, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] .sidenav__section-label,
html[data-theme="light"] .sidenav-calendar .section-kicker {
  color: var(--sidenav-label);
}

html[data-theme="light"] .sidenav a {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 0.76)
    ),
    rgba(248, 250, 252, 0.82);
  color: var(--sidenav-text);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .sidenav a:hover,
html[data-theme="light"] .sidenav a:focus-visible,
html[data-theme="light"] .sidenav a.active {
  color: #082f49;
  box-shadow:
    0 1rem 1.8rem rgba(14, 165, 233, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .sidenav .auth-cta--account {
  color: #082f49;
  background:
    linear-gradient(
      180deg,
      rgba(240, 249, 255, 0.98),
      rgba(224, 242, 254, 0.92)
    ),
    rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow:
    0 1rem 2rem rgba(14, 116, 144, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .sidenav .auth-cta--logout,
html[data-theme="light"] .sidenav-lang .lang-switcher,
html[data-theme="light"] .sidenav__close {
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
}

html:not([data-theme="light"]) .sidenav__title,
html:not([data-theme="light"]) .sidenav a,
html:not([data-theme="light"]) .sidenav .auth-cta--logout,
html:not([data-theme="light"]) .sidenav-lang .lang-switcher,
html:not([data-theme="light"]) .sidenav__close,
html:not([data-theme="light"]) .sidenav-calendar .section-title {
  color: var(--sidenav-text);
}

html:not([data-theme="light"]) .sidenav__subtitle,
html:not([data-theme="light"]) .sidenav-calendar .section-intro {
  color: var(--sidenav-text-muted);
}

html:not([data-theme="light"]) .sidenav__section-label,
html:not([data-theme="light"]) .sidenav-calendar .section-kicker {
  color: var(--sidenav-label);
}

@media screen and (max-height: 450px) {
  .sidenav__panel {
    padding-top: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidenav,
  .sidenav-backdrop,
  .sidenav__panel {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .sidenav__panel {
    transform: translate3d(-100%, 0, 0);
  }

  .sidenav.is-open .sidenav__panel {
    transform: translate3d(0, 0, 0);
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-035 {
  margin-top: 0.35rem;
}

.mt-06 {
  margin-top: 0.6rem;
}

.mt-07 {
  margin-top: 0.7rem;
}

.mt-1 {
  margin-top: 1rem;
}

.btn-wrap {
  white-space: normal;
  text-align: center;
  width: 100%;
}

.card-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1.15rem;
  background: rgba(15, 23, 42, 0.65);
}

html[data-theme="light"] .card {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
}

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.form-stacked label {
  display: block;
  margin: 0.4rem 0 0.2rem;
  font-weight: 600;
}

.form-stacked input,
.form-stacked textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
}

html[data-theme="light"] .form-stacked input,
html[data-theme="light"] .form-stacked textarea {
  background: #ffffff;
  color: #0f172a;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.form-error {
  color: #f87171;
  font-weight: 600;
  margin-top: 0.25rem;
}

.table-like {
  display: grid;
  gap: 0.45rem;
}

.table-head,
.table-row,
.table-subhead {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.4fr 0.9fr;
  gap: 0.7rem;
  padding: 0.82rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

@media (max-width: 720px) {
  .table-head,
  .table-row,
  .table-subhead {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0.45rem;
  }

  .table-head span:nth-child(3),
  .table-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .table-head span:nth-child(4),
  .table-row span:nth-child(4) {
    grid-column: 1 / -1;
    text-align: left;
  }

  .table-actions {
    justify-content: flex-start;
  }
}

.table-head {
  font-weight: 800;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(148, 163, 184, 0.3);
}

.table-subhead {
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.table-row {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.65);
}

.table-row span:last-child {
  color: #cbd5e1;
}

.table-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 0.55rem;
  align-items: center;
}

.table-actions .link {
  font-weight: 700;
  color: #e0e7ff;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 6px 18px -10px rgba(79, 70, 229, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.table-actions .link.danger {
  color: #fecdd3;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: 0 6px 18px -10px rgba(248, 113, 113, 0.55);
}

.table-actions .link:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.35);
}

.table-actions .link.danger:hover {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.48);
}

.muted {
  color: #94a3b8;
}

.gradient-card {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(79, 70, 229, 0.18),
      rgba(16, 24, 40, 0.06)
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  border: 1.2px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

html[data-theme="light"] .gradient-card {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(99, 102, 241, 0.12),
      rgba(99, 102, 241, 0.05)
    ),
    linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-color: rgba(148, 163, 184, 0.35);
}

.pill-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e0e7ff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.pill.muted-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

html[data-theme="light"] .pill {
  color: #312e81;
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.28);
}

html[data-theme="light"] .pill.muted-pill {
  background: #eef2ff;
  border-color: rgba(148, 163, 184, 0.38);
  color: #475569;
}

.chip-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  /* margin-bottom: 0.15rem; */
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 12px 12px 0 0;
  background: rgba(99, 102, 241, 0.12);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.9rem;
}

.chip.muted-chip {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

html[data-theme="light"] .chip {
  background: rgba(99, 102, 241, 0.12);
  color: #312e81;
}

html[data-theme="light"] .chip.muted-chip {
  background: #f8fafc;
  color: #475569;
}

html[data-theme="light"] .table-head,
html[data-theme="light"] .table-row,
html[data-theme="light"] .table-subhead {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.26);
}

html[data-theme="light"] .table-head {
  background: #f8fafc;
}

.card-head.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.btn-quiet {
  border: 1px dashed var(--border-soft);
  background: transparent;
  color: var(--text-muted);
  padding: 0.65rem 0.9rem;
}

.dialog {
  border: none;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 18px 45px -24px rgba(20, 34, 70, 0.55);
  max-width: 460px;
  width: 90vw;
  background: var(--panel-bg);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

html[data-theme="light"] .dialog {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
}

.dialog::backdrop {
  background: rgba(18, 27, 56, 0.4);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

header.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 2vw + 1rem, 2.8rem) 0
    clamp(0.9rem, 1vw + 0.6rem, 1.5rem);
  margin: 0 0 calc(var(--space-gap) + 0.2rem);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  position: relative;
  overflow: visible;
}

.hero::before {
  display: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.95rem, 0.7rem + 0.8vw, 1.45rem);
  align-items: stretch;
  justify-content: flex-start;
  width: min(100%, 54rem);
  max-width: 54rem;
  min-width: 0;
  margin: 0;
}

.hero-main > * {
  width: 100%;
  min-width: 0;
}

.hero-surface {
  position: relative;
  display: grid;
  gap: 1.35rem;
  width: 100%;
  padding: clamp(1.15rem, 1vw + 1rem, 1.75rem);
  /* border-radius: 1.5rem; */
  background: transparent;
  border: none;
  box-shadow: 0 1.35rem 2.8rem rgba(2, 6, 23, 0.22);
  overflow: hidden;
}

html[data-theme="light"] .hero-surface {
  background: transparent;
  border: none;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.hero-head {
  display: grid;
  gap: clamp(0.7rem, 0.45rem + 0.7vw, 1rem);
  text-align: left;
  width: min(100%, 46rem);
  max-width: 46rem;
  min-width: 0;
  align-content: start;
}

.hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(0.45rem, 0.25rem + 0.6vw, 0.85rem);
  width: 100%;
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  /* margin-bottom: 0.9rem; */
}

.hero-kicker span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-base);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(14, 165, 233, 0.3);
}

.hero h1 {
  font-size: clamp(2.25rem, 1.1vw + 2.3rem, 3.35rem);
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  width: 100%;
  max-width: none;
  align-self: stretch;
  text-align: left;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero h1 span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--text-light);
  margin: 0;
  max-width: 40rem;
  min-width: 0;
  text-align: left;
  align-self: stretch;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-copy {
  margin: 0;
  max-width: 44rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-body {
  display: grid;
  gap: 1rem;
  text-align: left;
  align-self: stretch;
  margin-left: auto;
  margin-right: auto;
}

.hero-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(100%, 46rem);
}

.hero-glance-card {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.3), rgba(15, 23, 42, 0.22)),
    rgba(2, 6, 23, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.9rem 1.8rem rgba(2, 6, 23, 0.16);
}

.hero-glance-card__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.78);
}

.hero-glance-card__value {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-glance-card__hint {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.84rem;
  line-height: 1.4;
}

html[data-theme="light"] .hero-glance-card {
  border-color: rgba(14, 165, 233, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(240, 249, 255, 0.88)
    ),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 0.85rem 1.7rem rgba(14, 116, 144, 0.08);
}

html[data-theme="light"] .hero-glance-card__label {
  color: #0056a6;
}

html[data-theme="light"] .hero-glance-card__value {
  color: #0f172a;
}

html[data-theme="light"] .hero-glance-card__hint {
  color: #475569;
}

.hero-points {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  justify-items: start;
  max-width: 46rem;
}

.hero-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-light);
  justify-content: flex-start;
  line-height: 1.45;
}

.hero-points li span.icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent);
  background: transparent;
  margin-top: 0.08rem;
  flex-shrink: 0;
}

html[data-theme="light"] .hero-points li span.icon {
  background: transparent;
  border: none;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
  width: auto;
}

.hero-actions--primary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 0.8rem;
  width: min(100%, 42rem);
  margin: 0.2rem 0 0;
}

.hero-actions--primary .btn-primary,
.hero-actions--primary .btn-secondary {
  width: 100%;
  min-width: 0;
  min-height: 3.45rem;
  padding: 0.95rem 1.2rem;
  border-radius: 1rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.hero-actions--primary .btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.04)),
    rgba(15, 23, 42, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.9rem 1.8rem rgba(2, 6, 23, 0.18);
}

.hero-actions--primary .btn-secondary:hover,
.hero-actions--primary .btn-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1.1rem 2rem rgba(2, 6, 23, 0.22);
}

.hero-actions--side {
  margin-top: 1rem;
}

.hero-actions--account {
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.5rem;
}

.hero-actions--account .btn-ghost {
  width: auto;
}

.hero-actions--account .login-chip--inline {
  justify-self: start;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  white-space: normal;
  line-height: 1.1;
  font-size: 0.65rem;
}

.btn-ghost {
  width: 100%;
  margin-bottom: 0;
}

@media (min-width: 48rem) {
  .hero-actions {
    justify-content: flex-start;
    gap: 1rem;
  }

  .hero-actions--primary {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  }

  .hero-actions--side {
    grid-template-columns: 1fr;
    justify-content: flex-end;
  }
  .hero-actions--side.hero-actions--account {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 48rem) {
  .home-page .hero-kicker {
    display: none;
  }

  .hero-surface {
    padding: 1.1rem 1rem;
    border-radius: 1.2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .hero-actions--primary {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

.hero-actions .btn-primary {
  position: relative;
  isolation: isolate;
  padding: 0.95rem 2.1rem;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #38bdf8, #bcf1e0, #1a5159);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow:
    0 1.2rem 2.8rem rgba(79, 70, 229, 0.35),
    0 0 0 1px rgba(56, 189, 248, 0.35) inset;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions .hero-primary-cta {
  padding: 0.95rem 1.55rem;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow:
    0 1rem 2.2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
  animation: none;
}

.hero-actions .hero-primary-cta::after {
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.02) 46%,
    rgba(255, 255, 255, 0) 60%
  );
}

.hero-actions .hero-primary-cta:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.4rem 3rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

.hero-actions .hero-primary-cta:focus-visible {
  outline: 2px solid rgba(186, 230, 253, 0.9);
  outline-offset: 3px;
}

html[data-theme="light"] .hero-actions .hero-primary-cta {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 112, 209, 0.98), rgba(0, 87, 170, 0.96)),
    linear-gradient(120deg, #0070d1, #00a0ff);
  border-color: rgba(0, 112, 209, 0.28);
  box-shadow:
    0 1rem 2rem rgba(16, 46, 88, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

html[data-theme="light"] .hero-actions .hero-primary-cta:hover {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 1), rgba(0, 109, 199, 0.98)),
    linear-gradient(120deg, #0a84ff, #00a0ff);
  border-color: rgba(0, 112, 209, 0.34);
  box-shadow:
    0 1.25rem 2.35rem rgba(16, 46, 88, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

html[data-theme="light"] .hero-actions .hero-primary-cta:focus-visible {
  outline: 2px solid rgba(0, 112, 209, 0.36);
}

.womens-day-section {
  margin-top: clamp(0.85rem, 1.2vw, 1.25rem);
}

.womens-day-section--page {
  margin-top: calc(var(--topnav-offset) * 0.26 + 1.15rem);
}

.page-shell > .womens-day-section:first-child {
  margin-top: calc(var(--topnav-offset) * 0.2 + 0.75rem);
}

.womens-day-page {
  display: grid;
  gap: clamp(1.1rem, 1.4vw, 1.8rem);
  width: 100%;
  padding-top: calc(var(--topnav-offset) * 0.55 + 1.6rem);
}

.womens-day-page__hero {
  display: grid;
  gap: 0.85rem;
  max-width: 62rem;
}

.womens-day-page__title {
  margin: 0;
  font-size: clamp(2rem, 1.4vw + 1.7rem, 3rem);
  line-height: 1.02;
  color: var(--text-light);
  text-wrap: balance;
}

.womens-day-page__intro {
  margin: 0;
  max-width: 52rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.womens-day-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.womens-day-page__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.2);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 700;
}

.womens-day-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.75fr);
  gap: clamp(1rem, 1.5vw, 1.5rem);
  align-items: start;
}

.womens-day-page__aside {
  display: grid;
  gap: 0.95rem;
}

.womens-day-page__panel {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.1rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(20, 18, 33, 0.62);
  border: 1px solid rgba(244, 114, 182, 0.16);
  box-shadow: 0 1rem 2rem rgba(20, 18, 33, 0.18);
}

.womens-day-page__panel-kicker {
  margin: 0;
  color: #f9a8d4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.womens-day-page__panel h2 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.25;
}

.womens-day-page__panel p:last-child {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 72rem) {
  .womens-day-page {
    gap: 1.7rem;
    padding-top: calc(var(--topnav-offset) * 0.58 + 1.7rem);
  }

  .womens-day-page__hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 1.4rem;
    max-width: none;
  }

  .womens-day-page__title {
    font-size: clamp(2.5rem, 1vw + 2.1rem, 3.6rem);
    max-width: 14ch;
  }

  .womens-day-page__intro {
    max-width: 58rem;
    font-size: 1.08rem;
  }

  .womens-day-page__meta {
    justify-content: flex-end;
    align-self: center;
    max-width: 22rem;
  }

  .womens-day-page__layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(20rem, 0.72fr);
    gap: 1.4rem;
  }

  .womens-day-page__aside {
    position: sticky;
    top: calc(var(--topnav-offset) + 1.2rem);
    gap: 1rem;
  }

  .womens-day-page__panel {
    padding: 1.2rem 1.15rem;
    border-radius: 1.3rem;
  }

  .womens-day-section--page {
    margin-top: 0;
  }

  .womens-day-section--page .womens-day-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, 35rem);
    min-height: 100%;
    padding: 1.55rem;
    border-radius: 2rem;
  }

  .womens-day-section--page .womens-day-copy {
    padding-right: 0.35rem;
  }

  .womens-day-section--page .womens-day-title {
    max-width: 12ch;
    font-size: clamp(2rem, 0.6vw + 1.8rem, 2.6rem);
  }

  .womens-day-section--page .womens-day-lead {
    font-size: 1.05rem;
    max-width: 34rem;
  }

  .womens-day-section--page .womens-day-effect {
    min-height: 31rem;
    border-radius: 1.6rem;
  }

  .womens-day-section--page .womens-day-actions .btn-primary {
    min-width: 14.5rem;
  }
}

@media (min-width: 90rem) {
  .womens-day-page {
    padding-top: calc(var(--topnav-offset) * 0.6 + 1.85rem);
  }

  .womens-day-page__layout {
    grid-template-columns: minmax(0, 1.9fr) minmax(21rem, 0.65fr);
  }

  .womens-day-section--page .womens-day-card {
    grid-template-columns: minmax(0, 1.14fr) minmax(30rem, 38rem);
    padding: 1.75rem;
  }

  .womens-day-section--page .womens-day-effect {
    min-height: 33rem;
  }
}

.womens-day-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 24rem);
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: center;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: 1.8rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(253, 164, 175, 0.18),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(250, 204, 21, 0.15),
      rgba(255, 255, 255, 0) 22%
    ),
    linear-gradient(
      135deg,
      rgba(35, 11, 46, 0.96),
      rgba(105, 23, 92, 0.88) 48%,
      rgba(67, 15, 42, 0.94)
    );
  border: 1px solid rgba(244, 114, 182, 0.26);
  box-shadow: 0 1.6rem 3.3rem rgba(38, 9, 29, 0.28);
}

.womens-day-card::before {
  content: "";
  position: absolute;
  inset: auto -5rem -6rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(253, 224, 71, 0.18),
    rgba(253, 224, 71, 0)
  );
  pointer-events: none;
}

.womens-day-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(90deg, rgba(35, 11, 46, 0) 36%, rgba(35, 11, 46, 0.3)),
    url("https://images.unsplash.com/photo-1549048799-482af26246f3?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=80&w=1600");
  background-size: auto, auto, cover;
  background-position:
    center,
    center,
    right center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.womens-day-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.95rem;
  align-content: center;
  min-width: 0;
}

.womens-day-kicker::before {
  color: #f9a8d4;
}

.womens-day-title {
  margin: 0;
  max-width: 18ch;
}

.womens-day-lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(241, 245, 249, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

.womens-day-note {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(253, 186, 221, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.womens-day-note strong {
  color: #fde7f3;
}

.womens-day-note p {
  margin: 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: 0.95rem;
  line-height: 1.6;
}

.womens-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.womens-day-actions .btn-primary {
  width: auto;
}

.womens-day-effect {
  --reveal: 54%;
  position: relative;
  min-height: 24rem;
  border-radius: 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #180f22;
  box-shadow:
    0 1.2rem 2.6rem rgba(20, 6, 17, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.womens-day-effect__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(16, 18, 31, 0.08), rgba(16, 18, 31, 0.32)),
    linear-gradient(160deg, rgba(48, 16, 61, 0.18), rgba(16, 37, 65, 0.22)),
    url("https://images.unsplash.com/photo-1680169281880-ef110a0b085c?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=80&w=1800");
  background-size: auto, auto, cover;
  background-position: center, center, center;
}

.womens-day-effect__layer::before,
.womens-day-effect__layer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.womens-day-effect__layer::before {
  left: 18%;
  bottom: 18%;
  width: 0.45rem;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(134, 239, 172, 0.08),
    rgba(74, 222, 128, 0.9)
  );
  transform: rotate(-10deg);
}

.womens-day-effect__layer::after {
  right: 20%;
  bottom: 20%;
  width: 0.45rem;
  height: 38%;
  background: linear-gradient(
    180deg,
    rgba(134, 239, 172, 0.08),
    rgba(34, 197, 94, 0.86)
  );
  transform: rotate(8deg);
}

.womens-day-effect__layer--base {
  filter: grayscale(1) saturate(0.22) brightness(0.86);
}

.womens-day-effect__layer--reveal {
  width: var(--reveal);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.womens-day-effect__split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.womens-day-effect__split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.2rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(253, 224, 71, 0.95)
  );
  box-shadow: 0 0 1.1rem rgba(255, 255, 255, 0.45);
}

.womens-day-effect__knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0.8rem 1.8rem rgba(17, 24, 39, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.womens-day-effect__knob::before,
.womens-day-effect__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  border-right: 2px solid rgba(255, 255, 255, 0.95);
}

.womens-day-effect__knob::before {
  left: 0.72rem;
  transform: translateY(-50%) rotate(225deg);
}

.womens-day-effect__knob::after {
  right: 0.72rem;
  transform: translateY(-50%) rotate(45deg);
}

.womens-day-effect__caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  max-width: 16rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.15rem;
  background: rgba(9, 12, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.womens-day-effect__date {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.womens-day-effect__caption strong {
  color: #fff7fb;
  font-size: 1.3rem;
  line-height: 1.15;
}

.womens-day-effect__caption span:last-child {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  font-size: 0.95rem;
}

.womens-day-effect__hint {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 18, 30, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.womens-day-effect__hint span {
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .womens-day-card {
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(251, 207, 232, 0.42),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(253, 224, 71, 0.22),
      rgba(255, 255, 255, 0) 22%
    ),
    linear-gradient(
      135deg,
      rgba(255, 248, 252, 0.98),
      rgba(254, 242, 248, 0.96) 46%,
      rgba(240, 249, 255, 0.98)
    );
  border-color: rgba(244, 114, 182, 0.2);
  box-shadow: 0 1.1rem 2.4rem rgba(190, 24, 93, 0.08);
}

html[data-theme="light"] .womens-day-page__pill {
  color: #7a1744;
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.18);
}

html[data-theme="light"] .womens-day-page__panel {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.58)
    ),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(244, 114, 182, 0.16);
  box-shadow: 0 1rem 2rem rgba(190, 24, 93, 0.08);
}

html[data-theme="light"] .womens-day-page__panel h2 {
  color: #4a044e;
}

html[data-theme="light"] .womens-day-page__panel p:last-child {
  color: #6b214f;
}

html[data-theme="light"] .womens-day-card::after {
  opacity: 0.14;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .womens-day-lead {
  color: #4a044e;
}

html[data-theme="light"] .womens-day-note {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(244, 114, 182, 0.18);
}

html[data-theme="light"] .womens-day-note strong {
  color: #9d174d;
}

html[data-theme="light"] .womens-day-note p {
  color: #6b214f;
}

html[data-theme="light"] .womens-day-effect {
  border-color: rgba(190, 24, 93, 0.12);
  box-shadow:
    0 1rem 2rem rgba(190, 24, 93, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

html[data-theme="light"] .womens-day-effect__caption {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.44);
}

html[data-theme="light"] .womens-day-effect__hint {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(190, 24, 93, 0.12);
}

html[data-theme="light"] .womens-day-effect__hint span {
  color: #7a1744;
}

@media (max-width: 56rem) {
  .womens-day-page__layout {
    grid-template-columns: 1fr;
  }

  .womens-day-card {
    grid-template-columns: 1fr;
  }

  .womens-day-title {
    max-width: none;
  }

  .womens-day-effect {
    min-height: 21rem;
  }
}

@media (max-width: 36rem) {
  .womens-day-page__title {
    font-size: 1.7rem;
  }

  .womens-day-card {
    padding: 1rem;
    border-radius: 1.4rem;
  }

  .womens-day-effect {
    min-height: 18.5rem;
  }

  .womens-day-effect__layer {
    padding: 0.8rem;
  }

  .womens-day-effect__caption {
    max-width: 13.5rem;
    padding: 0.85rem;
  }

  .womens-day-effect__caption strong {
    font-size: 1.05rem;
  }

  .womens-day-effect__caption span:last-child {
    font-size: 0.86rem;
  }

  .womens-day-effect__knob {
    width: 2.55rem;
    height: 2.55rem;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .hero-pill {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.42);
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.08);
}

.hero-actions--tight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.5rem 0 1.2rem 0;
  padding: 0.4rem 0.45rem;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(56, 189, 248, 0.08),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.55);
}

.btn-compact {
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1.5rem 3.1rem rgba(79, 70, 229, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.55) inset;
  background-position: 100% 50%;
}

.hero-actions .btn-primary:hover::after {
  opacity: 1;
}

.hero-actions .btn-primary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 2px;
}

.hero-cta {
  margin-top: 1.4rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 1.2rem 2.6rem rgba(15, 23, 42, 0.22);
}

.hero-cta__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero-cta__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.hero-cta__btn {
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 1rem 1.2rem;
  border-radius: 0.95rem;
  text-align: left;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.12);
}

.hero-cta__btn .hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: rgba(148, 163, 184, 0.18);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-cta__label {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.hero-cta__btn--ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}

.hero-cta__btn--ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.4);
}

@media (min-width: 48rem) {
  .hero-cta {
    padding: 1.5rem 1.8rem;
  }
  .hero-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

.fullscreen-sm {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--space-page) + 3rem) var(--space-page) var(--space-page);
}

.simple-login-shell.fullscreen-sm {
  min-height: calc(100vh - 72px);
  padding-top: calc(var(--space-page) + 1.5rem);
}

.interp-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
  background: transparent;
}

.interp-shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

@media (max-width: 48rem) {
  .interp-page.fullscreen-sm {
    padding: calc(var(--space-page) + 1.25rem) 0.5rem 0.5rem;
  }
}

@media (max-width: 32rem) {
  .interp-page.fullscreen-sm {
    padding: calc(var(--space-page) + 1rem) 0.35rem 0.35rem;
  }
}

@media screen and (max-width: 20rem) {
  .interp-page {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .interp-shell {
    width: 100%;
    padding: 1rem 0.75rem;
    margin: 0 auto;
  }

  .interp-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    max-width: 100%;
    margin: 0;
    justify-items: stretch;
  }

  .interp-card {
    padding: 0.8rem 0.85rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .interp-contact-form textarea {
    min-height: 72px;
    font-size: 0.9rem;
  }

  .interp-contact-form .btn-primary {
    width: 100%;
  }

  .interp-contact-form {
    max-width: 100%;
  }

  .interp-filter {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.8rem 0.95rem;
    margin: 0 auto;
  }

  .interp-filter__form {
    width: 100%;
  }
}

.interp-filter {
  position: relative;
  padding: 1.1rem 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
}

.interp-filter .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.interp-filter__form {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 0.9rem;
  align-items: end;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem;
  border-radius: 14px;
}

@media (max-width: 52rem) {
  .interp-filter__form {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.interp-filter label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #e2e8f0;
}

.interp-filter input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

.interp-filter input:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.92);
}

.interp-filter__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.interp-filter__actions .btn-primary,
.interp-filter__actions .btn-ghost {
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  min-width: 130px;
}

.interp-filter__actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
}

.interp-filter__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.7);
}

.interp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.interp-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
}

.interp-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.interp-meta {
  color: var(--text-muted, #cbd5e1);
  font-size: 0.95rem;
  margin: 0;
}

.interp-card__avatar {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.interp-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.interp-card__info {
  flex: 1 1 240px;
  min-width: 0;
}
.interp-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(255, 255, 255, 0.12);
}
.interp-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #0b1220;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 7000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}
.img-modal__content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 720px;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  animation: interpZoom 0.6s ease;
}
.img-modal__caption {
  margin: 12px auto 0;
  display: block;
  width: 80%;
  max-width: 720px;
  text-align: center;
  color: #e5e7eb;
  padding: 6px 0 16px;
  min-height: 24px;
}
.img-modal__close {
  position: absolute;
  top: 20px;
  right: 32px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}
.img-modal__close:hover,
.img-modal__close:focus {
  color: #cbd5e1;
}

@keyframes interpZoom {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 700px) {
  .img-modal__content {
    width: 96%;
  }
}

.interp-card {
  display: block;
  padding: 1.1rem 1.25rem;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(56, 189, 248, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(248, 113, 113, 0.12),
      transparent 40%
    ),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(40px);
  position: relative;
  z-index: 0;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.interp-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.28);
  border-color: rgba(56, 189, 248, 0.32);
}
.interp-card::after {
  content: none;
}
.interp-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}
.interp-meta {
  margin: 0 0 0.2rem;
  line-height: 1.45;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.interp-meta::before {
  content: "";
}
.interp-text {
  margin: 0.25rem 0 0.65rem;
  line-height: 1.55;
  color: var(--text-light, #e5e7eb);
  white-space: pre-line;
}
.interp-avatar-img,
.interp-avatar-fallback {
  width: 88px;
  height: 88px;
}

@media (min-width: 425px) {
  .interp-avatar-img,
  .interp-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 640px) {
  .interp-card {
    text-align: left;
    padding: 1rem;
  }
  .interp-card__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .interp-card__info {
    align-items: center;
  }
}

.interp-text {
  margin: 0.35rem 0 0;
  color: var(--text-light, #e5e7eb);
}

.interp-price {
  font-weight: 700;
  color: #7dd3fc;
}

.interp-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.1rem;
  align-items: stretch;
  width: 100%;
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.interp-contact-form {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.interp-contact-form textarea {
  width: 100%;
  min-height: 360px;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.95rem;
  resize: none;
  height: 360px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  box-sizing: border-box;
}

.interp-contact-form textarea:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.interp-contact-form .btn-primary {
  width: 100%;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 1rem 2.2rem rgba(56, 189, 248, 0.25);
}

.interp-cta-locked {
  width: 100%;
  max-width: 520px;
  margin: 0.25rem auto 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  text-align: center;
}

.interp-cta-locked__actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.65);
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #38bdf8;
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.1);
}

html[data-theme="light"] .btn-secondary {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.42);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-secondary:focus-visible {
  color: #082f49;
  background: rgba(224, 242, 254, 0.82);
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: 0 1rem 2rem rgba(14, 116, 144, 0.12);
}

.interp-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.interp-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.9rem;
}

.interp-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #cbd5e1;
  margin: 0.5rem 0;
}

/* Layout override: Karten vollbreit untereinander, Kalender neben dem Formular */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}

.interp-card {
  display: block !important;
  width: 100% !important;
}

.interp-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* Contact & Profile */
.contact-card,
.profile-card {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.contact-card {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-block .contact-label {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-block .contact-value {
  margin: 0.05rem 0 0;
  color: #e2e8f0;
  font-size: 1.05rem;
  word-break: break-word;
}

.profile-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.profile-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.profile-card--account {
  position: relative;
  overflow: hidden;
  gap: 1.15rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.22),
      transparent 34%
    ),
    linear-gradient(160deg, rgba(8, 15, 30, 0.98), rgba(15, 23, 42, 0.96));
}

.profile-card--applications {
  gap: 1.15rem;
  background:
    radial-gradient(
      circle at bottom left,
      rgba(34, 197, 94, 0.18),
      transparent 32%
    ),
    linear-gradient(160deg, rgba(11, 18, 32, 0.98), rgba(20, 32, 54, 0.96));
}

.profile-account {
  display: grid;
  gap: 1rem;
}

.profile-applications {
  display: grid;
  gap: 1rem;
}

.profile-account__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1.2rem;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(186, 230, 253, 0.12),
      transparent 42%
    ),
    linear-gradient(145deg, rgba(30, 41, 59, 0.56), rgba(51, 65, 85, 0.28));
  border: 1px solid rgba(125, 211, 252, 0.14);
  box-shadow:
    0 1rem 2rem rgba(8, 47, 73, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile-applications__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.82),
    rgba(30, 41, 59, 0.54)
  );
  border: 1px solid rgba(74, 222, 128, 0.18);
}

.profile-account__facts {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-applications__summary {
  display: grid;
  gap: 0.1rem;
  min-width: 7.5rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: right;
}

.profile-applications__count {
  color: #f8fafc;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.profile-applications__label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-stat {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.profile-stat__label {
  margin: 0 0 0.35rem;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-stat__value {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.profile-card__header,
.profile-card__heading {
  display: grid;
  gap: 0.9rem;
}

.profile-card__header {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.profile-card__identity {
  min-width: 0;
}

.profile-card__identity h3,
.profile-card__heading h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.15;
}

.profile-card__kicker {
  margin: 0 0 0.3rem;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-card__facts,
.profile-card__panel {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.profile-card__facts {
  display: grid;
  gap: 0.5rem;
}

.profile-card__panel {
  margin-top: 0;
}

.profile-card__panel--account {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.profile-panel__header {
  display: grid;
  gap: 0.35rem;
}

.profile-panel__title {
  margin: 0;
  color: #f8fafc;
  font-size: 1.08rem;
  line-height: 1.2;
}

.profile-panel__copy {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-upload-field {
  display: grid;
  gap: 0.55rem;
}

.profile-upload-preview {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.profile-upload-preview--empty {
  border-style: dashed;
}

.profile-upload-preview--pending-remove {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.16);
}

.profile-upload-preview__label {
  margin: 0;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-upload-preview__row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.profile-upload-preview__thumb {
  width: 5.6rem;
  height: 5.6rem;
  object-fit: cover;
  border-radius: 1.15rem;
  border: 2px solid rgba(56, 189, 248, 0.36);
  box-shadow: 0 0.9rem 1.8rem rgba(2, 6, 23, 0.28);
  background: rgba(15, 23, 42, 0.4);
}

.profile-upload-preview__thumb--hidden,
.profile-upload-preview__placeholder--hidden,
.profile-upload-preview__remove--hidden {
  display: none;
}

.profile-upload-preview__placeholder {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 24rem;
}

.profile-upload-preview__remove {
  display: grid;
  gap: 0.55rem;
}

.profile-upload-preview__remove input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.profile-upload-preview__remove-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: 0.95rem;
  background: rgba(127, 29, 29, 0.14);
  color: #fecaca;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease;
}

.profile-upload-preview__remove-toggle:hover,
.profile-upload-preview__remove-toggle:focus-visible {
  background: rgba(127, 29, 29, 0.22);
  border-color: rgba(248, 113, 113, 0.48);
  transform: translateY(-1px);
}

.profile-upload-preview__remove-hint {
  display: none;
  margin: 0;
  color: #fca5a5;
  font-size: 0.85rem;
  line-height: 1.45;
}

.profile-upload-preview__remove-hint--visible {
  display: block;
}

.profile-upload-field label {
  font-weight: 700;
  color: #f8fafc;
}

.profile-upload-field__hint {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.profile-card .form input[type="file"] {
  padding: 0.55rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.9),
    rgba(30, 41, 59, 0.78)
  );
  border: 1px dashed rgba(125, 211, 252, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.profile-card .form input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.72rem 0.95rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #08111f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  box-shadow: 0 0.8rem 1.6rem rgba(34, 197, 94, 0.14);
}

.profile-card .form input[type="file"]:hover::file-selector-button,
.profile-card .form input[type="file"]:focus-visible::file-selector-button {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 1rem 1.9rem rgba(56, 189, 248, 0.2);
}

.profile-card .form input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
}

.profile-card__submit,
.profile-card__secondary {
  width: 100%;
}

.profile-card__actions {
  margin-top: 0.25rem;
}

.profile-card__actions--account {
  display: grid;
  gap: 0.75rem;
}

.profile-card__actions--applications {
  padding-top: 0.25rem;
}

.profile-card__danger {
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.profile-card__danger:hover,
.profile-card__danger:focus-visible {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.16);
}

.profile-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #f8fbff, #dbeafe);
  border: 3px solid rgba(56, 189, 248, 0.32);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #0b1220;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.profile-avatar__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.08) contrast(1.02);
}

.profile-avatar__initial {
  color: #0b1220;
}

.profile-meta {
  color: #cbd5e1;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

.profile-meta strong {
  color: #f8fafc;
  font-weight: 700;
}

.profile-meta--pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow-wrap: anywhere;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #e2e8f0;
}

.profile-list__item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.profile-list--applications {
  gap: 0.9rem;
}

.profile-list__item--application {
  gap: 0.8rem;
  padding: 1rem;
}

.profile-list__head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-list__title-group {
  display: grid;
  gap: 0.35rem;
}

.profile-list__topline {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.profile-list__topline strong {
  color: #f8fafc;
  font-size: 1rem;
}

.profile-list__topline span {
  color: #94a3b8;
  font-size: 0.88rem;
}

.profile-list__detail {
  margin: 0;
  color: #7dd3fc;
  font-size: 0.9rem;
  line-height: 1.4;
}

.profile-list__meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.profile-list__meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.2;
}

.profile-list__excerpt {
  margin: 0.15rem 0 0;
  color: #e2e8f0;
  line-height: 1.55;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.profile-status-badge--new {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
}

.profile-status-badge--approved {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(74, 222, 128, 0.3);
  color: #86efac;
}

.profile-status-badge--rejected {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.profile-applications__empty {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(148, 163, 184, 0.22);
}

.profile-applications__empty-title {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
}

html[data-theme="light"] .profile-card__facts,
html[data-theme="light"] .profile-card__panel,
html[data-theme="light"] .profile-upload-preview,
html[data-theme="light"] .profile-list__item,
html[data-theme="light"] .profile-stat {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.96)
  );
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow:
    0 1rem 2rem rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .profile-card--account {
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.16),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.995),
      rgba(241, 245, 249, 0.985)
    );
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 1.35rem 2.8rem rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .profile-card--applications {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(34, 197, 94, 0.12),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.995),
      rgba(241, 245, 249, 0.985)
    );
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 1.35rem 2.8rem rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .profile-account__hero {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(191, 219, 254, 0.22),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(241, 245, 249, 0.82)
    );
  border-color: rgba(56, 189, 248, 0.14);
  box-shadow:
    0 0.9rem 1.8rem rgba(14, 116, 144, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .profile-applications__hero {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.99),
    rgba(226, 232, 240, 0.9)
  );
  border-color: rgba(34, 197, 94, 0.18);
  box-shadow:
    0 0.9rem 1.8rem rgba(21, 128, 61, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .profile-meta--pill {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .profile-applications__summary,
html[data-theme="light"] .profile-list__meta-chip {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.26);
}

html[data-theme="light"] .profile-card,
html[data-theme="light"] .profile-card__identity h3,
html[data-theme="light"] .profile-card__heading h3,
html[data-theme="light"] .profile-meta,
html[data-theme="light"] .profile-list,
html[data-theme="light"] .profile-list__excerpt {
  color: #0f172a;
}

html[data-theme="light"] .profile-card__kicker,
html[data-theme="light"] .profile-stat__label,
html[data-theme="light"] .profile-applications__label,
html[data-theme="light"] .profile-upload-preview__label {
  color: #475569;
}

html[data-theme="light"] .profile-avatar {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 1rem 2rem rgba(37, 99, 235, 0.12);
}

html[data-theme="light"] .profile-upload-field label {
  color: #0f172a;
}

html[data-theme="light"] .profile-upload-preview__remove {
  color: #334155;
}

html[data-theme="light"] .profile-upload-preview--pending-remove {
  border-color: rgba(239, 68, 68, 0.26);
  background: rgba(254, 242, 242, 0.9);
}

html[data-theme="light"] .profile-upload-preview__remove-toggle {
  background: rgba(254, 242, 242, 0.96);
  border-color: rgba(239, 68, 68, 0.24);
  color: #b91c1c;
}

html[data-theme="light"] .profile-upload-preview__remove-toggle:hover,
html[data-theme="light"] .profile-upload-preview__remove-toggle:focus-visible {
  background: rgba(254, 226, 226, 0.96);
  border-color: rgba(239, 68, 68, 0.34);
}

html[data-theme="light"] .profile-upload-preview__remove-hint {
  color: #b91c1c;
}

html[data-theme="light"] .profile-card__danger {
  border-color: rgba(239, 68, 68, 0.24);
  color: #b91c1c;
}

html[data-theme="light"] .profile-card__danger:hover,
html[data-theme="light"] .profile-card__danger:focus-visible {
  border-color: rgba(239, 68, 68, 0.34);
  background: rgba(254, 242, 242, 0.96);
}

html[data-theme="light"] .hero-card-account__primary-title {
  color: #082f49;
}

html[data-theme="light"] .hero-card-account__primary {
  background:
    linear-gradient(
      135deg,
      rgba(240, 249, 255, 0.98),
      rgba(186, 230, 253, 0.96)
    ),
    linear-gradient(120deg, #e0f2fe, #67e8f9);
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow:
    0 1rem 2rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

html[data-theme="light"] .hero-card-account__primary:hover,
html[data-theme="light"] .hero-card-account__primary:focus-visible {
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 1), rgba(165, 243, 252, 0.96)),
    linear-gradient(120deg, #cffafe, #22d3ee);
  border-color: rgba(14, 116, 144, 0.34);
  box-shadow:
    0 1.25rem 2.35rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset;
}

html[data-theme="light"] .hero-card-account__primary-meta {
  color: rgba(8, 47, 73, 0.76);
}

html[data-theme="light"] .profile-stat__value,
html[data-theme="light"] .profile-panel__title,
html[data-theme="light"] .profile-applications__count,
html[data-theme="light"] .profile-applications__empty-title {
  color: #0f172a;
}

html[data-theme="light"] .profile-panel__copy {
  color: #475569;
}

html[data-theme="light"] .profile-list__detail {
  color: #0284c7;
}

html[data-theme="light"] .profile-list__meta-chip {
  color: #334155;
}

html[data-theme="light"] .profile-status-badge--new {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.24);
  color: #0369a1;
}

html[data-theme="light"] .profile-status-badge--approved {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #15803d;
}

html[data-theme="light"] .profile-status-badge--rejected {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

html[data-theme="light"] .profile-card .form input[type="file"] {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(241, 245, 249, 0.9)
  );
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (max-width: 36rem) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card__header {
    grid-template-columns: 1fr;
  }

  .profile-account__hero,
  .profile-account__facts,
  .profile-applications__hero {
    grid-template-columns: 1fr;
  }

  .profile-applications__summary {
    text-align: left;
  }

  .profile-avatar {
    width: 6rem;
    height: 6rem;
  }

  .profile-upload-preview__row {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .interp-filter__form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .interp-filter__actions {
    justify-content: stretch;
  }
  .interp-filter__actions .btn-primary {
    width: 100%;
  }

  .interp-filter {
    max-width: 100%;
  }
}

@media (max-width: 62rem) {
  header.hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-side {
    order: -1;
    max-width: 20rem;
    justify-self: center;
  }

  .hero-main {
    width: 100%;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.login-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  color: var(--text-light);
  max-width: 100%;
  flex-wrap: nowrap;
  line-height: 1.2;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.login-chip__avatar {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: #7dd3fc;
  flex: 0 0 auto;
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: 0.04em;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.login-chip__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 721px) and (max-width: 769px) {
  header.hero {
    padding: 4.9rem 1.3rem 3.9rem;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: 1rem;
  }
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.login-chip strong {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  align-items: stretch;
  gap: 0.8rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-actions.contact-actions {
  display: grid;
  grid-template-columns: inherit;
  align-items: stretch;
}

.hero-actions.contact-actions .btn-primary,
.hero-actions.contact-actions .btn-ghost,
.hero-actions.contact-actions .login-chip {
  white-space: normal;
  width: 100%;
  max-width: none;
  justify-content: center;
}

.contact-text__actions .login-chip {
  grid-column: 1 / -1;
  min-width: 0;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  overflow: hidden;
}

.contact-text__account .login-chip {
  min-width: 0;
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  overflow: hidden;
}

.contact-text--cta .contact-text__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-text--cta .contact-text__actions > .btn-primary:only-child,
.contact-text--cta .contact-text__actions > .btn-ghost:only-child {
  grid-column: 1 / -1;
}

.contact-text--cta .contact-text__actions--single {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

@media (min-width: 1441px) {
  .contact-text--cta .contact-text__actions--single .cta-highlight {
    width: auto;
    min-width: 12rem;
    max-width: 16rem;
    justify-self: start;
  }
}

.contact-text__actions .login-chip strong {
  min-width: 0;
  max-width: 100%;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-text__account .login-chip strong {
  min-width: 0;
  max-width: 100%;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-text__panel,
.contact-text__actions,
.contact-text__actions > * {
  min-width: 0;
}

.contact-messenger-cta {
  min-height: 3.35rem;
  padding-inline: 1.2rem;
  border-radius: 1rem;
  font-weight: 700;
}

.contact-messenger-cta__icon {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-messenger-cta--telegram {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.2),
    rgba(2, 132, 199, 0.14)
  );
  border-color: rgba(56, 189, 248, 0.38);
  color: #e0f2fe;
  box-shadow: 0 1rem 2rem rgba(8, 47, 73, 0.18);
}

.contact-messenger-cta--telegram:hover,
.contact-messenger-cta--telegram:focus-visible {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.28),
    rgba(3, 105, 161, 0.22)
  );
  border-color: rgba(125, 211, 252, 0.72);
  color: #f0f9ff;
  box-shadow: 0 1.2rem 2.35rem rgba(8, 47, 73, 0.24);
}

.hero-actions.contact-actions .contact-login-cta {
  max-width: none;
  min-height: 3.35rem;
  padding-inline: 1.4rem;
  text-align: center;
  text-wrap: balance;
  box-shadow:
    0 1.25rem 2.8rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.2) inset;
}

.hero-actions.contact-actions .contact-login-cta:hover,
.hero-actions.contact-actions .contact-login-cta:focus-visible {
  box-shadow:
    0 1.55rem 3.2rem rgba(8, 47, 73, 0.4),
    0 0 0 1px rgba(186, 230, 253, 0.28) inset;
}

html[data-theme="light"] .hero-actions.contact-actions .contact-login-cta {
  box-shadow:
    0 1.1rem 2.25rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

html[data-theme="light"] .hero-actions.contact-actions .contact-login-cta:hover,
html[data-theme="light"]
  .hero-actions.contact-actions
  .contact-login-cta:focus-visible {
  box-shadow:
    0 1.35rem 2.7rem rgba(14, 116, 144, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset;
}

html[data-theme="light"] .contact-messenger-cta--telegram {
  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.96),
    rgba(186, 230, 253, 0.9)
  );
  border-color: rgba(14, 165, 233, 0.22);
  color: #0c4a6e;
  box-shadow:
    0 0.9rem 1.8rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset;
}

html[data-theme="light"] .contact-messenger-cta--telegram:hover,
html[data-theme="light"] .contact-messenger-cta--telegram:focus-visible {
  color: #082f49;
}

.contact-text__register {
  margin: 0;
  width: 100%;
  text-align: left;
}

.contact-text__register small {
  justify-items: start;
}

.contact-text__register a {
  min-width: 0;
}

.btn-logout {
  flex-direction: column;
  gap: 0.2rem;
}

.btn-logout .login-chip--inline {
  width: auto;
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.5rem;
  line-height: 1;
}

.btn-logout .login-chip--inline strong {
  font-size: inherit;
  line-height: 1;
}

@media (max-width: 40rem) {
  .hero-actions.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.hero-fold-toggle,
.hero-card-account__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 0.65rem 1.35rem rgba(0, 0, 0, 0.3);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.hero-fold-toggle .chevron,
.hero-card-account__toggle .chevron {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.hero-fold-toggle:hover,
.hero-fold-toggle:focus-visible,
.hero-card-account__toggle:hover,
.hero-card-account__toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0.9rem 1.8rem rgba(56, 189, 248, 0.18);
  outline: none;
}

.hero.collapsed {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.hero.collapsed .hero-body,
.hero.collapsed .hero-side {
  display: none;
}

/* Floating animation for hero card */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .hero-card {
    animation: none;
  }
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border-color: rgba(56, 189, 248, 0.82);
  box-shadow: 0 1rem 2.4rem rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.3rem 2.8rem rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, #5fd0ff, #38bdf8);
  border-color: rgba(56, 189, 248, 0.9);
}

.cta-highlight {
  position: relative;
  isolation: isolate;
  padding: 0.95rem 1.55rem;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow:
    0 1rem 2.2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
  animation: none;
}

.cta-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.02) 46%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.cta-highlight:hover,
.cta-highlight:focus-visible {
  transform: translateY(-2px);
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.4rem 3rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

.cta-highlight:hover::after,
.cta-highlight:focus-visible::after {
  opacity: 1;
}

.cta-highlight:focus-visible {
  outline: 2px solid rgba(186, 230, 253, 0.9);
  outline-offset: 3px;
}

html[data-theme="light"] .cta-highlight {
  color: #082f49;
  background:
    linear-gradient(
      135deg,
      rgba(240, 249, 255, 0.98),
      rgba(186, 230, 253, 0.96)
    ),
    linear-gradient(120deg, #e0f2fe, #67e8f9);
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow:
    0 1rem 2rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

html[data-theme="light"] .cta-highlight:hover,
html[data-theme="light"] .cta-highlight:focus-visible {
  color: #082f49;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 1), rgba(165, 243, 252, 0.96)),
    linear-gradient(120deg, #cffafe, #22d3ee);
  border-color: rgba(14, 116, 144, 0.34);
  box-shadow:
    0 1.25rem 2.35rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.btn-ghost {
  padding: 0.7rem 1.1rem;
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-light);
  border-color: var(--border-strong);
}

:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-primary,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-ghost,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-secondary {
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  min-width: 0;
  flex: 0 0 auto;
  position: relative;
  border: 0;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  background-image: radial-gradient(#3dcd9e, #369d8d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 0 #38a19d,
    0 6px 10px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-primary:hover,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-ghost:hover,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-secondary:hover,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-primary:focus-visible,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-ghost:focus-visible,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-secondary:focus-visible {
  filter: brightness(1.04);
}

:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-primary:active,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-ghost:active,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"].btn-secondary:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 #38a19d,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"]:disabled.btn-primary,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"]:disabled.btn-ghost,
:is(
    .form,
    .auth-form,
    .interp-filter__form,
    .form-stacked,
    .contact-reply-form,
    .translator-form
  )
  button[type="submit"]:disabled.btn-secondary {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 2px 0 #2f8b88,
    0 4px 8px rgba(0, 0, 0, 0.22);
}

:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-primary,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-ghost,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-secondary {
  width: auto;
  max-width: max-content;
  min-width: 0;
  flex: 0 0 auto;
  position: relative;
  border: 0;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  background-image: radial-gradient(#3dcd9e, #369d8d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 0 #38a19d,
    0 6px 10px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-primary:hover,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-ghost:hover,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-secondary:hover,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-primary:focus-visible,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-ghost:focus-visible,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-secondary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-primary:active,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-ghost:active,
:is(
    .template-actions,
    .profile-card__actions,
    .profile-card__actions--applications
  )
  > a.btn-secondary:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 #38a19d,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

a[data-i18n="login.reset"].btn-ghost,
a[data-i18n="password_reset_confirm.request_new"].btn-primary,
a[data-i18n="password_reset_invalid.retry"].btn-primary {
  background-image: radial-gradient(#60a5fa, #2563eb);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 0 #1d4ed8,
    0 6px 10px rgba(0, 0, 0, 0.35);
}

a[data-i18n="login.reset"].btn-ghost:active,
a[data-i18n="password_reset_confirm.request_new"].btn-primary:active,
a[data-i18n="password_reset_invalid.retry"].btn-primary:active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 #1d4ed8,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

a[data-i18n="login.cancel"].btn-ghost,
a[data-i18n="password_reset_confirm.back_login"].btn-ghost,
button[data-i18n="interpreter_dashboard.actions.cancel"].btn-ghost {
  background-image: radial-gradient(#94a3b8, #475569);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 0 #334155,
    0 6px 10px rgba(0, 0, 0, 0.35);
}

a[data-i18n="login.cancel"].btn-ghost:active,
a[data-i18n="password_reset_confirm.back_login"].btn-ghost:active,
button[data-i18n="interpreter_dashboard.actions.cancel"].btn-ghost:active {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 #334155,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.btn-pill {
  border-radius: 14px;
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.22);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent);
  box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.7);
}

.btn-danger {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e2e8f0;
}

.btn-danger:hover {
  border-color: rgba(148, 163, 184, 1);
  color: #f8fafc;
  box-shadow: 0 1rem 2.4rem rgba(148, 163, 184, 0.25);
}

.btn-quiet {
  padding: 0.75rem 1.4rem;
  border: 1px dashed var(--border-soft);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-quiet:hover {
  border-color: var(--accent);
  color: #e2e8f0;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.45);
}

.dashboard-shell .btn-primary.btn-pill {
  padding-inline: 1.25rem;
}

.dashboard-shell .btn-ghost.btn-pill,
.dashboard-shell .btn-quiet.btn-pill {
  padding-inline: 1.05rem;
}

.hero-side {
  display: none;
}

.hero-side--quickactions {
  display: none;
}

@media (max-width: 49.999rem) {
  .hero.hero--with-side .hero-side {
    display: flex;
    align-items: stretch;
    width: 100%;
  }
}

@media (min-width: 50rem) {
  header.hero.hero--with-side {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  }

  header.hero:not(.hero--with-side) {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero.hero--with-side .hero-side {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }
}

@media (min-width: 75rem) {
  .page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    --page-shell-inline-padding: clamp(0.75rem, 1.6vw, 1.75rem);
  }

  header.hero.hero--with-side {
    grid-template-columns: minmax(0, 1.18fr) minmax(24rem, 1.02fr);
    gap: clamp(1.4rem, 1.2vw, 2.2rem);
  }

  .hero.hero--with-side .hero-side {
    justify-self: stretch;
  }

  .home-page header.hero.hero--with-quickactions:not(.hero--with-side) {
    grid-template-columns: minmax(0, 1.22fr) minmax(
        20rem,
        clamp(22rem, 30vw, 30rem)
      );
    gap: clamp(1.3rem, 1.2vw, 2rem);
    align-items: stretch;
  }

  .home-page .hero.hero--with-quickactions:not(.hero--with-side) .hero-main {
    width: 100%;
    max-width: none;
  }

  .home-page .hero-side--quickactions {
    display: flex;
    align-items: stretch;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .home-page .hero-side--quickactions .contact-card--quickactions {
    flex: 1 1 auto;
    align-self: stretch;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.8rem;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    padding: clamp(1rem, 1.2vw, 1.2rem);
  }

  .home-page .hero-side--quickactions .contact-line--messengers {
    grid-column: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.8rem;
    margin-top: 0;
    padding-top: 0.85rem;
  }

  .home-page .hero-side--quickactions .contact-line--messengers .contact-call {
    flex: 1 1 auto;
    max-width: none;
  }

  .home-page .home-quickactions-card {
    display: none;
  }

  .hero-card--account {
    max-width: 31rem;
    padding: 1.35rem 1.45rem;
  }
}

@media (min-width: 96rem) {
  .page-shell {
    --page-shell-inline-padding: clamp(0.65rem, 1.2vw, 1.25rem);
  }

  header.hero.hero--with-side {
    grid-template-columns: minmax(0, 1.22fr) minmax(28rem, 1.08fr);
  }

  .hero-card--account {
    max-width: 34rem;
  }
}

.hero-card {
  animation: floatCard 6s ease-in-out infinite;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.4rem;
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(148, 163, 184, 0.28),
      transparent 60%
    ),
    linear-gradient(145deg, var(--bg-base), var(--bg-base));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
}

.hero-card--static {
  animation: none;
}

.hero-card--static .btn-primary {
  animation: none;
}

.hero-card.hero-card--static {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card.hero-card--static.template-hero {
  width: fit-content;
  max-width: min(100%, 52rem);
  margin-left: 0;
  margin-right: 0;
  justify-self: start;
  padding: clamp(1.4rem, 2vw, 2.2rem);
}

@media (min-width: 425px) {
  .hero-card.hero-card--static {
    max-width: 1040px;
  }
}

@media (min-width: 768px) {
  .hero-card.hero-card--static {
    max-width: 1120px;
  }
}

.hero-card-avatar {
  width: 9.2rem;
  height: 9.2rem;
  border-radius: 999px;
  border: 4px solid rgba(56, 189, 248, 0.9);
  box-shadow:
    0 1.5rem 3.4rem rgba(0, 0, 0, 0.85),
    0 0 0 8px rgba(56, 189, 248, 0.12);
  margin: 0 auto 1.3rem;
  position: relative;
  background:
    radial-gradient(
      circle at 30% 28%,
      rgba(255, 255, 255, 0.92),
      transparent 36%
    ),
    linear-gradient(135deg, #f8fbff, #dbeafe);
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

html[data-theme="light"] .hero-card-avatar {
  border: 4px solid rgba(148, 163, 184, 0.8);
  box-shadow:
    0 1.2rem 2.4rem rgba(15, 23, 42, 0.18),
    0 0 0 8px rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(
      circle at 30% 28%,
      rgba(255, 255, 255, 0.95),
      transparent 36%
    ),
    linear-gradient(135deg, #ffffff, #e2e8f0);
}

.hero-card-avatar__initial {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-card-avatar__initial span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-12px);
  animation: heroInitialSlide 0.65s ease-out forwards;
  animation-delay: 0.7s;
}

.hero-card-avatar__initial span:nth-child(1) {
  animation-delay: 0.7s;
}
.hero-card-avatar__initial span:nth-child(2) {
  animation-delay: 0.78s;
}
.hero-card-avatar__initial span:nth-child(3) {
  animation-delay: 0.86s;
}
.hero-card-avatar__initial span:nth-child(4) {
  animation-delay: 0.94s;
}
.hero-card-avatar__initial span:nth-child(5) {
  animation-delay: 1.02s;
}

@keyframes heroInitialSlide {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card-avatar::after {
  content: attr(data-avatar-label);
  position: absolute;
  left: 50%;
  bottom: -2.9rem;
  transform: translateX(-50%) translateY(6px);
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-soft);
  color: #e7e7e7;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.45);
}

.hero-card-avatar:hover::after,
.hero-card-avatar:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.hero-card-kicker {
  margin: 0 0 0.35rem;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card p.role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-card-meta {
  margin: -0.2rem 0 0.95rem;
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.87rem;
  margin-bottom: 0.9rem;
  justify-items: start;
  text-align: left;
}

.hero-card ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.hero-card ul li span.dot {
  display: inline-block;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 0.4rem;
  transform: translateY(1px);
  flex-shrink: 0;
}

.hero-card ul li span:not(.dot) {
  padding-left: 0.1rem;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.5rem;
}

.hero-card-footer span:last-child {
  margin-left: auto;
  text-align: right;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  width: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
}

.hero-card--account {
  text-align: left;
  max-width: 24rem;
  padding: 1.25rem;
  gap: 1rem;
}

.hero-card-account__body {
  display: grid;
  gap: 1rem;
}

.hero-card-account__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.hero-card--account .hero-card-avatar {
  margin-left: 0;
  margin-right: 0;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.35rem;
}

.hero-card-account__identity {
  min-width: 0;
}

.hero-card-account__identity > * {
  min-width: 0;
}

.hero-card-account__toggle {
  margin-left: 0;
  align-self: start;
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
  box-shadow: none;
}

.hero-card-account__toggle-label {
  white-space: nowrap;
}

.hero-card-account__content {
  display: grid;
  gap: 1rem;
}

.hero-card--account.is-collapsed .hero-card-account__header {
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.hero-card--account.is-collapsed .hero-card-account__body {
  gap: 0;
}

.hero-card--account.is-collapsed .hero-card-account__toggle {
  align-self: start;
}

.hero-card-account__content[hidden] {
  display: none;
}

.hero-card--account h2 {
  margin: 0.1rem 0 0;
  font-size: 1.3rem;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.hero-card--account .hero-card-kicker {
  margin: 0 0 0.35rem;
}

.hero-card--account p.role {
  margin: 0.4rem 0 0.7rem;
  max-width: 28ch;
  overflow-wrap: anywhere;
}

.hero-card-account__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0;
}

.hero-card-account__primary {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1.5px solid rgba(125, 211, 252, 0.5);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  box-shadow:
    0 1rem 2.2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
}

.hero-card-account__primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.02) 46%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

.hero-card-account__primary-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.hero-card-account__primary-title {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-card-account__primary-meta {
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-card-account__primary:hover,
.hero-card-account__primary:focus-visible {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.4rem 3rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

.hero-card-account__primary:focus-visible {
  outline: 2px solid rgba(186, 230, 253, 0.9);
  outline-offset: 3px;
}

.hero-card-account__actions .btn-secondary,
.hero-card-account__actions .btn-ghost {
  min-width: 0;
  padding-inline: 0.9rem;
}

.hero-card-account__delete {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: flex-start;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  padding-block: 0.82rem;
  padding-inline: 1rem;
  border-radius: 1rem;
  white-space: normal;
  border-color: rgba(248, 113, 113, 0.34);
  background:
    linear-gradient(135deg, rgba(69, 10, 10, 0.92), rgba(127, 29, 29, 0.82)),
    rgba(15, 23, 42, 0.7);
  box-shadow:
    0 0.9rem 2rem rgba(69, 10, 10, 0.28),
    0 0 0 1px rgba(248, 113, 113, 0.08) inset;
}

.hero-card-account__delete:hover,
.hero-card-account__delete:focus-visible {
  border-color: rgba(252, 165, 165, 0.62);
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.96), rgba(153, 27, 27, 0.88)),
    rgba(15, 23, 42, 0.82);
  box-shadow:
    0 1.05rem 2.4rem rgba(127, 29, 29, 0.34),
    0 0 0 1px rgba(252, 165, 165, 0.14) inset;
}

.hero-card-account__delete-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fecaca;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.hero-card-account__delete-copy {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.hero-card-account__delete-title {
  color: #fee2e2;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  word-break: break-word;
}

.hero-card-account__delete-meta {
  color: rgba(254, 226, 226, 0.76);
  font-size: 0.74rem;
  line-height: 1.2;
  word-break: break-word;
}

html[data-theme="light"] .hero-card-account__delete {
  border-color: rgba(220, 38, 38, 0.2);
  background:
    linear-gradient(
      135deg,
      rgba(254, 242, 242, 0.98),
      rgba(254, 226, 226, 0.96)
    ),
    #fff7f7;
  color: #7f1d1d;
  box-shadow:
    0 0.9rem 1.8rem rgba(127, 29, 29, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

html[data-theme="light"] .hero-card-account__delete:hover,
html[data-theme="light"] .hero-card-account__delete:focus-visible {
  border-color: rgba(220, 38, 38, 0.32);
  background:
    linear-gradient(135deg, rgba(254, 226, 226, 1), rgba(254, 202, 202, 0.96)),
    #fff1f2;
  color: #7f1d1d;
  box-shadow:
    0 1rem 2rem rgba(127, 29, 29, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset;
}

html[data-theme="light"] .hero-card-account__delete-icon {
  background: rgba(127, 29, 29, 0.08);
  color: #b91c1c;
}

html[data-theme="light"] .hero-card-account__delete-title {
  color: #7f1d1d;
}

html[data-theme="light"] .hero-card-account__delete-meta {
  color: rgba(127, 29, 29, 0.72);
}

html[data-theme="light"] .hero-card-account__toggle {
  box-shadow: none;
}

.hero-card--account .hero-card-footer {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-card-account__footer {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 0.8rem;
}

.hero-card-account__footer span {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-card-account__footer .hero-card-tag {
  justify-content: flex-start;
}

.hero-card--account .hero-card-footer span:last-child {
  margin-left: 0;
  text-align: left;
}

.hero-card-actions--stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-card-actions--stack .btn-primary,
.hero-card-actions--stack .hero-card-account__primary,
.hero-card-actions--stack .btn-secondary,
.hero-card-actions--stack .btn-ghost,
.hero-card-danger .btn-ghost {
  width: 100%;
  justify-content: center;
}

.hero-card-danger {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-card-danger small {
  color: var(--text-muted);
  line-height: 1.45;
}

.hero-card-account__danger {
  margin-top: 0;
  padding-top: 1rem;
}

@media (max-width: 24rem) {
  .hero-card-account__header {
    grid-template-columns: 1fr;
  }

  .hero-card--account .hero-card-avatar {
    width: 4.9rem;
    height: 4.9rem;
  }

  .hero-card-account__actions {
    grid-template-columns: 1fr;
  }

  .hero-card-account__toggle {
    justify-self: start;
  }

  .hero-card-account__primary {
    grid-column: auto;
  }
}

@media (max-width: 32rem) {
  .hero-card--account.is-collapsed .hero-card-account__header {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "avatar identity"
      "toggle toggle";
    align-items: start;
  }

  .hero-card--account.is-collapsed .hero-card-avatar {
    grid-area: avatar;
  }

  .hero-card--account.is-collapsed .hero-card-account__identity {
    grid-area: identity;
  }

  .hero-card--account.is-collapsed .hero-card-account__toggle {
    grid-area: toggle;
    justify-self: start;
    margin-top: 0.35rem;
  }
}

main {
  display: grid;
  gap: var(--space-gap);
}

.section {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: var(--space-section) 0;
  box-shadow: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.8rem, 0.8vw + 0.6rem, 1.05rem);
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.section-fold-toggle {
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.section-fold-toggle .chevron {
  transition: transform 0.18s ease;
}

.section-fold-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.fold-section.closed .section-fold-toggle .chevron {
  transform: rotate(-90deg);
}

.section-body {
  margin-top: 0.25rem;
}

.section-body[hidden] {
  display: none;
}

.dashboard-shell .section-body {
  gap: 0.9rem;
}

.dashboard-shell {
  background: radial-gradient(
      circle at 18% 20%,
      rgba(56, 189, 248, 0.08),
      rgba(15, 23, 42, 0)
    )
    fixed;
}

.dashboard-shell .card-light {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 38px -20px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
}

.dashboard-shell .card-head .muted {
  color: #cbd5e1;
}

.dashboard-shell .card-title {
  letter-spacing: -0.01em;
}

.dashboard-shell .table-like .table-row {
  transition:
    background 0.15s ease,
    transform 0.12s ease;
}

.dashboard-shell .table-like .table-row:hover {
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.dashboard-shell .section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.dashboard-shell .section-title::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-title u {
  text-decoration-color: #38bdf8;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.1em;
  color: inherit;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-kicker::before {
  content: "✦";
  color: #38bdf8;
  font-size: 0.95rem;
  line-height: 1;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-intro--register {
  margin: 0.35rem auto 0;
  width: min(100%, 18rem);
  text-align: center;
}

.section-intro--register small {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.14),
    rgba(15, 23, 42, 0.2)
  );
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.12);
  color: var(--text-muted);
  line-height: 1.4;
}

.section-intro--register a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 11.5rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow:
    0 1rem 2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.section-intro--register a:hover,
.section-intro--register a:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.15rem 2.25rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

html[data-theme="light"] .section-intro--register small {
  background: linear-gradient(
    180deg,
    rgba(242, 240, 242, 0.98),
    rgba(255, 255, 255, 0.95)
  );
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 0.8rem 1.8rem rgba(16, 46, 88, 0.06);
  color: var(--text-muted);
}

html[data-theme="light"] .section-intro--register a {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 236, 237, 0.94)
    ),
    linear-gradient(120deg, #f1eef1, #e8e7ea);
  border-color: rgba(148, 163, 184, 0.18);
  color: #00439c;
  box-shadow:
    0 0.95rem 1.8rem rgba(16, 46, 88, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset;
}

html[data-theme="light"] .section-intro--register a:hover,
html[data-theme="light"] .section-intro--register a:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(232, 234, 238, 0.96)),
    linear-gradient(120deg, #ece9ed, #d9e6f6);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 1.1rem 2rem rgba(16, 46, 88, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.82) inset;
}

html[data-theme="light"] .contact-text {
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 112, 209, 0.07),
      transparent 42%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96),
      rgba(237, 236, 237, 0.94)
    );
}

html[data-theme="light"] .contact-text--cta {
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 112, 209, 0.08),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(232, 233, 236, 0.42),
      transparent 34%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 236, 237, 0.96)
    );
}

html[data-theme="light"] .contact-text__panel {
  background: transparent;
  border-color: transparent;
}

html[data-theme="light"] .contact-text__intro {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(237, 236, 237, 0.88)
    ),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 14px 24px -24px rgba(16, 46, 88, 0.12);
}

html[data-theme="light"] .contact-text__panel--cta {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .contact-text__actions .login-chip {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .contact-text--cta .contact-text__account .login-chip {
  background: transparent;
  border-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
}

.services-grid > * {
  min-width: 0;
}

.service-card {
  background: transparent;
  border-radius: var(--panel-radius);
  border: 1px solid transparent;
  padding: clamp(0.95rem, 1.5vw, 1.15rem);
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  min-width: 0;
}

.service-card::before {
  content: attr(data-icon);
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  text-align: right;
  padding: 0 1rem 0.35rem 0;
  font-size: clamp(3.2rem, 4.2vw, 4.4rem);
  color: rgba(250, 204, 21, 0.28);
  opacity: 0.7;
  pointer-events: none;
}

.service-icon {
  display: none;
}

.service-card--meta {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "text text"
    "meta icon";
  align-items: end;
}

.service-card--meta::before {
  display: none;
}

.service-card--meta .service-icon {
  display: inline-flex;
  grid-area: icon;
  align-self: end;
  justify-self: end;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  line-height: 1;
  opacity: 0.9;
  pointer-events: none;
}

.service-title {
  grid-area: title;
  font-weight: 600;
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  text-wrap: pretty;
}

.service-text {
  grid-area: text;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  }
  .service-card {
    padding: 1rem;
    gap: 0.5rem;
  }
  .service-card::before {
    font-size: clamp(2.8rem, 7vw, 3.6rem);
  }
  .service-title {
    font-size: 0.98rem;
  }
  .service-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 0.95rem;
  }
  .service-title {
    font-size: 0.96rem;
    line-height: 1.34;
  }
  .service-text {
    font-size: 0.88rem;
  }
}

.service-meta {
  grid-area: meta;
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0;
  align-self: end;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0.65rem 1.4rem rgba(2, 6, 23, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #f8fafc;
}

.badge-soft span.dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  flex: 0 0 auto;
  background: currentColor;
  box-shadow: 0 0 0 0.18rem rgba(125, 211, 252, 0.14);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.price-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.price-card.highlighted {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 1.4rem 2.6rem rgba(8, 47, 73, 0.85);
  position: relative;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-value {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.price-detail {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
  justify-items: center;
}

.chip {
  padding: 0.25rem 1.55rem;
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.78rem;
  color: #d1d5db;
  background: rgba(15, 23, 42, 0.95);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.step-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -0.95rem;
  right: 0.65rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.28);
  pointer-events: none;
  z-index: 0;
}

.step-number {
  display: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 0.5rem;
  align-items: flex-start;
}

.about-section.about-header {
  margin-top: 0.9rem;
}

.about-text {
  font-size: 0.93rem;
  color: var(--text-light);
}

.about-facts {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.about-facts--compact {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.about-facts li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.about-facts span.bullet {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.support-cta {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.manual-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: space-evenly;
}

.manual-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.manual-card--highlight {
  border-color: rgba(75, 194, 255, 0.8);
  box-shadow: 0 1.2rem 2.2rem rgba(8, 47, 73, 0.55);
}

.manual-card-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.manual-list,
.manual-steps {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.manual-list li,
.manual-steps li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: start;
}

.manual-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
}

.manual-steps {
  counter-reset: manualstep;
}

.manual-steps li::before {
  counter-increment: manualstep;
  content: counter(manualstep) ".";
  color: var(--accent);
  font-weight: 700;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.legal-body {
  width: 100%;
  margin: 0;
}

.legal-page-shell {
  gap: clamp(1rem, 1.3vw + 0.75rem, 1.5rem);
}

.legal-hero__aside {
  gap: 0.9rem;
}

.legal-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.legal-chip {
  text-decoration: none;
}

.legal-chip:hover,
.legal-chip:focus-visible {
  transform: translateY(-1px);
}

.legal-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.legal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  z-index: 30;
}

.legal-close:hover,
.legal-close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 1.2rem 2.2rem rgba(56, 189, 248, 0.25);
  outline: none;
}

html[data-theme="light"] .legal-close {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
}

.legal-section {
  display: grid;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1vw + 0.95rem, 1.45rem);
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  color: var(--text-on-dark);
}

.legal-section ul {
  padding: 0;
  margin: 0.15rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.legal-section li {
  margin: 0;
  position: relative;
  padding-left: 1.3rem;
  line-height: 1.62;
  color: rgba(226, 232, 240, 0.94);
  overflow-wrap: anywhere;
}

.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(75, 194, 255, 0.1);
}

.legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.24);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.05)),
    rgba(15, 23, 42, 0.18);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #e0f2fe;
  margin-top: 0.15rem;
  line-height: 1.6;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.78rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #e0f2fe;
  border-radius: 0.95rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 20px -18px rgba(2, 6, 23, 0.65);
}

html[data-theme="light"] .legal-page-shell .legal-section {
  box-shadow:
    0 18px 30px -24px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .legal-page-shell .legal-section h3,
html[data-theme="light"] .legal-page-shell .legal-section li {
  color: #334155;
}

html[data-theme="light"] .legal-page-shell .legal-callout {
  border-color: rgba(14, 165, 233, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(224, 242, 254, 0.98),
      rgba(240, 249, 255, 0.98)
    ),
    rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

@media (max-width: 640px) {
  .legal-body {
    overflow-x: hidden;
  }

  .legal-page-shell {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.85rem;
    gap: 0.8rem;
  }

  .legal-page-shell .template-hero {
    padding: 0.95rem;
    border-radius: 1rem;
  }

  .legal-page-shell .template-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .legal-page-shell .template-hero__copy {
    max-width: 100%;
    gap: 0.65rem;
  }

  .legal-page-shell .template-hero__copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.95rem, 9vw, 2.65rem);
    line-height: 1;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }

  .legal-page-shell .template-hero__copy .section-intro {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .legal-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.2rem;
  }

  .legal-badge {
    width: 100%;
    justify-content: flex-start;
    padding: 0.52rem 0.68rem;
    border-radius: 0.75rem;
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .legal-hero__aside {
    padding: 0.85rem;
  }

  .legal-hero__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .legal-chip {
    width: 100%;
    min-height: 2.35rem;
    align-items: center;
    padding: 0.42rem 0 0.42rem 0.8rem;
    font-size: 0.92rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .legal-page {
    gap: 0.8rem;
  }

  .legal-section {
    gap: 0.55rem;
    padding: 0.95rem;
    border-radius: 1rem;
    overflow: visible;
  }

  .legal-section h2 {
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .legal-section h3 {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .legal-section ul {
    gap: 0.5rem;
  }

  .legal-section li {
    padding-left: 1rem;
    font-size: 0.94rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .legal-section li::before {
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
  }

  .legal-callout {
    padding: 0.78rem 0.85rem;
    border-radius: 0.8rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .legal-section code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

html[data-theme="light"] .legal-badge {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.96)
    ),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 116, 144, 0.16);
  color: #0f172a;
  box-shadow: 0 12px 20px -18px rgba(15, 23, 42, 0.14);
}

.template-page {
  display: grid;
  gap: clamp(1.2rem, 1.7vw + 0.75rem, 2rem);
}

.template-page--narrow {
  width: min(100%, 52rem);
  margin-inline: auto;
}

.page-shell.has-topnav.template-page.template-page--narrow {
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  --text-dark: #f8fafc;
  --text-light: #f8fafc;
  --text-muted: #cbd5e1;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #dbe7f3;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 24%),
    radial-gradient(
      circle at 100% 100%,
      rgba(45, 212, 191, 0.12),
      transparent 22%
    ),
    linear-gradient(
      145deg,
      rgba(4, 18, 31, 0.98),
      rgba(15, 23, 42, 0.94) 52%,
      rgba(7, 89, 133, 0.76)
    );
  box-shadow:
    0 25px 50px -12px rgba(2, 6, 23, 0.55),
    0 10px 18px -10px rgba(8, 145, 178, 0.22);
}

.page-shell.has-topnav.template-page.template-page--narrow > * {
  position: relative;
  z-index: 1;
}

.page-shell.has-topnav.template-page.template-page--narrow
  .template-panel:not(.template-form-card) {
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.12),
      transparent 36%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.6));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    0 20px 34px -24px rgba(2, 6, 23, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-shell.has-topnav.template-page.template-page--narrow
  .template-panel--accent:not(.template-form-card) {
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.2),
      transparent 36%
    ),
    linear-gradient(155deg, rgba(8, 47, 73, 0.88), rgba(15, 23, 42, 0.72));
  border-color: rgba(56, 189, 248, 0.24);
}

.page-shell.has-topnav.template-page.template-page--narrow
  .template-panel--soft:not(.template-form-card) {
  background:
    radial-gradient(
      circle at top left,
      rgba(148, 163, 184, 0.16),
      transparent 36%
    ),
    linear-gradient(155deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.56));
}

.page-shell.has-topnav.template-page.template-page--narrow
  .template-panel--danger:not(.template-form-card) {
  background:
    radial-gradient(
      circle at top left,
      rgba(239, 68, 68, 0.16),
      transparent 34%
    ),
    linear-gradient(155deg, rgba(69, 10, 10, 0.72), rgba(15, 23, 42, 0.62));
  border-color: rgba(248, 113, 113, 0.26);
}

.page-shell.has-topnav.template-page.template-page--narrow .template-chip {
  border-left-color: rgba(125, 211, 252, 0.34);
  color: var(--text-on-dark);
}

.page-shell.has-topnav.template-page.template-page--narrow
  .template-inline-note {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-shell.has-topnav.template-page.template-page--narrow
  :is(
    .form input[type="text"],
    .form input[type="email"],
    .form input[type="password"],
    .form input[type="file"],
    .form select,
    .form textarea
  ) {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-on-dark);
}

.page-shell.has-topnav.template-page.template-page--narrow .form-input-action {
  background: rgba(15, 23, 42, 0.52);
  color: var(--text-on-dark);
  border-color: rgba(148, 163, 184, 0.28);
}

.template-page--narrow .template-actions .btn-secondary,
.template-page--narrow .template-actions .btn-ghost {
  padding-inline: 0.9rem;
}

.template-page--wide {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.template-page--full {
  width: min(100%, 86rem);
  margin-inline: auto;
}

.template-body {
  --template-surface: rgba(15, 23, 42, 0.86);
  --template-surface-strong: rgba(15, 23, 42, 0.96);
  --template-surface-soft: rgba(17, 36, 58, 0.72);
  --template-border: rgba(125, 211, 252, 0.16);
  --template-border-strong: rgba(125, 211, 252, 0.34);
  --template-shadow:
    0 1.25rem 2.8rem rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, #06111d 0%, #09182b 42%, var(--bg-base) 100%);
  color: var(--text-on-dark);
}

.template-body::before {
  background:
    radial-gradient(circle at 16% 10%, rgba(14, 165, 233, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 22%, rgba(45, 212, 191, 0.08), transparent 22rem),
    linear-gradient(180deg, #06111d 0%, #09182b 42%, var(--bg-base) 100%);
}

.template-body .page-shell.has-topnav.template-page {
  padding-top: clamp(0.7rem, 1.5vw, 1.4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.template-body .template-page--wide {
  width: min(100%, 76rem);
}

.template-body .template-page--full {
  width: min(100%, 88rem);
}

.template-body .hero-card.hero-card--static.template-hero,
.template-body .template-panel {
  border: 1px solid var(--template-border);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(145deg, var(--template-surface-strong), var(--template-surface-soft));
  box-shadow: var(--template-shadow);
  backdrop-filter: blur(12px);
}

.template-body .hero-card.hero-card--static.template-hero {
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2vw, 2rem);
  overflow: hidden;
}

.template-body .template-hero__grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.9fr);
  gap: var(--space-gap);
  align-items: stretch;
}

.template-body .template-hero__copy {
  gap: 0.85rem;
}

.template-body .template-hero__copy h1 {
  max-width: 15ch;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.template-body .section-kicker,
.template-body .template-panel__kicker {
  width: fit-content;
  padding: 0.38rem 0.68rem;
  border-radius: 8px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(14, 165, 233, 0.14);
  color: #7dd3fc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.template-body .template-panel__kicker::before {
  content: none;
}

.template-body .template-hero__copy .section-intro,
.template-body .template-panel p,
.template-body .template-panel li,
.template-body .form-help,
.template-body .template-empty {
  color: rgba(226, 232, 240, 0.9);
}

.template-body .template-panel {
  border-radius: var(--radius);
  padding: clamp(1.15rem, 1.25vw + 0.82rem, 1.55rem);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.template-body .template-panel:hover {
  border-color: rgba(125, 211, 252, 0.24);
  box-shadow:
    0 1.45rem 3rem rgba(2, 6, 23, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.template-body .template-panel--accent {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(8, 47, 73, 0.9), rgba(17, 36, 58, 0.9));
  border-color: rgba(125, 211, 252, 0.24);
}

.template-body .template-panel--soft {
  background:
    radial-gradient(circle at top left, rgba(148, 163, 184, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.62));
}

.template-body .template-panel--danger {
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(69, 10, 10, 0.72), rgba(15, 23, 42, 0.76));
  border-color: rgba(248, 113, 113, 0.28);
}

.template-body .template-form-card,
.template-body .template-panel.template-form-card {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 34%),
    linear-gradient(145deg, var(--template-surface-strong), rgba(17, 36, 58, 0.82));
  border: 1px solid var(--template-border);
  box-shadow: var(--template-shadow);
  backdrop-filter: blur(12px);
}

.template-body .template-panel.template-form-card:hover {
  transform: none;
}

.template-body .template-chip {
  gap: 0.52rem;
  min-height: 2.35rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(17, 36, 58, 0.72));
  box-shadow: 0 0.7rem 1.4rem rgba(2, 6, 23, 0.16);
  color: var(--text-on-dark);
  font-weight: 700;
}

.template-body .template-chip:hover,
.template-body .template-chip:focus-visible {
  border-color: rgba(125, 211, 252, 0.36);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.2), rgba(17, 36, 58, 0.92));
  text-decoration: none;
}

.template-body .register-page .template-chip,
.template-body.register-page .template-chip {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
}

.template-body.register-page .template-chip strong,
.template-body .register-page .template-chip strong {
  border-radius: 8px;
}

.template-body .template-inline-note,
.template-body .apply-value-card,
.template-body .apply-status-card,
.template-body .apply-sidebar-card,
.template-body .legal-callout,
.template-body .legal-badge {
  border-radius: 8px;
  border-color: rgba(125, 211, 252, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.42);
}

.template-body .template-list--plain li::before,
.template-body .legal-section li::before {
  background: #7dd3fc;
  box-shadow: 0 0 0 0.32rem rgba(125, 211, 252, 0.1);
}

.template-body .form input[type="text"],
.template-body .form input[type="email"],
.template-body .form input[type="password"],
.template-body .form input[type="file"],
.template-body .form select,
.template-body .form textarea {
  background: rgba(15, 23, 42, 0.66);
  border-color: rgba(125, 211, 252, 0.22);
  color: var(--text-on-dark);
}

@media (max-width: 900px) {
  .template-body .template-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 75rem) {
  .template-page--narrow {
    width: min(100%, 72rem);
    grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.55fr);
    align-items: start;
    justify-items: stretch;
  }

  .template-page--narrow > :first-child {
    grid-column: 1;
  }

  .template-page--narrow > :nth-child(2) {
    grid-column: 2;
  }

  .template-page--narrow > :nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .template-page--narrow .template-panel.template-form-card {
    width: 100%;
    justify-self: stretch;
  }
}

.template-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: stretch;
  gap: clamp(1rem, 1.1vw + 0.7rem, 1.35rem);
  padding: clamp(1.35rem, 2.2vw + 0.75rem, 2.15rem);
  text-align: left;
}

.hero-card.hero-card--static.template-hero {
  border-radius: 1.8rem;
  border-color: transparent;
  background: none;
  box-shadow: none;
}

.template-hero::before {
  content: none;
  position: absolute;
  inset: auto -10% -32% 40%;
  width: 28rem;
  height: 20rem;
  background: radial-gradient(
    circle,
    rgba(75, 194, 255, 0.24),
    rgba(75, 194, 255, 0)
  );
  filter: blur(6px);
  pointer-events: none;
}

.template-hero::after {
  content: none;
  position: absolute;
  inset: -4rem auto auto -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.16),
    rgba(45, 212, 191, 0)
  );
  filter: blur(10px);
  pointer-events: none;
}

.template-hero > * {
  position: relative;
  z-index: 1;
}

.template-hero__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.9fr);
  align-items: start;
}

.template-hero__copy {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  max-width: min(100%, 48rem);
}

.template-hero__copy h1,
.template-panel h2,
.template-panel h3 {
  margin: 0;
}

.template-hero__copy h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.template-hero__copy p,
.template-panel p,
.template-panel li {
  color: var(--text-muted);
}

.template-hero__copy .section-intro {
  max-width: 56rem;
  line-height: 1.68;
}

.template-hero__aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.template-chip-list,
.template-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.template-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.template-actions > * {
  min-width: 0;
}

.template-actions
  > :is(
    a.btn-primary,
    a.btn-ghost,
    a.btn-secondary,
    button.btn-primary,
    button.btn-ghost,
    button.btn-secondary
  ) {
  width: 100%;
  max-width: none;
  justify-content: center;
}

.template-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 0;
  padding: 0.12rem 0 0.12rem 0.85rem;
  border: 0;
  border-left: 2px solid rgba(125, 211, 252, 0.34);
  border-radius: 0;
  background: none;
  color: var(--text-on-dark);
  font-size: 0.9rem;
  box-shadow: none;
  backdrop-filter: none;
}

.template-chip strong {
  color: inherit;
}

.register-page .template-chip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(100%, 42rem);
  margin-top: 0.35rem;
}

.register-page .template-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.55rem 0 0.55rem 0.95rem;
  border-radius: 0;
  border: 0;
  border-left: 2px solid rgba(125, 211, 252, 0.38);
  background: none;
  box-shadow: none;
  text-align: left;
}

.register-page .template-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: #f8fafc;
  font-size: 0.92rem;
  box-shadow: 0 0.55rem 1.1rem rgba(8, 47, 73, 0.16);
}

.register-page .template-chip span:last-child {
  min-width: 0;
  line-height: 1.35;
  font-weight: 600;
  text-wrap: balance;
}

html[data-theme="light"] .register-page .template-chip {
  background: none;
  border-left-color: rgba(14, 116, 144, 0.24);
  color: #0f172a;
}

html[data-theme="light"] .register-page .template-chip strong {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(14, 116, 144, 0.16);
  color: #075985;
  box-shadow: 0 0.45rem 0.9rem rgba(14, 116, 144, 0.08);
}

@media (max-width: 56rem) {
  .register-page .template-chip-list {
    grid-template-columns: 1fr;
  }
}

.template-panel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.template-panel {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.15rem, 1.25vw + 0.82rem, 1.55rem);
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.12),
      transparent 36%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.6));
  box-shadow:
    0 20px 34px -24px rgba(2, 6, 23, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.template-panel--accent {
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.2),
      transparent 36%
    ),
    linear-gradient(155deg, rgba(8, 47, 73, 0.88), rgba(15, 23, 42, 0.72));
  border-color: rgba(56, 189, 248, 0.24);
}

.template-panel--soft {
  background:
    radial-gradient(
      circle at top left,
      rgba(148, 163, 184, 0.16),
      transparent 36%
    ),
    linear-gradient(155deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.56));
}

.template-panel--danger {
  background:
    radial-gradient(
      circle at top left,
      rgba(239, 68, 68, 0.16),
      transparent 34%
    ),
    linear-gradient(155deg, rgba(69, 10, 10, 0.72), rgba(15, 23, 42, 0.62));
  border-color: rgba(248, 113, 113, 0.26);
}

.template-panel--span-4 {
  grid-column: span 4;
}

.template-panel--span-5 {
  grid-column: span 5;
}

.template-panel--span-6 {
  grid-column: span 6;
}

.template-panel--span-7 {
  grid-column: span 7;
}

.template-panel--span-8 {
  grid-column: span 8;
}

.template-panel--span-12 {
  grid-column: 1 / -1;
}

.template-panel__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-on-dark-muted);
}

.template-panel__kicker::before {
  content: "✦";
  color: var(--accent);
}

.template-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.template-list--plain {
  list-style: none;
  padding-left: 0;
}

.template-list--plain li {
  position: relative;
  padding-left: 1.2rem;
}

.template-list--plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(75, 194, 255, 0.1);
}

.template-form-card .form {
  display: grid;
  gap: 0.85rem;
}

.template-form-card .form-field {
  display: grid;
  gap: 0.35rem;
}

.template-panel.template-form-card {
  width: 100%;
  max-width: 60rem;
  justify-self: center;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="light"] .template-panel.template-form-card {
  background: none;
  box-shadow: none;
}

.form-help {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.form-input-row > input {
  min-width: 0;
}

.form-input-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.52);
  color: var(--text-light);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-input-action:hover,
.form-input-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
  outline: none;
}

html[data-theme="light"] .form-input-action {
  background: #fff;
  color: var(--text-dark);
  border-color: rgba(148, 163, 184, 0.36);
}

.form button.is-loading {
  opacity: 0.82;
  cursor: progress;
}

.template-form-card .form-field label,
.template-form-card .form-group label {
  color: var(--text-on-dark);
  font-weight: 600;
}

.template-form-card .form-group {
  display: grid;
  gap: 0.35rem;
}

.apply-hero::before {
  inset: auto -8% -26% 36%;
  height: 22rem;
  background: radial-gradient(
    circle,
    rgba(45, 212, 191, 0.24),
    rgba(45, 212, 191, 0) 62%
  );
}

.apply-chip-list {
  margin-top: 0.2rem;
}

.apply-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.45rem;
}

.apply-value-card {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.34);
}

.apply-value-card strong {
  color: var(--text-on-dark);
  font-size: 0.98rem;
}

.apply-value-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.apply-hero-panel {
  gap: 1rem;
}

.apply-status-card {
  display: grid;
  gap: 0.22rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.26);
}

.apply-status-card__label {
  color: var(--text-on-dark-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.apply-status-card__value {
  color: var(--text-on-dark);
  font-size: 1.15rem;
}

.apply-status-card__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.apply-layout {
  align-items: start;
}

.apply-form-intro {
  margin-bottom: 0.15rem;
}

.apply-field-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.apply-field-hint,
.apply-file-label,
.apply-submit-note,
.apply-char-count {
  margin: 0;
  color: var(--text-muted);
}

.apply-field-hint,
.apply-file-label,
.apply-submit-note {
  font-size: 0.92rem;
  line-height: 1.55;
}

.apply-file-label {
  font-weight: 600;
  color: var(--text-on-dark);
}

.apply-char-count {
  font-size: 0.84rem;
  white-space: nowrap;
}

.apply-form-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.apply-sidebar {
  position: sticky;
  top: calc(var(--topnav-height, 5rem) + 1rem);
  gap: 1rem;
}

.apply-sidebar-card {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.3);
}

.apply-sidebar-card strong {
  color: var(--text-on-dark);
}

.apply-sidebar-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.apply-sidebar-card--accent {
  border-color: rgba(45, 212, 191, 0.22);
  background: linear-gradient(
    160deg,
    rgba(45, 212, 191, 0.14),
    rgba(15, 23, 42, 0.34)
  );
}

.apply-page .button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  isolation: isolate;
  border-width: 0;
  padding: 0 8px 12px;
  min-width: 10em;
  width: fit-content;
  box-sizing: border-box;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.apply-page .apply-submit-button {
  margin-top: 0.35rem;
}

.apply-page .button-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 8px 16px;
  transform: translateY(0);
  text-align: center;
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  transition-property: transform;
  transition-duration: 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.apply-page .button:active .button-top {
  transform: translateY(6px);
}

.apply-page .button-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  background-image: radial-gradient(#3dcd9e, #369d8d);
  text-align: center;
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 2px 1px rgba(255, 255, 255, 0.2);
  transition-property: border-radius, padding, width, transform;
  transition-duration: 0.2s;
}

.apply-page .button:active .button-top::after {
  border-radius: 6px;
  padding: 0 2px;
}

.apply-page .button-bottom {
  position: absolute;
  z-index: 1;
  bottom: 4px;
  left: 4px;
  border-radius: 8px / 16px 16px 8px 8px;
  padding-top: 6px;
  width: calc(100% - 8px);
  height: calc(100% - 10px);
  box-sizing: content-box;
  background-color: #38a19d;
  background-image:
    radial-gradient(
      4px 8px at 4px calc(100% - 8px),
      rgba(255, 255, 255, 0.25),
      transparent
    ),
    radial-gradient(
      4px 8px at calc(100% - 4px) calc(100% - 8px),
      rgba(255, 255, 255, 0.25),
      transparent
    ),
    radial-gradient(16px at -4px 0, white, transparent),
    radial-gradient(16px at calc(100% + 4px) 0, white, transparent);
  box-shadow:
    0 2px 3px 0 rgba(0, 0, 0, 0.5),
    inset 0 -1px 3px 3px rgba(0, 0, 0, 0.4);
  transition-property: border-radius, padding-top;
  transition-duration: 0.2s;
}

.apply-page .button:active .button-bottom {
  border-radius: 10px 10px 8px 8px / 8px;
  padding-top: 0;
}

.apply-page .button-base {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  border-radius: 12px;
  width: 100%;
  height: calc(100% - 4px);
  background-color: rgba(0, 0, 0, 0.15);
  box-shadow:
    0 1px 1px 0 black,
    inset 0 2px 2px rgba(0, 0, 0, 0.25);
}

.apply-page .apply-file-input {
  display: inline-block;
  color: var(--text-muted);
  font: inherit;
  padding: 0.2rem 0;
}

.apply-page .apply-file-input::file-selector-button {
  -webkit-appearance: none;
  appearance: none;
  margin-right: 0.9rem;
  border: 0;
  padding: 8px 16px;
  border-radius: 4px;
  background-image: radial-gradient(#3dcd9e, #369d8d);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 0 #38a19d,
    0 6px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.apply-page .apply-file-input:hover::file-selector-button,
.apply-page .apply-file-input:focus-visible::file-selector-button {
  filter: brightness(1.04);
}

.apply-page .apply-file-input:active::file-selector-button {
  transform: translateY(4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1px 0 #38a19d,
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.template-inline-note {
  margin: 0;
  padding: 0.85rem 0.98rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.38);
  color: var(--text-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.template-inline-note strong {
  color: var(--text-on-dark);
}

@media (max-width: 980px) {
  .apply-value-grid {
    grid-template-columns: 1fr;
  }

  .apply-sidebar {
    position: static;
    top: auto;
  }
}

.template-inline-note input[type="checkbox"] {
  accent-color: var(--accent);
}

.simple-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}

.template-inline-note--stack {
  display: grid;
  gap: 0.35rem;
}

.template-inline-note--stack span {
  color: var(--text-muted);
}

.template-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  font-weight: 700;
}

.template-status--danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.25);
  color: #fecaca;
}

.template-status--warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fde68a;
}

.template-empty {
  margin: 0;
  color: var(--text-muted);
}

html[data-theme="light"] .template-chip {
  background: none;
  border-left-color: rgba(14, 116, 144, 0.24);
  color: var(--text-dark);
  box-shadow: none;
}

html[data-theme="light"] .template-panel {
  background:
    radial-gradient(
      circle at top right,
      rgba(96, 165, 250, 0.14),
      transparent 36%
    ),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.97)
    );
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 18px 30px -24px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .template-panel--accent {
  background:
    radial-gradient(
      circle at top right,
      rgba(125, 211, 252, 0.28),
      transparent 36%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.98),
      rgba(236, 246, 255, 0.97)
    );
}

html[data-theme="light"] .template-panel--soft {
  background:
    radial-gradient(
      circle at top left,
      rgba(148, 163, 184, 0.14),
      transparent 34%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.98),
      rgba(244, 247, 250, 0.97)
    );
}

html[data-theme="light"] .template-panel--danger {
  background:
    radial-gradient(
      circle at top left,
      rgba(248, 113, 113, 0.14),
      transparent 36%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.98),
      rgba(254, 242, 242, 0.97)
    );
}

html[data-theme="light"] .hero-card.hero-card--static.template-hero {
  border-color: transparent;
  background: none;
  box-shadow: none;
}

html[data-theme="light"] .template-panel__kicker,
html[data-theme="light"] .template-hero__copy p,
html[data-theme="light"] .template-panel p,
html[data-theme="light"] .template-panel li,
html[data-theme="light"] .template-inline-note,
html[data-theme="light"] .template-empty {
  color: var(--text-muted);
}

html[data-theme="light"] .template-inline-note {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
}

@media (max-width: 900px) {
  .template-hero__grid,
  .template-panel-grid {
    grid-template-columns: 1fr;
  }

  .template-panel--span-4,
  .template-panel--span-5,
  .template-panel--span-6,
  .template-panel--span-7,
  .template-panel--span-8,
  .template-panel--span-12 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .template-page {
    gap: 0.9rem;
  }

  .template-hero,
  .template-panel {
    border-radius: 1rem;
    padding: 1rem;
  }

  .template-actions,
  .template-link-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .template-actions > * {
    width: 100%;
    justify-content: center;
  }
}

.translator-swap:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0.6rem 1.2rem rgba(56, 189, 248, 0.2);
}

.translator-form textarea {
  width: 100%;
  min-height: 13rem;
  resize: vertical;
  line-height: 1.55;
}

.translator-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.92);
}

.translator-textarea--output {
  min-height: 12.25rem;
  padding: 1rem 1.1rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.38), rgba(15, 23, 42, 0.82)),
    rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1rem 2rem rgba(2, 6, 23, 0.16);
  color: #f8fbff;
  font-weight: 500;
  letter-spacing: 0.01em;
  caret-color: transparent;
}

.translator-textarea--output[readonly] {
  cursor: default;
}

.translator-textarea--output:not(:placeholder-shown) {
  line-height: 1.65;
}

.translator-textarea--output:focus {
  background:
    linear-gradient(180deg, rgba(14, 116, 144, 0.26), rgba(15, 23, 42, 0.84)),
    rgba(15, 23, 42, 0.92);
}

.translator-form__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.translator-form__meta strong {
  color: var(--text-light);
}

.translator-result__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.translator-result__meta strong {
  color: var(--text-light);
}

.translator-limit {
  position: relative;
  overflow: hidden;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.translator-limit__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.translator-limit__hint {
  margin: -0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.translator-is-near-limit .translator-limit__bar {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.translator-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 0.6rem;
}

.translator-actions--result {
  margin-top: 1rem;
}

.translator-actions .btn-primary,
.translator-actions .btn-ghost {
  min-height: 3rem;
  width: 100%;
  min-width: 0;
}

.translator-actions .btn-primary:disabled,
.translator-actions .btn-ghost:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.translator-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.translator-hint--result {
  margin-top: 0.85rem;
}

.translator-shortcut,
.translator-status {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.translator-shortcut {
  color: rgba(125, 211, 252, 0.9);
}

.translator-status {
  min-height: 1.35rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-light);
}

.translator-status[data-status-tone="info"] {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.24);
  color: #bae6fd;
}

.translator-status[data-status-tone="success"] {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.24);
  color: #bbf7d0;
}

.translator-status[data-status-tone="warning"] {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
  color: #fde68a;
}

.translator-status[data-status-tone="error"] {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.24);
  color: #fecaca;
}

.translator-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.translator-pair {
  padding: 0.82rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.88),
    rgba(30, 41, 59, 0.72)
  );
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.translator-pair:hover,
.translator-pair:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.62);
  box-shadow: 0 0.8rem 1.6rem rgba(56, 189, 248, 0.14);
  outline: none;
}

.translator-pair.is-active {
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.22),
    rgba(59, 130, 246, 0.16)
  );
  border-color: rgba(56, 189, 248, 0.75);
  color: #f8fbff;
}

.translator-links {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.translator-links a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #7dd3fc;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.translator-link--icon span {
  flex: 1 1 auto;
}

.translator-links a:hover {
  transform: translateY(-1px);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.46);
  background: rgba(15, 23, 42, 0.72);
}

.translator-note {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.95rem;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e2e8f0;
  line-height: 1.45;
}

.translator-note strong {
  margin-right: 0.35rem;
}

.translator-note--soft {
  margin-top: 1rem;
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.18);
}

.translator-result-stale .translator-textarea--output {
  border-color: rgba(245, 158, 11, 0.36);
  background:
    linear-gradient(180deg, rgba(120, 53, 15, 0.2), rgba(15, 23, 42, 0.82)),
    rgba(15, 23, 42, 0.9);
}

html[data-theme="light"] .translator-page {
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(75, 194, 255, 0.16),
      transparent 34%
    ),
    radial-gradient(circle at 88% 4%, rgba(34, 197, 94, 0.1), transparent 26%),
    linear-gradient(180deg, #f5f8fc, #edf3fb);
}

html[data-theme="light"] .translator-hero .subtitle,
html[data-theme="light"] .translator-stat span,
html[data-theme="light"] .translator-shortcut,
html[data-theme="light"] .translator-hint,
html[data-theme="light"] .translator-form__meta {
  color: var(--text-muted);
}

html[data-theme="light"] .translator-hero__content,
html[data-theme="light"] .translator-stat,
html[data-theme="light"] .translator-hero__card,
html[data-theme="light"] .translator-card,
html[data-theme="light"] .translator-toolbar,
html[data-theme="light"] .translator-row select,
html[data-theme="light"] .translator-form textarea,
html[data-theme="light"] .translator-pair,
html[data-theme="light"] .translator-utility,
html[data-theme="light"] .translator-links a {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(247, 250, 252, 0.9)
  );
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .translator-hero__content::after {
  opacity: 0.7;
}

html[data-theme="light"] .translator-note,
html[data-theme="light"] .translator-note--soft {
  background: rgba(75, 194, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(75, 194, 255, 0.22);
}

html[data-theme="light"] .translator-textarea--output {
  background:
    linear-gradient(
      180deg,
      rgba(224, 242, 254, 0.92),
      rgba(255, 255, 255, 0.98)
    ),
    #fff;
  border-color: rgba(75, 194, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1rem 2rem rgba(15, 23, 42, 0.08);
  color: #082f49;
}

html[data-theme="light"] .translator-textarea--output:focus {
  background:
    linear-gradient(180deg, rgba(186, 230, 253, 0.9), rgba(255, 255, 255, 1)),
    #fff;
}

html[data-theme="light"] .translator-result-stale .translator-textarea--output {
  background:
    linear-gradient(
      180deg,
      rgba(254, 240, 138, 0.3),
      rgba(255, 255, 255, 0.98)
    ),
    #fff;
}

html[data-theme="light"] .translator-stat strong,
html[data-theme="light"] .translator-status,
html[data-theme="light"] .translator-form__meta strong,
html[data-theme="light"] .translator-result__meta strong,
html[data-theme="light"] .translator-toggle__label strong {
  color: var(--text-light);
}

html[data-theme="light"] .translator-toggle__label small,
html[data-theme="light"] .translator-limit__hint {
  color: var(--text-muted);
}

html[data-theme="light"] .translator-pair.is-active {
  background: linear-gradient(
    180deg,
    rgba(75, 194, 255, 0.2),
    rgba(75, 194, 255, 0.12)
  );
}

@media (max-width: 960px) {
  .translator-hero {
    grid-template-columns: 1fr;
  }
  .translator-grid {
    grid-template-columns: 1fr;
  }
  .translator-stats {
    grid-template-columns: 1fr;
  }
  .translator-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .translator-page {
    --page-shell-inline-padding: 0.75rem;
    --page-shell-topnav-padding: 6.45rem;
  }
  .translator-main {
    padding-top: 0;
    padding-bottom: 2.85rem;
  }
  .translator-main::before {
    border-radius: 1.25rem;
  }
  .translator-hero__content,
  .translator-hero__card,
  .translator-card {
    border-radius: 1.1rem;
    padding: 1rem;
  }
  .translator-row--langs {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .translator-toolbar {
    display: grid;
    justify-content: stretch;
  }
  .translator-toolbar__group {
    display: grid;
    grid-template-columns: 1fr;
  }
  .translator-utility {
    width: 100%;
    justify-content: center;
  }
  .translator-swap {
    width: 100%;
    justify-content: center;
  }
  .translator-pairs {
    grid-template-columns: 1fr;
  }
  .translator-actions {
    grid-template-columns: 1fr;
  }
  .translator-actions .btn-primary,
  .translator-actions .btn-ghost {
    width: 100%;
  }
  .translator-form__meta {
    justify-content: flex-start;
  }
  .translator-result__meta {
    justify-content: flex-start;
  }
}

@media (min-width: 1440px) {
  .translator-main {
    max-width: 1340px;
  }
  .translator-form textarea {
    min-height: 14rem;
  }
}

.legal-list {
  display: grid;
  gap: 0.65rem;
  line-height: 1.55;
  color: var(--text-light);
}

.legal-list li::marker {
  content: none;
}

.legal-list strong {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

html[data-theme="light"] .legal-list strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-actions a {
  margin-right: 0;
}

.legal-actions .btn-primary,
.legal-actions .btn-ghost {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.96rem;
  box-shadow: none;
  animation: none;
}

@media (min-width: 426px) {
  .legal-actions .btn-primary,
  .legal-actions .btn-ghost {
    padding: 0.75rem 1.5rem;
    font-size: 0.96rem;
  }
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.6rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  grid-auto-flow: row;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
  justify-content: stretch;
  background: transparent;
}

.contact-text {
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text-light);
  background:
    radial-gradient(
      circle at top left,
      rgba(75, 194, 255, 0.14),
      transparent 42%
    ),
    linear-gradient(155deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: var(--panel-border);
  border-radius: calc(var(--panel-radius) + 0.2rem);
  padding: clamp(1.1rem, 2vw, 1.45rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.contact-text--cta {
  gap: 0.85rem;
  padding: clamp(1.05rem, 1.9vw, 1.35rem);
  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.18),
      transparent 38%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(14, 165, 233, 0.14),
      transparent 36%
    ),
    linear-gradient(160deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.9));
}

.contact-text::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.75),
    rgba(125, 211, 252, 0)
  );
  pointer-events: none;
}

.contact-text__intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(0.85rem, 1.3vw, 1rem) clamp(0.95rem, 1.5vw, 1.1rem);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 14px 26px -24px rgba(2, 6, 23, 0.75);
}

.contact-text__intro > * {
  width: 100%;
}

.contact-text__lead {
  margin: 0;
  max-width: none;
  color: var(--text-light);
  font-size: clamp(1rem, 0.7rem + 0.9vw, 1.18rem);
  line-height: 1.7;
  font-weight: 550;
  letter-spacing: 0.005em;
  text-wrap: pretty;
}

.contact-text--cta .contact-text__lead {
  max-width: none;
  font-size: clamp(1.02rem, 0.72rem + 1.05vw, 1.24rem);
}

.contact-text--cta .contact-text__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.contact-text__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: clamp(0.9rem, 1.7vw, 1.05rem);
  border-radius: 1rem;
  background: transparent;
  border: 1px solid transparent;
}

.contact-text__panel--cta {
  gap: 0.7rem;
  padding: clamp(0.8rem, 1.4vw, 0.95rem);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.contact-text__account {
  display: flex;
  align-items: center;
}

.contact-text__panel--cta .contact-text__register {
  margin-top: -0.1rem;
}

.contact-text__panel--cta .contact-text__register small {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

@media screen and (min-width: 769px) and (max-width: 1025px) {
  .contact-text--cta {
    max-width: min(100%, 48rem);
    gap: 1rem;
    padding: 1.15rem 1.1rem;
  }

  .contact-text--cta .contact-text__intro {
    gap: 0.35rem;
    padding: 0.85rem 0.95rem;
  }

  .contact-text--cta .contact-text__lead {
    max-width: 100%;
    font-size: clamp(1rem, 0.78rem + 0.7vw, 1.08rem);
    line-height: 1.58;
  }

  .contact-text__panel--cta {
    gap: 0.85rem;
    padding: 0.95rem;
  }

  .contact-text__panel--cta .contact-text__register {
    text-align: center;
  }

  .contact-text__panel--cta .contact-text__register small {
    justify-content: center;
  }

  .contact-text--cta .contact-text__actions {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-text__account .login-chip,
  .contact-text--cta .contact-text__actions .btn-primary,
  .contact-text--cta .contact-text__actions .btn-ghost {
    min-height: 3.15rem;
  }
}

.contact-notice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  margin: 0.35rem 0 0.25rem;
  padding: clamp(0.8rem, 1.5vw, 1rem);
  border-radius: 1.05rem;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    linear-gradient(
      145deg,
      rgba(56, 189, 248, 0.14),
      rgba(59, 130, 246, 0.08) 45%,
      rgba(15, 23, 42, 0.22)
    ),
    rgba(15, 23, 42, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 34px rgba(2, 6, 23, 0.35);
  overflow: hidden;
}

.contact-notice-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.12)),
    rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 1.2rem;
  justify-self: start;
  box-shadow: 0 0.75rem 1.5rem rgba(2, 6, 23, 0.16);
}

.contact-notice__body {
  min-width: 0;
  display: grid;
  gap: 0.26rem;
}

.contact-notice-label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
}

.contact-notice-text {
  margin: 0;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  max-width: 62ch;
}

.contact-card {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(0.9rem, 2vw, 1.15rem);
  font-size: clamp(0.92rem, 1vw, 1rem);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 900px;
}

.contact-card--quickactions {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  align-items: stretch;
  gap: clamp(0.75rem, 1.8vw, 1rem);
  padding: clamp(1rem, 2vw, 1.2rem);
  max-width: min(52rem, 100%);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(75, 194, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(155deg, rgba(8, 18, 34, 0.72), rgba(15, 23, 42, 0.48));
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 1.2rem 2.5rem rgba(2, 6, 23, 0.24);
}

.contact-card--quickactions .contact-line {
  min-width: 0;
  display: flex;
  align-items: stretch;
  margin: 0;
}

.contact-card--quickactions .contact-line--messengers {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-card--quickactions .contact-call {
  width: 100%;
  min-height: 5rem;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
}

.contact-card--quickactions .contact-line--messengers .contact-call {
  flex: 0 1 13rem;
  max-width: 15rem;
}

.contact-card--quickactions .contact-call__body {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0.2rem;
  align-content: center;
}

.contact-card--quickactions .contact-call__body strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.contact-card--quickactions .contact-call__body em {
  display: block;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.contact-card--quickactions .contact-call__glyph {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.9rem;
  background: transparent;
  border: 1px solid transparent;
  font-size: 1.2rem;
}

.contact-card--quickactions .contact-call__icon {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0;
  align-self: center;
}

.contact-card--quickactions .contact-call--email {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.18),
    rgba(251, 191, 36, 0.12)
  );
  --contact-call-border: rgba(251, 146, 60, 0.34);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.26),
    rgba(251, 191, 36, 0.18)
  );
  --contact-call-hover-border: rgba(251, 146, 60, 0.56);
}

.contact-card--quickactions .contact-call--gmail {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(248, 113, 113, 0.2),
    rgba(251, 191, 36, 0.12)
  );
  --contact-call-border: rgba(248, 113, 113, 0.34);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(248, 113, 113, 0.28),
    rgba(252, 211, 77, 0.18)
  );
  --contact-call-hover-border: rgba(252, 165, 165, 0.58);
}

.contact-card--quickactions .contact-call--proton {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(56, 189, 248, 0.12)
  );
  --contact-call-border: rgba(129, 140, 248, 0.34);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(129, 140, 248, 0.28),
    rgba(96, 165, 250, 0.18)
  );
  --contact-call-hover-border: rgba(165, 180, 252, 0.58);
}

.contact-card--quickactions .contact-call--phone {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.18),
    rgba(71, 85, 105, 0.12)
  );
  --contact-call-border: rgba(148, 163, 184, 0.3);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.24),
    rgba(71, 85, 105, 0.16)
  );
  --contact-call-hover-border: rgba(191, 219, 254, 0.4);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  word-break: break-word;
}

.contact-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: var(--space-page);
  padding-right: var(--space-page);
  margin-bottom: 1.2rem;
}
.contact-subline {
  margin: 0.35rem 0 0;
  color: var(--text-muted, #cbd5e1);
  max-width: 720px;
}
.contact-badge {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(56, 189, 248, 0.25);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  grid-auto-flow: row;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
  justify-content: stretch;
  padding-top: 0.5rem;
  background: transparent;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 0.9rem;
    gap: 0.65rem;
  }
  .contact-line {
    gap: 0.45rem;
  }

  .contact-card--quickactions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .contact-card--quickactions .contact-line--messengers {
    grid-column: auto;
    justify-content: stretch;
    padding-top: 0.7rem;
  }

  .contact-card--quickactions .contact-line--messengers .contact-call {
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .contact-card {
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  .contact-line {
    align-items: flex-start;
  }
  .contact-line em,
  .contact-line strong {
    word-break: break-word;
  }
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.contact-call {
  --contact-call-bg: rgba(15, 23, 42, 0.65);
  --contact-call-border: rgba(148, 163, 184, 0.32);
  --contact-call-hover-bg: rgba(56, 189, 248, 0.18);
  --contact-call-hover-border: rgba(56, 189, 248, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid var(--contact-call-border);
  background: var(--contact-call-bg);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
  max-width: 100%;
  flex: 1 1 auto;
  box-shadow: 0 0.85rem 1.8rem rgba(15, 23, 42, 0.18);
}

.contact-call em {
  white-space: normal;
  word-break: break-word;
}

.contact-call__icon {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-call--whatsapp {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.22),
    rgba(5, 150, 105, 0.18)
  );
  --contact-call-border: rgba(37, 211, 102, 0.42);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.32),
    rgba(5, 150, 105, 0.24)
  );
  --contact-call-hover-border: rgba(74, 222, 128, 0.72);
  box-shadow: 0 1rem 2.2rem rgba(6, 95, 70, 0.22);
}

.contact-call--whatsapp:hover,
.contact-call--whatsapp:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(6, 95, 70, 0.28);
}

.contact-call--signal {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(58, 118, 240, 0.24),
    rgba(37, 99, 235, 0.18)
  );
  --contact-call-border: rgba(96, 165, 250, 0.42);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.32),
    rgba(37, 99, 235, 0.24)
  );
  --contact-call-hover-border: rgba(147, 197, 253, 0.74);
  box-shadow: 0 1rem 2.2rem rgba(30, 64, 175, 0.22);
}

.contact-call--signal:hover,
.contact-call--signal:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(30, 64, 175, 0.28);
}

.contact-call--telegram {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.22),
    rgba(2, 132, 199, 0.18)
  );
  --contact-call-border: rgba(56, 189, 248, 0.4);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.32),
    rgba(3, 105, 161, 0.24)
  );
  --contact-call-hover-border: rgba(125, 211, 252, 0.72);
  box-shadow: 0 1rem 2.2rem rgba(8, 47, 73, 0.22);
}

.contact-call--telegram:hover,
.contact-call--telegram:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(8, 47, 73, 0.28);
}

.contact-label-full {
  display: inline;
}

.contact-label-compact {
  display: none;
}

@media (min-width: 425px) {
  .contact-card {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 768px) {
  .contact-card {
    max-width: 1040px;
  }
}

.messenger-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.2rem;
}

.messenger-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: var(--accent);
}

.messenger-icon--signal {
  fill: #ffffff;
}

.messenger-icon-wrapper--signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3a76f0;
  border-radius: 6px;
  padding: 0.14rem;
  border: 1px dotted #ffffff;
}

.messenger-icon--whatsapp {
  fill: #25d366;
}

.contact-call:hover,
.contact-call:focus-visible {
  background: var(--contact-call-hover-bg);
  border-color: var(--contact-call-hover-border);
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.24);
}

.map-card {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(75, 194, 255, 0.1),
      transparent 50%
    ),
    rgba(15, 23, 42, 0.7);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.45);
}

.map-card-header {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.map-card-title {
  margin: 0.1rem 0;
}

.map-card-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-card-body {
  margin-top: 0.25rem;
}

.map-frame {
  width: 100%;
  height: 360px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-light);
}

.availability-pill.open {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.availability-pill.soon {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.12);
  color: #0f172a;
}

.availability-pill.closed {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.contact-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer.site-footer {
  width: 100%;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  padding: 1rem 1.6rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: var(--bg-base);
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  align-items: flex-start;
  justify-content: space-between;
  position: static;
  z-index: 1;
}

footer.site-footer span.brand {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

footer.site-footer .footer-deploy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  width: fit-content;
  padding: 0.38rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: transparent;
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: 0 0.6rem 1.3rem rgba(2, 6, 23, 0.2);
  margin-top: 0.15rem;
  margin-left: auto;
}

footer.site-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  margin-left: auto;
}

footer.site-footer .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.38);
  color: #7dd3fc;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
  position: relative;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

footer.site-footer .footer-link--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sidenav-link--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.sidenav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.18),
      rgba(56, 189, 248, 0.05)
    ),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--sidenav-accent, #7dd3fc);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

html[data-theme="light"] .sidenav-link__icon {
  border-color: rgba(14, 165, 233, 0.14);
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.05)),
    rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #0369a1;
}

.link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.link-icon--deepl {
  padding: 0.14rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.2),
    0 0.2rem 0.55rem rgba(15, 23, 42, 0.2);
}

.translator-links .link-icon--deepl {
  width: 1.3rem;
  height: 1.3rem;
}

html[data-theme="light"] .link-icon--deepl {
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.24),
    0 0.18rem 0.45rem rgba(148, 163, 184, 0.18);
}

footer.site-footer .footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 1rem;
  background: rgba(8, 20, 38, 0.42);
  color: #dff6ff;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

footer.site-footer .footer-app-link:hover,
footer.site-footer .footer-app-link:focus-visible {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(8, 20, 38, 0.62);
  transform: translateY(-1px);
}

footer.site-footer .footer-app-link__image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.7rem;
  flex: 0 0 auto;
}

footer.site-footer .footer-app-link__text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

footer.site-footer .footer-link::after {
  display: none;
}

footer.site-footer .footer-link:hover,
footer.site-footer .footer-link:focus-visible {
  color: #dff7ff;
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(125, 211, 252, 0.36);
  transform: translateY(-1px);
}

footer.site-footer .footer-link--scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: #000000;
  box-shadow: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 48px;
  flex: 0 0 auto;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100px);
  transition: all 0.5s ease;
}

footer.site-footer .footer-link--scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

footer.site-footer .footer-link--scroll-top::before {
  display: none;
}

footer.site-footer .footer-link--scroll-top::after {
  display: none;
}

footer.site-footer .footer-link__scroll-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  filter: none;
}

footer.site-footer .footer-link__scroll-icon::before {
  display: none;
}

footer.site-footer .footer-link--scroll-top:hover,
footer.site-footer .footer-link--scroll-top:focus-visible {
  color: #ffffff;
  background-color: #000000;
  box-shadow: none;
}

.footer-counts {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-counts__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 0.4rem 1.1rem rgba(15, 23, 42, 0.22);
}

.footer-counts__icon {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: linear-gradient(
    145deg,
    rgba(8, 47, 73, 0.55),
    rgba(56, 189, 248, 0.62)
  );
  font-size: 1.05rem;
  color: #e8f6ff;
  box-shadow:
    0 0.45rem 0.9rem rgba(56, 189, 248, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.footer-counts__text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.footer-counts__number {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-counts__label {
  color: var(--text-muted);
  font-size: 0.86rem;
}

html[data-theme="light"] footer.site-footer {
  border-top-color: rgba(148, 163, 184, 0.35);
  background: rgba(247, 247, 251, 0.96);
}

html[data-theme="light"] footer.site-footer .footer-deploy-badge {
  color: #0f4c81;
  background: rgba(224, 242, 254, 0.78);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 0.6rem 1.3rem rgba(14, 116, 144, 0.12);
}

html[data-theme="light"] footer.site-footer .footer-link {
  color: #0369a1;
  border-color: rgba(3, 105, 161, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] footer.site-footer .footer-app-link {
  border-color: rgba(3, 105, 161, 0.16);
  background: rgba(240, 249, 255, 0.95);
  color: #0f172a;
}

html[data-theme="light"] footer.site-footer .footer-app-link:hover,
html[data-theme="light"] footer.site-footer .footer-app-link:focus-visible {
  border-color: rgba(3, 105, 161, 0.35);
  background: #ffffff;
}

html[data-theme="light"] footer.site-footer .footer-link:hover,
html[data-theme="light"] footer.site-footer .footer-link:focus-visible {
  color: #0284c7;
  background: #ffffff;
  border-color: rgba(3, 105, 161, 0.24);
}

html[data-theme="light"] .footer-counts__chip {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 0.5rem 1.1rem rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .footer-counts__icon {
  background: linear-gradient(
    145deg,
    rgba(224, 242, 254, 0.96),
    rgba(125, 211, 252, 0.9)
  );
  color: #0f4c81;
  box-shadow:
    0 0.45rem 0.9rem rgba(14, 165, 233, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

html[data-theme="light"] .footer-counts__number {
  color: #0f172a;
}

.footer-cube,
.nav-cube {
  position: relative;
  width: var(--cube-size, 140px);
  height: var(--cube-size, 140px);
  flex: 0 0 var(--cube-size, 140px);
  perspective: 1200px;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.45))
    drop-shadow(0 0 32px rgba(56, 189, 248, 0.18));
}

.footer-cube .cube-scene,
.nav-cube .cube-scene {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: cube-spin 16s linear infinite;
  transform: rotateX(-18deg) rotateY(24deg);
  will-change: transform;
  pointer-events: none;
}

.nav-cube .cube-scene {
  animation: nav-cube-spin-words 20s cubic-bezier(0.37, 0, 0.18, 1) infinite;
}

/* Nav cube specific tuning */
.nav-cube {
  --cube-size: 146px;
  --cube-depth: 88px;
  --cube-link-size: var(--cube-size);
  --cube-letter-spacing: 0.12em;
  --cube-font-size: clamp(0.82rem, 1.05vw, 1.08rem);
  --cube-text-offset: 12px;
  --cube-glow: rgba(56, 189, 248, 0.48);
  --cube-glass: rgba(255, 255, 255, 0.16);
}

.footer-cube .cube-face,
.nav-cube .cube-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35),
      rgba(125, 211, 252, 0.28) 55%,
      rgba(14, 165, 233, 0.35)
    ),
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.38),
      transparent 48%
    );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 1.2rem rgba(125, 211, 252, 0.22) inset,
    0 10px 36px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.2);
  opacity: 0.72;
  mix-blend-mode: normal;
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
  backface-visibility: visible;
  pointer-events: none;
}

.cube-face__label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0f2fe;
  text-shadow:
    0 6px 18px rgba(15, 23, 42, 0.55),
    0 0 12px rgba(125, 211, 252, 0.55);
  transform: translateZ(1px);
  font-size: 0.82rem;
  text-align: center;
  pointer-events: none;
}

.cube-face--front {
  transform: translateZ(70px);
  background:
    linear-gradient(
      135deg,
      rgba(125, 211, 252, 0.55),
      rgba(14, 165, 233, 0.35)
    ),
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.45),
      transparent 55%
    );
}
.cube-face--back {
  transform: translateZ(-70px) rotateY(180deg);
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.5), rgba(45, 212, 191, 0.28)),
    radial-gradient(
      circle at 70% 35%,
      rgba(255, 255, 255, 0.28),
      transparent 60%
    );
}
.cube-face--right {
  transform: rotateY(90deg) translateZ(70px);
  background:
    linear-gradient(160deg, rgba(94, 234, 255, 0.5), rgba(14, 165, 233, 0.28)),
    radial-gradient(
      circle at 20% 60%,
      rgba(255, 255, 255, 0.4),
      transparent 55%
    );
}
.cube-face--left {
  transform: rotateY(-90deg) translateZ(70px);
  background:
    linear-gradient(120deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3)),
    radial-gradient(
      circle at 65% 25%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    );
}
.cube-face--top {
  transform: rotateX(90deg) translateZ(70px);
  background:
    linear-gradient(
      115deg,
      rgba(244, 114, 182, 0.28),
      rgba(56, 189, 248, 0.32)
    ),
    radial-gradient(
      circle at 45% 45%,
      rgba(255, 255, 255, 0.4),
      transparent 55%
    );
}
.cube-face--bottom {
  transform: rotateX(-90deg) translateZ(70px);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.32), rgba(52, 211, 153, 0.28)),
    radial-gradient(
      circle at 40% 60%,
      rgba(255, 255, 255, 0.28),
      transparent 60%
    );
}

.cube-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.4) 0%,
    rgba(56, 189, 248, 0.08) 35%,
    transparent 60%
  );
  filter: blur(18px);
  transform: translateZ(-40px);
  animation: cube-pulse 3.2s ease-in-out infinite alternate;
  opacity: 0.8;
}

@keyframes cube-spin {
  0% {
    transform: rotateX(-22deg) rotateY(18deg);
  }
  50% {
    transform: rotateX(22deg) rotateY(198deg);
  }
  100% {
    transform: rotateX(-22deg) rotateY(378deg);
  }
}

@keyframes cube-pulse {
  0% {
    opacity: 0.7;
    filter: blur(14px) brightness(1);
  }
  100% {
    opacity: 1;
    filter: blur(20px) brightness(1.2);
  }
}

@keyframes nav-cube-spin-words {
  0%,
  18% {
    transform: rotateX(-16deg) rotateY(28deg) rotateZ(-2deg);
  }
  25%,
  43% {
    transform: rotateX(-14deg) rotateY(-62deg) rotateZ(-1deg);
  }
  50%,
  68% {
    transform: rotateX(-17deg) rotateY(-152deg) rotateZ(1deg);
  }
  75%,
  93% {
    transform: rotateX(-15deg) rotateY(-242deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(-16deg) rotateY(-332deg) rotateZ(-2deg);
  }
}

.nav-cube {
  position: relative;
  top: 0;
  left: 0;
  right: auto;
  --cube-size: clamp(5.55rem, 5.1rem + 1vw, 6.45rem);
  --cube-depth: calc(var(--cube-size) * 0.47);
  width: var(--cube-size, 150px);
  height: var(--cube-size, 150px);
  flex-basis: var(--cube-size, 150px);
  opacity: 0.98;
  z-index: 0;
  pointer-events: none;
  align-self: center;
  transform: none;
  transform-origin: center;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  filter: drop-shadow(0 0.95rem 1.55rem rgba(2, 6, 23, 0.28))
    drop-shadow(0 0 1rem rgba(56, 189, 248, 0.12));
}

.nav-cube-link {
  --nav-cube-link-width: clamp(9.4rem, 8.6rem + 2.1vw, 11.6rem);
  --nav-cube-front-label-size: clamp(0.635rem, 0.585rem + 0.18vw, 0.795rem);
  --nav-cube-caption-size: clamp(0.58rem, 0.54rem + 0.16vw, 0.72rem);
  position: relative;
  display: inline-grid;
  grid-template-rows: minmax(var(--cube-size), auto);
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0;
  align-self: center;
  width: var(--nav-cube-link-width);
  min-width: var(--nav-cube-link-width);
  min-height: 0;
  padding: 0.56rem 0.46rem 0.18rem;
  pointer-events: auto;
  margin-block: 0.1rem;
  margin-right: clamp(0.55rem, 1.4vw, 1rem);
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  border-radius: 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    filter 0.24s ease;
}

.nav-cube-link::before {
  content: "";
  position: absolute;
  inset: 0.18rem 0.14rem 0.2rem;
  border-radius: 1.42rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  z-index: -1;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.24s ease;
}

.nav-cube-link::after {
  content: "";
  position: absolute;
  inset: 0.3rem 0.24rem auto;
  height: 46%;
  border-radius: 1.2rem;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.nav-cube-link:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.92);
  outline-offset: 4px;
  border-radius: 1.55rem;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.18),
    0 1.25rem 2.6rem rgba(2, 6, 23, 0.3),
    0 0 0 1px rgba(125, 211, 252, 0.14) inset;
}

.nav-cube-link.active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.nav-cube-link.active::before {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}

.nav-cube-link.active::after {
  opacity: 0;
}

.nav-cube-link:hover,
.nav-cube-link:focus-visible {
  transform: translateY(-2px) scale(1.01);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  filter: saturate(1.03);
}

.nav-cube-link:hover::before,
.nav-cube-link:focus-visible::before {
  transform: translateY(-0.08rem);
  border-color: transparent;
  box-shadow: none;
  opacity: 0;
}

.nav-cube-link:hover::after,
.nav-cube-link:focus-visible::after {
  opacity: 0;
  transform: translateY(-0.05rem);
}

.nav-cube-link:hover .nav-cube,
.nav-cube-link:focus-visible .nav-cube {
  transform: translateY(-0.08rem) scale(1.02);
  filter: drop-shadow(0 1.15rem 1.9rem rgba(2, 6, 23, 0.32))
    drop-shadow(0 0 1.25rem rgba(56, 189, 248, 0.18));
}

.nav-cube-link:hover .cube-scene,
.nav-cube-link:focus-visible .cube-scene {
  animation-play-state: paused;
}

.nav-cube-caption {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 0.8rem);
  min-height: 1.15rem;
  padding: 0 0.2rem;
  font-size: var(--nav-cube-caption-size);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.88);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 6px rgba(2, 6, 23, 0.32);
  transition:
    color 0.24s ease,
    transform 0.24s ease,
    opacity 0.24s ease;
}

html[data-theme="light"] .nav-cube-link {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav-cube-link.active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav-cube-link::before {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  opacity: 0;
}

html[data-theme="light"] .nav-cube-link::after {
  background: transparent;
  opacity: 0;
}

html[data-theme="light"] .nav-cube-link:hover,
html[data-theme="light"] .nav-cube-link:focus-visible,
html[data-theme="light"] .nav-cube-link.active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav-cube-link:hover::before,
html[data-theme="light"] .nav-cube-link:focus-visible::before {
  border-color: transparent;
  box-shadow: none;
  opacity: 0;
}

html[data-theme="light"] .nav-cube-link.active::before {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}

html[data-theme="light"] .nav-cube-link.active::after {
  opacity: 0;
}

html[data-theme="light"] .nav-cube .cube-face__label {
  color: #0f3b58;
  text-shadow:
    0 2px 8px rgba(255, 255, 255, 0.85),
    0 0 10px rgba(56, 189, 248, 0.18);
}

html[data-theme="light"] .nav-cube-caption {
  color: #1e3a5f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-cube .cube-face {
  border-radius: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  backdrop-filter: none;
}

.nav-cube .cube-face__label {
  color: #eff6ff;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(0.695rem, 0.615rem + 0.2vw, 0.835rem);
  line-height: 1.08;
  width: calc(100% - 0.85rem);
  padding: 0.36rem;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-transform: none;
  max-width: calc(100% - 0.85rem);
  transform: translate3d(-50%, -50%, var(--cube-text-offset, 0px));
  text-shadow:
    0 2px 8px rgba(2, 6, 23, 0.44),
    0 0 10px rgba(125, 211, 252, 0.26);
}

.nav-cube .cube-face--front .cube-face__label {
  font-size: var(--nav-cube-front-label-size);
  letter-spacing: 0;
  line-height: 1.04;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  max-width: calc(100% - 0.75rem);
}

.nav-cube .cube-face--front {
  background: transparent;
}

.nav-cube .cube-face--back {
  background: transparent;
}

.nav-cube .cube-face--right {
  background: transparent;
}

.nav-cube .cube-face--left {
  background: transparent;
}

.nav-cube .cube-face--top {
  background: transparent;
  opacity: 1;
}

.nav-cube .cube-face--bottom {
  background: transparent;
  opacity: 1;
}

html[data-theme="light"] .nav-cube .cube-face {
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav-cube .cube-face--front {
  background: transparent;
}

html[data-theme="light"] .nav-cube .cube-face--back {
  background: transparent;
}

html[data-theme="light"] .nav-cube .cube-face--right {
  background: transparent;
}

html[data-theme="light"] .nav-cube .cube-face--left {
  background: transparent;
}

html[data-theme="light"] .nav-cube .cube-face--top {
  background: transparent;
}

html[data-theme="light"] .nav-cube .cube-face--bottom {
  background: transparent;
}

@media (min-width: 48rem) {
  .nav-cube {
    --cube-size: clamp(4.7rem, 4.35rem + 0.55vw, 5.2rem);
  }

  .nav-cube-link {
    --nav-cube-link-width: clamp(7.55rem, 7.05rem + 0.9vw, 8.45rem);
    --nav-cube-front-label-size: clamp(0.54rem, 0.51rem + 0.08vw, 0.62rem);
    --nav-cube-caption-size: clamp(0.48rem, 0.46rem + 0.08vw, 0.56rem);
    margin-block: 0.08rem;
    gap: 0;
    padding: 0.34rem 0.22rem 0.08rem;
    border-radius: 1.1rem;
  }

  .nav-cube-link::before {
    inset: 0.12rem 0.1rem 0.14rem;
    border-radius: 1.12rem;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    opacity: 0;
  }

  .nav-cube-link::after {
    inset: 0.2rem 0.18rem auto;
    height: 38%;
    border-radius: 0.95rem;
    opacity: 0;
  }

  .nav-cube {
    filter: drop-shadow(0 0.7rem 1.15rem rgba(2, 6, 23, 0.2))
      drop-shadow(0 0 0.7rem rgba(56, 189, 248, 0.08));
  }

  .nav-cube .cube-face {
    border-radius: 0.82rem;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-cube .cube-face--front,
  .nav-cube .cube-face--back,
  .nav-cube .cube-face--right,
  .nav-cube .cube-face--left {
    opacity: 1;
  }

  .nav-cube .cube-face--top,
  .nav-cube .cube-face--bottom {
    opacity: 1;
  }

  .nav-cube-link:hover .nav-cube,
  .nav-cube-link:focus-visible .nav-cube {
    transform: translateY(-0.04rem) scale(1.015);
  }
}

@media (min-width: 1140px) {
  .nav-cube {
    --cube-size: 4.55rem;
  }

  .nav-cube-link {
    --nav-cube-link-width: 7.2rem;
    --nav-cube-front-label-size: 0.52rem;
    --nav-cube-caption-size: 0.47rem;
  }

  .nav-cube .cube-face--front .cube-face__label {
    font-size: 0.68rem;
    letter-spacing: 0;
    max-width: calc(100% - 0.8rem);
  }
}

/* Push nav cube faces outward only for header logo */
.nav-cube .cube-face--front {
  transform: translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--back {
  transform: translateZ(calc(-1 * var(--cube-depth, 70px))) rotateY(180deg);
}
.nav-cube .cube-face--right {
  transform: rotateY(90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--left {
  transform: rotateY(-90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--top {
  transform: rotateX(90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--bottom {
  transform: rotateX(-90deg) translateZ(var(--cube-depth, 70px));
}

/* Hide glow for a cleaner logo look */
.nav-cube .cube-glow {
  display: none;
}

.nav-cube-link:hover .nav-cube .cube-glow,
.nav-cube-link:focus-visible .nav-cube .cube-glow {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .footer-cube .cube-scene,
  .nav-cube .cube-scene,
  .cube-glow {
    animation: none !important;
  }
}

@media (max-width: 55rem) {
  .footer-cube {
    width: 120px;
    height: 120px;
    flex-basis: 120px;
  }
  .nav-cube {
    --cube-size: 5.15rem;
  }
  .nav-cube-link {
    --nav-cube-link-width: 8.8rem;
    --nav-cube-front-label-size: 0.625rem;
    --nav-cube-caption-size: 0.58rem;
    padding: 0.34rem 0.32rem 0.42rem;
    margin-right: 0.45rem;
  }
  .nav-cube .cube-face--front .cube-face__label {
    max-width: calc(100% - 0.7rem);
    letter-spacing: 0;
  }
  .topnav {
    padding-left: 0.75rem;
  }
}

@media (max-width: 46rem) {
  .nav-cube-link {
    --nav-cube-link-width: 8rem;
    --nav-cube-front-label-size: 0.555rem;
    --nav-cube-caption-size: 0.54rem;
    gap: 0.24rem;
    margin-right: 0.3rem;
  }
  .nav-cube {
    --cube-size: 4.7rem;
  }
  .nav-cube .cube-face--front .cube-face__label {
    max-width: calc(100% - 0.55rem);
  }
}

@media (max-width: 38rem) {
  .topnav {
    padding-left: 0.75rem;
  }
  .footer-cube {
    width: 98px;
    height: 98px;
    flex-basis: 98px;
    margin-left: auto;
    opacity: 0.85;
  }
  .nav-cube {
    display: none;
  }
  .nav-cube-link {
    display: none;
  }
}

footer.site-footer .footer-link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}

html:not([data-theme="light"]) footer.site-footer .footer-link {
  color: #7dd3fc;
  background: none;
  border: none;
}

html:not([data-theme="light"]) footer.site-footer .footer-link:hover,
html:not([data-theme="light"]) footer.site-footer .footer-link:focus-visible {
  color: #38bdf8;
}

@media (max-width: 55rem) {
  .topnav {
    padding-left: 0.75rem;
  }
  header.hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    order: -1;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .login-chip {
    width: 100%;
    justify-content: center;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
  }

  .login-chip strong {
    text-align: center;
  }
}

/* Kontaktkarte auf kleineren Screens immer volle Breite zeigen */
@media (max-width: 64rem) {
  .contact-card {
    grid-column: 1 / -1;
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .service-card {
    max-width: none;
    padding: 1.05rem 1.1rem;
  }
}

/* Services: auf mobilen/tablet Icons ausblenden für bessere Lesbarkeit */
@media (max-width: 64rem) {
  .service-card::before {
    display: none;
  }
}

/* 768–1024px gezielt optimieren */
@media (min-width: 48rem) and (max-width: 64rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.5rem);
    --page-shell-inline-padding: clamp(1rem, 2.4vw, 2.1rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.6rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.15rem;
  }

  .hero-side {
    max-width: 24rem;
    width: 100%;
    order: 2;
  }

  .hero-actions {
    justify-content: flex-start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .service-card,
  .price-card,
  .step-card {
    padding: 1rem 1.05rem;
  }

  .ticker-track {
    gap: 0.8rem;
  }

  .section {
    padding: 1.2rem 1.25rem;
  }
}

/* 500–800px: zwei Spalten wo möglich */
@media (min-width: 31.25rem) and (max-width: 50rem) {
  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  }
}

@media (max-width: 48rem) {
  .contact-grid--with-weather {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .contact-grid--with-weather .weather-col {
    order: 2;
  }
}

/* Feinschliff unter 800px */
@media (max-width: 50rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1rem);
    --page-shell-inline-padding: clamp(0.9rem, 2vw, 1.6rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.35rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contact-grid--with-weather {
    gap: 0.75rem;
  }

  .hero-side {
    order: -1;
    max-width: none;
    width: 100%;
  }
}

/* 426–769px: kompakt, aber zweispaltige Grids wo möglich */
@media (min-width: 26.6rem) and (max-width: 48rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.1rem);
    --page-shell-inline-padding: clamp(1rem, 2.5vw, 1.8rem);
    max-width: 1100px;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.5rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
  }

  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.8rem;
  }

  .section {
    padding: 1.1rem 1.15rem;
  }
}

/* Tablet-Landschaft: harmonische Zweispalter und großzügige Ränder */
@media (min-width: 50rem) and (max-width: 75rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.9rem);
    --page-shell-inline-padding: clamp(1.1rem, 3vw, 2.3rem);
    max-width: var(--page-shell-max-width);
    margin: 0 auto;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.8rem);
  }

  .section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .manual-grid {
    gap: 1rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }
}

/* Tablet layout: use the available width but keep things airy */
@media (min-width: 50rem) and (max-width: 75rem) {
  header.hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 1.25rem;
  }

  .hero-main {
    max-width: none;
  }

  .hero-side {
    order: 2;
    max-width: 28rem;
    width: 100%;
    justify-self: stretch;
  }

  .hero-card {
    height: 100%;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 1.35rem;
  }

  .contact-grid--with-weather .weather-col .weather-widget .wrap {
    max-width: 100%;
  }

  .contact-card {
    grid-column: 1 / -1;
    max-width: none;
  }

  .section {
    padding: 1.35rem 1.4rem;
  }
}

@media (max-width: 48rem) {
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .manual-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 45rem) {
  .map-frame {
    height: 260px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .support-actions {
    grid-template-columns: 1fr;
  }

  /* Cards auf kleineren Screens wie Hero vollflächig stapeln */
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 0.95rem;
  }

  .page-shell {
    --page-shell-inline-padding: clamp(0.25rem, 1.4vw, 0.5rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.75rem;
  }

  header.hero {
    padding: 5.4rem 1.1rem 4.2rem;
    margin-block: 0 0.9rem;
  }

  .hero-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-fold-toggle,
  .hero-card-account__toggle {
    margin-left: 0;
    align-self: flex-start;
  }

  .section {
    padding: 1.1rem 1.05rem 1.2rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .login-chip {
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
  }

  .login-chip__avatar {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    font-size: 0.95rem;
  }

  .legal-section,
  .legal-section h1,
  .legal-section h2,
  .legal-section h3,
  .legal-section p,
  .legal-section li {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }

  .manual-actions a {
    min-width: 0;
  }

  body {
    /* padding-bottom: calc(5.8rem + env(safe-area-inset-bottom, 0px)); */
    padding-bottom: 0;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: stretch;
    align-items: stretch;
    max-width: none;
  }

  .mobile-action-bar .mobile-btn {
    max-width: 14rem;
    width: 100%;
    justify-self: center;
  }

  footer.site-footer {
    width: 100%;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  footer.site-footer .footer-meta {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.55rem 0.9rem;
  }

  footer.site-footer .footer-link {
    white-space: normal;
    word-break: break-word;
  }

  footer.site-footer .footer-counts {
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }

  footer.site-footer .footer-deploy-badge {
    grid-column: 1 / -1;
    align-self: flex-start;
    margin-left: 0;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-lang {
    position: static;
    margin-top: 0.5rem;
  }

  .lang-menu {
    position: static;
    width: 100%;
  }

  .lang-tooltip {
    display: none;
  }
}

/* Mobile bottom fixed action bar */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  display: none;
  z-index: 999;
  box-shadow: 0 -0.8rem 2rem rgba(0, 0, 0, 0.4);
}

.mobile-action-bar .mobile-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
}

.mobile-btn.primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  box-shadow: 0 0.6rem 1.4rem rgba(56, 189, 248, 0.35);
}

.mobile-btn.secondary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
}

@media (max-width: 30rem) {
  .mobile-action-bar {
    grid-template-columns: 1fr;
    padding: 0.55rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
  }

  .mobile-action-bar .mobile-btn {
    max-width: none;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  footer.site-footer {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
    text-align: left;
  }

  footer.site-footer .footer-meta {
    justify-content: flex-start;
    text-align: left;
    grid-template-columns: 1fr;
  }

  footer.site-footer .footer-deploy-badge {
    align-self: flex-start;
    margin-left: 0;
  }
}

.lang-inline {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.lang-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.lang-switcher:hover,
.lang-switcher:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.lang-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-current {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: #0b1224;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 12rem;
  max-width: min(18rem, calc(100vw - 1.5rem));
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.85rem;
  box-shadow: 0 1.2rem 2.2rem rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  padding: 0.4rem;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 10;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-light);
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.lang-option.active {
  background: var(--accent);
  color: #0b1224;
  border-color: var(--accent);
}

.lang-tooltip {
  position: absolute;
  top: -0.6rem;
  right: 0.1rem;
  background: #f5f6f8;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
  min-width: 12rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.lang-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-tooltip-title {
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
}

.lang-tooltip-sub {
  margin: 0.25rem 0 0;
  color: #1f2937;
  font-size: 0.78rem;
}

.lang-inline button {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-light);
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.35);
}

.lang-inline button:hover,
.lang-inline button:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.hero-lang {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.75rem;
  z-index: 50;
  padding: 0.25rem 0.35rem;
  /* background: rgba(15, 23, 42, 0.65); */
  /* border: 1px solid rgba(148, 163, 184, 0.35); */
  /* backdrop-filter: blur(8px); */
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-light);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.38);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 1.1rem 2.4rem rgba(56, 189, 248, 0.28);
}

.theme-toggle--fab {
  position: fixed;
  right: 1rem;
  bottom: 4.25rem;
  z-index: 1200;
}

.theme-toggle--inline {
  position: relative;
}

/* Hide all theme toggle buttons across templates */
.theme-toggle {
  display: none;
}

@media (max-width: 48rem) {
  .theme-toggle--fab {
    bottom: 4.8rem;
    right: 0.9rem;
  }
}

html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.16);
}

.contact-grid {
  grid-template-columns: 1fr;
}

.contact-text {
  padding: 0.95rem 0.9rem;
  gap: 0.85rem;
}

.contact-text--cta {
  padding: 1rem 0.95rem;
}

.contact-text__intro {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
}

.contact-text__panel {
  padding: 0.8rem;
}

.contact-text__panel--cta {
  gap: 0.85rem;
}

.contact-notice {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 0.75rem;
}

.contact-notice-label,
.contact-notice-text {
  text-align: left;
}

.hero-actions.contact-actions {
  align-items: center;
  justify-content: center;
  margin: 0.6rem auto 0;
}

.hero-actions.contact-actions .btn-primary,
.hero-actions.contact-actions .btn-ghost {
  width: 100%;
  max-width: none;
}

.contact-text__actions {
  grid-template-columns: 1fr;
}

.contact-text--cta .contact-text__actions {
  grid-template-columns: 1fr;
}

.hero-actions.contact-actions.contact-text__actions {
  align-items: stretch;
  margin: 0;
}

.contact-text__actions .login-chip,
.contact-text__actions .login-chip strong,
.contact-text__register,
.contact-text__register small {
  text-align: center;
  justify-items: center;
}

.contact-text__actions .login-chip {
  justify-content: center;
}

.contact-availability strong {
  display: none;
}

.contact-line--availability {
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.contact-line--availability .availability-pill {
  flex: 1 1 auto;
  text-align: right;
}

.contact-label-full {
  display: none;
}

.contact-label-compact {
  display: inline;
}

.contact-line--availability {
  justify-content: space-between;
}

.contact-line--availability .availability-pill {
  margin-left: auto;
  flex: 1 1 auto;
  text-align: right;
}

@media (max-width: 26.5rem) {
  .hero-actions.contact-actions {
    width: 100%;
    padding-inline: 0.35rem;
  }

  .hero-actions.contact-actions .btn-primary,
  .hero-actions.contact-actions .btn-ghost {
    width: 100%;
    max-width: none;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    gap: 0.75rem;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.8rem 0.85rem;
  }

  .service-title,
  .price-value {
    font-size: 1.05rem;
  }

  .service-text,
  .service-meta,
  .price-detail,
  .step-card {
    font-size: 0.9rem;
  }
}

/* Extra-small screens */
@media screen and (max-width: 32rem) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }

  .login-chip {
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
  }

  .login-chip__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    font-size: 0.9rem;
  }

  /* Ultra small (≤320px) tweak */
  @media screen and (max-width: 20rem) {
    .btn-primary,
    .btn-ghost {
      font-size: 0.85rem;
      padding: 0.65rem 0.8rem;
    }
    .login-chip {
      gap: 0.35rem;
      padding: 0.4rem 0.7rem;
    }
    .login-chip__avatar {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 0.85rem;
    }
    @media (min-width: 721px) and (max-width: 769px) {
      header.hero {
        padding: 4.9rem 1.3rem 3.9rem;
      }
      .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
        gap: 1rem;
      }
      .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      }
    }

    .login-chip strong {
      font-size: 0.8rem;
    }
  }

  .page-shell {
    --page-shell-content-top-padding: 0.9rem;
    --page-shell-inline-padding: 0.75rem;
    --page-shell-bottom-padding: 0.75rem;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.6rem;
  }

  header.hero {
    padding: 1.1rem 1rem;
    gap: 1.2rem;
    margin-block: 0 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4.5vw + 1rem, 2.1rem);
    line-height: 1.25;
  }

  .highlight {
    font-size: 1.05rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .login-chip {
    justify-content: center;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .hero-card {
    max-width: none;
    width: 100%;
  }

  .section {
    padding: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }

  .map-frame {
    min-height: 240px;
  }

  .service-card,
  .step-card,
  .contact-card {
    padding: 0.9rem 0.95rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 26.6rem) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .page-shell {
    --page-shell-content-top-padding: 0.85rem;
    --page-shell-inline-padding: 0.1rem;
    --page-shell-bottom-padding: 0.7rem;
    max-width: 100%;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.4rem;
  }

  .section {
    padding: 0.9rem 0.75rem;
    width: 100%;
  }

  header.hero {
    padding: 1.1rem 0;
    gap: 1rem;
    width: 100%;
  }

  .service-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    min-width: 0;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  header.hero,
  .section,
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    box-sizing: border-box;
  }

  .section-header,
  .section-body,
  .section-title {
    width: 100%;
    min-width: 0;
  }

  .section-header {
    gap: 0.4rem;
  }

  .sidenav a {
    padding: 0.5rem 0.65rem;
    font-size: 18px;
  }
}

@media screen and (max-width: 260px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    --page-shell-content-top-padding: 0.8rem;
    --page-shell-inline-padding: 0;
    --page-shell-bottom-padding: 0.65rem;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.2rem;
  }

  header.hero {
    padding: 0.95rem 0;
  }

  .hero h1 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .map-frame {
    min-height: 210px;
  }
}

@media screen and (max-width: 376px) {
  .hero h1 {
    font-size: 1.45rem;
    line-height: 1.26;
  }
}

@media screen and (min-width: 23.5rem) and (max-width: 32rem) {
  .hero h1 {
    font-size: clamp(1.55rem, 0.8rem + 3.4vw, 1.95rem);
    line-height: 1.16;
  }
}

@media screen and (min-width: 261px) and (max-width: 361px) {
  .hero h1 {
    font-size: 1.15rem;
    line-height: 1.26;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 768px) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 2rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 3.2rem);
  }
}

@media (min-width: 118.75rem) {
  .page-shell {
    max-width: 1720px;
  }

  .hero-surface {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: clamp(2rem, 2.4vw, 3.25rem);
  }

  .hero-head {
    width: 100%;
    max-width: 40rem;
  }

  .hero-body {
    width: min(100%, 48rem);
    margin: 0 0 0 auto;
    justify-self: end;
  }
}

/* Print friendly view */
@media print {
  body {
    background: #fff;
    color: #111;
    line-height: 1.4;
  }

  .page-shell {
    max-width: none;
    padding: 1.2cm;
    margin: 0 auto;
  }

  header.hero,
  .section,
  .hero-card,
  .card {
    background: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  header.hero::before,
  .hero::before {
    display: none;
  }

  a {
    color: #111;
    text-decoration: underline;
  }

  /* Buttons im Print nicht pauschal ausblenden, nur UI-spezifische Elemente */
  .mobile-action-bar,
  .lang-inline {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .interp-page {
    align-items: flex-start;
    padding: 3.5rem clamp(2rem, 3vw, 3.25rem);
  }
  .interp-filter,
  .interp-grid {
    max-width: 1200px;
  }
  .interp-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
  }
}

@media screen and (min-width: 1440px) {
  .interp-page {
    padding-top: 2.5rem;
  }
}

/* === Override: Interpreter cards one per row (full width) === */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}
.notice {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-light);
  margin: 0 0 1rem 0;
}

.notice-success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.12);
}

/* Desktop Contact + Weather balancing */
@media (min-width: 64rem) {
  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.4rem;
    align-items: stretch;
  }
  .contact-grid--with-weather .weather-col {
    min-width: 320px;
  }
}

/* Large desktop breathing room */
@media (min-width: 90rem) {
  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1.6rem;
  }
  .services-grid {
    gap: 1.35rem;
  }
}

@media (min-width: 52rem) and (max-width: 64rem) {
  .topnav {
    padding: 0.6rem 0.88rem 0.66rem;
    gap: 0.38rem;
  }
  .topnav .nav-link {
    padding: 0.72rem 0.84rem;
    font-size: 0.84rem;
  }
  .topnav .auth-cta {
    padding: 0.72rem 0.96rem;
    font-size: 0.84rem;
  }
  .topnav .lang-switcher {
    min-height: 2.68rem;
    padding: 0.32rem 0.42rem 0.32rem 0.8rem;
    font-size: 0.78rem;
  }
  .nav-cube {
    --cube-size: 4.35rem;
    transform: none;
  }
  .nav-cube-link {
    --nav-cube-link-width: 7.4rem;
    --nav-cube-front-label-size: 0.52rem;
    --nav-cube-caption-size: 0.52rem;
    gap: 0.22rem;
    padding: 0.24rem 0.22rem 0.3rem;
    margin-right: 0.35rem;
  }
}

@media (max-width: 51.999rem) and (min-width: 40rem) {
  .topnav {
    padding: 0.56rem 0.74rem 0.62rem;
    gap: 0.34rem;
  }
  .topnav .nav-link {
    padding: 0.7rem 0.78rem;
    font-size: 0.81rem;
  }
  .topnav .auth-cta {
    padding: 0.7rem 0.9rem;
    font-size: 0.81rem;
  }
  .topnav .lang-switcher {
    min-height: 2.62rem;
    padding: 0.3rem 0.38rem 0.3rem 0.74rem;
    font-size: 0.76rem;
  }
  .nav-cube {
    --cube-size: 4rem;
    transform: none;
  }
  .nav-cube-link {
    --nav-cube-link-width: 6.9rem;
    --nav-cube-front-label-size: 0.5rem;
    --nav-cube-caption-size: 0.5rem;
    gap: 0.18rem;
    padding: 0.22rem 0.2rem 0.28rem;
    margin-right: 0.3rem;
  }
}

@media (min-width: 64rem) and (max-width: 75rem) {
  .womens-day-section--page {
    margin-top: calc(var(--topnav-offset) * 0.42 + 1.8rem);
  }

  .topnav {
    padding: 0.62rem 1rem 0.7rem;
    gap: 0.42rem;
  }
  .topnav .nav-link {
    padding: 0.74rem 0.92rem;
    font-size: 0.86rem;
  }
  .topnav .auth-cta {
    padding: 0.74rem 1rem;
    font-size: 0.86rem;
  }
  .topnav .lang-switcher {
    min-height: 2.72rem;
    padding: 0.34rem 0.44rem 0.34rem 0.84rem;
    font-size: 0.79rem;
  }
  .nav-cube {
    --cube-size: 4.6rem;
    transform: none;
  }
  .nav-cube-link {
    --nav-cube-link-width: 7.8rem;
    --nav-cube-front-label-size: 0.54rem;
    --nav-cube-caption-size: 0.54rem;
    gap: 0.24rem;
    padding: 0.26rem 0.24rem 0.34rem;
    margin-right: 0.4rem;
  }
}

/* Weather widget */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.weather-widget {
  --bg1: #0f172a;
  --bg2: #0b1323;
  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --radius: 22px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

html[data-theme="light"] .weather-widget {
  --bg1: #f8fbff;
  --bg2: #edf4fb;
  --glass: rgba(255, 255, 255, 0.78);
  --glass2: rgba(255, 255, 255, 0.64);
  --border: rgba(148, 163, 184, 0.28);
  --text: #0f172a;
  --muted: #475569;
}

.weather-widget .wrap {
  position: relative;
  width: min(640px, 100%);
  padding: 18px;
  border-radius: 34px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background-image:
    radial-gradient(
      900px 500px at 15% 15%,
      rgba(56, 189, 248, 0.08),
      transparent 60%
    ),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  overflow: hidden;
  transition:
    padding 0.22s ease,
    border-radius 0.22s ease,
    box-shadow 0.22s ease,
    background-image 0.22s ease;
}

.weather-widget .wrap.is-collapsed {
  padding: 16px;
  border-radius: 28px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  background-image:
    radial-gradient(
      760px 420px at 15% 15%,
      rgba(56, 189, 248, 0.06),
      transparent 58%
    ),
    linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(11, 19, 35, 0.96));
}

.weather-widget .wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    transparent 35%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.weather-widget .wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.weather-widget .blob {
  display: none;
}

.weather-widget .search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(7, 12, 30, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.weather-widget .search:focus-within {
  background: rgba(7, 12, 30, 0.3);
  border-color: rgba(104, 211, 255, 0.48);
  box-shadow:
    0 0 0 3px rgba(104, 211, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.weather-widget .load-btn {
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  border: none;
  padding: 11px 14px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  color: #0b1323;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.weather-widget .load-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.weather-widget .load-btn:focus-visible,
.weather-widget .details-toggle:focus-visible,
.weather-widget .search input:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.95);
  outline-offset: 2px;
}

.weather-widget .load-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.weather-widget .load-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.weather-widget .search .input {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

.weather-widget .search input {
  width: 100%;
  border: none;
  outline: none;
  min-height: 48px;
  padding: 12px 14px 12px 40px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.weather-widget .search input:focus {
  border-color: rgba(104, 211, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.weather-widget .search input::placeholder {
  color: var(--muted);
}

.weather-widget .search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.8;
  pointer-events: none;
}

.weather-widget .wrap.is-collapsed .search {
  margin-bottom: 8px;
}

.weather-widget .status {
  min-height: 1rem;
  margin: 0 0.25rem 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.weather-widget .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px 16px;
  position: relative;
  z-index: 1;
}

.weather-widget .wrap.is-collapsed .header {
  padding-bottom: 12px;
}

.weather-widget .header h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.weather-widget .sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .big {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.weather-widget .big .temp {
  font-size: 44px;
  font-weight: 900;
}

.weather-widget .big .mini {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.weather-widget .pill {
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.weather-widget .record-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0.5rem 0.35rem;
  position: relative;
  z-index: 1;
}

.weather-widget .record-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.weather-widget .record-card__label {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.weather-widget .record-card__value {
  margin-top: 0.32rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.weather-widget .record-card--high .record-card__value {
  color: #fda4af;
}

.weather-widget .record-card--low .record-card__value {
  color: #93c5fd;
}

.weather-widget .details-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.weather-widget .wrap.is-collapsed .details-toggle {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 45.0625rem) {
  .weather-widget .wrap.is-collapsed {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    grid-template-areas:
      "search load"
      "header header"
      "records records"
      "toggle toggle";
    padding: 14px 15px;
    column-gap: 0.9rem;
    row-gap: 0.55rem;
  }

  .weather-widget .wrap.is-collapsed .search {
    grid-area: search;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }

  .weather-widget .wrap.is-collapsed .search .input {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  .weather-widget .wrap.is-collapsed .search input {
    min-width: 0;
  }

  .weather-widget .wrap.is-collapsed .load-btn {
    grid-area: load;
    margin: 0;
    justify-self: start;
    align-self: center;
    white-space: nowrap;
  }

  .weather-widget .wrap.is-collapsed .status {
    grid-area: status;
    margin: 0;
    min-height: 1rem;
  }

  .weather-widget .wrap.is-collapsed .header {
    grid-area: header;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    padding: 0.45rem 0 0.35rem;
  }

  .weather-widget .wrap.is-collapsed .header > :first-child {
    min-width: 0;
  }

  .weather-widget .wrap.is-collapsed .big {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 0.8rem;
    margin-top: 0.7rem;
  }

  .weather-widget .wrap.is-collapsed .big .temp {
    line-height: 0.9;
  }

  .weather-widget .wrap.is-collapsed .big .mini {
    max-width: 22ch;
  }

  .weather-widget .wrap.is-collapsed .pill {
    margin-left: 0;
    align-self: start;
  }

  .weather-widget .wrap.is-collapsed .record-strip {
    grid-area: records;
    margin: 0;
  }

  .weather-widget .wrap.is-collapsed .details-toggle {
    grid-area: toggle;
    width: fit-content;
    max-width: min(100%, 16rem);
    justify-content: flex-start;
    justify-self: start;
    padding-inline: 0.95rem;
  }

  .weather-widget .wrap.is-collapsed .details-toggle__label {
    white-space: nowrap;
  }

  .weather-widget .details-panel {
    margin-top: 14px;
  }

  .weather-widget .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .weather-widget .card {
    min-height: 7.5rem;
    display: grid;
    align-content: start;
  }
}

@media (min-width: 48rem) {
  .weather-widget .wrap {
    width: min(760px, 100%);
    padding: 16px 18px 18px;
  }

  .weather-widget .wrap.is-collapsed {
    grid-template-columns: minmax(15rem, 1.15fr) auto;
    padding: 15px 18px 16px;
    column-gap: 1rem;
    row-gap: 0.45rem;
  }

  .weather-widget .wrap.is-collapsed .search .input {
    width: min(100%, 19rem);
  }

  .weather-widget .wrap.is-collapsed .header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    padding: 0.25rem 0 0.15rem;
  }

  .weather-widget .wrap.is-collapsed .header h1 {
    font-size: 1.08rem;
  }

  .weather-widget .wrap.is-collapsed .sub {
    margin-top: 0.3rem;
  }

  .weather-widget .wrap.is-collapsed .big {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.7rem;
    margin-top: 0.45rem;
  }

  .weather-widget .wrap.is-collapsed .big .temp {
    font-size: 2.5rem;
  }

  .weather-widget .wrap.is-collapsed .big .mini {
    max-width: none;
    align-self: center;
  }

  .weather-widget .wrap.is-collapsed .pill {
    padding: 0.7rem 0.8rem;
  }

  .weather-widget .wrap.is-collapsed .details-toggle {
    max-width: min(100%, 14.5rem);
    padding-block: 0.7rem;
  }

  .weather-widget .details-panel {
    margin-top: 0.9rem;
  }

  .weather-widget .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .weather-widget .card {
    min-height: 0;
    padding: 12px;
  }

  .weather-widget .card .value {
    margin-top: 0.45rem;
    font-size: 1.2rem;
  }

  .weather-widget .card .hint {
    margin-top: 0.35rem;
  }

  .weather-widget .forecast,
  .weather-widget .hourly {
    margin-top: 0.8rem;
  }
}

.weather-widget .details-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.weather-widget .details-toggle:active {
  transform: translateY(1px);
}

.weather-widget .details-toggle__label {
  text-align: left;
}

.weather-widget .details-toggle__icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.weather-widget .details-toggle[aria-expanded="true"] .details-toggle__icon {
  transform: rotate(180deg);
}

.weather-widget .details-panel {
  margin-top: 12px;
}

.weather-widget .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.weather-widget .card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.weather-widget .card .label {
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .card .value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.weather-widget .card .hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .forecast {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
}

.weather-widget .hidden {
  display: none;
}

.weather-widget .hourly {
  margin-top: 12px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.weather-widget .hourly h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: var(--muted);
}

.weather-widget .strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.weather-widget .chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 70px;
  padding: 8px 8px 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  line-height: 1.2;
  scroll-snap-align: start;
}

.weather-widget .chip .t {
  font-size: 11px;
  color: var(--muted);
}

.weather-widget .chip .i {
  font-size: 18px;
}

.weather-widget .chip .v {
  font-weight: 800;
  font-size: 14px;
}

.weather-widget .chip .p {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.weather-widget .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  border-radius: 16px;
}

.weather-widget .row + .row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-widget .day {
  display: flex;
  gap: 10px;
  align-items: center;
}

.weather-widget .day span {
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .icon {
  font-size: 20px;
}

.weather-widget .deg {
  font-weight: 800;
}

html[data-theme="light"] .weather-widget .wrap {
  box-shadow:
    0 18px 40px rgba(148, 163, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .weather-widget .wrap.is-collapsed {
  background-image:
    radial-gradient(
      760px 420px at 15% 15%,
      rgba(56, 189, 248, 0.08),
      transparent 58%
    ),
    linear-gradient(
      160deg,
      rgba(248, 250, 252, 0.98),
      rgba(237, 244, 251, 0.98)
    );
  box-shadow:
    0 14px 30px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .weather-widget .search input,
html[data-theme="light"] .weather-widget .pill,
html[data-theme="light"] .weather-widget .details-toggle,
html[data-theme="light"] .weather-widget .record-card,
html[data-theme="light"] .weather-widget .card,
html[data-theme="light"] .weather-widget .forecast,
html[data-theme="light"] .weather-widget .hourly,
html[data-theme="light"] .weather-widget .chip {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .weather-widget .card .value {
  color: #0f172a;
}

html[data-theme="light"] .weather-widget .record-card__value {
  color: #0f172a;
}

html[data-theme="light"]
  .weather-widget
  .record-card--high
  .record-card__value {
  color: #c2410c;
}

html[data-theme="light"] .weather-widget .record-card--low .record-card__value {
  color: #1d4ed8;
}

html[data-theme="light"] .weather-widget .card .label,
html[data-theme="light"] .weather-widget .card .hint {
  color: #475569;
}

html[data-theme="light"] .weather-widget .details-toggle:hover {
  background: rgba(240, 249, 255, 0.96);
  border-color: rgba(56, 189, 248, 0.28);
}

.weather-page-shell {
  width: min(100%, 94rem);
}

.weather-page-shell .template-hero__grid {
  grid-template-columns: minmax(0, 1.8fr) minmax(18rem, 0.8fr);
}

.weather-page-layout {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  grid-template-columns: minmax(0, 2.2fr) minmax(18rem, 0.78fr);
  align-items: start;
}

.weather-page-main {
  padding: clamp(1rem, 1.1vw + 0.7rem, 1.5rem);
}

.weather-page-main .weather-widget {
  width: 100%;
}

.weather-widget--page .wrap {
  width: 100%;
  min-height: clamp(38rem, 60vh, 52rem);
  padding: clamp(1.1rem, 1.2vw + 0.85rem, 1.65rem);
  border-radius: 1.8rem;
  background-image:
    radial-gradient(
      900px 500px at 12% 10%,
      rgba(56, 189, 248, 0.12),
      transparent 58%
    ),
    radial-gradient(
      760px 420px at 100% 0,
      rgba(34, 211, 238, 0.1),
      transparent 55%
    ),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  box-shadow:
    0 24px 52px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.weather-page-widget__intro {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.weather-page-widget__intro h2,
.weather-side-card h2 {
  margin: 0;
}

.weather-page-widget__intro p,
.weather-side-card p,
.weather-side-card li {
  margin: 0;
  color: var(--muted);
}

.weather-page-widget__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.weather-page-widget__eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  box-shadow: 0 0 0 0.35rem rgba(56, 189, 248, 0.14);
}

.weather-page-quickpicks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.weather-quick-pick {
  min-height: 2.3rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.weather-quick-pick:hover,
.weather-quick-pick.is-active {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.42);
}

.weather-widget--page .header {
  padding-top: 0.35rem;
}

.weather-widget--page .big .temp {
  font-size: clamp(3rem, 6vw, 4.4rem);
}

.weather-widget--page .details-panel {
  margin-top: 1rem;
}

.weather-widget--page .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weather-widget--page .forecast,
.weather-widget--page .hourly {
  margin-top: 0.95rem;
}

.weather-page-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.weather-side-card {
  min-height: 100%;
}

.weather-widget--page .forecast,
.weather-widget--page .hourly {
  padding: 1rem 1.05rem;
}

html[data-theme="light"] .weather-widget--page .wrap {
  box-shadow:
    0 24px 50px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .weather-quick-pick {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(148, 163, 184, 0.28);
  color: #0f172a;
}

html[data-theme="light"] .weather-quick-pick:hover,
html[data-theme="light"] .weather-quick-pick.is-active {
  background: rgba(224, 242, 254, 0.95);
  border-color: rgba(56, 189, 248, 0.45);
}

@media (max-width: 1100px) {
  .weather-page-shell .template-hero__grid,
  .weather-page-layout {
    grid-template-columns: 1fr;
  }

  .weather-page-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .weather-widget--page .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .weather-page-sidebar {
    grid-template-columns: 1fr;
  }

  .weather-widget--page .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .weather-widget--page .pill {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .weather-page-quickpicks {
    gap: 0.5rem;
  }

  .weather-quick-pick {
    width: 100%;
    justify-content: center;
  }

  .weather-widget--page .grid {
    grid-template-columns: 1fr;
  }
}

.residence-page-hero::before {
  inset: auto -10% -26% 42%;
  height: 19rem;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.24),
    rgba(34, 211, 238, 0)
  );
}

.residence-hero-panel {
  align-content: start;
}

.residence-fact-stack {
  display: grid;
  gap: 0.65rem;
}

.residence-fact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(15, 23, 42, 0.32);
  color: var(--text-on-dark);
  font-weight: 700;
}

.residence-page-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.85fr) minmax(18rem, 0.9fr);
  align-items: start;
}

.residence-page-main,
.residence-page-sidebar {
  display: grid;
  gap: 1rem;
}

.residence-key-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.residence-key-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.34);
}

.residence-key-card strong {
  color: var(--text-on-dark);
  font-size: 1.05rem;
}

.residence-key-card p,
.residence-side-card p,
.residence-timeline__item p {
  margin: 0;
  color: var(--text-muted);
}

.residence-key-card__label,
.residence-date-note {
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.residence-panel-grid {
  margin-top: 0;
}

.residence-checklist {
  gap: 0.7rem;
}

.residence-checklist li {
  padding-left: 1.5rem;
}

.residence-checklist li::before {
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  box-shadow: 0 0 0 0.3rem rgba(34, 197, 94, 0.12);
}

.residence-inline-note {
  margin-top: 0.2rem;
}

.residence-copy {
  margin: 0;
  color: var(--text-muted);
}

.residence-links a {
  color: #7dd3fc;
  text-decoration: none;
}

.residence-links a:hover,
.residence-links a:focus-visible {
  color: #bae6fd;
  text-decoration: underline;
}

.residence-mini-list {
  gap: 0.8rem;
}

.residence-timeline {
  display: grid;
  gap: 0.9rem;
}

.residence-timeline__item {
  display: grid;
  gap: 0.3rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(56, 189, 248, 0.35);
}

.residence-timeline__date {
  color: #7dd3fc;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

html[data-theme="light"] .residence-fact-pill,
html[data-theme="light"] .residence-key-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(148, 163, 184, 0.32);
  color: var(--text-dark);
}

html[data-theme="light"] .residence-key-card strong {
  color: var(--text-dark);
}

html[data-theme="light"] .residence-key-card p,
html[data-theme="light"] .residence-side-card p,
html[data-theme="light"] .residence-copy,
html[data-theme="light"] .residence-timeline__item p {
  color: var(--text-muted);
}

html[data-theme="light"] .residence-links a {
  color: #0369a1;
}

html[data-theme="light"] .residence-links a:hover,
html[data-theme="light"] .residence-links a:focus-visible {
  color: #0284c7;
}

@media (max-width: 1100px) {
  .residence-page-layout {
    grid-template-columns: 1fr;
  }

  .residence-page-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .residence-key-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .residence-page-sidebar {
    grid-template-columns: 1fr;
  }
}

html:not([data-theme="light"]) .weather-widget,
html:not([data-theme="light"]) .weather-widget .header h1,
html:not([data-theme="light"]) .weather-widget .big .temp,
html:not([data-theme="light"]) .weather-widget .pill,
html:not([data-theme="light"]) .weather-widget .details-toggle,
html:not([data-theme="light"]) .weather-widget .card .value,
html:not([data-theme="light"]) .weather-widget .chip .v,
html:not([data-theme="light"]) .weather-widget .deg {
  color: var(--text-light);
}

html:not([data-theme="light"]) .weather-widget .sub,
html:not([data-theme="light"]) .weather-widget .big .mini,
html:not([data-theme="light"]) .weather-widget .card .label,
html:not([data-theme="light"]) .weather-widget .card .hint,
html:not([data-theme="light"]) .weather-widget .hourly h3,
html:not([data-theme="light"]) .weather-widget .chip .t,
html:not([data-theme="light"]) .weather-widget .chip .p,
html:not([data-theme="light"]) .weather-widget .day span {
  color: var(--text-on-dark-muted);
}

html:not([data-theme="light"]) .contact-notice-label,
html:not([data-theme="light"]) .contact-notice-text,
html:not([data-theme="light"]) .home-domain-notice .contact-notice-label,
html:not([data-theme="light"]) .home-domain-notice .contact-notice-text,
html:not([data-theme="light"]) .home-domain-notice a {
  color: var(--text-light);
}

@media (max-width: 720px) {
  .weather-widget .wrap {
    width: 100%;
    padding: 15px;
  }

  .weather-widget .wrap.is-collapsed {
    padding: 14px;
    border-radius: 24px;
  }

  .weather-widget .header {
    align-items: flex-start;
  }

  .weather-widget .search input {
    font-size: 16px;
  }

  .weather-widget .search {
    padding: 8px;
  }

  .weather-widget .big .temp {
    font-size: 38px;
  }

  .weather-widget .big .mini {
    font-size: 11px;
  }

  .weather-widget .pill {
    padding: 8px 10px;
    font-size: 12px;
  }

  .weather-widget .grid {
    grid-template-columns: 1fr;
  }

  .weather-widget .record-strip {
    grid-template-columns: 1fr;
  }

  .weather-widget .chip {
    min-width: 64px;
    padding: 8px;
  }

  .weather-widget .strip {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .weather-widget .wrap {
    border-radius: 24px;
    padding: 13px;
  }

  .weather-widget .header {
    flex-direction: column;
    gap: 10px;
    padding: 8px 4px 12px;
  }

  .weather-widget .big {
    gap: 10px;
    margin-top: 8px;
  }

  .weather-widget .big .temp {
    font-size: 34px;
  }

  .weather-widget .pill {
    margin-left: 0;
  }

  .weather-widget .details-toggle {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .weather-widget .forecast,
  .weather-widget .hourly,
  .weather-widget .card {
    border-radius: 18px;
  }

  .weather-widget .row {
    padding: 9px 4px;
    gap: 0.75rem;
  }

  .weather-widget .deg {
    text-align: right;
    white-space: nowrap;
  }
}

/* Consolidated collapsed layout tuning */
.weather-widget .wrap.is-collapsed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "search"
    "load"
    "status"
    "header"
    "records"
    "toggle";
  align-items: start;
  row-gap: 0.65rem;
  padding: 14px 15px;
  border-radius: 26px;
}

.weather-widget .wrap.is-collapsed .search {
  grid-area: search;
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  padding: 9px 10px;
  border-radius: 20px;
}

.weather-widget .wrap.is-collapsed .search .input {
  width: 100%;
  max-width: none;
}

.weather-widget .wrap.is-collapsed .search input {
  min-height: 44px;
  padding: 10px 12px 10px 38px;
  border-radius: 15px;
}

.weather-widget--page .search {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.35rem;
}

.weather-widget .wrap.is-collapsed .load-btn {
  grid-area: load;
  margin: 0;
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
}

.weather-widget .wrap.is-collapsed .status {
  grid-area: status;
  margin: 0;
  min-height: 1rem;
  padding-inline: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.weather-widget .wrap.is-collapsed .header {
  grid-area: header;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding: 0.15rem 0 0.05rem;
  gap: 0.85rem;
}

.weather-widget .wrap.is-collapsed .header > :first-child {
  min-width: 0;
}

.weather-widget .wrap.is-collapsed .header h1 {
  font-size: 1.02rem;
}

.weather-widget .wrap.is-collapsed .sub {
  margin-top: 0.28rem;
}

.weather-widget .wrap.is-collapsed .big {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  margin-top: 0.5rem;
  gap: 0.7rem;
}

.weather-widget .wrap.is-collapsed .big .temp {
  line-height: 0.92;
  font-size: 2.45rem;
}

.weather-widget .wrap.is-collapsed .big .mini {
  max-width: 28ch;
  align-self: center;
}

.weather-widget .wrap.is-collapsed .record-strip {
  grid-area: records;
  margin: 0;
  gap: 0.6rem;
}

.weather-widget .wrap.is-collapsed .record-card {
  padding: 0.78rem 0.9rem;
  border-radius: 0.9rem;
}

.weather-widget .wrap.is-collapsed .record-card__value {
  font-size: 1.18rem;
}

.weather-widget .wrap.is-collapsed .pill {
  margin-left: 0;
  align-self: start;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  font-size: 0.88rem;
}

.weather-widget .wrap.is-collapsed .details-toggle {
  grid-area: toggle;
  margin-top: 0;
  min-height: 2.9rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
}

@media (min-width: 45.0625rem) {
  .weather-widget .wrap.is-collapsed {
    grid-template-columns: minmax(0, 1.2fr) auto;
    grid-template-areas:
      "search load"
      "status status"
      "header header"
      "records records"
      "toggle toggle";
    column-gap: 0.8rem;
    row-gap: 0.55rem;
  }

  .weather-widget .wrap.is-collapsed .load-btn {
    align-self: center;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .weather-widget .wrap.is-collapsed {
    row-gap: 0.5rem;
    padding: 13px;
  }

  .weather-widget .wrap.is-collapsed .load-btn,
  .weather-widget .wrap.is-collapsed .details-toggle {
    width: 100%;
    justify-content: center;
  }

  .weather-widget .wrap.is-collapsed .header {
    grid-template-columns: 1fr;
    padding-top: 0.1rem;
  }

  .weather-widget .wrap.is-collapsed .big {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
  }

  .weather-widget .wrap.is-collapsed .pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .weather-widget .wrap.is-collapsed .record-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .weather-widget * {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .weather-widget .wrap,
  .weather-widget .card,
  .weather-widget .forecast,
  .weather-widget .hourly,
  .weather-widget .chip,
  .weather-widget .search input {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #0f172a;
    box-shadow: none;
  }
}

@media (min-width: 75rem) {
  .page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    --page-shell-inline-padding: clamp(0.65rem, 1.4vw, 1.5rem);
  }

  .page-shell > header.hero,
  .page-shell > main,
  .page-shell .section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .page-shell .section {
    padding-inline: clamp(0.3rem, 0.8vw, 0.9rem);
  }

  header.hero.hero--with-side {
    grid-template-columns: minmax(0, 1.22fr) minmax(30rem, 0.98fr);
    gap: clamp(1.5rem, 1.4vw, 2.4rem);
    align-items: start;
  }

  .hero.hero--with-side .hero-side {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    justify-content: flex-end;
  }

  .hero-card--account {
    width: min(100%, 36rem);
    max-width: 36rem;
    margin-right: 0;
    margin-left: auto;
  }

  .contact-grid,
  .contact-grid--with-weather {
    width: 100%;
    max-width: none;
  }
}

/* Home page styles moved out of the template for better caching. */
.home-deferred {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.messenger-icons {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.15rem;
}

.messenger-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ticker {
  --ticker-duration: 120s;
  --ticker-gap: 1rem;
  margin: 0.5rem 0 2rem;
  padding: 1rem 1.25rem;
  background: radial-gradient(
    circle at 12% 18%,
    #0b1b33 0,
    #0f233f 42%,
    #111827 85%
  );
  border: 1px solid #1f2a3d;
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.ticker-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #e2e8f0;
  margin-bottom: 0.55rem;
}

.ticker-heading .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.22);
}

.ticker-viewport {
  overflow: hidden;
  overflow-y: hidden;
  position: relative;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.ticker-track {
  display: flex;
  gap: var(--ticker-gap);
  align-items: stretch;
  width: max-content;
  padding-bottom: 0.1rem;
  will-change: transform;
  animation: ticker-scroll var(--ticker-duration) linear infinite;
}

.ticker-track:hover,
.ticker-track:focus-within {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  gap: var(--ticker-gap);
  align-items: stretch;
  flex: 0 0 auto;
  min-width: max-content;
}

.ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.1)),
    rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 22px -18px rgba(2, 6, 23, 0.8);
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: none;
  scroll-snap-align: start;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.ticker-item:hover,
.ticker-item:focus-visible {
  color: var(--text-light);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.28);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 28px -20px rgba(14, 165, 233, 0.24);
  transform: translateY(-1px);
  outline: none;
}

.ticker-lang {
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.01em;
}

.ticker-service {
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

html[data-theme="light"] .ticker-item {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(241, 245, 249, 0.92)
    ),
    rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 22px -18px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

html[data-theme="light"] .ticker-item:hover,
html[data-theme="light"] .ticker-item:focus-visible {
  color: #082f49;
  background:
    linear-gradient(
      180deg,
      rgba(224, 242, 254, 0.98),
      rgba(240, 249, 255, 0.94)
    ),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 28px -20px rgba(14, 116, 144, 0.16);
}

html[data-theme="light"] .ticker-lang {
  color: #0369a1;
}

html[data-theme="light"] .ticker-service {
  color: #334155;
}

.hero-card,
.hero-card-avatar__initial,
.hero-card-avatar__initial span {
  animation: none !important;
}

.hero-card,
.hero-card-avatar::after {
  transition: none !important;
}

.home-domain-notice {
  --manual-steps-orbit-size: clamp(3.1rem, 7vw, 4.4rem);
  --manual-steps-orbit-inset: 0.5rem;
  --manual-steps-orbit-glow: radial-gradient(
    circle,
    rgba(125, 211, 252, 0.94) 0%,
    rgba(56, 189, 248, 0.68) 28%,
    rgba(45, 212, 191, 0.3) 56%,
    rgba(255, 255, 255, 0) 76%
  );
  position: relative;
  display: block !important;
  overflow: hidden;
  margin: 0.2rem 0 0.45rem;
  gap: 0;
  padding: clamp(1rem, 1.9vw, 1.28rem);
  border-radius: 1.2rem;
  border-color: rgba(56, 189, 248, 0.18);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08),
    rgba(45, 212, 191, 0.06) 42%,
    rgba(15, 23, 42, 0.58)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0.9rem 1.8rem rgba(2, 6, 23, 0.2);
}

.home-domain-notice::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.52),
    rgba(45, 212, 191, 0.1)
  );
  pointer-events: none;
}

.home-domain-notice::after {
  content: "";
  position: absolute;
  top: var(--manual-steps-orbit-inset);
  left: var(--manual-steps-orbit-inset);
  width: var(--manual-steps-orbit-size);
  height: var(--manual-steps-orbit-size);
  border-radius: 999px;
  background: var(--manual-steps-orbit-glow);
  filter: blur(10px);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation: manual-steps-glow-orbit 7.2s linear infinite;
  pointer-events: none;
}

.home-domain-notice:hover::after {
  opacity: 0.98;
  filter: blur(12px);
}

.home-domain-notice > * {
  position: relative;
  z-index: 1;
}

.home-domain-notice__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-domain-notice__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
  filter: saturate(0.98) brightness(0.74);
}

.home-domain-notice__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.2),
      rgba(15, 23, 42, 0.34) 48%,
      rgba(8, 47, 73, 0.28)
    ),
    radial-gradient(
      circle at top right,
      rgba(125, 211, 252, 0.14),
      transparent 34%
    );
}

.home-domain-notice a {
  display: inline-block;
  margin: 0.1rem 0.18rem 0.1rem 0;
  padding: 0.12rem 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(8, 47, 73, 0.24);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #bae6fd;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.65rem 1.4rem rgba(2, 6, 23, 0.18);
  word-break: break-word;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-domain-notice .contact-notice-icon {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.18), rgba(45, 212, 191, 0.1)),
    rgba(15, 23, 42, 0.2);
  border-color: rgba(56, 189, 248, 0.24);
}

.home-domain-notice .contact-notice__body {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  width: 100%;
  padding-right: clamp(0rem, 1vw, 0.35rem);
}

.home-domain-notice__grid {
  display: grid;
  gap: 0.9rem;
}

.home-domain-notice__primary {
  display: grid;
  gap: 0.75rem;
}

.home-domain-notice__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-domain-notice__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.home-domain-notice__list li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  color: #e2e8f0;
  line-height: 1.55;
}

.home-domain-notice__list li::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #2dd4bf);
  box-shadow: 0 0 0 0.28rem rgba(56, 189, 248, 0.18);
}

.home-domain-notice__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.home-domain-notice .contact-notice-label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #dbeafe;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.home-domain-notice .contact-notice-text {
  max-width: 70ch;
  color: #eff6ff;
  font-weight: 500;
  line-height: 1.72;
}

.home-domain-notice a:hover,
.home-domain-notice a:focus-visible {
  transform: translateY(-1px);
  color: #e0f2fe;
  background: rgba(14, 116, 144, 0.46);
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0.85rem 1.6rem rgba(2, 6, 23, 0.24);
  outline: none;
}

html[data-theme="light"] .home-domain-notice {
  border-color: rgba(14, 165, 233, 0.14);
  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.58),
    rgba(240, 249, 255, 0.46) 44%,
    rgba(255, 255, 255, 0.34)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0.85rem 1.8rem rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .home-domain-notice::before {
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.34),
    rgba(186, 230, 253, 0.16)
  );
}

html[data-theme="light"] .home-domain-notice .contact-notice-icon {
  background:
    linear-gradient(
      180deg,
      rgba(224, 242, 254, 0.94),
      rgba(186, 230, 253, 0.82)
    ),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow: 0 0.75rem 1.5rem rgba(14, 116, 144, 0.08);
}

html[data-theme="light"] .home-domain-notice .contact-notice-label {
  color: #f8fbff;
}

html[data-theme="light"] .home-domain-notice .contact-notice-text {
  color: #f4f8fc;
}

html[data-theme="light"] .home-domain-notice__list li {
  color: #eef4fb;
}

@media (min-width: 52rem) {
  .home-domain-notice__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

html[data-theme="light"] .home-domain-notice a {
  color: #075985;
  background: rgba(224, 242, 254, 0.78);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 0.55rem 1.2rem rgba(14, 116, 144, 0.08);
}

html[data-theme="light"] .home-domain-notice a:hover,
html[data-theme="light"] .home-domain-notice a:focus-visible {
  color: #082f49;
  background: rgba(186, 230, 253, 0.94);
  border-color: rgba(14, 165, 233, 0.32);
}

.contact-grid--with-weather {
  align-items: start;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-grid--with-weather .weather-col {
  display: flex;
  justify-content: center;
}

.contact-grid--with-weather .weather-col .weather-widget .wrap {
  width: 100%;
  max-width: 640px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 64rem) {
  .ticker {
    --ticker-duration: 110s;
  }
}

@media (max-width: 48rem) {
  .ticker {
    --ticker-duration: 96s;
    --ticker-gap: 0.85rem;
  }
}

@media (max-width: 800px) {
  .contact-grid--with-weather {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .contact-grid--with-weather .weather-col {
    order: 2;
  }
}

@media (max-width: 640px) {
  .messenger-icon {
    width: 18px;
    height: 18px;
  }

  .home-domain-notice {
    padding: 0.9rem;
  }

  .home-domain-notice .contact-notice__body {
    gap: 0.45rem;
  }

  .home-domain-notice__header {
    gap: 0.65rem;
  }

  .home-domain-notice__links {
    gap: 0.35rem;
  }

  .home-domain-notice__list li {
    gap: 0.55rem;
  }
}

/* Home page layout refresh */
body.home-page::before {
  background:
    radial-gradient(
      circle at top left,
      rgba(34, 211, 238, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(45, 212, 191, 0.08),
      transparent 22%
    ),
    linear-gradient(180deg, #04111d 0%, #08101e 38%, #0f172a 100%);
}

html[data-theme="light"] body.home-page::before {
  background:
    radial-gradient(
      circle at top left,
      rgba(125, 211, 252, 0.26),
      transparent 26%
    ),
    radial-gradient(
      circle at top right,
      rgba(45, 212, 191, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fb 45%, #eef4f7 100%);
}

.home-page .page-shell {
  position: relative;
  width: 100%;
  max-width: none;
  --page-shell-content-top-padding: calc((var(--space-page) + 2.75rem) / 4);
  --page-shell-topnav-padding: calc((var(--topnav-offset) + 3rem) / 3);
  padding-bottom: 0;
  background: linear-gradient(180deg, #0b1523 0%, #101b2c 100%);
  --home-full-bleed-inline: clamp(1rem, 3vw, 2.25rem);
}

html[data-theme="light"] .home-page .page-shell {
  background: linear-gradient(180deg, #f5f8fb 0%, #eaf1f7 100%);
}

.home-page .home-main {
  display: grid;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  gap: clamp(1.2rem, 1.8vw, 2rem);
  border-radius: 1.2rem 1.2rem 0 0;
  overflow: visible;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #0b1523 0%, #101b2c 100%);
}

html[data-theme="light"] .home-page .home-main {
  background: linear-gradient(180deg, #f5f8fb 0%, #eaf1f7 100%);
}

body.home-page footer.site-footer {
  border-top-color: var(--home-platform-border);
  background: #0b1727;
}

html[data-theme="light"] body.home-page footer.site-footer {
  border-top-color: var(--home-platform-border);
  background: #eef4f9;
}

.home-page header.hero {
  gap: clamp(1.15rem, 1.8vw, 1.8rem);
  align-items: stretch;
  padding: clamp(1rem, 1vw + 0.85rem, 1.6rem) 0
    clamp(0.55rem, 0.8vw + 0.3rem, 1rem);
  margin-bottom: clamp(0.15rem, 0.6vw, 0.5rem);
}

.home-page .hero.hero--with-side {
  grid-template-columns: minmax(0, 1.22fr) minmax(19rem, 24rem);
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.home-page .hero-main {
  gap: 0;
}

.home-page .hero-surface {
  min-height: clamp(24rem, 34vw, 31rem);
  padding: clamp(1.4rem, 2.2vw, 2.35rem);
  gap: clamp(1.25rem, 1.7vw, 1.9rem);
  border-radius: 2rem;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 24%),
    radial-gradient(
      circle at 100% 100%,
      rgba(45, 212, 191, 0.12),
      transparent 22%
    ),
    linear-gradient(
      145deg,
      rgba(4, 18, 31, 0.98),
      rgba(15, 23, 42, 0.94) 52%,
      rgba(7, 89, 133, 0.76)
    );
  box-shadow:
    0 25px 50px -12px rgba(2, 6, 23, 0.55),
    0 10px 18px -10px rgba(8, 145, 178, 0.22);
}

.home-page .hero-surface::before,
.home-page .hero-surface::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}

.home-page .hero-surface::before {
  width: 13rem;
  height: 13rem;
  top: -4rem;
  right: -3rem;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.26),
    rgba(34, 211, 238, 0)
  );
  opacity: 0.9;
}

.home-page .hero-surface::after {
  width: 16rem;
  height: 16rem;
  left: -5rem;
  bottom: -6rem;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.18),
    rgba(16, 185, 129, 0)
  );
  opacity: 0.85;
}

html[data-theme="light"] .home-page .hero-surface {
  border-color: rgba(14, 116, 144, 0.14);
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(125, 211, 252, 0.32),
      transparent 26%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(94, 234, 212, 0.18),
      transparent 24%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.97) 54%,
      rgba(224, 242, 254, 0.95)
    );
  box-shadow:
    0 24px 40px -22px rgba(14, 116, 144, 0.22),
    0 10px 18px -14px rgba(14, 116, 144, 0.12);
}

.home-page .hero-head {
  width: min(100%, 52rem);
  max-width: 52rem;
  gap: clamp(0.8rem, 0.7rem + 0.4vw, 1rem);
}

.home-page .hero-title-row {
  justify-content: flex-start;
}

.home-page .hero h1 {
  max-width: 12ch;
  text-align: left;
  font-size: clamp(2.75rem, 3vw + 1.15rem, 4.55rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.home-page .hero-body {
  width: min(100%, 48rem);
  gap: 1.15rem;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(1rem, 1.2vw + 0.8rem, 1.35rem);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 24, 40, 0.96), rgba(12, 24, 40, 0.92)),
    rgba(12, 24, 40, 0.94);
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.16);
}

html[data-theme="light"] .home-page .hero-body {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.96)
    ),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.home-page .hero-points {
  gap: 0.8rem;
  max-width: 47rem;
}

.home-page .hero-points li {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.14)),
    rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 24px -18px rgba(2, 6, 23, 0.8);
}

html[data-theme="light"] .home-page .hero-points li {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(241, 245, 249, 0.88)
    ),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.18);
}

.home-page .home-domain-notice {
  max-width: 48rem;
  margin-top: 0.15rem;
  border-radius: 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 35px -24px rgba(2, 6, 23, 0.6);
}

.home-page .hero-actions--primary {
  width: min(100%, 46rem);
  margin-top: 0.25rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(14rem, 0.88fr);
  gap: 1.05rem;
}

.home-page .hero-actions--primary .btn-primary,
.home-page .hero-actions--primary .btn-secondary {
  min-height: 4.35rem;
  padding: 1rem 1.55rem;
  border-radius: 0.85rem;
  font-size: 1.08rem;
}

.home-page .hero-actions--primary .btn-secondary {
  border-color: rgba(148, 163, 184, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.08)),
    rgba(15, 23, 42, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 28px -20px rgba(2, 6, 23, 0.5);
}

html[data-theme="light"] .home-page .hero-actions--primary .btn-secondary {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(241, 245, 249, 0.96)
    ),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 24px -22px rgba(15, 23, 42, 0.18);
}

.home-page .hero-card {
  animation: none;
}

.home-page .hero-card--account {
  max-width: none;
  min-height: 100%;
  padding: clamp(1.2rem, 1.4vw, 1.45rem);
  border-radius: 1.65rem;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.18),
      transparent 28%
    ),
    linear-gradient(160deg, rgba(8, 15, 30, 0.97), rgba(15, 23, 42, 0.94));
  box-shadow:
    0 22px 44px -18px rgba(2, 6, 23, 0.56),
    0 10px 18px -12px rgba(14, 165, 233, 0.22);
}

html[data-theme="light"] .home-page .hero-card--account {
  border-color: rgba(14, 116, 144, 0.12);
  background:
    radial-gradient(
      circle at top right,
      rgba(125, 211, 252, 0.26),
      transparent 28%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.96)
    );
  box-shadow:
    0 20px 36px -24px rgba(15, 23, 42, 0.18),
    0 8px 14px -12px rgba(14, 116, 144, 0.12);
}

.home-page .hero-card-account__header {
  gap: 0.9rem;
  padding-bottom: 1rem;
}

.home-page .hero-card--account .hero-card-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 1.5rem;
}

.home-page .home-main > .home-section {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 1.85rem);
  border-radius: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.5));
  box-shadow: 0 24px 42px -28px rgba(2, 6, 23, 0.55);
}

.home-page .home-main > .home-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.84),
    rgba(125, 211, 252, 0)
  );
  opacity: 0.7;
  pointer-events: none;
}

.home-page .home-main > .home-section--services {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.home-page .home-main > .home-section--services::before {
  display: none;
}

.home-page .home-main > .home-section--advice {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  padding-inline: 0;
}

.home-page .home-main > .home-section--advice::before {
  display: none;
}

.home-page .home-main > .home-section--contact {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.home-page .home-main > .home-section--contact::before {
  display: none;
}

html[data-theme="light"] .home-page .home-main > .home-section {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(
      circle at top right,
      rgba(96, 165, 250, 0.18),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(232, 238, 246, 0.96),
      rgba(219, 228, 238, 0.94)
    );
  box-shadow: 0 22px 34px -28px rgba(15, 23, 42, 0.24);
}

html[data-theme="light"] .home-page .home-main > .home-section--services {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

html[data-theme="light"] .home-page .home-main > .home-section--advice {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  padding-inline: 0;
}

html[data-theme="light"] .home-page .home-main > .home-section--contact {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.home-page .home-section .section-header {
  margin-bottom: clamp(1rem, 1.2vw, 1.3rem);
}

.home-page .home-section .section-title {
  font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem);
  letter-spacing: -0.02em;
}

.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(120, 53, 15, 0.16), rgba(15, 23, 42, 0.18)),
    rgba(15, 23, 42, 0.42);
  color: #fef3c7;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px -18px rgba(245, 158, 11, 0.45);
  backdrop-filter: blur(8px);
}

.services-badge::before {
  content: "///";
  color: #f59e0b;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

html[data-theme="light"] .services-badge {
  border-color: rgba(217, 119, 6, 0.24);
  background:
    linear-gradient(
      135deg,
      rgba(255, 247, 237, 0.96),
      rgba(254, 249, 195, 0.96)
    ),
    rgba(255, 255, 255, 0.95);
  color: #9a3412;
  box-shadow: 0 12px 24px -20px rgba(180, 83, 9, 0.28);
}

html[data-theme="light"] .services-badge::before {
  color: #d97706;
}

.home-page .badge-soft {
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border-color: rgba(125, 211, 252, 0.36);
  background:
    linear-gradient(
      180deg,
      rgba(14, 165, 233, 0.18),
      rgba(255, 255, 255, 0.05)
    ),
    rgba(15, 23, 42, 0.32);
  box-shadow: 0 10px 20px -16px rgba(14, 165, 233, 0.34);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .home-page .badge-soft {
  border-color: rgba(14, 165, 233, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(224, 242, 254, 0.98),
      rgba(240, 249, 255, 0.98)
    ),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 18px -18px rgba(14, 116, 144, 0.16);
}

@media (max-width: 40rem) {
  .services-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.home-page .home-contact-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
  gap: clamp(1rem, 1.4vw, 1.35rem);
}

.home-page .home-contact-grid > * {
  min-width: 0;
}

.home-page .home-contact-grid .contact-text,
.home-page .home-contact-grid .weather-col {
  max-width: none;
  height: 100%;
}

@media (min-width: 1441px) {
  .home-page .home-contact-grid {
    grid-template-columns: fit-content(38rem) minmax(24rem, 1fr);
  }

  .home-page .home-contact-grid .contact-text--cta {
    width: fit-content;
    max-width: min(100%, 38rem);
    justify-self: start;
  }
}

.home-page .contact-card--quickactions {
  align-content: start;
}

.home-page .contact-card--quickactions .contact-line {
  min-width: 0;
}

.home-page .contact-card--quickactions .contact-call {
  min-width: 0;
}

.home-page .contact-card--quickactions .contact-call__body strong,
.home-page .contact-card--quickactions .contact-call__body em {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-page .home-contact-secondary {
  display: grid;
  gap: clamp(1rem, 1.5vw, 1.3rem);
  margin-top: clamp(1rem, 1.6vw, 1.35rem);
}

.home-page .home-contact-secondary--with-calendar {
  grid-template-columns: minmax(18rem, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
}

.home-page #kalender {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.home-page .home-weather-col {
  display: flex;
  min-width: 0;
}

.home-page .home-weather-col .weather-widget {
  width: 100%;
}

.home-page .home-weather-col .weather-widget .wrap {
  width: 100%;
  min-height: 100%;
  border-radius: 1.8rem;
  box-shadow:
    0 22px 42px -22px rgba(2, 6, 23, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page #leistungen .services-grid {
  gap: clamp(1rem, 1.4vw, 1.25rem);
}

@media (min-width: 72rem) {
  .home-page #leistungen .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page #warum-menschliche-uebersetzer .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-page .service-card {
  min-height: clamp(15rem, 18vw, 17.5rem);
  padding: clamp(1.1rem, 1.4vw, 1.35rem);
  border-radius: 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  box-shadow:
    0 20px 34px -26px rgba(2, 6, 23, 0.9),
    0 12px 18px -18px rgba(14, 165, 233, 0.24);
  grid-template-rows: auto auto 1fr auto;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-page .service-card.service-card--meta {
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  will-change: transform;
}

.home-page .service-card:hover,
.home-page .service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow:
    0 24px 40px -24px rgba(2, 6, 23, 0.85),
    0 14px 20px -18px rgba(14, 165, 233, 0.3);
}

.home-page .service-card.service-card--meta:hover,
.home-page .service-card.service-card--meta:focus-within {
  transform: scale(1.05);
  box-shadow:
    0 34px 58px -20px rgba(2, 6, 23, 0.98),
    0 22px 34px -16px rgba(14, 165, 233, 0.42),
    0 10px 26px -14px rgba(56, 189, 248, 0.28),
    0 0 32px rgba(125, 211, 252, 0.18);
}

.home-page .service-card::before {
  inset: 1rem 1rem auto auto;
  padding: 0;
  font-size: clamp(2.8rem, 3vw, 3.6rem);
  color: rgba(125, 211, 252, 0.18);
}

.home-page .service-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
}

.home-page .service-text {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
}

.home-page .service-meta {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  font-weight: 600;
}

.home-page #leistungen .service-title,
.home-page #warum-menschliche-uebersetzer .service-title,
.home-page #warum-menschliche-uebersetzer .contact-notice-label {
  color: #f8fbff;
}

.home-page #warum-menschliche-uebersetzer .service-title {
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
}

.home-page #leistungen .service-text,
.home-page #warum-menschliche-uebersetzer .service-text,
.home-page #warum-menschliche-uebersetzer .manual-list,
.home-page #warum-menschliche-uebersetzer .manual-list li,
.home-page #warum-menschliche-uebersetzer .contact-text__lead,
.home-page #warum-menschliche-uebersetzer .contact-notice-text {
  color: rgba(226, 232, 240, 0.94);
}

.home-page #leistungen .service-meta,
.home-page #warum-menschliche-uebersetzer .service-meta {
  color: #dbeafe;
}

.home-page #warum-menschliche-uebersetzer .contact-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  border-color: transparent;
  background:
    linear-gradient(155deg, rgba(10, 18, 32, 0.72), rgba(15, 23, 42, 0.48)),
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.08),
      transparent 42%
    );
  box-shadow:
    0 24px 40px -32px rgba(2, 6, 23, 0.88),
    0 14px 24px -24px rgba(14, 165, 233, 0.18);
  max-width: none;
  gap: clamp(0.8rem, 1.35vw, 1.1rem);
  padding: clamp(1rem, 1.7vw, 1.25rem);
  border-radius: 1.6rem;
  border: 1px solid rgba(125, 211, 252, 0.12);
}

.home-page #warum-menschliche-uebersetzer .contact-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  gap: clamp(1rem, 1.5vw, 1.3rem);
}

.home-page #warum-menschliche-uebersetzer .contact-text__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 0.8vw, 0.75rem);
  align-items: flex-start;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 23, 42, 0.06)),
    rgba(15, 23, 42, 0.16);
  border-color: rgba(148, 163, 184, 0.12);
}

.home-page #warum-menschliche-uebersetzer .contact-text__panel {
  display: grid;
  gap: clamp(0.65rem, 0.9vw, 0.8rem);
  padding: clamp(0.8rem, 1.15vw, 0.95rem);
  border-radius: 1.35rem;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.home-page #warum-menschliche-uebersetzer .services-grid {
  grid-template-columns: 1fr;
  gap: clamp(0.6rem, 0.9vw, 0.75rem);
}

.home-page #warum-menschliche-uebersetzer .service-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page #warum-menschliche-uebersetzer .service-card:hover,
.home-page #warum-menschliche-uebersetzer .service-card:focus-within {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.home-page #warum-menschliche-uebersetzer .service-card::before {
  display: none;
}

.home-page #warum-menschliche-uebersetzer .contact-notice {
  margin-top: 0.1rem;
}

@media (max-width: 48rem) {
  .home-page #warum-menschliche-uebersetzer {
    padding-block: 1rem 1.2rem;
    padding-inline: 0;
  }

  .home-page #warum-menschliche-uebersetzer .section-header {
    margin-bottom: 0.85rem;
    padding-inline: 0.9rem;
    gap: 0.55rem;
  }

  .home-page #warum-menschliche-uebersetzer .section-header-actions {
    width: 100%;
  }

  .home-page #warum-menschliche-uebersetzer .badge-soft {
    width: 100%;
    justify-content: center;
  }

  .home-page #warum-menschliche-uebersetzer .section-body {
    margin-top: 0;
  }

  .home-page #warum-menschliche-uebersetzer .contact-grid {
    gap: 0.75rem;
  }

  .home-page #warum-menschliche-uebersetzer .contact-text {
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: 1.2rem;
  }

  .home-page #warum-menschliche-uebersetzer .contact-text__intro,
  .home-page #warum-menschliche-uebersetzer .contact-text__panel {
    padding-inline: 0;
  }

  .home-page #warum-menschliche-uebersetzer .contact-text__panel {
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .home-page #warum-menschliche-uebersetzer .services-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-page #warum-menschliche-uebersetzer .service-card {
    min-height: 0;
    padding: 0.95rem 0.9rem;
    border-radius: 1.1rem;
  }

  .home-page #warum-menschliche-uebersetzer .contact-notice {
    margin: 0;
    padding: 0.85rem 0.9rem;
  }
}

html[data-theme="light"] .home-page .service-card {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .home-page .service-card:hover,
html[data-theme="light"] .home-page .service-card:focus-within {
  border-color: rgba(14, 116, 144, 0.2);
}

html[data-theme="light"] .home-page .service-text {
  color: #334155;
}

html[data-theme="light"] .home-page .service-meta {
  color: #475569;
}

html[data-theme="light"] .home-page #leistungen .service-title,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .service-title,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .contact-notice-label {
  color: #0f172a;
}

html[data-theme="light"] .home-page #leistungen .service-text,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .service-text,
html[data-theme="light"] .home-page #warum-menschliche-uebersetzer .manual-list,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .manual-list
  li,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .contact-text__lead,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .contact-notice-text {
  color: #1e293b;
}

html[data-theme="light"] .home-page #leistungen .service-meta,
html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .service-meta {
  color: #334155;
}

html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .contact-text {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(248, 250, 252, 0.98)
    ),
    radial-gradient(
      circle at top left,
      rgba(14, 165, 233, 0.06),
      transparent 42%
    );
  box-shadow: 0 20px 36px -34px rgba(15, 23, 42, 0.28);
}

html[data-theme="light"]
  .home-page
  #warum-menschliche-uebersetzer
  .contact-text__panel {
  background: rgba(248, 250, 252, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-page .home-ticker {
  padding: 1rem 1.1rem;
  border-radius: 1.45rem;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}

.home-page .home-ticker .ticker-heading {
  margin-bottom: 0.56rem;
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .home-ticker .ticker-heading .dot {
  background: linear-gradient(135deg, #38bdf8, #2dd4bf);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.18);
}

html[data-theme="light"] .home-page .home-ticker {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .home-page .home-ticker .ticker-heading {
  color: #0f172a;
}

@media (max-width: 72rem) {
  .home-page .hero.hero--with-side,
  .home-page .home-contact-grid,
  .home-page .home-contact-secondary--with-calendar {
    grid-template-columns: 1fr;
  }

  .home-page .hero-card--account {
    max-width: none;
  }

  .home-page .contact-card--quickactions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 48rem) {
  .home-page .page-shell {
    padding-bottom: 5rem;
  }

  .home-page .page-shell > header.hero {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--page-shell-inline-padding);
    padding-right: var(--page-shell-inline-padding);
  }

  .home-page .page-shell > header.hero .hero-surface {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }

  .home-page .hero-surface {
    min-height: auto;
    padding: 1.15rem 1rem;
    border-radius: 1.45rem;
  }

  .home-page .hero h1 {
    max-width: 13ch;
    font-size: clamp(2.2rem, 10vw, 3.15rem);
  }

  .home-page .hero h1 > span {
    display: inline-block;
    padding-left: 0;
  }

  .home-page .hero-points li {
    padding: 0.78rem 0.85rem;
  }

  .home-page .hero-glance {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-page .hero-glance-card {
    text-align: left;
  }

  .home-page .hero-actions--primary {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-page .home-main > .home-section {
    padding: 1rem;
    border-radius: 1.35rem;
  }

  .home-page .section-header {
    align-items: flex-start;
  }

  .home-page .contact-card--quickactions {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.85rem;
    border-radius: 1.2rem;
  }

  .home-page .contact-card--quickactions .contact-call {
    min-height: 4.3rem;
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
    border-radius: 0.95rem;
  }

  .home-page .contact-card--quickactions .contact-call__glyph {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.8rem;
    font-size: 1.05rem;
  }

  .home-page .contact-card--quickactions .contact-call__icon {
    width: 1.3rem;
    height: 1.3rem;
  }

  .home-page .contact-card--quickactions .contact-call__body {
    gap: 0.12rem;
  }

  .home-page .contact-card--quickactions .contact-call__body strong {
    font-size: 0.96rem;
  }

  .home-page .contact-card--quickactions .contact-call__body em {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .home-page
    .contact-card--quickactions
    .contact-line--messengers
    .contact-call {
    flex: 1 1 100%;
    max-width: none;
  }

  .home-page #kalender #availabilityCalendar {
    min-height: 21rem;
  }

  .home-page .service-card {
    min-height: 0;
  }

  .home-page .home-ticker {
    padding: 0.85rem 0.9rem;
    border-radius: 1.2rem;
  }

  .hero-head,
  .hero-title-row,
  .hero-subtitle,
  .hero-body,
  .hero-glance,
  .hero-points,
  .hero-actions,
  .home-page .hero h1,
  .home-page .hero-body,
  .home-page .hero-glance,
  .home-page .hero-points,
  .home-page .home-domain-notice {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-items: center;
    justify-content: center;
  }

  .hero-points li,
  .home-page .hero-glance-card,
  .home-page .hero-points li {
    width: 100%;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: left;
  }

  .hero-actions--primary,
  .home-page .hero-actions--primary {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .home-domain-notice::after {
    animation: none;
  }
}

/* Responsive stability overrides */
.page-shell,
.page-shell * {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.contact-call,
.template-chip,
.template-status,
.badge-soft,
.pill,
.chip,
.profile-status-badge,
.status-pill {
  white-space: normal;
}

.contact-call__body,
.profile-card__identity,
.home-domain-notice .contact-notice-text,
.template-inline-note,
.template-panel p,
.template-panel li,
.profile-meta,
.profile-list__excerpt,
.calendar-detail-panel__note,
.calendar-detail-panel__list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 48rem) {
  .ticker-viewport {
    overflow-x: auto;
    padding-bottom: 0.2rem;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .ticker-track,
  .ticker-track:hover,
  .ticker-track:focus-within {
    animation: none;
  }

  .ticker-track {
    width: max-content;
    min-width: 100%;
  }

  .ticker-group {
    min-width: max-content;
  }
}

@media (max-width: 40rem) {
  .page-shell {
    --page-shell-inline-padding: clamp(0.85rem, 4vw, 1rem);
  }

  .home-page .hero h1 > span {
    padding-left: 0;
  }

  .table-head,
  .table-row,
  .table-subhead {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .table-head span,
  .table-row span,
  .table-subhead span {
    grid-column: auto !important;
    text-align: left;
  }

  .table-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .profile-upload-preview__row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .interp-filter__form {
    grid-template-columns: 1fr;
  }

  .interp-filter__actions {
    justify-content: stretch;
  }

  .interp-filter__actions .btn-primary,
  .interp-filter__actions .btn-ghost {
    width: 100%;
    min-width: 0;
  }

  .interp-card__header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .interp-card__info {
    width: 100%;
  }

  .interp-contact-form textarea {
    min-height: 12rem;
    height: auto;
  }
}

@media (max-width: 32rem) {
  .contact-call {
    align-items: flex-start;
  }

  .contact-card,
  .profile-card,
  .template-panel,
  .template-hero,
  .home-page .home-main > .home-section {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    white-space: normal;
  }
}

/* Hero centering */
.hero-head {
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  text-align: center;
}

.hero-subtitle,
.hero-body {
  text-align: center;
}

.hero-body {
  justify-items: center;
}

.hero-points {
  justify-items: center;
}

.hero-points li {
  width: min(100%, 46rem);
}

.hero-actions {
  justify-content: center;
}

.hero-actions--primary {
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-title-row {
  justify-content: center;
}

.home-page .hero h1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 14ch;
}

.home-page .hero-body,
.home-page .hero-points,
.home-page .home-domain-notice {
  margin-left: auto;
  margin-right: auto;
}

/* Home page art direction */
body.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(125, 211, 252, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(45, 212, 191, 0.06),
      transparent 20%
    );
  opacity: 0.3;
}

html[data-theme="light"] body.home-page::after {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(14, 165, 233, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(14, 116, 144, 0.05),
      transparent 20%
    );
  opacity: 0.22;
}

.home-page .home-main {
  counter-reset: home-sections;
}

.home-page .home-section .section-header {
  counter-increment: home-sections;
}

.home-page .home-section .section-header::after {
  content: "[" counter(home-sections, decimal-leading-zero) "]";
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0 0.35rem 0.75rem;
  border-left: 1px solid rgba(125, 211, 252, 0.28);
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 0 0 0 1rem;
  color: rgba(191, 219, 254, 0.82);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
}

html[data-theme="light"] .home-page .home-section .section-header::after {
  border-left-color: rgba(14, 116, 144, 0.22);
  border-bottom-color: rgba(14, 116, 144, 0.14);
  color: rgba(8, 47, 73, 0.72);
}

.home-page .section-kicker {
  letter-spacing: 0.28em;
}

.home-page .section-title,
.home-page .hero h1 {
  text-wrap: balance;
}

.home-page .hero-surface {
  isolation: isolate;
}

.home-page .hero-surface::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(255, 255, 255, 0.04) calc(100% - 1px)
    ),
    linear-gradient(
      180deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(255, 255, 255, 0.04) calc(100% - 1px)
    ),
    radial-gradient(
      circle at 86% 16%,
      rgba(125, 211, 252, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 14% 84%,
      rgba(45, 212, 191, 0.14),
      transparent 22%
    );
  background-size:
    3rem 3rem,
    3rem 3rem,
    auto,
    auto;
  opacity: 0.55;
  filter: none;
}

.home-page .hero-surface::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  width: var(--panel-cut-size);
  height: var(--panel-cut-size);
  border-left: 1px solid rgba(125, 211, 252, 0.28);
  border-bottom: 1px solid rgba(125, 211, 252, 0.22);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.5),
    rgba(15, 23, 42, 0)
  );
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  filter: none;
  opacity: 1;
  pointer-events: none;
}

html[data-theme="light"] .home-page .hero-surface::before {
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(8, 47, 73, 0.04) calc(100% - 1px)
    ),
    linear-gradient(
      180deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(8, 47, 73, 0.04) calc(100% - 1px)
    ),
    radial-gradient(
      circle at 86% 16%,
      rgba(14, 116, 144, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 14% 84%,
      rgba(14, 165, 233, 0.12),
      transparent 22%
    );
  background-size:
    3rem 3rem,
    3rem 3rem,
    auto,
    auto;
}

html[data-theme="light"] .home-page .hero-surface::after {
  border-left-color: rgba(14, 116, 144, 0.2);
  border-bottom-color: rgba(14, 116, 144, 0.16);
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.22),
    rgba(255, 255, 255, 0)
  );
}

.home-page .hero-glance-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.home-page .hero-glance-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #38bdf8, rgba(45, 212, 191, 0.18));
  opacity: 0.9;
}

html[data-theme="light"] .home-page .hero-glance-card::before {
  background: linear-gradient(180deg, #0070d1, rgba(14, 116, 144, 0.18));
}

@media (min-width: 64rem) {
  .home-page .hero-glance {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page .hero-glance-card:nth-child(2n) {
    transform: translateY(0.7rem);
  }
}

.home-page #leistungen .services-grid {
  counter-reset: service-panels;
}

.home-page #leistungen .service-card {
  counter-increment: service-panels;
  padding-top: clamp(3rem, 4vw, 3.85rem);
}

.home-page #leistungen .service-card::after {
  content: "CASE " counter(service-panels, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.68rem 0.28rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(2, 6, 23, 0.32);
  color: #dbeafe;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

.home-page #leistungen .service-card:nth-child(1) {
  background:
    linear-gradient(155deg, rgba(8, 47, 73, 0.72), rgba(15, 23, 42, 0.32)),
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.22),
      transparent 36%
    );
}

.home-page #leistungen .service-card:nth-child(2) {
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.72), rgba(20, 83, 45, 0.3)),
    radial-gradient(
      circle at top right,
      rgba(74, 222, 128, 0.22),
      transparent 34%
    );
}

.home-page #leistungen .service-card:nth-child(3) {
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.72), rgba(120, 53, 15, 0.3)),
    radial-gradient(
      circle at top right,
      rgba(251, 191, 36, 0.18),
      transparent 36%
    );
}

.home-page #leistungen .service-card:nth-child(4) {
  background:
    linear-gradient(155deg, rgba(30, 41, 59, 0.72), rgba(76, 29, 149, 0.28)),
    radial-gradient(
      circle at top right,
      rgba(167, 139, 250, 0.18),
      transparent 34%
    );
}

html[data-theme="light"] .home-page #leistungen .service-card::after {
  border-color: rgba(14, 116, 144, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #0f4c81;
}

html[data-theme="light"] .home-page #leistungen .service-card:nth-child(1) {
  background:
    linear-gradient(
      155deg,
      rgba(240, 249, 255, 0.98),
      rgba(224, 242, 254, 0.92)
    ),
    radial-gradient(
      circle at top right,
      rgba(14, 165, 233, 0.16),
      transparent 36%
    );
}

html[data-theme="light"] .home-page #leistungen .service-card:nth-child(2) {
  background:
    linear-gradient(
      155deg,
      rgba(240, 253, 244, 0.98),
      rgba(236, 253, 245, 0.92)
    ),
    radial-gradient(
      circle at top right,
      rgba(34, 197, 94, 0.14),
      transparent 34%
    );
}

html[data-theme="light"] .home-page #leistungen .service-card:nth-child(3) {
  background:
    linear-gradient(
      155deg,
      rgba(255, 251, 235, 0.98),
      rgba(254, 243, 199, 0.86)
    ),
    radial-gradient(
      circle at top right,
      rgba(245, 158, 11, 0.16),
      transparent 36%
    );
}

html[data-theme="light"] .home-page #leistungen .service-card:nth-child(4) {
  background:
    linear-gradient(
      155deg,
      rgba(245, 243, 255, 0.98),
      rgba(237, 233, 254, 0.9)
    ),
    radial-gradient(
      circle at top right,
      rgba(139, 92, 246, 0.14),
      transparent 34%
    );
}

@media (min-width: 72rem) {
  .home-page #leistungen .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(16rem, auto);
  }

  .home-page #leistungen .service-card:nth-child(1),
  .home-page #leistungen .service-card:nth-child(2) {
    grid-column: span 3;
  }

  .home-page #leistungen .service-card:nth-child(3) {
    grid-column: span 2;
  }

  .home-page #leistungen .service-card:nth-child(4) {
    grid-column: span 4;
  }
}

@media (min-width: 768px) {
  .home-page .hero-head,
  .home-page .hero-subtitle,
  .home-page .hero-body,
  .home-page .hero-glance,
  .home-page .hero-points,
  .home-page .hero-actions,
  .home-page .home-domain-notice {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    justify-items: start;
    justify-content: flex-start;
  }

  .home-page .hero-title-row,
  .home-page .hero-actions,
  .home-page .hero-actions--primary {
    justify-content: flex-start;
  }

  .home-page .hero h1 {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .home-page .hero-points li {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 64rem) {
  .home-page .hero-glance-card:nth-child(2n) {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  body.home-page::after {
    background-size: 2.2rem 2.2rem;
  }

  .home-page .home-section .section-header::after {
    padding-left: 0.58rem;
    letter-spacing: 0.18em;
  }

  .home-page #leistungen .service-card::after {
    top: 0.85rem;
    left: 0.85rem;
  }

  .home-page .hero-surface::after {
    width: clamp(1.8rem, 9vw, 2.4rem);
    height: clamp(1.8rem, 9vw, 2.4rem);
  }
}

/* Home page library refinement */
body.home-page {
  --home-lib-accent: #b38a54;
  --home-lib-accent-strong: #e6d1b0;
  --home-lib-accent-soft: rgba(179, 138, 84, 0.16);
  --home-lib-ink: #f2e6d2;
  --home-lib-muted: rgba(242, 230, 210, 0.72);
  --home-lib-panel:
    radial-gradient(
      circle at 82% 14%,
      rgba(179, 138, 84, 0.16),
      transparent 28%
    ),
    radial-gradient(circle at 14% 88%, rgba(88, 58, 33, 0.18), transparent 24%),
    linear-gradient(
      145deg,
      rgba(13, 10, 9, 0.99),
      rgba(31, 21, 17, 0.98) 52%,
      rgba(63, 43, 28, 0.92)
    );
  --home-lib-panel-soft:
    radial-gradient(
      circle at top right,
      rgba(179, 138, 84, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(22, 17, 14, 0.84), rgba(22, 17, 14, 0.62));
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

html[data-theme="light"] body.home-page {
  --home-lib-accent: #8f6637;
  --home-lib-accent-strong: #a77a47;
  --home-lib-accent-soft: rgba(143, 102, 55, 0.14);
  --home-lib-ink: #342516;
  --home-lib-muted: rgba(69, 50, 29, 0.72);
  --home-lib-panel:
    radial-gradient(
      circle at 82% 14%,
      rgba(167, 122, 71, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 14% 88%,
      rgba(220, 204, 179, 0.22),
      transparent 24%
    ),
    linear-gradient(
      145deg,
      rgba(255, 252, 247, 0.99),
      rgba(244, 234, 220, 0.97) 52%,
      rgba(232, 219, 200, 0.95)
    );
  --home-lib-panel-soft:
    radial-gradient(
      circle at top right,
      rgba(167, 122, 71, 0.08),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(252, 248, 241, 0.98),
      rgba(241, 232, 219, 0.94)
    );
}

body.home-page::before {
  background:
    radial-gradient(circle at 12% 0, rgba(179, 138, 84, 0.16), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(82, 54, 32, 0.22), transparent 22%),
    linear-gradient(180deg, #0a0908 0%, #15100e 42%, #221813 100%);
}

html[data-theme="light"] body.home-page::before {
  background:
    radial-gradient(
      circle at 12% 2%,
      rgba(167, 122, 71, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 8%,
      rgba(224, 210, 189, 0.28),
      transparent 24%
    ),
    linear-gradient(180deg, #fffdf9 0%, #f4ece0 44%, #e8dccb 100%);
}

body.home-page::after {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(230, 209, 176, 0.028) 0 1px,
      transparent 1px 5rem
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.12));
  background-size: auto, auto;
  opacity: 0.28;
}

html[data-theme="light"] body.home-page::after {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(143, 102, 55, 0.035) 0 1px,
      transparent 1px 5rem
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(87, 60, 31, 0.03));
  opacity: 0.22;
}

.home-page .hero h1,
.home-page .section-title,
.home-page .contact-text__lead,
.home-page .service-title {
  font-family:
    "Garamond", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia,
    serif;
}

.home-page .hero-kicker,
.home-page .section-kicker,
.home-page .service-meta,
.home-page .badge-soft,
.home-page .services-badge,
.home-page .home-section .section-header::after,
.home-page #leistungen .service-card::after {
  font-family:
    "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-variant: small-caps;
}

.home-page .hero-kicker,
.home-page .section-kicker,
.home-page .service-meta,
.home-page .badge-soft,
.home-page .services-badge {
  color: var(--home-lib-muted);
}

.home-page .hero-subtitle {
  color: rgba(242, 230, 210, 0.84);
}

html[data-theme="light"] .home-page .hero-subtitle {
  color: rgba(69, 50, 29, 0.82);
}

.home-page .hero-copy {
  color: var(--home-lib-muted);
}

.home-page .home-section .section-header::after {
  content: "KATALOG " counter(home-sections, decimal-leading-zero);
  border-left-color: rgba(179, 138, 84, 0.28);
  border-bottom-color: rgba(179, 138, 84, 0.18);
  color: rgba(230, 209, 176, 0.82);
}

html[data-theme="light"] .home-page .home-section .section-header::after {
  border-left-color: rgba(143, 102, 55, 0.22);
  border-bottom-color: rgba(143, 102, 55, 0.14);
  color: rgba(95, 68, 37, 0.72);
}

.home-page .hero-surface {
  background: var(--home-lib-panel);
  border-color: rgba(179, 138, 84, 0.2);
  box-shadow:
    0 30px 62px -32px rgba(0, 0, 0, 0.95),
    0 18px 34px -26px rgba(179, 138, 84, 0.18);
}

.home-page .hero-surface::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(247, 237, 219, 0.025) 0 1px,
      transparent 1px 2.8rem
    ),
    linear-gradient(90deg, rgba(179, 138, 84, 0.08), rgba(179, 138, 84, 0) 18%),
    radial-gradient(
      circle at 84% 16%,
      rgba(179, 138, 84, 0.18),
      transparent 26%
    ),
    radial-gradient(circle at 14% 82%, rgba(83, 58, 35, 0.18), transparent 22%);
  background-size: auto, auto, auto, auto;
  opacity: 0.72;
}

.home-page .hero-surface::after {
  border-left-color: rgba(179, 138, 84, 0.34);
  border-bottom-color: rgba(179, 138, 84, 0.24);
  background: linear-gradient(
    135deg,
    rgba(179, 138, 84, 0.42),
    rgba(255, 255, 255, 0)
  );
}

html[data-theme="light"] .home-page .hero-surface {
  background: var(--home-lib-panel);
  border-color: rgba(143, 102, 55, 0.14);
  box-shadow:
    0 28px 48px -34px rgba(72, 45, 16, 0.18),
    0 18px 32px -26px rgba(143, 102, 55, 0.12);
}

html[data-theme="light"] .home-page .hero-surface::before {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(95, 68, 37, 0.022) 0 1px,
      transparent 1px 2.8rem
    ),
    linear-gradient(90deg, rgba(143, 102, 55, 0.08), rgba(143, 102, 55, 0) 18%),
    radial-gradient(
      circle at 84% 16%,
      rgba(167, 122, 71, 0.14),
      transparent 26%
    ),
    radial-gradient(
      circle at 14% 82%,
      rgba(215, 197, 170, 0.18),
      transparent 22%
    );
}

html[data-theme="light"] .home-page .hero-surface::after {
  border-left-color: rgba(143, 102, 55, 0.22);
  border-bottom-color: rgba(143, 102, 55, 0.16);
  background: linear-gradient(
    135deg,
    rgba(167, 122, 71, 0.22),
    rgba(255, 255, 255, 0)
  );
}

.home-page .hero-glance-card,
.home-page .hero-points li,
.home-page .hero-card--account,
.home-page .contact-text--cta,
.home-page .contact-card--quickactions,
.home-page .home-weather-col .weather-widget .wrap {
  border-color: rgba(179, 138, 84, 0.16);
  background: var(--home-lib-panel-soft);
  box-shadow:
    0 22px 36px -28px rgba(0, 0, 0, 0.82),
    inset 0 1px 0 rgba(247, 237, 219, 0.06);
}

html[data-theme="light"] .home-page .hero-glance-card,
html[data-theme="light"] .home-page .hero-points li,
html[data-theme="light"] .home-page .hero-card--account,
html[data-theme="light"] .home-page .contact-text--cta,
html[data-theme="light"] .home-page .contact-card--quickactions,
html[data-theme="light"] .home-page .home-weather-col .weather-widget .wrap {
  border-color: rgba(143, 102, 55, 0.12);
  background: var(--home-lib-panel-soft);
  box-shadow:
    0 20px 34px -30px rgba(72, 45, 16, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.home-page .hero-glance-card::before {
  background: linear-gradient(
    180deg,
    var(--home-lib-accent-strong),
    rgba(179, 138, 84, 0.16)
  );
}

html[data-theme="light"] .home-page .hero-glance-card::before {
  background: linear-gradient(
    180deg,
    var(--home-lib-accent-strong),
    rgba(143, 102, 55, 0.16)
  );
}

.home-page .hero-glance-card__label {
  color: var(--home-lib-accent-strong);
}

.home-page .hero-glance-card__value,
.home-page #leistungen .service-title,
.home-page #warum-menschliche-uebersetzer .service-title,
.home-page #warum-menschliche-uebersetzer .contact-notice-label {
  color: var(--home-lib-ink);
}

.home-page .hero-glance-card__hint,
.home-page #leistungen .service-text,
.home-page #warum-menschliche-uebersetzer .service-text,
.home-page #warum-menschliche-uebersetzer .manual-list,
.home-page #warum-menschliche-uebersetzer .manual-list li,
.home-page #warum-menschliche-uebersetzer .contact-text__lead,
.home-page #warum-menschliche-uebersetzer .contact-notice-text,
.home-page .service-text {
  color: var(--home-lib-muted);
}

.home-page .hero-points li span.icon {
  color: var(--home-lib-accent-strong);
  text-shadow: 0 0 12px rgba(179, 138, 84, 0.18);
}

.home-page .hero-actions .hero-primary-cta {
  color: #f6ecdc;
  background: linear-gradient(135deg, #563428, #77513a);
  border-color: rgba(230, 209, 176, 0.24);
  box-shadow:
    0 20px 36px -24px rgba(92, 58, 35, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-page .hero-actions .hero-primary-cta:hover,
.home-page .hero-actions .hero-primary-cta:focus-visible {
  color: #f9f0e3;
  background: linear-gradient(135deg, #674032, #875b40);
  border-color: rgba(230, 209, 176, 0.32);
  box-shadow:
    0 24px 42px -22px rgba(92, 58, 35, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html[data-theme="light"] .home-page .hero-actions .hero-primary-cta {
  color: #fff8ef;
  background: linear-gradient(135deg, #7a5036, #9b6e45);
  border-color: rgba(143, 102, 55, 0.2);
  box-shadow:
    0 20px 34px -24px rgba(143, 102, 55, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .home-page .hero-actions .hero-primary-cta:hover,
html[data-theme="light"]
  .home-page
  .hero-actions
  .hero-primary-cta:focus-visible {
  color: #fffbf4;
  background: linear-gradient(135deg, #8a5d3b, #ab7a4d);
  border-color: rgba(143, 102, 55, 0.26);
}

.home-page .hero-actions--primary .btn-secondary {
  color: var(--home-lib-ink);
  border-color: rgba(179, 138, 84, 0.18);
  background:
    linear-gradient(180deg, rgba(247, 237, 219, 0.05), rgba(20, 15, 12, 0.08)),
    rgba(20, 15, 12, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(247, 237, 219, 0.04),
    0 16px 28px -20px rgba(0, 0, 0, 0.56);
}

html[data-theme="light"] .home-page .hero-actions--primary .btn-secondary {
  color: #3d2b19;
  border-color: rgba(143, 102, 55, 0.14);
  background:
    linear-gradient(
      180deg,
      rgba(255, 252, 247, 0.98),
      rgba(244, 234, 220, 0.96)
    ),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 28px -24px rgba(72, 45, 16, 0.14);
}

.home-page .services-badge {
  border-color: rgba(179, 138, 84, 0.22);
  background:
    linear-gradient(135deg, rgba(66, 45, 28, 0.42), rgba(18, 14, 12, 0.3)),
    rgba(18, 14, 12, 0.44);
  color: #ecdbc1;
  box-shadow:
    inset 0 1px 0 rgba(247, 237, 219, 0.08),
    0 12px 24px -18px rgba(92, 58, 35, 0.32);
}

.home-page .services-badge::before {
  content: "VOL.";
  color: var(--home-lib-accent-strong);
}

html[data-theme="light"] .home-page .services-badge {
  border-color: rgba(143, 102, 55, 0.16);
  background:
    linear-gradient(
      135deg,
      rgba(255, 249, 241, 0.98),
      rgba(244, 235, 222, 0.96)
    ),
    rgba(255, 255, 255, 0.98);
  color: #765229;
  box-shadow: 0 12px 24px -20px rgba(118, 82, 41, 0.16);
}

.home-page .badge-soft,
.home-page #leistungen .service-card::after {
  border-color: rgba(179, 138, 84, 0.18);
  background: rgba(22, 17, 14, 0.42);
  color: #e6d1b0;
}

.home-page #leistungen .service-card::after {
  content: "BAND " counter(service-panels, decimal-leading-zero);
}

html[data-theme="light"] .home-page .badge-soft,
html[data-theme="light"] .home-page #leistungen .service-card::after {
  border-color: rgba(143, 102, 55, 0.14);
  background: rgba(255, 251, 245, 0.82);
  color: #866035;
}

.home-page #leistungen .service-card:nth-child(1) {
  background:
    radial-gradient(
      circle at top right,
      rgba(179, 138, 84, 0.14),
      transparent 34%
    ),
    linear-gradient(155deg, rgba(34, 23, 18, 0.92), rgba(74, 49, 31, 0.72));
}

.home-page #leistungen .service-card:nth-child(2) {
  background:
    radial-gradient(
      circle at top right,
      rgba(179, 138, 84, 0.12),
      transparent 34%
    ),
    linear-gradient(155deg, rgba(19, 17, 15, 0.92), rgba(46, 40, 29, 0.74));
}

.home-page #leistungen .service-card:nth-child(3) {
  background:
    radial-gradient(
      circle at top right,
      rgba(179, 138, 84, 0.14),
      transparent 36%
    ),
    linear-gradient(155deg, rgba(28, 19, 18, 0.92), rgba(85, 52, 37, 0.74));
}

.home-page #leistungen .service-card:nth-child(4) {
  background:
    radial-gradient(
      circle at top right,
      rgba(179, 138, 84, 0.14),
      transparent 34%
    ),
    linear-gradient(155deg, rgba(18, 14, 13, 0.92), rgba(56, 33, 28, 0.72));
}

html[data-theme="light"] .home-page #leistungen .service-card:nth-child(1),
html[data-theme="light"] .home-page #leistungen .service-card:nth-child(2),
html[data-theme="light"] .home-page #leistungen .service-card:nth-child(3),
html[data-theme="light"] .home-page #leistungen .service-card:nth-child(4) {
  background: var(--home-lib-panel-soft);
}

.home-page .home-domain-notice {
  border-color: rgba(179, 138, 84, 0.16);
  background: linear-gradient(
    135deg,
    rgba(29, 21, 16, 0.72),
    rgba(16, 12, 11, 0.42) 42%,
    rgba(58, 40, 27, 0.48)
  );
}

.home-page .home-domain-notice::before {
  background: linear-gradient(
    90deg,
    rgba(230, 209, 176, 0.46),
    rgba(179, 138, 84, 0.08)
  );
}

.home-page .home-domain-notice .contact-notice-label,
.home-page .home-domain-notice .contact-notice-text,
.home-page .home-domain-notice__list li,
.home-page .home-domain-notice a {
  color: var(--home-lib-ink);
}

html[data-theme="light"] .home-page .home-domain-notice {
  border-color: rgba(143, 102, 55, 0.14);
  background: linear-gradient(
    135deg,
    rgba(251, 246, 239, 0.9),
    rgba(243, 234, 223, 0.72) 42%,
    rgba(235, 223, 205, 0.76)
  );
}

html[data-theme="light"] .home-page .home-domain-notice::before {
  background: linear-gradient(
    90deg,
    rgba(143, 102, 55, 0.28),
    rgba(143, 102, 55, 0.04)
  );
}

/* Handbuch-inspired shared template skin. Keep it at the end so page-specific
   template defaults cannot mute the visual layer. */
.template-body {
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 233, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, 0.12), transparent 20rem),
    linear-gradient(180deg, #06111d 0%, #09182b 42%, #020617 100%);
}

.template-body::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 233, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(45, 212, 191, 0.12), transparent 20rem),
    linear-gradient(180deg, #06111d 0%, #09182b 42%, #020617 100%);
}

.template-body .page-shell.has-topnav.template-page {
  gap: clamp(1rem, 1.6vw, 1.7rem);
}

.template-body .hero-card.hero-card--static.template-hero {
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 36, 58, 0.94)),
    rgba(15, 23, 42, 0.96);
  box-shadow:
    0 1.4rem 3.1rem rgba(2, 6, 23, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.template-body .hero-card.hero-card--static.template-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.2), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(14, 165, 233, 0.22), transparent 22rem);
  opacity: 0.95;
}

.template-body .template-panel,
.template-body .template-panel.template-form-card {
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(17, 36, 58, 0.88)),
    rgba(15, 23, 42, 0.96);
  box-shadow:
    0 1.15rem 2.45rem rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.template-body .template-panel--accent {
  border-color: rgba(125, 211, 252, 0.34);
  background:
    linear-gradient(145deg, rgba(8, 47, 73, 0.96), rgba(17, 36, 58, 0.94)),
    rgba(8, 47, 73, 0.94);
}

.template-body .template-panel--soft {
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.88)),
    rgba(15, 23, 42, 0.92);
}

.template-body .template-panel--danger {
  border-color: rgba(248, 113, 113, 0.32);
  background:
    linear-gradient(145deg, rgba(69, 10, 10, 0.78), rgba(15, 23, 42, 0.9)),
    rgba(69, 10, 10, 0.68);
}

.template-body .section-kicker,
.template-body .template-panel__kicker {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(14, 165, 233, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.template-body .template-chip,
.template-body.register-page .template-chip {
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(17, 36, 58, 0.9));
  box-shadow: 0 0.8rem 1.6rem rgba(2, 6, 23, 0.22);
}

.template-body .template-inline-note,
.template-body .apply-value-card,
.template-body .apply-status-card,
.template-body .apply-sidebar-card,
.template-body .legal-callout,
.template-body .legal-badge {
  border-radius: 8px;
  border-color: rgba(125, 211, 252, 0.22);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(17, 36, 58, 0.68)),
    rgba(15, 23, 42, 0.76);
}
