/* auralize.me landing page. Design tokens are shared 1:1 with the customer panel (auralize-licensing,
   api/src/panel/theme.ts): night violet ground, Instrument Sans display, DM Sans body, rounded cards, pill buttons.
   Tokens first; everything below is built from them. Fonts: OFL, licences in /fonts. */

@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  /* panel tokens */
  --night: #120E1F;
  --night-2: #171127;
  --glow: #2E195E;
  --violet: #8F56FB;
  --violet-hi: #B08BFF;
  --deep: #6B2FE8;
  --line-tint: #C9B8F7;
  --card: rgba(255, 255, 255, .035);
  --card-hi: rgba(255, 255, 255, .06);
  --edge: rgba(201, 184, 247, .13);
  --edge-hi: rgba(201, 184, 247, .32);
  --r-card: 20px;
  --r-tile: 16px;
  --r-input: 12px;

  /* landing aliases onto the panel tokens */
  --bg: var(--night);
  --bg-raised: var(--night-2);
  --surface: var(--card);
  --surface-2: var(--card-hi);
  --line: var(--edge);
  --line-strong: var(--edge-hi);
  --text: #F5F2FB;
  --text-2: #C9C2E6;
  --text-3: #9A92BC;
  --accent: var(--violet);
  --accent-400: var(--violet-hi);
  --accent-300: var(--line-tint);
  --accent-glow: rgba(143, 86, 251, .35);
  --accent-wash: rgba(143, 86, 251, .12);
  --ok: #5EE6A8;

  --font-head: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Noto Sans Thai', sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Noto Sans Thai', sans-serif;

  --radius: var(--r-card);
  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 72px);
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: .55s;
  --shadow-shot: 0 0 0 1px var(--edge), 0 40px 100px -30px rgba(143, 86, 251, .45), 0 30px 70px rgba(0, 0, 0, .65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text);
  background: radial-gradient(900px 600px at 100% 0%, rgba(46, 25, 94, .9), transparent 70%), var(--bg);
  font: 400 16px/1.6 var(--font-body); text-wrap: pretty;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-400); text-underline-offset: 3px; }
a:hover { color: var(--accent-300); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; text-wrap: balance; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: linear-gradient(to right, rgba(201, 184, 247, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(to bottom, rgba(201, 184, 247, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 100% 0%, #000, transparent); mask-image: radial-gradient(70% 60% at 100% 0%, #000, transparent);
}
/* The lower-left glow stays put while the page scrolls. It lives on its own fixed layer (not background-attachment:
   fixed on body), so scrolling does not repaint the page background. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background: radial-gradient(800px 700px at 0% 100%, rgba(107, 47, 232, .16), transparent 70%);
}
p { margin: 0; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 3px; }
::selection { background: rgba(143, 86, 251, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }

/* --- icons --- */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.ico-sm { width: 18px; height: 18px; }
.ico-tick { width: 18px; height: 18px; color: var(--accent-400); stroke-width: 2; margin-top: 3px; }

/* --- buttons --- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap;
  font: 500 15.5px/1.1 var(--font-body); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: filter .12s, background-color .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { --btn-sh: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(143, 86, 251, .5), 0 12px 34px -14px var(--accent-glow); color: #fff; background: linear-gradient(180deg, #9A66FF, #7C45F0); box-shadow: var(--btn-sh); }
.btn-primary:hover { color: #fff; filter: brightness(1.1); }
.btn-outline { --btn-sh: inset 0 0 0 1px var(--edge-hi); color: var(--text); background: rgba(18, 14, 31, .35); box-shadow: var(--btn-sh); }
.btn-outline:hover { color: #fff; background: var(--card-hi); }
.btn-sm { min-height: 36px; padding: 8px 15px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary::after, .cta-trial .hero .hero-ctas [data-cta="trial"]::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
  .btn-primary:hover::after, .cta-trial .hero .hero-ctas [data-cta="trial"]:hover::after { transform: translateX(120%); }
  .cta-trial .hero .hero-ctas [data-os-download]::after { content: none; }
}
.btn-block { width: 100%; }
/* .btn sets display, which would otherwise override the hidden attribute (the contact form hides its button once sent). */
.btn[hidden] { display: none; }

/* --- type --- */
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 12px/1.3 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--violet-hi);
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.kicker-center { justify-content: center; }
.kicker-center::after { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.h2 { font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.025em; }
.h3x { font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; position: relative; }
.narrow { max-width: 18ch; }
.lead { margin-top: 22px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.lead-center { margin-left: auto; margin-right: auto; }
.grad {
  background: linear-gradient(100deg, #E3D8FF 0%, var(--violet-hi) 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 14, 31, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(18, 14, 31, .82); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); min-height: 64px; }
.brand-row { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 24px; width: auto; }
.tag-alpha, .pill {
  display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid rgba(176, 139, 255, .45); border-radius: 999px;
  font: 500 10.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-300); background: var(--accent-wash);
}
/* The Alpha tag opens the FAQ answer about the alpha (#faq-alpha); its hit area reaches 24px and more. */
a.tag-alpha { position: relative; text-decoration: none; transition: color .2s, border-color .2s; }
a.tag-alpha::after { content: ''; position: absolute; inset: -7px -4px; }
a.tag-alpha:hover { color: var(--text); border-color: var(--accent-400); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-mobile-only { display: none; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.nav-signin { color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.nav-signin:hover { color: var(--accent-300); }

.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font: 600 12.5px/1 var(--font-body); letter-spacing: .08em; color: var(--text-2);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--accent-400); }
.lang summary .ico { width: 16px; height: 16px; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; margin: 0; padding: 6px; list-style: none; min-width: 160px;
  background: var(--night-2); border-radius: var(--r-input); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.lang li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 14px; }
.lang li a:hover { background: var(--surface-2); color: var(--text); }
.lang li a[aria-current] { color: var(--accent-300); }

.nav-toggle { display: none; width: 40px; height: 36px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 2px; background: var(--text); position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* Five section links, Account and Buy a licence fit on one line from about 1100px in the longest language (RU);
   below that the links fold into the menu. */
@media (max-width: 1120px) {
  .nav-signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px; background: var(--night); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  }
  .nav-links.open { display: flex; }
  @media (prefers-reduced-motion: no-preference) { .nav-links.open { animation: menu-in .22s var(--ease); } @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } } }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-mobile-only { display: block; }
}
@media (max-width: 520px) {
  .nav-end { gap: 8px; }
  .lang summary span { display: none; }
  .nav-end .btn-sm { padding: 0 12px; font-size: 13px; }
  .brand-row .tag-alpha { display: none; }
}

/* --- hero --- */
/* Spacing tuned so that at 1440x900 about 180px of the product screenshot shows above the fold and above the
   consent bar on a first visit. */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 4vw, 64px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 auto; height: min(1100px, 125vh); z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(143, 86, 251, .18), transparent 70%),
    linear-gradient(to bottom, rgba(18, 14, 31, .55) 0%, rgba(18, 14, 31, .7) 35%, rgba(18, 14, 31, .92) 62%, var(--night) 88%);
}
.hero-rings { position: absolute; left: 50%; top: clamp(220px, 30vw, 380px); z-index: -1; width: 0; height: 0; pointer-events: none; }
.hero-rings span, .cta-rings span {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%;
  border: 1px solid rgba(176, 139, 255, .16); animation: ring 9s cubic-bezier(.1, .6, .3, 1) infinite; opacity: 0;
}
.hero-rings span:nth-child(2), .cta-rings span:nth-child(2) { animation-delay: -3s; }
.hero-rings span:nth-child(3), .cta-rings span:nth-child(3) { animation-delay: -6s; }
@keyframes ring { 0% { transform: scale(.25); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-rings span, .cta-rings span { animation: none; } .hero-rings span { opacity: .5; } }

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { font-weight: 600; font-size: clamp(46px, 7.4vw, 104px); line-height: 1; letter-spacing: -.035em; }
.hero-title span { display: block; }
.hero-lead { margin-top: 24px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
@media (max-width: 600px) { .hero-ctas .btn { width: 100%; max-width: 380px; justify-content: center; white-space: normal; text-align: center; } }
/* A quiet line under the buttons: the panel's download page has every installer and the system requirements. */
.hero-more { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.hero-more a { display: inline-block; padding-block: 6px; color: var(--text-3); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.hero-more a:hover { color: var(--text-2); text-decoration-color: currentColor; }
.hero-shot { position: relative; margin-top: clamp(24px, 2.5vw, 40px); }
.shot-glow { position: absolute; inset: 10% 12% -6%; background: radial-gradient(closest-side, rgba(143, 86, 251, .4), transparent 70%); filter: blur(50px); pointer-events: none; }
.shot { position: relative; overflow: hidden; border-radius: var(--r-tile); box-shadow: var(--shadow-shot); background: var(--night-2); }
.shot-md { max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; }

.hero-inner > * { animation: rise .9s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .06s; }
.hero-inner > :nth-child(3) { animation-delay: .14s; }
.hero-inner > :nth-child(4) { animation-delay: .22s; }
.hero-inner > :nth-child(5) { animation-delay: .3s; }
/* The screenshot is above the fold: it rises with the hero instead of waiting for the reveal observer. */
.hero-shot { animation: rise .9s var(--ease) .36s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-inner > *, .hero-shot { animation: none; } }
/* The hero rings stop while the hero is off screen (landing.js sets .is-off). */
.hero.is-off .hero-rings span { animation-play-state: paused; }

/* Which hero button leads. Rendered: Download filled, Try for free outlined. landing.js sets, before first paint:
   .cta-trial when this device has no direct installer (phones, tablets, Linux) or after a download in this
   session (the app needs a licence, the trial gives one); .cta-trial-first on devices without an installer,
   where the trial also goes first. The filled look sits in ::before so a change fades instead of snapping, and
   both buttons keep their box: nothing moves. Words and the order in the page source never change. */
.hero .hero-ctas .btn { isolation: isolate; background: rgba(18, 14, 31, .35); }
.hero .hero-ctas .btn:hover { background: var(--card-hi); }
.hero .hero-ctas .btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #9A66FF, #7C45F0); opacity: 0; transition: opacity .2s var(--ease); }
.hero .hero-ctas .btn-primary::before, .cta-trial .hero .hero-ctas [data-cta="trial"]::before { opacity: 1; }
.cta-trial .hero .hero-ctas [data-cta="trial"] { --btn-sh: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(143, 86, 251, .5), 0 12px 34px -14px var(--accent-glow); color: #fff; }
.cta-trial .hero .hero-ctas [data-cta="trial"]:hover { filter: brightness(1.1); }
.cta-trial .hero .hero-ctas [data-os-download] { --btn-sh: inset 0 0 0 1px var(--edge-hi); color: var(--text); }
.cta-trial .hero .hero-ctas [data-os-download]::before { opacity: 0; }
.cta-trial .hero .hero-ctas [data-os-download]:hover { color: #fff; filter: none; }
.cta-trial-first .hero .hero-ctas [data-cta="trial"] { order: -1; }

/* --- facts --- */
.facts { padding: clamp(40px, 6vw, 72px) 0 0; }
.facts-grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fact { display: flex; gap: 14px; padding: 22px 24px; border-left: 1px solid var(--line); color: var(--accent-400); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact div { display: flex; flex-direction: column; gap: 4px; }
.fact strong { font: 600 16.5px/1.3 var(--font-head); color: var(--text); }
.fact span { font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact:first-child { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 20px; }
}
@media (max-width: 560px) { .facts-grid { grid-template-columns: 1fr; } .fact:nth-child(even) { padding-left: 0; } }

/* --- sections --- */
.section { padding-top: var(--section); padding-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.card-line { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.card-line h3, .step h3 { font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.card-line p, .step p { color: var(--text-2); font-size: 16px; }
.num { font: 500 12px/1 var(--font-body); letter-spacing: .22em; color: var(--violet-hi); font-variant-numeric: tabular-nums; }

.steps { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.step:hover { border-color: rgba(176, 139, 255, .35); }
.step-num { font: 600 44px/1 var(--font-head); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--accent-400); margin-bottom: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: end; }
.split-top { align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: #d6d5de; font-size: 16.5px; line-height: 1.55; }

.measure { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px); background: linear-gradient(160deg, rgba(143, 86, 251, .14), rgba(255, 255, 255, .02) 45%); border: 1px solid rgba(143, 86, 251, .3); border-radius: var(--r-card); }
.measure p { position: relative; margin-top: 22px; color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 60ch; }
.measure-grid {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(143, 86, 251, .16) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(to bottom, rgba(143, 86, 251, .16) 1px, transparent 1px) 0 0 / 120px 120px;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, .9), transparent 60%); mask-image: linear-gradient(to left, rgba(0, 0, 0, .9), transparent 60%);
}
.measure-badge {
  position: absolute; z-index: 1; right: clamp(28px, 8vw, 120px); top: 50%; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%;
  border: 2px solid var(--accent); box-shadow: 0 0 0 10px rgba(143, 86, 251, .14), 0 0 40px rgba(143, 86, 251, .45); display: grid; place-items: center;
}
@media (max-width: 860px) { .measure-badge { display: none; } }

.venues { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.venue { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; }
.venue:nth-child(1), .venue:nth-child(2) { grid-column: span 3; }
.venue-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); border-radius: var(--r-tile); }
.venue-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 14, 31, .55), transparent 55%); }
.venue:hover .venue-img img { transform: scale(1.05); }
.venue figcaption { font: 500 12px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 860px) { .venues { grid-template-columns: 1fr 1fr; } .venue, .venue:nth-child(1), .venue:nth-child(2) { grid-column: span 1; } .venue:nth-child(1) { grid-column: span 2; } }
.trial-callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; padding: 18px 22px; border-radius: var(--r-tile);
  border: 1px solid rgba(176, 139, 255, .28); background: linear-gradient(90deg, var(--accent-wash), transparent); color: var(--text); font-size: 15.5px;
}
.trial-callout a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-left: auto; }

.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(32px, 5vw, 48px); }
@media (min-width: 600px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quote-lead { grid-column: span 2; } }
@media (min-width: 861px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .quote-lead { grid-row: span 2; } }
.quote { display: flex; flex-direction: column; gap: 22px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.quote blockquote { margin: 0; flex: 1; font: 500 19px/1.45 var(--font-head); letter-spacing: -.01em; color: var(--text); }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.quote figcaption span { color: var(--text-3); font-size: 13px; }
.quote-lead { justify-content: center; }
.quote-lead blockquote { flex: 0 1 auto; font-size: clamp(21px, 2vw, 24px); line-height: 1.4; }
.quote-own blockquote { font-size: 16px; }

/* --- pricing --- */
.pricing { position: relative; }
.pricing::before {
  content: ''; position: absolute; left: 50%; top: 18%; width: min(1100px, 100vw); height: 620px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(143, 86, 251, .16), transparent 75%);
}
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.tier {
  /* One subgrid row per part (name, price, description, 8 features, button, note), shared by every card in the row,
     so prices, descriptions, each feature line and the buttons line up across the cards. i18n.js gives every tier 8 features (tested). */
  position: relative; display: grid; grid-row: span 13; grid-template-rows: subgrid; align-content: start; gap: 18px; padding: 30px 26px 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tier-featured {
  border-color: transparent;
  background:
    linear-gradient(170deg, #2a1a52, #1b1430 50%, var(--night-2)) padding-box,
    conic-gradient(from var(--spin), rgba(176, 139, 255, .35), var(--violet-hi), #7C45F0, rgba(176, 139, 255, .35), var(--line-tint), rgba(176, 139, 255, .35)) border-box;
  box-shadow: 0 30px 80px -30px rgba(143, 86, 251, .6);
}
.tier-featured:hover { border-color: transparent; }
/* Two turns of the border (12 s), then it rests: no endless repaint, no endless pull on the eye. */
@media (prefers-reduced-motion: no-preference) { .tier-featured { animation: spin 6s linear 2; } @keyframes spin { to { --spin: 360deg; } } }
/* In one row of four, Basic stands 12px taller at each end. The negative margin and the extra padding cancel out in
   the subgrid, so every row inside the cards still lines up with the neighbours. */
@media (min-width: 1101px) { .tier-featured { margin-block: -12px; padding-top: 42px; padding-bottom: 38px; } }
/* A card reached by its anchor (#pricing, #tier-basic) glows for a moment, as in the panel (theme.ts tier-flash). */
.tier::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--violet-hi), 0 0 48px 6px rgba(143, 86, 251, .5); }
.tier.flash::after { animation: tier-flash 1.8s ease-in-out both; }
@keyframes tier-flash { 0% { opacity: 0; } 18% { opacity: 1; } 42% { opacity: .45; } 64% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tier-fade { 0%, 45% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tier.flash::after { animation-name: tier-fade; animation-timing-function: ease-out; } }
.tier-badge {
  position: absolute; top: -12px; left: 26px; padding: 6px 11px; border-radius: 999px; background: linear-gradient(180deg, #9A66FF, #7C45F0); color: #fff;
  font: 500 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.tier-name { font: 600 21px/1.1 var(--font-head); letter-spacing: -.01em; color: var(--text); }
.tier-price { display: flex; flex-direction: column; gap: 6px; }
.price { font: 600 clamp(30px, 2.6vw, 40px)/1 var(--font-head); letter-spacing: -.03em; color: var(--text); }
.tier-featured .price { font-size: clamp(40px, 3.6vw, 48px); }
.tier-contact .price { font-size: 30px; }
.period { font-size: 14px; color: var(--text-3); }
.tier-desc { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.tier-feats { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-row: span 8; grid-template-rows: subgrid; gap: 11px; }
.tier-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: #d6d5de; }
.tier-feats li.feat-no { color: var(--text-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Not included: a faint dash instead of a cross, so the eye is not drawn to what Basic lacks. The words keep the
   tertiary colour (about 6:1), and screen readers still hear "Not included". */
.feat-dash { position: relative; width: 18px; height: 18px; flex: none; margin-top: 3px; }
.feat-dash::before { content: ''; position: absolute; left: 3px; top: 50%; width: 12px; height: 1.5px; margin-top: -1px; border-radius: 1px; background: currentColor; opacity: .4; }
.tier-feats li:has(.feat-tip) { position: relative; }
.fact:has(.feat-tip) { position: relative; }
.feat-tip { margin-left: 2px; color: var(--accent-400); font-weight: 600; cursor: help; border-radius: 4px; outline-offset: 2px; }
/* Anchored to the list row, not the asterisk, so it stays inside the card at any width. */
.feat-tip::after { content: attr(data-tip); position: absolute; left: 26px; bottom: calc(100% + 6px); max-width: calc(100% - 26px); width: max-content; padding: 6px 10px; border-radius: 8px; background: #1d1c24; border: 1px solid var(--line); color: #ecebf2; font-size: 13px; font-weight: 500; line-height: 1.3; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; z-index: 5; }
.feat-tip:hover::after, .feat-tip:focus::after { opacity: 1; transform: none; }
.tier .btn { align-self: end; }
/* In a row of four the cards are narrow: the longest labels (RU "Попробовать бесплатно") wrap inside the button
   instead of being clipped. The subgrid keeps the buttons of a row on one line. */
.tier .btn { padding-inline: 14px; white-space: normal; text-align: center; }
.tier-note { font-size: 13px; color: var(--text-3); text-align: center; margin-top: -8px; }
.pricing-foot { margin-top: 28px; text-align: center; color: var(--text-3); font-size: 14.5px; }
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 620px) { .tiers { grid-template-columns: 1fr; } }

/* --- faq --- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .faq > .h2 { position: sticky; top: 96px; } }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] > p { animation: faq-open .2s var(--ease); }
  @keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer;
  font: 500 18px/1.35 var(--font-head); color: var(--text); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-300); }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--violet-hi); transition: transform .25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 0 22px; color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 64ch; }

/* --- final cta --- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 64px);
  background: radial-gradient(80% 120% at 50% 0%, #2E195E 0%, #1d1336 55%, var(--night-2) 100%); border: 1px solid rgba(176, 139, 255, .3); border-radius: var(--r-card);
}
.cta-band .h2 { max-width: 20ch; margin: 0 auto; }
.cta-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; }
.cta-have { margin-top: 22px; color: var(--text-3); font-size: 14.5px; }
.cta-pill { display: flex; justify-content: center; margin-top: 28px; }
.cta-pill + .hero-ctas { margin-top: 14px; }

/* --- contact form --- */
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.field { display: flex; flex-direction: column; gap: 8px; font: 500 12px/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-input);
  background: rgba(18, 14, 31, .6); color: var(--text); font: 400 15.5px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; caret-color: var(--accent-400);
  transition: border-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: rgba(18, 14, 31, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B08BFF' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236, 236, 241, .3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent-400); box-shadow: 0 0 0 3px rgba(176, 139, 255, .2); }
.form-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.split .muted { margin-top: 28px; font-size: 15px; }
.form-sent { color: var(--accent-300); font-weight: 600; }
/* Pro and Enterprise ("Talk to us") land here with the plan chosen: the form glows once like a tier card, the plan
   field holds an accent edge for a moment. */
.form::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--violet-hi), 0 0 48px 6px rgba(143, 86, 251, .5); }
.form.flash::after { animation: tier-flash 1.8s ease-in-out both; }
.form.pick select { border-color: var(--accent-400); }
@media (prefers-reduced-motion: reduce) { .form.flash::after { animation-name: tier-fade; animation-timing-function: ease-out; } }
/* Sending: the button waits with a spinner beside its words. */
.btn[aria-busy="true"] { cursor: progress; }
.btn .spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; }
@media (prefers-reduced-motion: no-preference) { .btn .spin { animation: spin-r .8s linear infinite; } @keyframes spin-r { to { transform: rotate(360deg); } } }
/* The API did not answer: the request went to the mail client, and the e-mail address beside the form lights up. */
.mail-flag { color: var(--accent-300); border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .mail-flag { animation: mail-ring .9s ease-in-out; }
  @keyframes mail-ring { 40% { box-shadow: 0 0 0 4px rgba(143, 86, 251, .35); } to { box-shadow: 0 0 0 8px rgba(143, 86, 251, 0); } }
  .btn.fx-out { opacity: 0; transform: scale(.96); transition: opacity .2s var(--ease), transform .2s var(--ease); }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* --- footer --- */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(23, 17, 39, .8), var(--night)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; color: var(--text-2); font-size: 15px; max-width: 42ch; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer h3 { font: 600 12.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--text); }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* --- reveal on scroll (only once landing.js has marked the page) --- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tiers .reveal:nth-child(2), .js .grid-3 .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .quotes .reveal:nth-child(2) { transition-delay: .08s; }
.js .tiers .reveal:nth-child(3), .js .grid-3 .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .quotes .reveal:nth-child(3) { transition-delay: .16s; }
.js .tiers .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* --- accent motif: cropped concentric arcs, drawn in (shared with the panel) --- */
.arcs { position: absolute; right: -40px; top: -40px; width: min(460px, 70%); height: auto; pointer-events: none; z-index: -1; }
.arcs path { fill: none; stroke: rgba(176, 139, 255, .45); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.arcs circle { fill: none; stroke: rgba(176, 139, 255, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .arcs path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .2s forwards; }
  .arcs path:nth-child(2) { animation-delay: .45s; } .arcs path:nth-child(3) { animation-delay: .7s; } .arcs path:nth-child(4) { animation-delay: .95s; }
  /* The final band sits about 10,000px down: its arcs wait until it is revealed. */
  .js .reveal:not(.in) .arcs path { animation-play-state: paused; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @view-transition { navigation: auto; }
}

/* --- button feedback (landing.js) ---
   Every effect is transform, opacity, filter or box-shadow on an existing box: nothing moves the layout, and the
   download percentage sits in an overlay with tabular figures, so no button changes width in any language. */
.dl-fx { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; pointer-events: none; }
.dl-fx > * { grid-area: 1 / 1; }
.dl-fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; opacity: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .26)); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .5); transition: opacity .3s var(--ease); }
.dl-pct { min-width: 4ch; text-align: center; font: 600 17px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .01em; color: #fff; opacity: 0; transition: opacity .2s var(--ease); }
.dl-check { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .45s var(--ease); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .45)); }
.dl-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0s .35s; }
[data-os-download] > :not(.dl-fx) { position: relative; z-index: 1; transition: opacity .25s var(--ease), transform .35s var(--ease); }
[data-os-download].dl-run > :not(.dl-fx), [data-os-download].dl-done > :not(.dl-fx) { opacity: 0; transform: translateY(-6px); }
.dl-run .dl-fill, .dl-wait .dl-fill { opacity: 1; }
.dl-run .dl-pct { opacity: 1; }
.dl-done .dl-check { opacity: 1; transform: none; }
.dl-done .dl-check path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease) .08s; }
.dl-done .dl-fill { transform: scaleX(1); opacity: 0; transition: opacity .6s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .dl-wait .dl-fill { right: auto; width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); box-shadow: none; animation: dl-sweep .9s var(--ease) infinite; }
  .dl-wait > .ico { animation: dl-bob .9s var(--ease) infinite; }
  .dl-done { animation: dl-glow 1.8s var(--ease); }
  @keyframes dl-sweep { from { transform: translateX(-110%); } to { transform: translateX(240%); } }
  @keyframes dl-bob { 40% { transform: translateY(3px); } }
  @keyframes dl-glow { 25% { box-shadow: var(--btn-sh), 0 0 38px 6px rgba(176, 139, 255, .55); } }
}
@media (prefers-reduced-motion: reduce) {
  [data-os-download] > *, .dl-fx, .dl-fx *, .dl-check path { transition: none !important; animation: none !important; }
  .dl-wait .dl-fill { transform: scaleX(1); opacity: .5; }
  [data-os-download].dl-run > :not(.dl-fx), [data-os-download].dl-done > :not(.dl-fx) { transform: none; }
}

/* Selling buttons: one short gesture each, 150 to 500 ms, started on the click while the browser navigates. */
@media (prefers-reduced-motion: no-preference) {
  /* hero Try for free: a ripple from the click point */
  .fx-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(176, 139, 255, .42), rgba(176, 139, 255, .16) 65%, transparent); transform: scale(0); animation: fx-ripple .5s var(--ease) forwards; }
  @keyframes fx-ripple { 60% { opacity: 1; } to { transform: scale(1); opacity: 0; } }
  /* after a download: Try for free, now the filled button, sends out one ring */
  .hero .btn.fx-next { animation: fx-next .9s ease-in-out; }
  @keyframes fx-next { 40% { box-shadow: var(--btn-sh), 0 0 0 6px rgba(143, 86, 251, .35); } to { box-shadow: var(--btn-sh), 0 0 0 10px rgba(143, 86, 251, 0); } }
  /* free trial tier: the card lifts and glows */
  .tier.fx-lift { animation: fx-lift .5s var(--ease); }
  @keyframes fx-lift { 40% { transform: translateY(-9px); border-color: var(--edge-hi); box-shadow: 0 26px 64px -26px rgba(143, 86, 251, .6), 0 0 0 1px rgba(176, 139, 255, .3); } }
  /* closing CTA trial: the arrow darts ahead and comes back, the arcs pulse */
  .fx-dart .ico { animation: fx-dart .45s var(--ease); }
  @keyframes fx-dart { 45% { transform: translateX(12px); opacity: 0; } 46% { transform: translateX(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
  .cta-band .arcs { transform-origin: 70% 87%; }
  .cta-band.fx-ping .arcs { animation: fx-ping .5s var(--ease); }
  @keyframes fx-ping { 35% { transform: scale(1.03); filter: brightness(1.9) drop-shadow(0 0 6px rgba(176, 139, 255, .7)); } }
  /* nav Buy a licence: a quick pop with a bright shimmer */
  .btn.fx-shine { animation: fx-pop .3s var(--ease); }
  .btn.fx-shine::after { content: ''; position: absolute; inset: 0; pointer-events: none; transition: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); animation: fx-shine .45s var(--ease); }
  @keyframes fx-pop { 40% { transform: scale(1.06); } }
  @keyframes fx-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
  /* Buy Basic: a pulse ring leaves the button, and the Basic card blooms */
  .btn.fx-ring { animation: fx-ring .5s var(--ease); }
  @keyframes fx-ring { from { box-shadow: var(--btn-sh), 0 0 0 0 rgba(176, 139, 255, .6); } to { box-shadow: var(--btn-sh), 0 0 0 14px rgba(176, 139, 255, 0); } }
  .tier.fx-bloom { animation: fx-bloom .5s var(--ease); }
  .tier-featured.fx-bloom { animation: spin 6s linear 2, fx-bloom .5s var(--ease); }
  @keyframes fx-bloom { 40% { box-shadow: 0 34px 100px -26px rgba(143, 86, 251, .9); } }
  /* Talk to us, sent: the form glows once, the message rises in and its check draws */
  .form.fx-sent { animation: fx-sent .9s var(--ease); }
  @keyframes fx-sent { 30% { border-color: rgba(176, 139, 255, .5); box-shadow: 0 0 0 4px rgba(143, 86, 251, .12), 0 24px 70px -30px rgba(143, 86, 251, .6); } }
  .form-sent.fx-in { animation: fx-in .45s var(--ease) both; }
  .form-sent.fx-in .form-sent-check path { animation: fx-draw .6s var(--ease) .12s both; }
  @keyframes fx-in { from { opacity: 0; transform: translateY(6px); } }
  @keyframes fx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.form-sent:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; }
.form-sent-check { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form-sent-check path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Consent bar: analytics and session recording load only after an explicit yes. */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(10,8,16,.96);backdrop-filter:blur(10px);border-top:1px solid rgba(236,236,241,.14)}
.consent-row{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.consent-row p{margin:0;font-size:14px;line-height:1.5;flex:1;min-width:240px}
.consent-btns{display:flex;gap:10px;flex-wrap:wrap}
.consent-btns .btn{min-height:38px;padding:0 18px;font-size:14px}
/* Phones: smaller type and both buttons side by side, so the bar takes less of the screen. Both keep equal weight. */
@media (max-width: 520px) {
  .consent-row { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .consent-row p { flex-basis: 100%; min-width: 0; font-size: 13px; line-height: 1.45; }
  .consent-btns { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .consent-btns .btn { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: consent-in .24s var(--ease); }
  @keyframes consent-in { from { transform: translateY(100%); } }
}
.footer-legal a{color:inherit}
/* The company line and legal links: sentence case at 13px reads better than tracked capitals at 12px. */
.footer-meta.footer-legal { font-size: 13px; letter-spacing: 0; text-transform: none; }
.footer-legal a { display: inline-block; padding-block: 6px; }
