:root {
  color-scheme: light;
  /* Chatruletka blue palette */
  --bg: #edf4f9;
  --surface: #ffffff;
  --surface-soft: #e1edf6;
  --surface-cyan: #edf4f9;
  --ink: #394c73;
  --ink-strong: #1e2b47;
  --muted: #526a8d;
  --muted-soft: #60789a;
  --line: #e8eff5;
  --line-strong: #c1d6e6;
  --primary: #255aa0;
  --primary-hover: #1f4c88;
  --primary-bright: #248bf2;
  --primary-ink: #ffffff;
  --accent-cyan: #83cce4;
  --accent-cyan-ink: #163f78;
  --success: #247a3d;
  --danger: #f24949;
  --focus-color: #176dcc;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 5px var(--focus-color);
  --radius: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --gutter: clamp(16px, 4vw, 24px);
  --z-sticky: 20;
  --z-skip: 40;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
}

html[lang="ar"] {
  --font-heading: Tahoma, "Segoe UI", Arial, sans-serif;
  --font-body: Tahoma, "Segoe UI", Arial, sans-serif;
}

html[lang="hi"] {
  --font-heading: "Nirmala UI", Mangal, "Noto Sans Devanagari", sans-serif;
  --font-body: "Nirmala UI", Mangal, "Noto Sans Devanagari", sans-serif;
}

html[lang="ja"] {
  --font-heading: "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif;
  --font-body: "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif;
}

html[lang^="zh"] {
  --font-heading: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

html[lang="ko"] {
  --font-heading: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-body: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(.hero-title, .hero-copy, .section-head, .plan-tagline, .plan-features, .pricing-fineprint, .faq-item, .footer-copy) {
  overflow-wrap: anywhere;
}

html[lang="de"] :where(.hero-title, .hero-copy, .section-head, .plan-card, .faq-item) {
  hyphens: auto;
}

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

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
}

button {
  font: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  inset-inline-start: 12px;
  z-index: var(--z-skip);
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
}

.site-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

#pricing,
#compare,
#faq {
  scroll-margin-top: calc(80px + env(safe-area-inset-top));
}

/* ═══════════════ Header ═══════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  padding-top: env(safe-area-inset-top);
  background: var(--primary);
  border-bottom: 0;
  box-shadow: 0 2px 6px rgba(21, 49, 89, 0.28);
}

.site-header .site-inner {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 168px;
  height: 36px;
  background: #fff;
  -webkit-mask: url("./assets/chatruletka-wordmark.svg") center / contain no-repeat;
  mask: url("./assets/chatruletka-wordmark.svg") center / contain no-repeat;
}

.plan-name,
.compare-table thead th:not(:first-child) {
  direction: ltr;
  unicode-bidi: isolate;
}

.primary-nav {
  display: flex;
  margin-inline-start: auto;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.primary-nav :is(a, .nav-static) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 12px;
  color: rgba(255, 255, 255, 0.92);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-static,
.footer-static {
  cursor: default;
}

.site-header :where(a, button):focus-visible {
  outline-color: #fff;
  outline-offset: -3px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

/* ═══════════════ Buttons ═══════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 160ms var(--ease-out);
}

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

.btn:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ═══════════════ Hero ═══════════════ */

.hero {
  position: relative;
  padding: 64px 0 48px;
  text-align: center;
  background: var(--bg);
}

.hero-inner {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--line-strong);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-eyebrow svg {
  width: 12px;
  height: 12px;
}

.hero-title {
  margin: 0 0 18px;
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: clamp(2.125rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-copy {
  margin: 0 auto 30px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ═══════════════ Section head ═══════════════ */

.section-head {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 36px;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 3.6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ═══════════════ Billing toggle ═══════════════ */

.billing-toggle {
  display: inline-flex;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.billing-toggle label {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.billing-toggle label > span {
  min-width: 0;
}

.billing-toggle label:has(input:focus-visible) {
  box-shadow: var(--focus-ring);
}

.billing-toggle label:has(input:checked) {
  background: var(--primary);
  color: #fff;
}

.billing-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing-toggle em {
  font-style: normal;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: var(--accent-cyan-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.billing-toggle label:has(input:checked) em {
  background: #fff;
  color: var(--accent-cyan-ink);
}

.billing-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* ═══════════════ Pricing ═══════════════ */

.pricing {
  padding: 32px 0 56px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
  }

}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.plan-name {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

[dir="rtl"] .plan-name {
  text-align: right;
}

.plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-heading);
}

.price-currency {
  order: 1;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 1.375rem;
  font-weight: 700;
}

.price-value {
  order: 2;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  order: 3;
  margin-inline-start: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
}

.plan-price[data-currency-position="after"] .price-value {
  order: 1;
}

.plan-price[data-currency-position="after"] .price-currency {
  order: 2;
  margin-inline-start: 4px;
}

.plan-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.plan-features li strong {
  font-weight: 700;
}

.plan-features li > :last-child {
  min-width: 0;
}

.tick {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--success);
}

.plan-cta {
  width: 100%;
}

.pricing-fineprint {
  margin: 28px auto 0;
  max-width: 640px;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.5;
}

/* ═══════════════ Compare table ═══════════════ */

.compare {
  padding: 56px 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-table-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 8px max(var(--gutter), env(safe-area-inset-left));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.compare-table-wrap:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: -3px;
}

.compare-hint {
  display: none;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: visible;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  padding-top: 20px;
  padding-bottom: 20px;
  background: var(--surface-cyan);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.compare-table thead th:first-child {
  border-start-start-radius: calc(var(--radius-md) - 1px);
}

.compare-table thead th:last-child {
  border-start-end-radius: calc(var(--radius-md) - 1px);
}

.compare-table tbody th {
  text-align: start;
  font-weight: 400;
  color: var(--ink);
}

.compare-table td.ok {
  color: var(--success);
  font-weight: 700;
  font-size: 1.125rem;
}

.compare-table td.no {
  color: var(--muted-soft);
  font-size: 1.125rem;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:last-child th {
  border-end-start-radius: calc(var(--radius-md) - 1px);
}

.compare-table tbody tr:last-child td:last-child {
  border-end-end-radius: calc(var(--radius-md) - 1px);
}

/* ═══════════════ FAQ ═══════════════ */

.faq {
  padding: 64px 0 56px;
}

.faq-list {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 180ms var(--ease-out);
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline-offset: -4px;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-inline-start: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 200ms var(--ease-out), border-color 160ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--primary);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ═══════════════ Footer ═══════════════ */

.site-footer {
  position: relative;
  margin-top: 72px;
  padding: 112px 0 max(32px, env(safe-area-inset-bottom));
  border-top: 0;
  background: #315d91;
}

.site-footer::before {
  position: absolute;
  inset: -72px 0 auto;
  height: 72px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath fill='%23315d91' d='M0 14c216 82 538 60 828 10C1068-18 1282-2 1440 0v72H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.site-footer .site-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
}

.footer-brand-logo {
  display: block;
  width: 140px;
  height: 30px;
  background: #fff;
  -webkit-mask: url("./assets/chatruletka-wordmark.svg") center / contain no-repeat;
  mask: url("./assets/chatruletka-wordmark.svg") center / contain no-repeat;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: #dbe8f5;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav :is(a, .footer-static) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-copy {
  margin: 0;
  color: #dbe8f5;
  font-size: 0.8125rem;
}

/* ═══════════════ Responsive ═══════════════ */

@media (min-width: 721px) and (max-width: 960px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    row-gap: 24px;
  }

  .plan-card[data-plan="pro"] {
    width: calc((100% - 16px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .site-header .site-inner {
    min-height: 60px;
    gap: 16px;
  }

  .brand-logo {
    width: 154px;
    height: 33px;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 60px - env(safe-area-inset-top));
    margin-inline-start: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    overflow-y: auto;
    background: var(--primary-hover);
    border-bottom: 0;
    box-shadow: 0 7px 10px rgba(21, 49, 89, 0.24);
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out), visibility 0s linear 180ms;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .primary-nav :is(a, .nav-static) {
    min-height: 48px;
    padding-inline: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1rem;
  }

  .primary-nav > :last-child {
    border-bottom: 0;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }
}

@media (max-width: 720px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 24px;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .hero-trust {
    display: grid;
    max-width: 330px;
    margin: 0 auto;
    gap: 10px;
    text-align: start;
  }

  .pricing {
    padding-top: 24px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .billing-toggle {
    width: min(100%, 340px);
  }

  .billing-toggle label {
    flex: 1;
    justify-content: center;
    padding-inline: 12px;
  }

  .pricing-fineprint {
    text-align: start;
  }

  .compare .section-head {
    margin-bottom: 20px;
  }

  .compare-hint {
    display: block;
    margin: 0;
    font-size: 0.875rem;
  }

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

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.875rem;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
  }

  .compare-table tbody th {
    width: 210px;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--line);
  }

  .compare-table thead th:first-child {
    z-index: 2;
    background: var(--surface-cyan);
  }
}

[dir="rtl"] .compare-table tbody th {
  box-shadow: -1px 0 0 var(--line);
}

@media (max-width: 420px) {
  .plan-card {
    padding: 26px 20px;
  }

  .hero-eyebrow {
    margin-bottom: 16px;
  }

  .price-value {
    font-size: 2.5rem;
  }
}

@media (pointer: coarse) {
  .primary-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
