:root {
  --bg: #051411;
  --bg-dark: #020908;
  --bg-soft: #0a1d19;
  --panel: rgba(9, 31, 26, 0.88);
  --panel-strong: rgba(10, 37, 31, 0.96);
  --panel-muted: rgba(255, 255, 255, 0.04);
  --accent: #0b6b4f;
  --accent-bright: #0ec994;
  --accent-soft: rgba(14, 201, 148, 0.14);
  --text: #f2f8f6;
  --text-muted: #8fb5a9;
  --text-soft: #b9d4cb;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(14, 201, 148, 0.26);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --max: 1180px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

@font-face {
  font-family: "Geist Sans";
  src: url("https://assets.codepen.io/605876/GeistVF.ttf") format("truetype");
}

@property --angle {
  inherits: true;
  initial-value: 0deg;
  syntax: "<angle>";
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 107, 79, 0.22) 0%, transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(14, 201, 148, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, rgba(8, 36, 29, 0.42) 0%, transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body.menu-open,
body.consent-locked {
  overflow: hidden;
}

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(14, 201, 148, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(2, 9, 8, 0.84), rgba(2, 9, 8, 0.94));
  backdrop-filter: blur(20px);
}

.consent-panel {
  width: min(560px, calc(100vw - 24px));
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(14, 201, 148, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 31, 26, 0.98), rgba(4, 16, 14, 0.97));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.consent-panel[data-consent-state="blocked"] {
  border-color: rgba(14, 201, 148, 0.22);
  box-shadow: 0 26px 88px rgba(0, 0, 0, 0.5);
}

.consent-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.consent-brand img {
  width: 92px;
  height: auto;
}

.consent-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.consent-eyebrow {
  color: var(--accent-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-product {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.consent-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.consent-copy {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.consent-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.consent-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.consent-links a {
  color: var(--accent-bright);
  font-weight: 700;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.consent-actions .btn {
  min-width: 164px;
}

@media (max-width: 640px) {
  .consent-overlay {
    padding: 14px;
  }

  .consent-panel {
    width: min(100%, calc(100vw - 12px));
    padding: 22px;
    border-radius: 24px;
  }

  .consent-brand {
    gap: 10px;
    margin-bottom: 14px;
  }

  .consent-brand img {
    width: 74px;
  }

  .consent-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(14, 201, 148, 0.2);
}

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

.site-utility-bar {
  position: relative;
  z-index: 42;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(1, 7, 6, 0.94), rgba(1, 7, 6, 0.82));
  backdrop-filter: blur(16px);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-block: 4px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.utility-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.utility-label {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility-clock {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.utility-language-group {
  position: relative;
}

.utility-language-menu {
  position: relative;
}

.utility-language-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.utility-language-menu > summary::-webkit-details-marker {
  display: none;
}

.utility-language-menu > summary:hover,
.utility-language-menu[open] > summary {
  color: var(--text);
  border-color: rgba(14, 201, 148, 0.22);
  background: rgba(14, 201, 148, 0.12);
}

.utility-language-icon,
.utility-language-caret {
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.utility-language-icon {
  width: 15px;
  height: 15px;
}

.utility-language-current {
  min-width: 2ch;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.utility-language-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.utility-language-menu[open] > summary .utility-language-caret {
  transform: rotate(180deg);
}

.utility-language-panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  min-width: 188px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(8, 29, 24, 0.98), rgba(3, 14, 12, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.utility-language-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.utility-language-option:hover,
.utility-language-option[aria-current="true"] {
  color: var(--text);
  border-color: rgba(14, 201, 148, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.utility-language-option[aria-current="true"] {
  background: rgba(14, 201, 148, 0.12);
}

.utility-language-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.utility-language-option[aria-current="true"] .utility-language-code {
  background: rgba(14, 201, 148, 0.18);
  color: var(--text);
}

.utility-language-name {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

[dir="rtl"] .utility-language-menu > summary {
  flex-direction: row-reverse;
}

[dir="rtl"] .utility-language-panel {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

[dir="rtl"] .utility-language-option {
  grid-template-columns: 1fr auto;
  text-align: right;
}

[dir="rtl"] .page-lede,
[dir="rtl"] .section-intro,
[dir="rtl"] .section-copy,
[dir="rtl"] .guide-chat-head,
[dir="rtl"] .guide-chat-note,
[dir="rtl"] .legal-panel,
[dir="rtl"] .faq-answer,
[dir="rtl"] .timeline-card,
[dir="rtl"] .card,
[dir="rtl"] .support-card,
[dir="rtl"] .article-card,
[dir="rtl"] .showcase-panel,
[dir="rtl"] .signal-card,
[dir="rtl"] .footer-bottom {
  text-align: right;
}

.utility-clock {
  font-variant-numeric: tabular-nums;
}

.utility-separator {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(14, 201, 148, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(2, 9, 8, 0.88), rgba(2, 9, 8, 0.48));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-mark {
  width: 112px;
  height: 78px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-tag {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-group,
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .site-nav {
  gap: 12px;
}

.site-header .nav-group,
.site-header .nav-cta {
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header .nav-link {
  padding: 9px 11px;
  border-radius: 16px;
  font-size: 0.84rem;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

.nav-link.subtle {
  color: var(--text);
  opacity: 0.82;
}

.nav-link.subtle:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  position: relative;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .nav-cta .btn {
  padding: 9px 13px;
  font-size: 0.86rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0d7d5c);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(11, 107, 79, 0.28);
}

.btn-light {
  background: var(--text);
  color: #082119;
}

@media (hover: hover) and (pointer: fine) {
  .btn[data-hover-note]::before,
  .btn[data-hover-note]::after {
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .btn[data-hover-note]::before {
    content: attr(data-hover-note);
    bottom: calc(100% + 12px);
    width: max-content;
    max-width: 220px;
    padding: 8px 10px;
    border: 1px solid rgba(14, 201, 148, 0.18);
    border-radius: 12px;
    background: rgba(5, 20, 17, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    z-index: 5;
  }

  .btn[data-hover-note]::after {
    content: "";
    bottom: calc(100% + 6px);
    border-top: 6px solid rgba(5, 20, 17, 0.96);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    z-index: 4;
  }

  .site-header .nav-cta .btn[data-hover-note]::before {
    top: calc(100% + 12px);
    bottom: auto;
  }

  .site-header .nav-cta .btn[data-hover-note]::after {
    top: calc(100% + 6px);
    bottom: auto;
    border-top: 0;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(5, 20, 17, 0.96);
    border-left: 6px solid transparent;
  }

  .btn[data-hover-note]:hover::before,
  .btn[data-hover-note]:hover::after,
  .btn[data-hover-note]:focus-visible::before,
  .btn[data-hover-note]:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-text {
  padding-inline: 0;
  color: var(--text);
}

.btn-wide {
  min-width: 170px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero-shell {
  padding: 0 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.hero-visual-stack {
  display: grid;
  gap: 18px;
  align-self: start;
}

.scene {
  transform-style: preserve-3d;
  transition: transform 1s 3s;
  -webkit-animation: spin calc(var(--speed) * 1s) infinite linear running;
  animation: spin calc(var(--speed) * 1s) infinite linear running;
}

.button-wrap {
  display: flex;
  justify-content: center;
}

.hero-signal-scene {
  --spectrum:
    #53139c 0deg,
    #6d21dc 72deg,
    #2d59ff 136deg,
    #17adff 182deg,
    #0bd77b 246deg,
    #68da1d 320deg,
    #53139c 360deg;
  --blur: 12;
  --brightness: 1.25;
  --border: 2;
  --speed: 4;
  --line: hsl(0 0% 98% / 0.15);
  --transition: 0.25s;
  --cover: 0.3;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 18px;
}

.hero-signal-wrap {
  width: 100%;
}

.hero-signal-button {
  --intent: 0;
  --active: 0;
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-height: 37px;
  padding: 8px 24px;
  border-radius: 12px;
  border: calc(var(--border) * 1px) solid transparent;
  position: relative;
  background:
    linear-gradient(180deg, rgba(2, 9, 8, 0.88), rgba(2, 9, 8, 0.48)) padding-box,
    linear-gradient(#000 40%, #0000 60%) border-box,
    conic-gradient(from var(--angle, 0deg), var(--spectrum)) 50% 50% / 200% 200% border-box;
  font-family: "Geist Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 80;
  font-variation-settings: "wght" 80;
  letter-spacing: 1px;
  cursor: pointer;
  color: #ffffff;
  text-align: center;
  text-transform: none;
}

.hero-signal-button::before {
  content: "";
  height: calc(50% + (var(--border) * 1px));
  width: calc(100% + (var(--border) * 2px));
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% 0;
  z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--spectrum)) 50% 100% / 200% 200% border-box;
  border-radius: 50% 50% 12px 12px / 20px 20px 12px 12px;
  filter: blur(calc(var(--blur) * 1px)) brightness(calc(var(--brightness)));
  scale: calc((0.5 + (var(--intent, 0) * 0.46)) - var(--active, 0));
  transition: scale var(--transition);
}

.hero-signal-button::after {
  content: "";
  position: absolute;
  inset: calc(var(--border) * -1px);
  pointer-events: none;
  border: calc(var(--border) * 1px) solid hsl(0 0% 0% / var(--cover, 0.25));
  border-radius: 12px;
  opacity: calc(1 - var(--intent, 0));
  transition: opacity var(--transition);
}

.hero-signal-button:is(:hover, :focus-visible) {
  --intent: 1;
  outline: none;
}

.hero-signal-button:active {
  --active: 1;
}

@-webkit-keyframes spin {
  to {
    --angle: 360deg;
  }
}

@keyframes spin {
  to {
    --angle: 360deg;
  }
}

.badge-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.page-title,
.section-title,
.cta-title {
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.hero-title {
  margin-top: 0;
  font-size: clamp(3.3rem, 7vw, 6rem);
  max-width: 11ch;
}

[lang="ar"] .hero-title,
[lang="ar"] .page-title {
  font-weight: 680;
  letter-spacing: -0.024em;
  line-height: 1.14;
}

[lang="ar"] .section-title,
[lang="ar"] .cta-title {
  font-weight: 680;
  letter-spacing: -0.022em;
  line-height: 1.14;
}

[lang="ar"] .hero-title {
  font-size: clamp(2.7rem, 5.2vw, 4.5rem);
  max-width: 12ch;
}

[lang="ar"] .hero-shell .hero-copy {
  padding-block-start: 18px;
}

.hero-lede,
.page-lede {
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  max-width: 52ch;
}

.hero-subtle {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 58ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.micro-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: var(--text-muted);
}

.micro-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-visual,
.page-hero-visual,
.surface-card,
.card,
.price-card,
.article-card,
.quote-card,
.form-card,
.support-card,
.timeline-card,
.legal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 31, 26, 0.96), rgba(5, 20, 17, 0.94));
  box-shadow: var(--shadow);
}

.hero-visual,
.page-hero-visual {
  min-height: 560px;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.hero-visual::before,
.page-hero-visual::before,
.card::before,
.price-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(14, 201, 148, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.console-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  height: 100%;
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-dots {
  display: flex;
  gap: 8px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.console-tag {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(14, 201, 148, 0.1);
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
  padding-inline-end: 6px;
}

.chat-item {
  max-width: 88%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.chat-item.visible {
  opacity: 1;
  transform: none;
}

.chat-item.user {
  align-self: flex-end;
  text-align: end;
}

.chat-item.ai {
  align-self: flex-start;
}

.chat-meta {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-bubble {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.chat-item.user .chat-bubble {
  background: rgba(10, 55, 42, 0.7);
  border-color: rgba(14, 201, 148, 0.18);
}

.console-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-chip {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metric-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.metric-chip span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.floating-note {
  position: absolute;
  inset-inline-end: 24px;
  inset-block-end: 24px;
  z-index: 1;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(14, 201, 148, 0.18);
  background: rgba(6, 26, 21, 0.92);
  color: var(--text-soft);
}

.partner-strip {
  position: relative;
  margin-top: 8px;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(4, 15, 13, 0.88), rgba(1, 7, 6, 0.92));
  overflow: hidden;
}

[dir="rtl"] .partner-strip {
  direction: ltr;
}

.partner-strip::before,
.partner-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(28px, 8vw, 92px);
  pointer-events: none;
}

.partner-strip::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, rgba(2, 9, 8, 0.96), rgba(2, 9, 8, 0));
}

.partner-strip::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, rgba(2, 9, 8, 0.96), rgba(2, 9, 8, 0));
}

[dir="rtl"] .partner-strip::before {
  background: linear-gradient(270deg, rgba(2, 9, 8, 0.96), rgba(2, 9, 8, 0));
}

[dir="rtl"] .partner-strip::after {
  background: linear-gradient(90deg, rgba(2, 9, 8, 0.96), rgba(2, 9, 8, 0));
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  padding: 16px 0;
  animation: scroll-track 56s linear infinite;
  will-change: transform;
}

[dir="rtl"] .partner-track {
  animation: scroll-track-rtl 56s linear infinite;
  justify-content: flex-start;
}

.partner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-inline: 30px 10px;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

[dir="rtl"] .partner-kicker {
  direction: rtl;
  unicode-bidi: isolate;
}

.partner-kicker::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 201, 148, 0.42), rgba(14, 201, 148, 0));
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.partner-chip img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.partner-chip span {
  display: inline-block;
}

@keyframes scroll-track {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-track-rtl {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-signal-scene {
    animation: none;
  }

  .partner-track {
    animation: none;
    padding-inline: 18px;
  }
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(2, 9, 8, 0.35), rgba(2, 9, 8, 0.15)),
    var(--bg-dark);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading,
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: 12ch;
}

.section-intro,
.section-copy {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.section-heading-chat {
  align-items: stretch;
}

.guide-chat-card {
  width: min(100%, 520px);
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(14, 201, 148, 0.14);
  background:
    radial-gradient(circle at top right, rgba(14, 201, 148, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 31, 26, 0.96), rgba(5, 20, 17, 0.94));
  box-shadow: var(--shadow);
}

.guide-chat-head {
  display: grid;
  gap: 4px;
}

.guide-chat-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-chat-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #43d17f;
  box-shadow: 0 0 0 0 rgba(67, 209, 127, 0.48);
  animation: guideChatPulse 1.8s ease-out infinite;
}

.guide-chat-head strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.guide-chat-head span,
.guide-chat-note,
.guide-chat-sources,
.guide-chat-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.guide-chat-log {
  display: grid;
  gap: 12px;
  min-height: 168px;
  max-height: 320px;
  padding-right: 4px;
  overflow: auto;
}

[dir="rtl"] .guide-chat-log {
  padding-right: 0;
  padding-left: 4px;
}

.guide-chat-item {
  display: grid;
  gap: 6px;
}

.guide-chat-item-user {
  justify-items: end;
}

.guide-chat-item-ai {
  justify-items: start;
}

.guide-chat-bubble {
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #000000;
  color: var(--text-soft);
}

.guide-chat-bubble p,
.guide-chat-bubble ul {
  margin: 0;
}

.guide-chat-bubble p + p,
.guide-chat-bubble p + ul,
.guide-chat-bubble ul + p,
.guide-chat-bubble ul + ul {
  margin-top: 10px;
}

.guide-chat-bubble ul {
  padding-inline-start: 18px;
}

.guide-chat-bubble li + li {
  margin-top: 8px;
}

.guide-chat-bubble.is-streaming p:last-child::after,
.guide-chat-bubble.is-streaming li:last-child::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.02em;
  margin-inline-start: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  vertical-align: -0.14em;
  animation: guideChatCursor 0.9s steps(1, end) infinite;
}

.guide-chat-item-user .guide-chat-bubble {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.08);
}

.guide-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.guide-chat-form input {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #222928;
  color: var(--text);
}

.guide-chat-form input::placeholder {
  color: var(--text-muted);
}

.guide-chat-form input:focus {
  outline: none;
  border-color: rgba(14, 201, 148, 0.3);
  box-shadow: 0 0 0 4px rgba(14, 201, 148, 0.08);
}

.guide-chat-form .btn {
  min-width: 108px;
}

.guide-chat-status {
  margin: -4px 0 0;
}

@keyframes guideChatPulse {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(67, 209, 127, 0.48);
    opacity: 0.88;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(67, 209, 127, 0);
    opacity: 1;
  }

  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(67, 209, 127, 0);
    opacity: 0.88;
  }
}

@keyframes guideChatCursor {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.section-copy strong {
  color: var(--text);
}

.grid-2,
.grid-3,
.grid-4,
.bento-grid,
.resource-grid,
.price-grid,
.support-grid,
.footer-grid,
.legal-grid,
.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bento-grid {
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  grid-auto-rows: minmax(220px, auto);
}

.bento-grid .card:nth-child(1) {
  grid-row: span 2;
}

.bento-grid .card:nth-child(4) {
  grid-column: span 2;
}

.card,
.article-card,
.quote-card,
.timeline-card,
.support-card,
.legal-panel {
  border-radius: var(--radius-md);
  padding: 24px;
}

.card h3,
.article-card h3,
.support-card h3,
.price-card h3,
.timeline-card h3 {
  margin: 16px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.card p,
.article-card p,
.support-card p,
.timeline-card p,
.price-card p,
.quote-card p {
  margin: 0;
  color: var(--text-muted);
}

.card strong,
.price-card strong,
.article-card strong,
.support-card strong {
  color: var(--text);
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(14, 201, 148, 0.1);
  color: var(--accent-bright);
  border: 1px solid rgba(14, 201, 148, 0.18);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.check-list,
.tag-list,
.mini-list,
.timeline-list,
.bullet-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li,
.mini-list li,
.bullet-list li {
  display: flex;
  gap: 10px;
  color: var(--text-soft);
}

.check-list li::before,
.mini-list li::before,
.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 0.56rem;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(14, 201, 148, 0.1);
}

.tag-list {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  gap: 12px;
}

.tag-list li,
.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-weight: 700;
}

.showcase-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.chatbot-stage {
  display: grid;
}

.chatbot-window {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 31, 26, 0.96), rgba(5, 20, 17, 0.94));
  box-shadow: var(--shadow);
}

.chatbot-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(14, 201, 148, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.chatbot-top,
.chatbot-message,
.chatbot-pill-row {
  position: relative;
  z-index: 1;
}

.chatbot-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.chatbot-top strong {
  color: var(--text);
}

.chatbot-message {
  max-width: 90%;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.7;
}

.chatbot-message.user {
  margin-left: auto;
  background: rgba(10, 55, 42, 0.7);
  border-color: rgba(14, 201, 148, 0.18);
}

[dir="rtl"] .chatbot-message.user {
  margin-left: 0;
  margin-right: auto;
}

.chatbot-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.showcase-panel strong {
  font-size: 1.08rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: -0.06em;
}

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

.quote-card {
  display: grid;
  gap: 20px;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.quote-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  min-height: 100%;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-weight: 800;
}

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

.price-card {
  border-radius: 30px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(14, 201, 148, 0.28);
  background: linear-gradient(180deg, rgba(11, 107, 79, 0.24), rgba(5, 20, 17, 0.94));
}

.price-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-amount {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
}

.price-amount strong {
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: -0.08em;
  line-height: 1;
}

.price-amount span {
  color: var(--text-muted);
  font-weight: 700;
}

.pricing-hero .page-title {
  max-width: 10ch;
}

.pricing-callout {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.pricing-callout strong {
  color: var(--text);
}

.pricing-stage {
  display: grid;
  gap: 0;
  border-radius: 30px;
  border: 1px solid rgba(14, 201, 148, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 201, 148, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(9, 31, 26, 0.96), rgba(4, 16, 14, 0.94));
}

.pricing-stage .small-label {
  margin-bottom: 8px;
}

.pricing-stage-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.pricing-stage-row:first-of-type {
  border-top: 0;
}

.pricing-stage-row strong {
  color: var(--accent-bright);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: end;
}

.pricing-stage-row.tight strong {
  color: var(--text);
}

.pricing-stage-note {
  margin: 16px 0 0;
  color: var(--text-muted);
}

.billing-lane {
  min-height: 100%;
}

.billing-lane h2 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
}

.price-meta {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.plan-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.plan-fact {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.plan-fact span {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-fact strong {
  display: block;
  margin-top: 6px;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.plan-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.plan-meta-list li {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.86rem;
}

.pack-card:not(.featured) {
  background: linear-gradient(180deg, rgba(8, 29, 24, 0.96), rgba(4, 16, 14, 0.94));
}

.credit-rule-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.credit-rule-grid .stat-card {
  min-height: 100%;
}

.credit-rule-grid .stat-card strong {
  font-size: 1.38rem;
  line-height: 1.05;
}

.pricing-boundary-grid {
  align-items: start;
  margin-top: 24px;
}

.boundary-panel {
  min-height: 100%;
}

.boundary-panel.off {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.boundary-panel.off .check-list li::before {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.addon-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.comparison-table {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  text-align: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
  color: var(--text-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  font-size: 1.06rem;
  font-weight: 800;
  text-align: start;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.faq-item[data-open="true"] .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--text-muted);
}

.faq-item[data-open="true"] .faq-answer {
  display: block;
}

.page-hero {
  padding: 54px 0 22px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.page-title {
  margin-top: 22px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 11ch;
}

[lang="ar"] .page-title {
  font-size: clamp(2.1rem, 4.3vw, 3.55rem);
  max-width: 13ch;
}

.page-hero-compact .page-title {
  max-width: 15ch;
}

.hero-side-grid {
  display: grid;
  gap: 16px;
}

.signal-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.resource-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.article-card .meta,
.resource-meta,
.small-label {
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.55rem;
}

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

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.form-card {
  border-radius: 30px;
  padding: 28px;
}

.form-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.field-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(14, 201, 148, 0.35);
  box-shadow: 0 0 0 4px rgba(14, 201, 148, 0.08);
}

.form-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.form-response {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(14, 201, 148, 0.2);
  background: rgba(14, 201, 148, 0.08);
  color: var(--text-soft);
}

.aside-panel {
  display: grid;
  gap: 16px;
}

.legal-grid {
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 10px;
}

.legal-sidebar a {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-weight: 700;
}

.legal-panel {
  border-radius: 30px;
  padding: 28px;
  display: grid;
  gap: 28px;
}

.legal-panel section {
  display: grid;
  gap: 10px;
}

.legal-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.legal-panel p,
.legal-panel li {
  margin: 0;
  color: var(--text-muted);
}

.legal-panel ul {
  margin: 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 8px;
}

.hero-grid > *,
.page-hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.price-grid > *,
.timeline > *,
.support-grid > *,
.resource-grid > *,
.form-layout > *,
.legal-grid > *,
.section-heading > *,
.split-heading > * {
  min-width: 0;
}

.legal-sidebar a,
.legal-panel p,
.legal-panel li,
.legal-panel a {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.cta-band {
  padding: 36px;
  border-radius: 34px;
  border: 1px solid rgba(14, 201, 148, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(14, 201, 148, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(10, 36, 31, 0.92), rgba(4, 18, 15, 0.96));
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.cta-band p {
  max-width: 58ch;
  color: var(--text-muted);
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 9, 8, 0.82);
}

.footer-grid {
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-muted);
}

.footer-col {
  display: grid;
  gap: 12px;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.muted {
  color: var(--text-muted);
}

.accent {
  color: var(--accent-bright);
}

.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .form-layout,
  .grid-4,
  .resource-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bento-grid .card:nth-child(1),
  .bento-grid .card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline,
  .support-grid,
  .price-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-rule-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-heading,
  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero-copy,
  .page-title,
  .section-title {
    max-width: none;
  }

  .guide-chat-card {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .utility-inner {
    min-height: 44px;
    gap: 12px 18px;
    justify-content: center;
  }

  .utility-group {
    justify-content: center;
  }

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

  .brand-mark {
    width: 98px;
    height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 104px;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(6, 22, 18, 0.98), rgba(3, 14, 12, 0.96));
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-grid,
  .grid-2,
  .nav-group,
  .nav-cta,
  .footer-grid,
  .grid-3,
  .grid-4,
  .page-hero-grid,
  .form-layout,
  .resource-grid,
  .price-grid,
  .support-grid,
  .timeline,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .nav-group,
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-link,
  .nav-link.subtle {
    display: block;
    justify-content: flex-start;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-group .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hero-shell,
  .page-hero {
    padding-top: 0;
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 500px;
  }

  [lang="ar"] .hero-shell .hero-copy {
    padding-block-start: 0;
  }

  .console-foot,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .credit-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-stage-row {
    flex-direction: column;
    gap: 6px;
  }

  .pricing-stage-row strong {
    text-align: start;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .utility-inner {
    flex-direction: column;
    gap: 8px;
    padding-block: 8px;
  }

  .utility-group,
  .utility-clock {
    justify-content: center;
  }

  .utility-language-panel {
    inset-inline-start: 50%;
    transform: translateX(-50%);
    min-width: 176px;
  }

  .brand-name {
    font-size: 1.36rem;
  }

  .brand-mark {
    width: 86px;
    height: 60px;
  }

  .brand-tag {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    margin-top: 10px;
    font-size: clamp(2.6rem, 14vw, 4.1rem);
  }

  .hero-lede,
  .page-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    gap: 10px;
  }

  .button-row {
    align-items: stretch;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .button-row .tag-pill {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: start;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-visual {
    display: none;
  }

  .hero-signal-scene {
    display: none;
  }

  .hero-visual,
  .page-hero-visual,
  .card,
  .article-card,
  .price-card,
  .form-card,
  .support-card,
  .timeline-card,
  .legal-panel,
  .chatbot-window,
  .cta-band {
    border-radius: 24px;
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 460px;
    padding: 18px;
  }

  .console-bar {
    align-items: start;
    flex-direction: column;
  }

  .chat-bubble {
    padding: 16px;
    font-size: 0.96rem;
  }

  .chat-item {
    max-width: 100%;
  }

  .bento-grid,
  .grid-2,
  .grid-3,
  .timeline,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-grid .full {
    grid-column: auto;
  }

  .guide-chat-log {
    min-height: 150px;
    max-height: 260px;
  }

  .guide-chat-form {
    grid-template-columns: 1fr;
  }

  .guide-chat-form .btn {
    width: 100%;
  }

  [lang="sv"] .page-title,
  [lang="sv"] .section-title,
  [lang="sv"] .cta-title {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  [lang="sv"] .page-title {
    max-width: none;
    font-size: clamp(2.25rem, 11.8vw, 3.55rem);
  }

  [lang="ar"] .page-title,
  [lang="ar"] .section-title,
  [lang="ar"] .cta-title {
    max-width: none;
  }

  [lang="ar"] .page-title {
    font-size: clamp(1.9rem, 9.6vw, 2.95rem);
  }

  [lang="ar"] .hero-title {
    font-size: clamp(2.15rem, 10.8vw, 3.35rem);
    max-width: none;
  }

  [lang="sv"] .showcase-panel,
  [lang="sv"] .price-card,
  [lang="sv"] .timeline-card,
  [lang="sv"] .legal-panel {
    padding: 20px;
  }

  [lang="sv"] .plan-fact strong,
  [lang="sv"] .plan-meta-list li,
  [lang="sv"] .pricing-stage-row,
  [lang="sv"] .showcase-panel p,
  [lang="sv"] .timeline-card p {
    overflow-wrap: anywhere;
  }

  .plan-facts,
  .credit-rule-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  [lang="sv"] .comparison-table table {
    min-width: 520px;
  }

  [lang="sv"] .comparison-table th,
  [lang="sv"] .comparison-table td {
    padding: 14px 12px;
  }

  [lang="sv"] .comparison-table th {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  [lang="sv"] .comparison-table td {
    font-size: 0.9rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
    align-items: start;
    justify-items: center;
    text-align: center;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .site-footer .footer-brand .brand {
    justify-content: center;
    margin-inline: auto;
  }

  .site-footer .footer-brand .brand-copy {
    align-items: center;
  }

  .site-footer .footer-brand p {
    margin-inline: auto;
    max-width: 32ch;
  }

  .site-footer .footer-grid > .footer-col:nth-child(2) {
    display: none;
  }

  .site-footer .footer-col {
    justify-items: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
  }

  .site-footer .footer-col h4,
  .site-footer .footer-col a {
    font-size: 0.84rem;
  }

  .site-footer .footer-bottom,
  .footer-bottom,
  .quote-meta {
    flex-direction: column;
  }

  .site-footer .footer-bottom {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-bottom span {
    max-width: 34ch;
    margin-inline: auto;
  }

.pricing-callout {
  font-size: 0.94rem;
}
}

.back-to-top {
  position: fixed;
  inset-inline-end: 24px;
  inset-block-end: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(14, 201, 148, 0.24);
  background:
    linear-gradient(180deg, rgba(9, 31, 26, 0.96), rgba(5, 20, 17, 0.94));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(14, 201, 148, 0.42);
  background:
    linear-gradient(180deg, rgba(12, 43, 35, 0.98), rgba(6, 25, 21, 0.96));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
  outline: none;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .back-to-top {
    inset-inline-end: 16px;
    inset-block-end: 16px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}
