/* Bee AI Studio – the "Volt" language of the app on the web: a deep night page with electric lime
   as the single accent, translucent surfaces and heavy, tight headlines. Dark only, like the app.
   Logical properties throughout, so Arabic mirrors cleanly. */

:root {
  --bg: #07090f;
  --bg-raised: #11141c;
  --fg: #f2f3ee;
  --fg-2: rgba(242, 243, 238, 0.68);
  --fg-3: rgba(242, 243, 238, 0.48);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #c5f05a;
  --on-accent: #0b1004;
  --glow: rgba(197, 240, 90, 0.16);
  --header-bg: rgba(7, 9, 15, 0.72);
  --tab-active: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.7);
  --night: #0d1017;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 20px;
  --radius: 24px;
  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* MARK: Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 620px at 18% -180px, var(--glow), transparent 70%) no-repeat, var(--bg);
  color: var(--fg);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
}

h1, h2 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.7rem); }
h1 > span, h2 > span { display: block; }

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

p { margin: 0; }
.accent { color: var(--accent); }

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ar) h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem); }
:lang(ar) h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); }
:lang(ru) h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.8rem); }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.container.narrow { width: min(100% - 2 * var(--gutter), 760px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12.5px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: var(--accent);
}

:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; font-family: var(--font); font-weight: 600; }

.lead {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 36em;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 12px; }

/* MARK: Mark and wordmark */

.mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  direction: ltr;
}

.mark i { border-radius: 28%; background: var(--fg); }
.mark i:first-child { background: var(--accent); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

/* MARK: Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button,
.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 16.5px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover, a.store:hover { background: #d2f57a; }
.button:active, a.store:active { transform: scale(0.97); }

.button-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.button-ghost:hover { background: var(--surface-2); }

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14.5px;
}

.store { padding: 0 26px 0 20px; gap: 12px; }
.store-icon { width: 26px; height: 26px; stroke-width: 1.6; }

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-text small { font-size: 11.5px; font-weight: 600; opacity: 0.72; }
.store-text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.store.is-soon { cursor: default; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }

/* MARK: Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.nav { display: flex; gap: 26px; }

.nav a {
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--fg); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tool:hover { background: var(--surface-2); }
.tool-label { font: 600 12.5px/1 var(--font-mono); letter-spacing: 0.04em; }

.popover { position: relative; }

.popover-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 200px;
  padding: 6px;
  border-radius: 18px;
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgba(0, 0, 0, 0.35);
}

.popover-menu[hidden] { display: none; }

.popover-menu a,
.popover-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  font-size: 15px;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.popover-menu a { justify-content: space-between; }
.popover-menu a:hover, .popover-menu button:hover { background: var(--surface-2); }
.popover-menu [aria-current="true"] { font-weight: 650; }
.popover-menu a .icon { color: var(--accent); width: 18px; height: 18px; }

.menu-button { display: none; }
.menu-close { display: none; }
.menu-button[aria-expanded="true"] .menu-open { display: none; }
.menu-button[aria-expanded="true"] .menu-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding-block: 8px 24px;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mobile-menu .button { display: flex; margin-top: 20px; border: 0; font-size: 17px; color: var(--on-accent); }

@media (max-width: 959px) {
  .nav { display: none; }
  .menu-button { display: inline-flex; }
}

@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 639px) {
  .header-tools > .button-small { display: none; }
}

/* MARK: Sections */

.section {
  padding-block: clamp(64px, 8vw, 112px);
  scroll-margin-top: 40px;
}

.section-head { display: grid; gap: 18px; justify-items: start; }
.section-head.center { justify-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

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

/* MARK: Hero */

.hero { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 104px); }

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 72px; }
}

.hero h1 { margin-block: 0 24px; }

.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-2);
  font-size: 14.5px;
}

.notes li { display: inline-flex; align-items: center; gap: 7px; }
.notes .icon { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.4; }

.hero-visual { width: min(100%, 500px); margin-inline: auto; }

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
}

.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile.is-swapping img { opacity: 0; transform: scale(1.04); }

.tile.is-lit, .shot-photo.is-lit {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.tile figcaption {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-start: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.chip:hover { color: var(--fg); background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }

.autoplay { width: 36px; min-width: 36px; height: 36px; padding: 0; }
.autoplay .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.autoplay .when-paused { display: none; }
.autoplay.is-paused .when-paused { display: block; }
.autoplay.is-paused .when-playing { display: none; }

/* MARK: Marketplaces */

.marketplaces {
  padding-block: 30px 34px;
  border-block: 1px solid var(--line);
}

.marketplaces-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-3);
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 48px;
  margin: 0;
  padding: 0 48px 0 0;
  list-style: none;
  animation: marquee 70s linear infinite;
}

.marquee-track li {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg-3);
  white-space: nowrap;
}

.marquee-track li.more { font-weight: 500; font-size: 17px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-shrink: 1; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0 var(--gutter); animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* MARK: Before / after */

.compare-grid { display: grid; gap: 56px; align-items: center; }

@media (min-width: 960px) {
  .compare-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 80px; }
}

.slider {
  --pos: 50%;
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-after { clip-path: inset(0 0 0 var(--pos)); }

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.slider-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.slider-handle span::before,
.slider-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid #0b0e14;
  border-left: 2px solid #0b0e14;
}

.slider-handle span::before { left: 12px; transform: rotate(-45deg); }
.slider-handle span::after { right: 12px; transform: rotate(135deg); }

.slider input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.slider:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }

.slider-label {
  position: absolute;
  top: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font: 600 11.5px/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

:lang(ar) .slider-label { font-family: var(--font); font-size: 13px; letter-spacing: 0; }
.slider-label.before { left: 14px; }
.slider-label.after { right: 14px; background: var(--accent); color: var(--on-accent); }

.points {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.num {
  font: 600 13px/1.9 var(--font-mono);
  color: var(--accent);
}

.points h3 { margin-bottom: 4px; }
.points p { color: var(--fg-2); }

/* MARK: How it works */

.steps {
  display: grid;
  gap: 64px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

.step { text-align: center; }
.step p:last-child { max-width: 30em; margin-inline: auto; color: var(--fg-2); }
.step h3 { margin-block: 6px 8px; font-size: 1.3rem; }

.step-num {
  margin-top: 32px;
  font: 600 13px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--accent);
}

.phone {
  position: relative;
  container-type: inline-size;
  width: min(100%, 280px);
  margin-inline: auto;
  border: 10px solid #111318;
  border-radius: 15% / 7%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow), 0 40px 80px -48px rgba(0, 0, 0, 0.6);
}

.phone img { width: 100%; height: auto; }

.phone::after {
  content: "";
  position: absolute;
  top: 2.6cqw;
  left: 50%;
  width: 28cqw;
  height: 8.2cqw;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

/* MARK: Four photos */

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 960px) {
  .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.shot-photo {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.shot-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot:hover .shot-photo img { transform: scale(1.04); }
.shot h3 { margin-block: 18px 6px; }
.shot p { color: var(--fg-2); font-size: 15.5px; }

.extras {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .extras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.extra {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.extra h3 { margin-bottom: 6px; }
.extra p { color: var(--fg-2); font-size: 15.5px; }

.extra-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
}

.extra-icon .icon { width: 22px; height: 22px; }

/* MARK: Night panels (trust, call to action) */

.night-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 80px);
  border-radius: 36px;
  background: radial-gradient(760px 420px at 88% -12%, rgba(197, 240, 90, 0.17), transparent 70%), var(--night);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trust-panel { display: grid; gap: 40px; align-items: center; }

@media (min-width: 960px) {
  .trust-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

.trust-list { margin: 0; padding: 0; list-style: none; }

.trust-list li {
  display: flex;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.trust-list li:first-child { border-top: 0; padding-top: 0; }
.trust-list li:last-child { padding-bottom: 0; }
.trust-list .extra-icon { margin: 0; flex-shrink: 0; }
.trust-list h3 { margin-bottom: 4px; }
.trust-list p { color: var(--fg-2); font-size: 15.5px; }

.cta-panel {
  display: grid;
  gap: 48px;
  padding-bottom: 0;
}

@media (min-width: 860px) {
  .cta-panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; }
}

.cta-copy { padding-bottom: clamp(32px, 6vw, 80px); align-self: center; }
.cta-copy .lead { margin-top: 20px; }
.requires { margin-top: 14px; font-size: 13.5px; color: var(--fg-3); }
.cta-phone { align-self: end; }
.cta-phone .phone { width: min(100%, 300px); margin-bottom: -140px; border-bottom: 0; }

@media (max-width: 859px) {
  .cta-copy { padding-bottom: 0; }
}

/* MARK: Pricing */

.free-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 48px auto 0;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.free-mark .mark { width: 36px; height: 36px; }
.free-card p { color: var(--fg-2); margin-top: 2px; }

.tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
}

.tabs button {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 18px;
  line-height: 1.2;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.tabs [aria-selected="true"] {
  background: var(--tab-active);
  color: var(--fg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.price-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.price-grid[hidden] { display: none; }

@media (min-width: 860px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.price-card.is-popular {
  background: radial-gradient(420px 240px at 100% 0, rgba(197, 240, 90, 0.16), transparent 70%), var(--night);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.price-card h3 { font-size: 17px; color: var(--fg-2); }

.badge {
  position: absolute;
  top: 26px;
  inset-inline-end: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
}

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.price strong { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.price span { color: var(--fg-3); font-size: 16px; }
.credits { margin-block: 6px 22px; font-weight: 650; }

.price-facts {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--fg-2);
  font-size: 15px;
}

.price-facts li { display: flex; gap: 8px; align-items: center; }
.price-facts .icon { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.4; }

.fine {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--fg-3);
}

/* MARK: FAQ */

.faq-grid { display: grid; gap: 40px; }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .faq .section-head { position: sticky; top: 104px; }
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform 0.25s ease; color: var(--fg-3); }
.faq-list details[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-list details p { max-width: 62ch; padding-bottom: 24px; color: var(--fg-2); }

/* MARK: Footer */

.site-footer {
  padding-block: 64px 36px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.footer-top { display: grid; gap: 36px; }

@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
}

.footer-brand p { max-width: 28ch; margin-top: 14px; color: var(--fg-2); }

.footer-col h2 {
  margin-bottom: 12px;
  font: 600 12px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

:lang(ar) .footer-col h2 { font-family: var(--font); letter-spacing: 0; font-size: 13px; }

.footer-col a {
  display: block;
  width: fit-content;
  padding-block: 5px;
  color: var(--fg-2);
  text-decoration: none;
}

.footer-col a:hover { color: var(--fg); }
.footer-col a[aria-current="true"] { color: var(--fg); font-weight: 650; }
.footer-languages { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 20px; }

.footer-bottom {
  display: grid;
  gap: 6px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 13px;
}

/* MARK: Support, legal and 404 pages */

.page-main { padding-block: clamp(48px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.page-main h1 { margin-block: 18px 20px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }

.support-list {
  display: grid;
  gap: 14px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.support-list h2 { margin-bottom: 6px; font-size: 18px; letter-spacing: -0.01em; font-weight: 700; line-height: 1.3; }
.support-list p { color: var(--fg-2); }

.legal section { margin-top: 44px; scroll-margin-top: 88px; }

.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.legal p, .legal li { color: var(--fg-2); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-inline-start: 22px; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--fg); }
.legal a, .support-list a { color: var(--accent); }
.page-links { margin-top: 56px; }

.not-found-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 40px;
  font-size: 14px;
}

.not-found-languages a { color: var(--fg-3); text-decoration: none; }
.not-found-languages a:hover { color: var(--fg); }
