@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700,900&display=swap');.film-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #151515;
}

.film-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.08) contrast(1.03) brightness(0.92);
}

.film-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 248, 237, 0.12), transparent 34%),
    radial-gradient(circle at 78% 54%, rgba(0, 212, 148, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.28) 32%, rgba(8, 8, 8, 0.1) 58%, rgba(8, 8, 8, 0.58)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.32), rgba(8, 8, 8, 0.08) 42%, rgba(8, 8, 8, 0.8));
  pointer-events: none;
}

.is-android-device .film-canvas {
  filter: none;
}

.is-android-device .film-grade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.18) 46%, rgba(8, 8, 8, 0.58)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.76));
}

.is-android-device .story-card {
  transition: opacity 880ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 880ms cubic-bezier(0.23, 1, 0.32, 1),
              filter 880ms cubic-bezier(0.23, 1, 0.32, 1);
}

.is-android-device .loader,
.is-android-device .nav-right button,
.is-android-device .nav-right a,
.is-android-device .hero-actions a,
.is-android-device .hero-actions button,
.is-android-device .beat-meta span,
.is-android-device .industry-strip span,
.is-android-device .pricing-backdrop,
.is-android-device .close-button {
  backdrop-filter: none;
}

.loader {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: clamp(22px, 5vw, 72px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 248, 237, 0.22);
  border-radius: 999px;
  padding: 12px 15px;
  background: rgba(8, 8, 8, 0.34);
  color: #fff8ed;
  backdrop-filter: blur(18px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.loader.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.loader span,
.loader strong {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 58px);
  pointer-events: none;
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72), transparent);
  pointer-events: none;
}

.brand,
.nav-right {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff8ed;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5);
}

.brand img {
  width: 42px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.brand span {
  display: inline-block;
}

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

.is-arabic {
  direction: rtl;
  font-family: var(--body);
}

.is-arabic .brand {
  direction: ltr;
}

.is-arabic .nav-right,
.is-arabic .hero-actions,
.is-arabic .beat-meta,
.is-arabic .plan-head,
.is-arabic .plan-title-row,
.is-arabic .addon-row {
  flex-direction: row-reverse;
}

.is-arabic .plan-price {
  align-items: flex-start;
}

.is-arabic .plan-price strong,
.is-arabic .plan-price small {
  text-align: left;
}

.is-arabic .intro-panel,
.is-arabic .story-card,
.is-arabic .closing-panel,
.is-arabic .pricing-window {
  text-align: right;
}

.is-arabic .closing-panel {
  text-align: center;
}

.is-arabic .intro-panel h1,
.is-arabic .closing-panel h2 {
  max-width: 1060px;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 1.02;
}

.is-arabic .story-card h2 {
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.08;
}

.is-arabic .story-card:nth-child(odd) {
  justify-self: start;
}

.is-arabic .story-card:nth-child(even) {
  justify-self: end;
}

.is-arabic .plan-card li {
  padding-right: 17px;
  padding-left: 0;
}

.is-arabic .plan-card li::before {
  right: 0;
  left: auto;
}

.is-arabic .close-button {
  right: auto;
  left: 22px;
}

.film-label {
  position: absolute;
  top: 50%;
  z-index: 1;
  pointer-events: none;
  color: #00d494;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.film-label--right {
  right: clamp(200px, 22vw, 300px);
  transform: translateY(-50%);
}
.film-label--left {
  left: clamp(130px, 15vw, 210px);
  transform: translateY(-50%);
}
.film-label--center {
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-right button,
.nav-right a,
.hero-actions a,
.hero-actions button,
.closing-panel button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 248, 237, 0.3);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.12);
  color: #fff8ed;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.nav-right button {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 248, 237, 0.78);
  transition: all 300ms ease;
}

.nav-right button:hover {
  background: rgba(255, 248, 237, 0.08);
  color: #fff8ed;
}

.language-toggle {
  border: 1px solid rgba(255, 248, 237, 0.15) !important;
  background: rgba(255, 248, 237, 0.05) !important;
  color: #fff8ed !important;
  font-weight: 600;
}

.language-toggle:hover {
  background: rgba(255, 248, 237, 0.12) !important;
  border-color: rgba(255, 248, 237, 0.3) !important;
}

.scroll-stage {
  position: relative;
  z-index: 1;
}

.intro-panel,
.closing-panel {
  height: 100svh;
  padding: clamp(60px, 10vh, 120px) clamp(22px, 7vw, 112px) clamp(40px, 6vh, 80px);
  overflow: hidden;
}

.intro-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.closing-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.closing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.closing-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-rights {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.closing-contacts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.contact-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
}

.contact-icon span {
  display: none;
}

.contact-icon:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon:hover span {
  display: inline;
}

.contact-icon--whatsapp {
  color: #00d494;
}

.contact-icon--whatsapp:hover {
  border-color: rgba(0, 212, 148, 0.2);
  background: rgba(0, 212, 148, 0.07);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #00d494;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-panel .eyebrow::before {
  content: '';
  width: 14px;
  height: 2px;
  background: #ff6b35;
  border-radius: 1px;
}

.intro-panel h1,
.closing-panel h2 {
  width: min(860px, 100%);
  margin: 16px 0 18px;
  color: #fff8ed;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.48);
}

.intro-panel h1 {
  font-size: clamp(44px, 6vw, 80px);
}

.closing-panel h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-bottom: 20px;
}

.closing-panel .btn--primary {
  margin-top: 32px;
}

.intro-panel p {
  width: min(640px, 100%);
  margin: 0;
  color: rgba(255, 248, 237, 0.82);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
}

.closing-panel p {
  margin: 0;
  color: rgba(255, 248, 237, 0.82);
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 560px;
  line-height: 1.6;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions a {
  border-color: rgba(0, 212, 148, 0.4);
  background: #00a878;
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  width: min(760px, 100%);
  margin-top: 14px;
}

.industry-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 237, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 248, 237, 0.08);
  color: rgba(255, 248, 237, 0.86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.story-rail {
  min-height: 650vh;
  position: relative;
  padding: 0 clamp(20px, 6vw, 96px);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
}

.story-card {
  grid-area: 1 / 1;
  position: relative;
  width: min(540px, 100%);
  padding: 10vh 0;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(20px);
  letter-spacing: 0.2em;
  transition: opacity 880ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 880ms cubic-bezier(0.23, 1, 0.32, 1),
              filter 880ms cubic-bezier(0.23, 1, 0.32, 1),
              letter-spacing 880ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}


.story-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  letter-spacing: -0.015em;
  pointer-events: auto;
}

.story-card.is-before {
  opacity: 0;
  transform: translateY(-30px) scale(1.05);
  filter: blur(20px);
  letter-spacing: 0.3em;
}

.story-card.is-after {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(20px);
}
.story-card::before {
  content: '';
  position: absolute;
  inset: -10vh -10vw;
  background: radial-gradient(circle at center, rgba(8, 8, 8, 0.35) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.story-card:nth-child(odd) {
  justify-self: end;
}

.beat-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.beat-meta span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 212, 148, 0.5);
  border-radius: 50%;
  color: #fff8ed;
  font-family: var(--heading);
  font-weight: 700;
  background: rgba(8, 8, 8, 0.22);
  backdrop-filter: blur(14px);
}

.beat-meta strong {
  color: #00d494;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #fff8ed;
  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.story-card p {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 0;
  color: rgba(255, 248, 237, 0.84);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-hud {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  z-index: 25;
  display: grid;
  gap: 12px;
  justify-items: center;
  transform: translateY(-50%);
  color: #fff8ed;
  pointer-events: none;
}

.progress-hud span {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
}

.progress-hud div {
  width: 3px;
  height: 180px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.24);
}

.progress-hud i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #00d494;
  transform-origin: top;
}

.pricing-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  animation: fadeBackdrop 300ms ease forwards;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.is-arabic .pricing-backdrop {
  justify-content: center;
}

@keyframes fadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pricing-window {
  position: relative;
  width: min(1160px, 100%);
  height: auto;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  border: 1px solid rgba(123, 185, 216, 0.4);
  border-radius: 28px;
  padding: clamp(20px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 88% 2%, rgba(123, 185, 216, 0.28), transparent 31%),
    radial-gradient(circle at 5% 39%, rgba(211, 235, 247, 0.72), transparent 35%),
    #f8fbfd;
  color: #1d1b19;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  animation: slideWindow 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.is-arabic .pricing-window {
  border: 1px solid rgba(123, 185, 216, 0.4);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.is-arabic .close-button {
  right: auto;
  left: 22px;
}

@keyframes slideWindow {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-head {
  width: min(760px, calc(100% - 64px));
  flex-shrink: 0;
  margin-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 27, 25, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #1d1b19;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 220ms ease, transform 220ms ease;
}

.close-button:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.pricing-window h2 {
  margin: 8px 0 10px;
  font-family: var(--heading);
  max-width: 760px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.pricing-head p {
  margin: 0;
  color: #59636a;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
}

.plan-grid {
  display: grid;
  /* The launch card spans the full row; the three current monthly plans then
     share the available width evenly. This intentionally avoids a leftover
     empty grid column after retiring the former five-plan range. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
}

.plan-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(123, 185, 216, 0.52);
  border-radius: 16px;
  background: #ffffff;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(45, 91, 116, 0.14);
  border-color: rgba(79, 150, 188, 0.72);
}

.plan-card.featured {
  grid-column: 1 / -1;
  border-color: #7bb9d8;
  background:
    radial-gradient(circle at 93% 8%, rgba(123, 185, 216, 0.25), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #f1f9fd 100%);
  transform: none;
  box-shadow: 0 14px 34px rgba(43, 91, 115, 0.12);
}

.plan-card:not(.featured) .plan-head {
  display: block;
  margin-bottom: 0;
}

.plan-card:not(.featured) .plan-price {
  align-items: flex-start;
  margin-top: 8px;
}

.plan-card:not(.featured) .plan-price strong,
.plan-card:not(.featured) .plan-price small {
  text-align: left;
}

.plan-card:not(.featured) p {
  min-height: 34px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
}

.plan-card:not(.featured) ul {
  grid-template-columns: 1fr;
  gap: 4px;
  padding-top: 9px;
}

.plan-card:not(.featured) li {
  font-size: 11px;
  line-height: 1.25;
}

.plan-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(43, 91, 115, 0.18);
  border-color: #4f96bc;
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.plan-chip {
  border: 1px solid rgba(79, 150, 188, 0.28);
  border-radius: 999px;
  padding: 6px 9px 5px;
  color: #2e799e;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: 2px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #1d1b19;
  color: #e5f4fb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(18px, 1.65vw, 23px);
}

.plan-price strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.plan-price del {
  color: #8d847b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration-thickness: 1.5px;
}

.plan-price small {
  display: block;
  color: #2e799e;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.plan-card p,
.addon-row span {
  color: #59636a;
  line-height: 1.45;
}

.plan-card p {
  margin: 0 0 4px;
  font-size: 14px;
}

.plan-card ul {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid rgba(30, 33, 29, 0.08);
}

.plan-card li {
  position: relative;
  padding-left: 17px;
  color: rgba(29, 27, 25, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.plan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f96bc;
}

.addon-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  border: 1px solid rgba(123, 185, 216, 0.46);
  border-radius: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.82);
}

.addon-row div {
  display: grid;
  gap: 8px;
}

.addon-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #1e211d;
  color: #fff8ed;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 760px) {
  .film-grade {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.54), rgba(8, 8, 8, 0.12) 34%, rgba(8, 8, 8, 0.82)),
      linear-gradient(90deg, rgba(8, 8, 8, 0.54), rgba(8, 8, 8, 0.14));
  }

  .loader {
    left: 20px;
    right: 20px;
    bottom: 22px;
    justify-content: space-between;
  }

  .site-nav {
    padding: 18px 16px;
  }

  /* Center film label collides with the brand on narrow screens */
  .film-label--center {
    display: none;
  }

  .brand {
    font-size: 13px;
    letter-spacing: 0.18em;
    gap: 8px;
  }

  .brand img {
    width: 34px;
  }

  .nav-right span,
  .nav-right button:not(.language-toggle) {
    display: none;
  }

  .nav-right {
    gap: 8px;
  }

  .language-toggle {
    min-height: 40px;
    border-color: rgba(255, 248, 237, 0.22) !important;
    background: rgba(255, 248, 237, 0.1) !important;
    padding: 0 11px !important;
    color: #fff8ed !important;
  }

  .nav-right a {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .intro-panel,
  .closing-panel {
    height: 100svh;
    padding: clamp(50px, 8vh, 90px) 20px clamp(30px, 5vh, 60px);
  }

  .intro-panel h1,
  .closing-panel h2 {
    width: min(100%, 520px);
    font-size: clamp(36px, 10.4vw, 52px);
    line-height: 1.05;
    margin: 14px 0 18px;
  }

  .is-arabic .intro-panel h1,
  .is-arabic .closing-panel h2 {
    font-size: clamp(38px, 10.4vw, 54px);
    line-height: 1.08;
  }

  .intro-panel p {
    font-size: 17px;
    line-height: 1.55;
  }

  .closing-panel p {
    font-size: 16px;
    line-height: 1.55;
  }

  .industry-strip {
    gap: 7px;
    margin-top: 18px;
  }

  .industry-strip span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .story-rail {
    min-height: 700vh;
    padding: 0 20px;
  }

  .story-card,
  .story-card:nth-child(even) {
    justify-self: stretch;
    width: 100%;
    padding: 10vh 0 8vh;
  }

  .is-arabic .story-card,
  .is-arabic .story-card:nth-child(even),
  .is-arabic .story-card:nth-child(odd) {
    justify-self: stretch;
  }

  .story-card h2 {
    font-size: clamp(36px, 10.6vw, 52px);
    line-height: 0.96;
  }

  .is-arabic .story-card h2 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.1;
  }

  .story-card p {
    font-size: 17px;
    line-height: 1.55;
  }

  .story-card.is-before {
    filter: blur(16px);
    letter-spacing: 0.08em;
    transform: translateY(-40px) scale(1.1);
  }

  .story-card.is-after {
    filter: blur(16px);
    letter-spacing: 0.08em;
    transform: translateY(40px) scale(0.9);
  }

  .beat-meta {
    gap: 10px;
    margin-bottom: 14px;
  }

  .beat-meta span {
    width: 44px;
    height: 44px;
  }

  .progress-hud {
    right: 12px;
  }

  .progress-hud div {
    height: 120px;
  }

  /* — pricing: full bottom sheet, vertical scroll — */
  .pricing-backdrop {
    align-items: flex-end;
    padding: 0;
    background: rgba(8, 8, 8, 0.72);
  }

  .pricing-window {
    width: 100%;
    height: 94dvh;
    min-height: unset;
    max-height: 94dvh;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 20px 20px 0 0;
    padding: 0 0 max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.28);
    animation: slideUp 360ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 33, 29, 0.16) transparent;
  }

  /* drag handle */
  .pricing-window::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(29, 27, 25, 0.16);
    margin: 10px auto 0;
  }

  .pricing-head {
    width: 100%;
    margin: 0;
    padding: 12px 52px 12px 20px;
    border-bottom: 1px solid rgba(123, 185, 216, 0.3);
  }

  .is-arabic .pricing-head {
    padding: 8px 20px 9px 52px;
  }

  .pricing-window h2 {
    display: block;
    max-width: 310px;
    margin: 7px 0 5px;
    font-size: clamp(26px, 8.2vw, 34px);
    line-height: .97;
  }

  .pricing-head p {
    display: block;
    margin: 5px 0 0;
    font-size: 12px;
    color: #59636a;
    line-height: 1.3;
  }

  .pricing-head .eyebrow {
    font-size: 11px;
    line-height: 1;
  }

  .close-button {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    background: rgba(255, 253, 246, 0.94);
    box-shadow: 0 2px 10px rgba(30, 33, 29, 0.1);
  }

  .is-arabic .close-button {
    right: auto;
    left: 16px;
  }

  .plan-grid {
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 8px;
    padding: 14px 14px 10px;
    grid-template-columns: unset;
    grid-auto-rows: unset;
    align-content: unset;
  }

  /* each plan: full width, all features visible */
  .plan-card {
    flex: none;
    width: 100%;
    gap: 8px;
    padding: 15px;
    border-radius: 14px;
    cursor: default;
    transition: none;
  }

  .plan-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(30, 33, 29, 0.12);
  }

  .plan-card.featured {
    transform: none;
    box-shadow: 0 8px 22px rgba(43, 91, 115, 0.12);
  }

  .plan-card.featured:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(43, 91, 115, 0.12);
    border-color: #7bb9d8;
  }

  /* plan-head: name left, price right */
  .plan-head {
    margin-bottom: 4px;
    align-items: center;
  }

  .plan-card h3 {
    font-size: 17px;
  }

  .plan-price strong {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .plan-price small {
    font-size: 10px;
  }

  .plan-card p {
    font-size: 12px;
    margin: 0 0 6px;
    color: #70675d;
    line-height: 1.4;
  }

  .badge {
    margin-bottom: 6px;
    padding: 4px 9px;
    font-size: 9px;
  }

  /* features always fully visible */
  .plan-card ul {
    max-height: none;
    overflow: visible;
    opacity: 1;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(123, 185, 216, 0.28);
    transition: none;
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .plan-card li {
    font-size: 12px;
    padding-left: 14px;
  }

  .addon-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0 14px;
    padding: 12px;
    border: 1px solid rgba(123, 185, 216, 0.46);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .addon-row div {
    gap: 2px;
  }

  .addon-row strong {
    font-size: 14px;
  }

  .addon-row span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
  }

  .addon-row button {
    width: 100%;
    min-height: 40px;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .pricing-window {
    width: min(920px, 100%);
    padding: clamp(16px, 2vw, 22px);
  }

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

  .plan-card {
    min-height: 0;
    padding: 14px;
  }
}

/* Closing panel mobile */
@media (max-width: 760px) {
  .closing-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .closing-contacts {
    flex-wrap: wrap;
    gap: 4px;
  }

  .contact-icon span {
    display: inline;
  }

  .closing-rights {
    font-size: 11px;
  }
}

/* Notification Toast */
.notification {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.notification.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(13, 18, 22, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 148, 0.3);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.notification-icon {
  color: #00d494;
}

.notification span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   Cinematic art-direction pass
   Grain, hero choreography, tactile buttons, glowing progress
   ============================================================ */

/* — Film grain: analog texture over the scroll film — */
.film-grade::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grainShift 9s steps(6) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -5%); }
  60%  { transform: translate(-5%, -2%); }
  80%  { transform: translate(4%, 4%); }
  100% { transform: translate(0, 0); }
}

.is-android-device .film-grade::after {
  animation: none;
}

/* — Hero entrance choreography: rise + settle, staggered — */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.intro-panel .eyebrow,
.intro-panel h1,
.intro-panel p,
.intro-panel .hero-actions,
.intro-panel .industry-strip {
  animation: heroRise 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-panel .eyebrow        { animation-delay: 250ms; }
.intro-panel h1              { animation-delay: 380ms; }
.intro-panel p               { animation-delay: 540ms; }
.intro-panel .hero-actions   { animation-delay: 680ms; }
.intro-panel .industry-strip { animation-delay: 820ms; }

/* — Eyebrow dash draws itself in — */
.intro-panel .eyebrow::before {
  transform-origin: left center;
  animation: dashDraw 700ms cubic-bezier(0.16, 1, 0.3, 1) 900ms both;
}

.is-arabic .intro-panel .eyebrow::before {
  transform-origin: right center;
}

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

/* — "Begin scroll" arrow gently nudges downward — */
.hero-actions a svg {
  animation: nudgeDown 2.2s ease-in-out 2s infinite;
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(4px); }
  70% { transform: translateY(0); }
}

/* — Tactile buttons: lift, glow, and a light sweep on primary — */
.nav-right .btn--primary,
.hero-actions a,
.hero-actions button,
.closing-panel .btn--primary {
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--sb-ease-glide, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 300ms ease,
              border-color 300ms ease,
              background 300ms ease;
}

.nav-right .btn--primary:hover,
.hero-actions a:hover,
.hero-actions button:hover,
.closing-panel .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.nav-right .btn--primary:active,
.hero-actions a:active,
.hero-actions button:active,
.closing-panel .btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.hero-actions a:hover {
  background: #00b884;
  border-color: rgba(0, 212, 148, 0.7);
  box-shadow: 0 18px 48px rgba(0, 168, 120, 0.38);
}

.hero-actions a::after,
.closing-panel .btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
  transition: transform 700ms ease;
}

.hero-actions a:hover::after,
.closing-panel .btn--primary:hover::after {
  transform: translateX(130%);
}

/* — Industry chips wake up on hover — */
.industry-strip span {
  transition: transform 260ms var(--sb-ease-out, ease),
              border-color 260ms ease,
              background 260ms ease,
              color 260ms ease;
}

.industry-strip span:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 148, 0.55);
  background: rgba(0, 212, 148, 0.12);
  color: #fff8ed;
}

/* — Active story beat: number ring breathes with mint light — */
.story-card.is-active .beat-meta span {
  animation: beatGlow 3s ease-in-out infinite;
}

@keyframes beatGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 148, 0.0); border-color: rgba(0, 212, 148, 0.5); }
  50% { box-shadow: 0 0 26px 2px rgba(0, 212, 148, 0.34); border-color: rgba(0, 212, 148, 0.9); }
}

/* — Progress rail: gradient light instead of flat fill — */
.progress-hud i {
  background: linear-gradient(180deg, #00d494, #7bb8d4);
  box-shadow: 0 0 14px rgba(0, 212, 148, 0.55);
}

/* — Closing eyebrow rendered as a glowing keycap — */
.closing-panel .eyebrow {
  border: 1px solid rgba(0, 212, 148, 0.36);
  border-radius: 10px;
  padding: 9px 16px 8px;
  background: rgba(8, 8, 8, 0.3);
  box-shadow: 0 4px 0 rgba(0, 212, 148, 0.24), 0 12px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

/* — Language + pricing nav buttons ease in on load — */
.site-nav .brand,
.site-nav .nav-right {
  animation: heroRise 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

@media (max-width: 760px) {
  .notification {
    bottom: 20px;
    width: calc(100% - 40px);
  }
  
  .notification-content {
    justify-content: center;
    padding: 10px 20px;
  }

  .notification span {
    font-size: 13px;
  }
  
  .close-button {
    top: 14px;
    right: 14px;
  }
}
.workspace-loader{display:grid;min-height:100vh;place-content:center;gap:7px;padding:24px;background:#f4f6f2;color:#5f6c65;text-align:center;font:700 13px/1.4 var(--sb-body)}.workspace-loader span{color:#5b5499;font-size:10px;font-weight:900;letter-spacing:.16em}.workspace-loader strong{color:#18172c;font-size:16px}.workspace-loader small{font-size:11px;font-weight:500}
.customer-sso-bridge {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 2rem;
  color: #f8fafc;
  background: #172235;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
}

.customer-sso-bridge__mark {
  color: #7db8d7;
  font-size: 2.4rem;
  line-height: 1;
}

.customer-sso-bridge strong { font-size: clamp(1.1rem, 3vw, 1.5rem); }
.customer-sso-bridge span { color: #b9c4d3; }
/* ============================================================
   Spacebar Design System — Foundations
   Light Glassmorphism • Warm Ivory • Iridescent Glow
   ============================================================ */

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.ttf") format("truetype-variations"),
       url("/fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-VariableItalic.ttf") format("truetype-variations"),
       url("/fonts/Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Variable.woff2") format("woff2-variations"),
       url("/fonts/ClashDisplay-Variable.woff2") format("woff2"),
       url("/fonts/ClashDisplay-Variable.woff")  format("woff"),
       url("/fonts/ClashDisplay-Variable.ttf")   format("truetype-variations"),
       url("/fonts/ClashDisplay-Variable.ttf")   format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Extralight.woff2") format("woff2"), url("/fonts/ClashDisplay-Extralight.ttf") format("truetype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Light.woff2") format("woff2"), url("/fonts/ClashDisplay-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Regular.woff2") format("woff2"), url("/fonts/ClashDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Medium.woff2") format("woff2"), url("/fonts/ClashDisplay-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Semibold.woff2") format("woff2"), url("/fonts/ClashDisplay-Semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Bold.woff2") format("woff2"), url("/fonts/ClashDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* ---------- 1. Core palette ---------- */
  --sb-black:   #2E2E35;
  --sb-cream:   #FFF8ED;
  --sb-paper:   #FBF3E6;
  --sb-stone:   #E7DDCE;
  --sb-muted:   #6A9CB8;
  --sb-muted-warm: #72695E;
  --sb-mint:    #00A878;
  --sb-mint-2:  #00D494;
  --sb-orange:  #FF6B35;
  --sb-gold:    #D5861A;

  /* ---------- 2. Brand accent palette ---------- */
  --sb-lavender:    #C4A0C8;
  --sb-sky:         #7BB8D4;
  --sb-teal:        #A8D4DC;
  --sb-tan:         #8B5E3C;
  --sb-bluegrey:    #6A9CB8;
  --sb-pinkish:     #E8D8E0;
  --sb-charcoal:    #2E2E35;

  /* ---------- 3. Iridescent glow tokens ---------- */
  --sb-glow-lavender: rgba(196, 160, 200, 0.55);
  --sb-glow-sky:      rgba(123, 184, 212, 0.45);
  --sb-glow-teal:     rgba(168, 212, 220, 0.42);
  --sb-glow-pinkish:  rgba(232, 216, 224, 0.65);
  --sb-glow-amber:    rgba(255, 228, 176, 0.48);
  --sb-glow-purple: var(--sb-glow-lavender);
  --sb-glow-blush:  var(--sb-glow-pinkish);
  --sb-glow-mint:   var(--sb-glow-teal);

  /* ---------- 4. Semantic surfaces ---------- */
  --sb-bg:           var(--sb-paper);
  --sb-surface:      rgba(255, 248, 237, 0.62);
  --sb-surface-2:    rgba(255, 253, 246, 0.86);
  --sb-surface-deep: rgba(30, 33, 29, 0.04);
  --sb-border:       rgba(30, 33, 29, 0.10);
  --sb-border-2:     rgba(30, 33, 29, 0.18);
  --sb-border-glass: rgba(255, 255, 255, 0.65);

  /* ---------- 5. Text ---------- */
  --sb-fg:    var(--sb-black);
  --sb-fg-2:  rgba(30, 33, 29, 0.78);
  --sb-fg-3:  var(--sb-muted);
  --sb-fg-4:  rgba(30, 33, 29, 0.40);
  --sb-fg-inv: var(--sb-cream);

  /* ---------- 6. Semantic status ---------- */
  --sb-success: var(--sb-mint);
  --sb-warning: #E89B1A;
  --sb-danger:  #D64545;
  --sb-info:    #5B7CFA;

  /* ---------- 7. Type ---------- */
  --sb-heading: "Clash Display", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sb-body:    "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sb-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---------- 8. Type scale ---------- */
  --sb-fs-display: clamp(48px, 6vw, 88px);
  --sb-fs-h1:      clamp(36px, 4vw, 56px);
  --sb-fs-h2:      clamp(28px, 3vw, 40px);
  --sb-fs-h3:      22px;
  --sb-fs-h4:      18px;
  --sb-fs-body:    16px;
  --sb-fs-small:   14px;
  --sb-fs-micro:   12px;
  --sb-fs-eyebrow: 11px;
  --sb-lh-tight:  0.96;
  --sb-lh-snug:   1.15;
  --sb-lh-body:   1.55;
  --sb-lh-loose:  1.7;
  --sb-tracking-tight:  -0.015em;
  --sb-tracking-normal:  0;
  --sb-tracking-wide:    0.04em;
  --sb-tracking-eyebrow: 0.22em;

  /* ---------- 9. Spacing (4px base) ---------- */
  --sb-s-1: 4px;  --sb-s-2: 8px;  --sb-s-3: 12px; --sb-s-4: 16px;
  --sb-s-5: 20px; --sb-s-6: 24px; --sb-s-7: 32px; --sb-s-8: 40px;
  --sb-s-9: 56px; --sb-s-10: 72px; --sb-s-11: 96px;

  /* ---------- 10. Radii ---------- */
  --sb-r-xs:   6px;
  --sb-r-sm:   10px;
  --sb-r-md:   14px;
  --sb-r-lg:   20px;
  --sb-r-xl:   28px;
  --sb-r-2xl:  36px;
  --sb-r-pill: 999px;

  /* ---------- 11. Shadows ---------- */
  --sb-shadow-1:    0 1px 2px rgba(30,33,29,.04), 0 2px 8px rgba(30,33,29,.04);
  --sb-shadow-2:    0 2px 4px rgba(30,33,29,.04), 0 8px 24px rgba(30,33,29,.06);
  --sb-shadow-3:    0 4px 8px rgba(30,33,29,.04), 0 20px 48px rgba(30,33,29,.08);
  --sb-shadow-4:    0 8px 16px rgba(30,33,29,.04), 0 32px 80px rgba(30,33,29,.12);
  --sb-shadow-glow: 0 12px 60px -8px rgba(199,182,255,.45), 0 8px 32px -12px rgba(255,200,216,.4);
  --sb-shadow-inset-hi: inset 0 1px 0 rgba(255,255,255,.8);

  /* ---------- 12. Glass ---------- */
  --sb-blur-glass:   blur(20px) saturate(1.4);
  --sb-blur-modal:   blur(28px) saturate(1.2);
  --sb-blur-overlay: blur(8px) saturate(1.1);

  /* ---------- 13. Motion ---------- */
  --sb-ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --sb-ease-glide: cubic-bezier(0.16, 1, 0.3, 1);
  --sb-ease-quart: cubic-bezier(0.23, 1, 0.32, 1);
  --sb-dur-fast:   160ms;
  --sb-dur-base:   220ms;
  --sb-dur-slow:   400ms;
  --sb-dur-glide:  600ms;

  /* ---------- 14. Iridescent backdrop ---------- */
  --sb-iridescent-bg:
    radial-gradient(60vmax 50vmax at 12% -8%,  rgba(196,160,200,.55), transparent 62%),
    radial-gradient(55vmax 50vmax at 92% 6%,   rgba(123,184,212,.45), transparent 62%),
    radial-gradient(50vmax 45vmax at 88% 104%, rgba(168,212,220,.45), transparent 62%),
    radial-gradient(45vmax 40vmax at 4%  102%, rgba(139,94,60,.20),   transparent 62%),
    radial-gradient(45vmax 40vmax at 50% 60%,  rgba(232,216,224,.45), transparent 62%),
    var(--sb-cream);
}


:root {
  --black: #1E211D;
  --cream: #FFF8ED;
  --paper: #FBF3E6;
  --stone: #E7DDCE;
  --muted: #72695E;
  --mint: #00A878;
  --orange: #FF6B35;
  --heading: 'Clash Display', ui-sans-serif, system-ui, sans-serif;
  --body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  color: var(--black);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

::selection {
  background: var(--mint);
  color: var(--cream);
}

/* ── Global aesthetic polish ─────────────────────────────── */

/* Branded scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(30, 33, 29, 0.28);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 168, 120, 0.55);
  background-clip: padding-box;
}

/* Visible, branded keyboard focus without polluting mouse clicks */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
