/* Obsidian landing page */

:root {
  --bg: #0E1013;
  --panel: #16181C;
  --border: #262A31;
  --text: #E8ECF2;
  --muted: #8A93A2;
  --accent: #22D3EE;
  --accent-hi: #67E8F9;
  --accent-dk: #0E7490;

  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

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

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #fff;
}

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

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

/* ---------- Living backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 48%, rgba(34, 211, 238, 0.055), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 0%, #12151A, transparent 60%),
    var(--bg);
}

#crystal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2.6s ease, transform 3.2s var(--ease-out);
}

#crystal.is-ready {
  opacity: 1;
  transform: none;
}

/* A dark scrim behind the hero copy keeps text crisp over the crystal. */
.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 34% 20% at 50% 50%, rgba(14, 16, 19, 0.62), transparent 100%),
    radial-gradient(ellipse 90% 85% at 50% 50%, transparent 55%, rgba(5, 6, 8, 0.7) 100%);
}

/* Film grain: static, nearly invisible, removes gradient banding. */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.085) 0%, rgba(34, 211, 238, 0.03) 32%, transparent 66%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: transform;
}

.has-pointer .cursor-glow {
  opacity: 1;
}

/* ---------- Top bar ---------- */

.topbar,
.hero,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  z-index: 5; /* above the hero so the language panel is not covered */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 40px);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
  transition: transform 0.6s var(--ease-out), filter 0.6s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55));
}

.nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 28px);
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Language menu ---------- */

.lang {
  position: relative;
  flex: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.6);
  color: var(--muted);
  font: 500 13px/1 var(--font);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.lang-btn:hover,
.lang.is-open .lang-btn {
  color: var(--text);
  border-color: #3A404A;
  background: rgba(22, 24, 28, 0.85);
}

.lang.is-open .lang-btn {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 22px -8px rgba(34, 211, 238, 0.5);
}

.lang-btn:focus-visible {
  border-radius: 999px;
  outline-offset: 2px;
}

.lang-icon,
.lang-chevron {
  width: 14px;
  height: 14px;
  flex: none;
}

.lang-chevron {
  transition: transform 0.3s var(--ease-out);
}

.lang.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 20;
  width: 288px;
  max-width: calc(100vw - var(--gutter) * 2);
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(19, 21, 25, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.3);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}

/* A thin cyan sliver along the top edge, echoing the crystal rim. */
.lang-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24%;
  right: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.7), transparent);
}

.lang.is-open .lang-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out), visibility 0s;
}

.lang-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.lang-search-icon {
  position: absolute;
  inset-inline-start: 12px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.lang-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  padding-inline-start: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 400 14px/1 var(--font);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-input::placeholder {
  color: var(--muted);
}

.lang-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.lang-list {
  max-height: min(340px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #2E333B transparent;
}

.lang-option {
  display: grid;
  grid-template-columns: 1fr auto 16px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-option[hidden] {
  display: none;
}

.lang-option.is-active {
  background: rgba(34, 211, 238, 0.09);
}

.lang-english {
  color: var(--muted);
  font-size: 12px;
}

.lang-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  opacity: 0;
}

.lang-option[aria-selected="true"] {
  color: var(--accent-hi);
}

.lang-option[aria-selected="true"] .lang-check {
  opacity: 1;
}

.lang-empty {
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- On-device translation notices ---------- */

.tr-toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - var(--gutter) * 2);
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(19, 21, 25, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.8), 0 0 24px -12px rgba(34, 211, 238, 0.35);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.tr-toast.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s;
}

.tr-toast[data-state="info"],
.tr-toast[data-state="busy"] {
  padding-inline-end: 16px;
}

.tr-spin {
  display: none;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: tr-spin 0.9s linear infinite;
}

.tr-toast[data-state="busy"] .tr-spin {
  display: block;
}

@keyframes tr-spin {
  to { transform: rotate(360deg); }
}

.tr-text {
  font-variant-numeric: tabular-nums;
}

.tr-toast[data-state="action"] .tr-text {
  display: none;
}

.tr-btn {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #0B0D10;
  font: 550 13px/1 var(--font);
  cursor: pointer;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.tr-btn[hidden] {
  display: none;
}

.tr-btn:hover {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.7), 0 0 20px -4px rgba(34, 211, 238, 0.5);
}

.tr-btn:focus-visible {
  border-radius: 999px;
}

.tr-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.05);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tr-note[hidden] {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4vh var(--gutter) 10vh;
  text-align: center;
}

.wordmark {
  margin: 0;
  padding: 0 0.04em 0.06em;
  font-size: clamp(3.75rem, 15.5vw, 11rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.058em;
  background: linear-gradient(180deg, #FAFCFE 8%, #E8ECF2 46%, #8F98A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 42px rgba(34, 211, 238, 0.16)) drop-shadow(0 2px 18px rgba(0, 0, 0, 0.6));
}

.wordmark-dot {
  margin-left: 0.02em;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.75), 0 0 48px rgba(34, 211, 238, 0.35);
  animation: dot-breathe 6s ease-in-out infinite;
}

@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.tagline {
  margin-top: clamp(14px, 2.2vw, 26px);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  letter-spacing: -0.012em;
  text-shadow: 0 1px 12px rgba(14, 16, 19, 0.9);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(32px, 4.5vw, 48px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

.btn-icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn-badge {
  margin-inline-start: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(14, 16, 19, 0.08);
  color: #4A525E;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.btn-badge[hidden] {
  display: none;
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

button.btn {
  font-family: var(--font);
  cursor: pointer;
}

button.btn:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.btn-primary {
  background: var(--text);
  color: #0B0D10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 24px -14px rgba(34, 211, 238, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(103, 232, 249, 0.7),
    0 0 26px -2px rgba(34, 211, 238, 0.5),
    0 14px 36px -12px rgba(34, 211, 238, 0.55);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(22, 24, 28, 0.55);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(22, 24, 28, 0.8);
  box-shadow: 0 0 24px -8px rgba(34, 211, 238, 0.45);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3A404A;
}

.pro-tag {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 7px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  color: var(--accent-hi);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Load sequence */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.2s var(--ease-out) forwards;
}

.r1 { animation-delay: 0.15s; }
.r2 { animation-delay: 0.3s; }
.r3 { animation-delay: 0.42s; }
.r4 { animation-delay: 0.55s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* The wordmark uses filter; keep its rise free of filter conflicts. */
.wordmark.reveal {
  transform: translateY(22px);
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter) max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(38, 42, 49, 0.55);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer .nav-link {
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .nav-link {
    font-size: 13px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
  }

  .footer {
    flex-direction: column-reverse;
    gap: 8px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .wordmark.reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .wordmark-dot {
    animation: none;
  }

  #crystal {
    transform: none;
    transition: opacity 0.4s ease;
  }

  .btn,
  .brand-mark,
  .nav-link::after,
  .skip-link,
  .lang-panel,
  .lang.is-open .lang-panel,
  .lang-chevron,
  .tr-toast,
  .tr-toast.is-shown {
    transition: none;
  }

  .tr-spin {
    animation: none;
  }

  .btn:hover,
  .brand:hover .brand-mark {
    transform: none;
  }
}

/* ---------- Pricing ---------- */

html {
  scroll-behavior: smooth;
}

.pricing {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 110px) var(--gutter) clamp(40px, 6vh, 80px);
}

.pricing-head {
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.pricing-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  color: var(--accent-hi);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fafcfe, #c4cbd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pricing-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(22, 24, 28, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 60px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier:hover {
  transform: translateY(-4px);
  border-color: #3a404a;
}

.tier-pro {
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(22, 24, 28, 0.6) 60%);
  box-shadow: inset 0 1px 0 rgba(103, 232, 249, 0.14), 0 0 0 1px rgba(34, 211, 238, 0.12), 0 30px 70px -30px rgba(34, 211, 238, 0.3);
}

.tier-pro:hover {
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: inset 0 1px 0 rgba(103, 232, 249, 0.2), 0 0 0 1px rgba(34, 211, 238, 0.25), 0 30px 80px -26px rgba(34, 211, 238, 0.45);
}

.tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #06232b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 20px -4px rgba(34, 211, 238, 0.7);
}

.tier-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tier-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}

.tier-price-amt {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tier-price-term {
  color: var(--muted);
  font-size: 14px;
}

.tier-desc {
  min-height: 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.tier-cta {
  width: 100%;
  margin: 22px 0 20px;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.tier-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.tier-feat::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.buy-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
}

.buy-agree input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

.buy-agree a {
  color: var(--accent-hi);
}

.buy .tier-cta {
  margin: 0 0 10px;
}

.buy-disc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.pricing-note {
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.faq {
  max-width: 760px;
  margin: clamp(52px, 8vw, 90px) auto 0;
}

.faq-title {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid rgba(38, 42, 49, 0.7);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 550;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-q::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-q:hover {
  color: var(--accent-hi);
}

.faq-a {
  padding: 0 4px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pm {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 8, 10, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pm[hidden] {
  display: none;
}

.pm-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px 26px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 18px;
  background: rgba(19, 21, 25, 0.96);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgba(34, 211, 238, 0.4);
  text-align: center;
}

.pm-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
}

.pm-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.pm-text {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .tiers {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .tier-pro {
    order: -1;
  }
}

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

  .tier,
  .faq-q::after {
    transition: none;
  }

  .tier:hover {
    transform: none;
  }
}
