:root {
  --bg: #08111f;
  --bg-soft: #101b31;
  --surface: rgba(11, 19, 36, 0.84);
  --surface-light: rgba(255, 255, 255, 0.88);
  --surface-white: #ffffff;
  --text: #f7f7fb;
  --text-dark: #0d1628;
  --muted: #a4b1c8;
  --muted-dark: #5b677d;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(13, 22, 40, 0.1);
  --accent: #f97316;
  --accent-soft: #ffb36b;
  --accent-cool: #16c7b7;
  --success: #35d08a;
  --warning: #f7b74a;
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 18px 44px rgba(8, 17, 31, 0.08);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #eef2f8;
}

body[data-page="licenses"],
body[data-page="panel"],
body[data-page="contact"],
body[data-page="legal"] {
  background: #eef2f8;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(13, 22, 40, 0.08);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(0);
  box-shadow: 0 8px 24px rgba(8, 17, 31, 0.04);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.topbar.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(8, 17, 31, 0.08);
}

.topbar-inner,
.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 82px;
}

.site-shell {
  padding: 54px 0 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 240px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav,
.topbar-actions,
.hero-actions,
.pricing-controls,
.billing-toggle,
.panel-summary,
.preview-grid {
  display: flex;
  align-items: center;
}

.nav,
.topbar-actions,
.pricing-controls,
.preview-grid,
.panel-summary {
  gap: 14px;
}

.nav a {
  color: #4f5b70;
  transition: color 180ms ease;
}

.nav a.is-active,
.nav a:hover {
  color: var(--text-dark);
}

.topbar-account-actions {
  gap: 16px;
  margin-left: auto;
}

.topbar-link-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f5b70;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease;
}

.topbar-link-action.is-active,
.topbar-link-action:hover {
  color: var(--text-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.billing-option:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 22, 40, 0.14);
  color: var(--text-dark);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 76vh;
  background: #09111f;
}

.hero-video {
  border-bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 76vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 120px;
  padding-bottom: 72px;
}

.hero-background,
.hero-overlay,
.video-preloader {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 29, 0.22) 0%, rgba(7, 16, 29, 0.5) 100%),
    linear-gradient(90deg, rgba(7, 16, 29, 0.56) 0%, rgba(7, 16, 29, 0.18) 100%);
}

.video-preloader {
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 18px;
  background: linear-gradient(180deg, #07101d 0%, #0b1426 100%);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.video-preloader img {
  width: 240px;
  height: auto;
  object-fit: contain;
}

.video-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-bar {
  width: 180px;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.preloader-bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  animation: preload-slide 1.4s linear infinite;
}

@keyframes preload-slide {
  from {
    transform: translateX(-140%);
  }

  to {
    transform: translateX(320%);
  }
}

.content-panel,
.stat-card,
.feature-card,
.pricing-card,
.checkout-card,
.faq-card,
.login-card,
.panel-preview,
.status-card,
.summary-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--surface-light);
  box-shadow: var(--shadow-light);
}

.open-checkout-button {
  margin-top: auto;
}

.eyebrow,
.checkout-kicker,
.panel-kicker {
  margin: 0 0 10px;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-intro h1,
.section-heading h2,
.content-panel h2,
.page-header h1,
.login-card h1,
.panel-preview h2 {
  margin: 0;
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

.hero-intro h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: white;
  text-align: left;
}

.hero-intro p,
.content-panel p,
.faq-card p,
.feature-card p,
.plan-description,
.billing-note,
.form-note,
.login-card p,
.status-card p,
.summary-card p {
  color: var(--muted-dark);
  line-height: 1.7;
}

.hero-intro p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.feature-section,
.faq-section,
.pricing-section,
.login-section {
  padding-top: 44px;
}

.section-heading,
.page-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.page-header h1 {
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.feature-grid,
.faq-grid,
.pricing-grid,
.split-section,
.access-layout,
.status-grid,
.summary-grid {
  display: grid;
  gap: 20px;
}

.feature-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.faq-card {
  padding: 26px;
}

.feature-card h3,
.faq-card h3,
.pricing-card h3,
.content-panel h2,
.status-card h3,
.summary-card h3 {
  margin: 0 0 12px;
  color: var(--text-dark);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.split-section {
  grid-template-columns: 1fr 0.62fr;
  align-items: stretch;
  padding-top: 44px;
}

.content-panel {
  padding: 30px;
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.stat-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
}

.stat-card span {
  color: var(--muted-dark);
}

.page-header {
  padding-top: 10px;
  text-align: center;
}

.page-header p {
  color: var(--muted-dark);
  font-size: 1.06rem;
}

.page-header .eyebrow {
  margin-bottom: 0;
}

.pricing-controls {
  justify-content: space-between;
  margin-bottom: 24px;
}

.billing-toggle {
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(8, 17, 31, 0.04);
}

.billing-option {
  min-width: 116px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #42506c;
  font-weight: 700;
  cursor: pointer;
}

.billing-option.is-active {
  background: #08111f;
  color: white;
}

.range-control {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: var(--text-dark);
  font-weight: 700;
}

.range-control input {
  width: min(100%, 280px);
  accent-color: var(--accent);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.96);
}

.pricing-card .featured-badge:empty {
  display: none;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #0f1c35 0%, #18294c 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.pricing-card.featured h3,
.pricing-card.featured .plan-description,
.pricing-card.featured .billing-note,
.pricing-card.featured .plan-list li,
.pricing-card.featured .plan-name,
.pricing-card.featured .currency,
.pricing-card.featured .price-suffix,
.pricing-card.featured .price-value {
  color: white;
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.16);
  color: #ffd2ae;
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-name {
  margin: 0 0 10px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.pricing-card h3,
.pricing-card .plan-description,
.pricing-card .billing-note,
.pricing-card .plan-tax-note,
.pricing-card .plan-list li,
.pricing-card .currency,
.pricing-card .price-suffix,
.pricing-card .price-value {
  color: var(--text-dark);
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 18px 0 8px;
}

.currency,
.price-suffix {
  font-weight: 700;
  color: inherit;
}

.price-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.plan-tax-note {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #64748b;
}

.plan-list {
  margin: 20px 0 28px;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--text-dark);
}

.pricing-card .button {
  margin-top: auto;
}

.access-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.access-screen {
  min-height: calc(100vh - 82px - 106px);
  display: grid;
  align-items: center;
}

.centered-access {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}

.checkout-card,
.login-card,
.panel-preview {
  padding: 28px;
}

.public-checkout-panel {
  margin-top: 26px;
}

.checkout-panel-header,
.checkout-layout,
.checkout-price-summary,
.checkout-brick-shell {
  display: grid;
}

.checkout-panel-header {
  gap: 8px;
  margin-bottom: 20px;
}

.checkout-panel-header h2 {
  margin: 0;
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
}

.checkout-panel-note {
  margin: 0;
  color: var(--muted-dark);
}

.checkout-layout {
  grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
}

.checkout-price-summary {
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.08) 0%, rgba(239, 68, 68, 0.08) 100%);
}

.checkout-price-summary span {
  color: var(--muted-dark);
  font-weight: 600;
}

.checkout-price-summary strong {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.checkout-brick-shell {
  gap: 14px;
  min-height: 100%;
}

.checkout-brick-placeholder {
  padding: 18px;
  border: 1px dashed rgba(13, 22, 40, 0.18);
  border-radius: var(--radius-md);
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.72);
}

.payment-result-banner {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.payment-result-banner.is-success {
  background: rgba(53, 208, 138, 0.12);
  border-color: rgba(18, 113, 69, 0.16);
  color: #127145;
}

.payment-result-banner.is-pending {
  background: rgba(247, 183, 74, 0.16);
  border-color: rgba(180, 126, 18, 0.18);
  color: #8a5b0f;
}

.checkout-form,
.login-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.checkout-form label,
.login-form label {
  display: grid;
  gap: 8px;
  color: var(--text-dark);
  font-weight: 600;
}

.checkout-form input,
.checkout-form select,
.login-form input {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
}

.login-card {
  background: var(--surface-white);
}

.login-form-actions {
  display: flex;
  gap: 12px;
}

.panel-preview {
  color: white;
  background: linear-gradient(180deg, #101b31 0%, #09121f 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.panel-preview h2,
.panel-preview h3,
.panel-preview strong {
  color: white;
}

.panel-preview p,
.panel-preview span,
.panel-preview small {
  color: var(--muted);
}

.preview-grid {
  margin: 24px 0;
  align-items: stretch;
}

.preview-stat,
.summary-card,
.status-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.preview-stat strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
}

.status-grid,
.summary-grid {
  grid-template-columns: repeat(3, 1fr);
}

.status-card,
.summary-card {
  background: var(--surface-light);
  border-color: var(--line-dark);
}

.status-chip {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: var(--radius-sm);
  background: rgba(53, 208, 138, 0.16);
  color: #127145;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(13, 22, 40, 0.08);
  background: #f7f9fc;
}

.site-footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer-inner img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-footer-inner p {
  margin: 0;
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-footer-inner small {
  color: var(--muted-dark);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a:not(.button-footer) {
  color: var(--text-dark);
  font-weight: 600;
}

.button-footer {
  min-height: 40px;
  background: white;
  border: 1px solid rgba(13, 22, 40, 0.12);
  color: var(--text-dark);
}

.footer-copy {
  margin-top: 2px;
}

.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px auto 0;
  padding: 18px 20px;
  max-width: 760px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-light);
}

.cookie-banner strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted-dark);
}

.cookie-banner.is-hidden {
  display: none;
}

.legal-panel {
  max-width: 860px;
}

.form-feedback {
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-dark);
  font-size: 0.96rem;
}

.form-feedback.is-error {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.form-feedback.is-success {
  border-color: rgba(21, 128, 61, 0.22);
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
}

.is-hidden {
  display: none !important;
}

.customer-panel-page {
  padding-top: 28px;
  padding-bottom: 48px;
}

.panel-entry {
  min-height: auto;
  margin-bottom: 28px;
}

.panel-access-layout {
  grid-template-columns: minmax(320px, 480px) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.panel-intro-copy {
  margin: 10px 0 0;
  color: var(--muted-dark);
}

.customer-preview {
  display: grid;
  align-content: start;
}

.customer-dashboard {
  display: grid;
  gap: 20px;
  margin-top: 12px;
}

.profile-panel {
  margin-bottom: 4px;
}

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

.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.secondary-grid {
  grid-template-columns: repeat(2, 1fr);
}

.dashboard-card-wide {
  grid-column: 1 / -1;
}

.dashboard-card {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-light);
}

.dashboard-summary {
  background: linear-gradient(180deg, #0f1c35 0%, #18294c 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.dashboard-title-row,
.renewal-side-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-summary .dashboard-card-header h3,
.dashboard-summary .dashboard-card-header p,
.dashboard-summary .dashboard-card-header span,
.dashboard-summary .dashboard-stats strong,
.dashboard-summary .dashboard-note p,
.dashboard-summary .renewal-inline-banner strong {
  color: #ffffff;
}

.dashboard-summary .mini-stat span,
.dashboard-summary .dashboard-period,
.dashboard-summary .dashboard-label,
.dashboard-summary .renewal-inline-banner p {
  color: rgba(235, 244, 255, 0.78);
}

.dashboard-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-label {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.6rem;
}

.dashboard-summary .dashboard-card h3,
.dashboard-summary h3#licensePlanName {
  color: #ffffff;
}

.dashboard-period {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-weight: 600;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-stat span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.mini-stat strong {
  display: block;
  font-size: 1.4rem;
}

.dashboard-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.terminal-counter {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.counter-button {
  min-height: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: white;
  color: var(--text-dark);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}

.counter-display {
  min-height: 56px;
  padding: 0 18px;
  display: grid;
  align-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
}

.counter-display span {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.counter-display strong {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.adjustment-summary {
  display: grid;
  gap: 12px;
}

.adjustment-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.adjustment-line:last-child {
  border-bottom: 0;
}

.adjustment-line span {
  color: var(--muted-dark);
}

.adjustment-line strong {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.adjustment-line.highlight strong {
  color: var(--accent);
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.renewal-inline-banner,
.renewal-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.renewal-inline-banner {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16) 0%, rgba(239, 68, 68, 0.14) 100%);
}

.renewal-inline-banner strong,
.renewal-summary-line strong {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
}

.renewal-inline-banner p {
  margin: 6px 0 0;
  color: var(--muted-dark);
}

.renewal-card {
  gap: 18px;
}

.renewal-summary-list {
  display: grid;
  gap: 14px;
  padding: 0;
}

.renewal-summary-line {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.renewal-summary-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.renewal-summary-line span {
  color: var(--muted-dark);
}

.renewal-brick-placeholder {
  padding: 18px;
  border: 1px dashed rgba(13, 22, 40, 0.18);
  border-radius: var(--radius-md);
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.72);
}

.renewal-page-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.renewal-side-card {
  align-content: start;
}

.renewal-side-copy {
  margin: 10px 0 20px;
  color: var(--muted-dark);
  line-height: 1.7;
}

.renewal-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.payments-page-grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.payments-history-list {
  display: grid;
  gap: 16px;
}

.payment-history-item {
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: #f8fafc;
}

.payment-history-head,
.payment-history-grid,
.payment-history-actions {
  display: flex;
}

.payment-history-head {
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.payment-history-head p {
  margin: 6px 0 0;
  color: var(--muted-dark);
}

.payment-history-grid {
  flex-wrap: wrap;
  gap: 16px;
}

.payment-history-grid > div {
  min-width: 180px;
  flex: 1 1 180px;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: white;
}

.payment-history-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.payment-history-grid strong {
  color: var(--text-dark);
  font-family: "Space Grotesk", sans-serif;
}

.payment-history-actions {
  justify-content: flex-end;
  margin-top: 16px;
}

.payments-empty-state {
  padding: 22px;
  border: 1px dashed rgba(13, 22, 40, 0.18);
  border-radius: var(--radius-md);
  color: var(--muted-dark);
  background: #f8fafc;
}

.dashboard-summary .dashboard-card-header .status-chip {
  background: rgba(209, 250, 229, 0.18);
  color: #d1fae5;
}

.dashboard-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dark);
  line-height: 1.9;
}

.dashboard-list strong {
  color: var(--text-dark);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .feature-grid,
  .faq-grid,
  .pricing-grid,
  .split-section,
  .access-layout,
  .checkout-layout,
  .dashboard-grid,
  .secondary-grid,
  .status-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .pricing-controls,
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .nav {
    flex-wrap: wrap;
  }

  .cookie-banner,
  .dashboard-heading,
  .dashboard-actions,
  .dashboard-header-actions,
  .renewal-inline-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-shell {
    padding-top: 34px;
  }

  .hero {
    min-height: 58vh;
  }

  .hero-content {
    min-height: 58vh;
    padding-top: 96px;
    padding-bottom: 40px;
  }

  .hero-intro h1 {
    max-width: none;
  }

  .brand img {
    width: 200px;
  }

  .topbar-inner {
    min-height: auto;
    padding: 14px 0;
  }

  .topbar-actions,
  .nav {
    width: 100%;
  }

  .login-form-actions,
  .dashboard-actions {
    flex-direction: column;
  }

  .panel-access-layout {
    gap: 18px;
  }
}
