* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-elevated: #0d1b2e;
  --surface: rgba(15, 29, 48, 0.78);
  --surface-strong: rgba(18, 36, 58, 0.96);
  --surface-soft: rgba(22, 42, 64, 0.92);
  --border: rgba(88, 132, 184, 0.22);
  --border-strong: rgba(101, 162, 214, 0.34);
  --text: #eaf4ff;
  --text-soft: #c7d7ea;
  --text-muted: #8fa8c3;
  --accent: #19d3c5;
  --accent-strong: #23e5d6;
  --accent-secondary: #4d7cfe;
  --accent-violet: #8b5cf6;
  --success: #56d48a;
  --warning: #d8b04e;
  --danger: #e0616b;
  --shadow-xl: 0 40px 90px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --transition: 180ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(25, 211, 197, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(77, 124, 254, 0.09), transparent 30%),
    linear-gradient(180deg, #06101c 0%, #07111f 42%, #091526 100%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.45;
}

.bg-orb-one {
  width: 360px;
  height: 360px;
  background: rgba(25, 211, 197, 0.12);
  top: 80px;
  left: -120px;
}

.bg-orb-two {
  width: 420px;
  height: 420px;
  background: rgba(139, 92, 246, 0.11);
  top: 220px;
  right: -180px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(25, 211, 197, 0.18), rgba(77, 124, 254, 0.18));
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtext {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  min-width: 66px;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(25, 211, 197, 0.95), rgba(59, 215, 226, 0.92));
  color: #06131f;
  box-shadow: 0 16px 30px rgba(25, 211, 197, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 36px rgba(25, 211, 197, 0.28);
}

.btn-secondary {
  background: rgba(77, 124, 254, 0.12);
  border-color: rgba(77, 124, 254, 0.24);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(77, 124, 254, 0.18);
  border-color: rgba(77, 124, 254, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-lg {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-section,
.versions-section,
.media-section,
.community-section,
.gallery-section,
.cta-section {
  position: relative;
  z-index: 1;
}

.hero-section {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(25, 211, 197, 0.8);
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.6;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 18px rgba(25, 211, 197, 0.28);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14, 29, 46, 0.92), rgba(10, 21, 37, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-visual-frame {
  width: min(100%, 560px);
}

.hero-visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.window-dot:first-child {
  background: rgba(224, 97, 107, 0.8);
}

.window-dot:nth-child(2) {
  background: rgba(216, 176, 78, 0.8);
}

.window-dot:nth-child(3) {
  background: rgba(86, 212, 138, 0.8);
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  max-width: 240px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(11, 22, 37, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero-floating-card-left {
  left: 0;
  bottom: 116px;
}

.hero-floating-card-right {
  right: -8px;
  top: 70px;
}

.floating-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.4;
}

.floating-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.versions-section,
.media-section,
.community-section,
.gallery-section,
.cta-section {
  padding: 84px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.plan-card,
.media-card,
.community-card,
.gallery-card,
.dashboard-preview-card,
.hidden-panel-card,
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.92), rgba(9, 22, 38, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-md);
}

.plan-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-card-featured {
  background:
    linear-gradient(180deg, rgba(16, 33, 52, 0.96), rgba(10, 23, 40, 0.98)),
    linear-gradient(135deg, rgba(25, 211, 197, 0.08), rgba(139, 92, 246, 0.08));
  border-color: rgba(25, 211, 197, 0.28);
  box-shadow: 0 24px 54px rgba(11, 22, 37, 0.48), 0 0 0 1px rgba(25, 211, 197, 0.04) inset;
}

.plan-highlight {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(25, 211, 197, 0.12);
  border: 1px solid rgba(25, 211, 197, 0.22);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-top h3 {
  margin: 12px 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.plan-top p,
.plan-features li,
.community-card p,
.media-body p,
.gallery-card figcaption,
.dashboard-preview-card p,
.modal-note,
.hidden-panel-card p,
.cta-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(77, 124, 254, 0.12);
  border: 1px solid rgba(77, 124, 254, 0.22);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-chip-beta {
  background: rgba(25, 211, 197, 0.12);
  border-color: rgba(25, 211, 197, 0.22);
  color: var(--accent);
}

.plan-chip-pro {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.24);
  color: #c7b2ff;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.plan-actions {
  margin-top: auto;
  display: flex;
}

.plan-actions .btn {
  width: 100%;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.media-card {
  overflow: hidden;
}

.media-thumb {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-thumb:hover img,
.media-thumb:focus-visible img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 17, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  font-size: 1.1rem;
}

.media-body {
  padding: 22px;
}

.media-body h3,
.community-card h3,
.dashboard-preview-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-strong);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.community-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-card {
  padding: 24px;
  min-height: 100%;
}

.community-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(25, 211, 197, 0.1);
  border: 1px solid rgba(25, 211, 197, 0.18);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
  font-size: 0.95rem;
}

.gallery-card-large img {
  min-height: 360px;
}

.cta-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  gap: 24px;
  align-items: center;
}

.brand-footer .brand-subtext {
  white-space: normal;
}

.footer-links,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-links a,
.footer-actions a {
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-actions a:hover,
.footer-links a:focus-visible,
.footer-actions a:focus-visible {
  color: var(--text);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100% - 32px));
  margin: 8vh auto 0;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 27, 45, 0.98), rgba(9, 20, 34, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
}

.modal-content {
  padding: 34px 30px 30px;
}

.modal-content h2 {
  margin: 10px 0 18px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 1.4rem;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.auth-form input::placeholder {
  color: rgba(199, 215, 234, 0.52);
}

.auth-form input:focus-visible {
  border-color: rgba(25, 211, 197, 0.45);
  box-shadow: 0 0 0 3px rgba(25, 211, 197, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.modal-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.hidden-feature-panel {
  display: none;
  padding: 0 0 84px;
}

.hidden-feature-panel.is-open {
  display: block;
}

.hidden-panel-card {
  padding: 30px;
}

.hidden-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.hidden-panel-header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.dashboard-preview-grid,
.payment-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-preview-card {
  padding: 22px;
}

body.no-scroll {
  overflow: hidden;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(25, 211, 197, 0.42);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 20px;
    width: min(320px, calc(100% - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(9, 18, 31, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 10px;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-grid,
  .community-grid,
  .footer-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 8px;
  }

  .hero-floating-card-left {
    left: 18px;
    bottom: 24px;
  }

  .hero-floating-card-right {
    right: 18px;
    top: 18px;
  }

  .plans-grid,
  .media-grid,
  .community-cards,
  .gallery-grid,
  .dashboard-preview-grid,
  .payment-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    row-gap: 10px;
    padding: 10px 0;
  }

  .brand-subtext {
    white-space: normal;
    max-width: 250px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-section,
  .versions-section,
  .media-section,
  .community-section,
  .gallery-section,
  .cta-section {
    padding: 68px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .hero-visual-frame {
    width: 100%;
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-visual {
    display: block;
  }

  .plans-grid,
  .media-grid,
  .community-cards,
  .gallery-grid,
  .dashboard-preview-grid,
  .payment-preview-grid {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .hidden-panel-header {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    position: sticky;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero-badge {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
    min-height: 0;
  }

  .hero-actions,
  .cta-actions,
  .header-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .header-actions .btn {
    width: 100%;
  }

  .plan-card,
  .media-body,
  .community-card,
  .hidden-panel-card,
  .dashboard-preview-card,
  .cta-card,
  .modal-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal-panel {
    margin-top: 4vh;
  }

  .site-nav {
    top: 92px;
    right: 12px;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
