/* ============================================================
   Nova — design system, shared chrome (header, footer, checkout)
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --blurple: #635bff;
  --blurple-600: #5851ea;
  --blurple-700: #4b44d6;
  --blurple-100: #e7e5ff;
  --blurple-50: #f2f1ff;
  --cyan: #00c2ff;
  --pink: #ff5c8a;
  --gold: #f5a623;

  /* neutrals */
  --ink: #0a2540;
  --ink-2: #1a3a5f;
  --slate: #425466;
  --muted: #6b7c93;
  --faint: #8898aa;
  --line: #e6ebf1;
  --line-2: #d5dde6;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #f2f6fb;

  /* status */
  --green: #17a673;
  --green-soft: #e5f8f0;
  --red: #e25950;
  --red-soft: #fdeceb;

  /* type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;

  /* shape & motion */
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 2px 5px -1px rgba(10, 37, 64, 0.1), 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 37, 64, 0.2), 0 2px 6px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 32px 64px -24px rgba(10, 37, 64, 0.28), 0 8px 20px -8px rgba(10, 37, 64, 0.12);
  --header-h: 68px;
  --container: 1120px;
}

/* ---------------------------------------------------------- reset/base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

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

::selection {
  background: rgba(99, 91, 255, 0.18);
}

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* ------------------------------------------------------------ layout */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container--wide {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.section-lede {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blurple);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blurple), var(--cyan));
}

.eyebrow--light {
  color: #a7a2ff;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon--sm {
  width: 15px;
  height: 15px;
}

.grad-text {
  background: linear-gradient(96deg, #5b53f0 4%, #7a73ff 34%, #00a8e8 68%, #00c2ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------------------------------------- buttons */

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--btn-bg);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s, box-shadow 0.18s, border-color 0.18s, color 0.18s;
}
.btn:active {
  transform: translateY(1px) scale(0.995);
}
.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--blurple);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.18), 0 4px 12px -4px rgba(99, 91, 255, 0.5);
}
.btn-primary:hover {
  background: var(--blurple-600);
  box-shadow: 0 2px 4px rgba(10, 37, 64, 0.16), 0 10px 24px -8px rgba(99, 91, 255, 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: #b6c2cf;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
}
.btn-ghost:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.2);
}
.btn-dark:hover {
  background: #0d2f4f;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(10, 37, 64, 0.6);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
}

.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 15.5px;
  border-radius: 9px;
}
.btn-lg .icon {
  width: 17px;
  height: 17px;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 7px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blurple);
  font-size: 14.5px;
  font-weight: 600;
  transition: gap 0.18s var(--ease), color 0.18s;
}
.link-arrow .icon {
  width: 15px;
  height: 15px;
}
.link-arrow:hover {
  gap: 9px;
  color: var(--blurple-700);
}

.link-arrow--light {
  color: #b9b5ff;
}
.link-arrow--light:hover {
  color: #fff;
}

/* chips / pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xs);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pill:hover {
  border-color: #c9c4ff;
  box-shadow: 0 4px 14px -6px rgba(99, 91, 255, 0.4);
  transform: translateY(-1px);
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--blurple-100);
  color: var(--blurple-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pill-arrow {
  color: var(--blurple);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.pill-arrow .icon {
  width: 13px;
  height: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.badge--green {
  background: var(--green-soft);
  color: #0c7a52;
}
.badge--soft {
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.badge--blurple {
  background: var(--blurple-100);
  color: var(--blurple-700);
}
.badge--red {
  background: var(--red-soft);
  color: #b3392f;
}
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0;
  animation: livePulse 2.4s ease-out infinite;
}

/* ------------------------------------------------------------ header */

.announce {
  position: relative;
  z-index: 101;
  padding: 9px 16px;
  background: linear-gradient(90deg, #5148e0 0%, #635bff 30%, #8b5cf6 65%, #a855f7 100%);
  color: #fff;
  font-size: 12.5px;
  text-align: center;
  letter-spacing: 0.005em;
  overflow: hidden;
}
.announce::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.16) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out infinite;
}
.announce-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.announce strong {
  font-weight: 650;
}
.announce a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  opacity: 0.95;
}
.announce a:hover {
  opacity: 1;
}
.announce .icon {
  width: 13px;
  height: 13px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(10, 37, 64, 0.35);
}
.site-header.is-menu-open {
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(140deg, #8b85ff 0%, #635bff 52%, #00b7f0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 6px -1px rgba(99, 91, 255, 0.5);
}
.brand-mark svg {
  width: 16px;
  height: 16px;
}
.brand-word {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1;
  padding-bottom: 1px;
}
.brand--footer {
  color: #fff;
}
.brand--footer .brand-word {
  color: #fff;
}
.brand--sm .brand-mark {
  width: 23px;
  height: 23px;
  border-radius: 7px;
}
.brand--sm .brand-mark svg {
  width: 14px;
  height: 14px;
}
.brand--sm .brand-word {
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.16s, background 0.16s;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-link .icon {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.22s var(--ease);
}
.nav-link[aria-expanded='true'] {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-link[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
.nav-link--simple {
  padding: 8px 11px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: none;
}
.nav-signin {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.16s, background 0.16s;
}
.nav-signin:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-cta {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  place-items: center;
  margin-left: auto;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(10, 37, 64, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0.18s;
  overflow: hidden;
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 44px;
  padding: 26px 0 32px;
}
.mega--slim .mega-inner {
  grid-template-columns: 1fr 1fr 1fr;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mega--slim .mega-grid {
  grid-template-columns: 1fr;
  gap: 2px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mega-item:hover {
  background: var(--bg-soft);
}
.mega-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blurple-50);
  color: var(--blurple);
  flex: none;
  border: 1px solid #e6e3ff;
}
.mega-icon svg {
  width: 17px;
  height: 17px;
}
.mega-item h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2px;
}
.mega-item p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.mega-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 12px 6px;
}
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--slate);
  transition: background 0.15s, color 0.15s;
}
.mega-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.mega-link .icon {
  width: 14px;
  height: 14px;
  opacity: 0.35;
}
.mega-aside {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e8ff;
  border-radius: 14px;
  padding: 22px;
  background: radial-gradient(120% 120% at 100% 0%, #eef6ff 0%, #f3f1ff 45%, #fff 100%);
}
.mega-aside::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.25), transparent 65%);
  filter: blur(10px);
}
.mega-aside-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blurple);
  margin-bottom: 10px;
}
.mega-aside h4 {
  position: relative;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.mega-aside p {
  position: relative;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 16px;
}
.mega-aside .link-arrow {
  position: relative;
  font-size: 13px;
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: calc(var(--header-h) + 28px) 24px 40px;
  background: #fff;
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav-group {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-group > p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 16px;
  color: var(--ink);
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

/* ------------------------------------------------------------ footer */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #b8c4d2;
  padding-top: 68px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99, 91, 255, 0.28), transparent 68%);
  pointer-events: none;
}
.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 2.6fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin: 16px 0 24px;
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #8fa2b7;
}
.footer-newsletter-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d7e0ea;
  margin-bottom: 9px;
}
.footer-newsletter {
  display: flex;
  gap: 8px;
  max-width: 330px;
}
.footer-newsletter input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13.5px;
  transition: border-color 0.2s, background 0.2s;
}
.footer-newsletter input::placeholder {
  color: #7d90a6;
}
.footer-newsletter input:focus {
  outline: none;
  border-color: rgba(140, 132, 255, 0.7);
  background: rgba(255, 255, 255, 0.09);
}
.footer-newsletter .btn {
  height: 42px;
  padding: 0 14px;
}
.footer-newsletter-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: #6f8298;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #e8eef5;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: #93a5ba;
  transition: color 0.15s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: #7f92a8;
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fb0c4;
}
.footer-status .live-dot {
  background: #2ecc9a;
}
.footer-status .live-dot::after {
  border-color: #2ecc9a;
}
.footer-socials {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #9fb0c4;
  font-size: 11.5px;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.footer-disclaimer {
  position: relative;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  line-height: 1.6;
  color: #5f7288;
  max-width: 900px;
}

/* ------------------------------------------------------------- toast */

.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 40px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(10, 37, 64, 0.55);
  animation: toastIn 0.28s var(--ease);
}
.toast .icon {
  width: 16px;
  height: 16px;
  color: #6ee7b7;
}
.toast--error .icon {
  color: #fca5a5;
}
.toast.is-leaving {
  animation: toastOut 0.22s ease forwards;
}

/* ---------------------------------------------------------- checkout */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 24, 43, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s, visibility 0.24s;
}
.checkout-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.checkout-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 60px 120px -30px rgba(4, 14, 28, 0.6);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.34s var(--ease);
  scrollbar-width: thin;
}
.checkout-overlay.is-open .checkout-modal {
  transform: none;
}
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 249, 252, 0.9);
  color: var(--muted);
  transition: background 0.18s, color 0.18s;
}
.checkout-close:hover {
  background: var(--line);
  color: var(--ink);
}
.checkout-close .icon {
  width: 17px;
  height: 17px;
}
.checkout-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}
.checkout-left {
  padding: 34px 38px 30px;
}
.checkout-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.checkout-brand .badge {
  margin-left: auto;
}
.checkout-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.checkout-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.15;
}
.checkout-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.checkout-form {
  margin-top: 24px;
}
.checkout-form .field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field .input,
.field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
}
.field .input::placeholder {
  color: #a3b1bf;
}
.field .input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blurple);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}
.field .input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 89, 80, 0.14);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field-group {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 12px 0;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field-group:focus-within {
  border-color: var(--blurple);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.14);
}
.field-group-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.field-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.field-inline input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 6px 0;
  font-size: 14px;
  background: transparent;
}
.field-inline input:focus {
  outline: none;
}
.field-inline input::placeholder {
  color: #a3b1bf;
}
.field-inline .icon {
  width: 19px;
  height: 19px;
  color: #93a5b8;
}
.field-divider {
  height: 1px;
  background: var(--line);
  margin-right: -12px;
}
.card-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  padding: 3px 6px;
  opacity: 0;
  transition: opacity 0.2s;
}
.card-brand.is-on {
  opacity: 1;
}
.card-brand[data-brand='visa'] {
  background: #1a1f71;
}
.card-brand[data-brand='mastercard'] {
  background: #eb001b;
}
.card-brand[data-brand='amex'] {
  background: #006fcf;
}
.checkout-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 14px 0 18px;
}
.checkout-checkbox input {
  width: 15px;
  height: 15px;
  accent-color: var(--blurple);
}
.checkout-legal {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--faint);
  text-align: center;
}
.checkout-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
  font-size: 11.5px;
  color: var(--muted);
}
.checkout-hint .icon {
  width: 14px;
  height: 14px;
  color: var(--blurple);
}
.checkout-error {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--red-soft);
  color: #b3392f;
  font-size: 12.5px;
  font-weight: 500;
}
.checkout-error.is-visible {
  display: flex;
}
.checkout-error .icon {
  width: 15px;
  height: 15px;
}
.checkout-right {
  position: relative;
  padding: 34px 32px;
  background: linear-gradient(165deg, #f6f9fc 0%, #f3f5fd 100%);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.order-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}
.order-payee {
  font-size: 13px;
  color: var(--muted);
}
.order-amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 2px 0 22px;
}
.order-lines {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.order-line strong {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.order-line--nova strong {
  color: var(--blurple-700);
}
.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.order-total strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.order-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--faint);
}
.order-trust {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--faint);
}
.order-trust .icon {
  width: 14px;
  height: 14px;
}
.order-quote {
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e6f5;
  background: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.55;
  color: var(--slate);
}
.order-quote strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blurple);
}

/* checkout — amount presets */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.amount-preset {
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  transition: border-color 0.16s, background 0.16s, color 0.16s, box-shadow 0.16s;
}
.amount-preset:hover {
  border-color: #c3bee9;
}
.amount-preset.is-active {
  border-color: var(--blurple);
  background: var(--blurple-50);
  color: var(--blurple-700);
  box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.14);
}
.amount-custom {
  position: relative;
  margin-bottom: 18px;
}
.amount-custom .currency {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.amount-custom .input {
  padding-left: 25px;
}

/* checkout — processing & success */
.checkout-processing {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 30px;
  text-align: center;
}
.checkout-processing p {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}
.checkout-processing small {
  font-size: 12px;
  color: var(--faint);
}
.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--blurple-100);
  border-top-color: var(--blurple);
  animation: spin 0.8s linear infinite;
}
.checkout-success {
  display: none;
  padding: 46px 40px 40px;
  text-align: center;
}
.success-check {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  animation: popIn 0.4s var(--ease);
}
.success-check svg {
  width: 30px;
  height: 30px;
}
.checkout-success h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.checkout-success > p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.receipt {
  max-width: 440px;
  margin: 26px auto 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  background: #fff;
}
.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.receipt-row:last-child {
  border-bottom: 0;
}
.receipt-row strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.receipt-row .mono {
  font-family: var(--mono);
  font-size: 12px;
}
.receipt-row--highlight {
  background: var(--bg-soft);
}
.success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.success-foot {
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--faint);
}
.checkout-modal.is-processing .checkout-body {
  display: none;
}
.checkout-modal.is-processing .checkout-processing {
  display: flex;
}
.checkout-modal.is-success .checkout-body,
.checkout-modal.is-success .checkout-processing {
  display: none;
}
.checkout-modal.is-success .checkout-success {
  display: block;
}

/* --------------------------------------------------------- animations */

@keyframes livePulse {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }
  70% {
    opacity: 0;
    transform: scale(1.9);
  }
  100% {
    opacity: 0;
  }
}
@keyframes sheen {
  0%,
  55% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes popIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav-links {
    gap: 0;
  }
  .nav-link {
    padding: 8px 8px;
    font-size: 13.5px;
  }
  .mega-inner {
    gap: 28px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .nav {
    gap: 16px;
  }
  .mega {
    display: none;
  }
  .checkout-body {
    grid-template-columns: 1fr;
  }
  .checkout-right {
    border-left: 0;
    border-top: 1px solid var(--line);
    order: -1;
    padding: 26px 30px;
  }
  .checkout-right .order-quote,
  .checkout-right .order-brand {
    display: none;
  }
  .checkout-left {
    padding: 26px 30px 30px;
  }
  .checkout-modal {
    max-height: calc(100vh - 32px);
  }
  .checkout-overlay {
    padding: 16px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 640px) {
  .container,
  .container--wide {
    width: calc(100% - 36px);
  }
  .announce {
    font-size: 11.5px;
    padding: 8px 12px;
  }
  .announce .announce-hide {
    display: none;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .footer-socials {
    margin-left: 0;
  }
  .footer-bottom {
    gap: 14px;
  }
  .amount-presets {
    grid-template-columns: repeat(2, 1fr);
  }
  .checkout-success {
    padding: 40px 22px 32px;
  }
  .checkout-left {
    padding: 22px 22px 26px;
  }
  .checkout-right {
    padding: 22px;
  }
  .checkout-amount {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* checkout — headings & body lock */
body.checkout-open {
  overflow: hidden;
}
.checkout-heading {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.checkout-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.label-optional {
  font-weight: 400;
  color: var(--faint);
}

/* checkout — crypto payment option */
.pay-crypto {
  margin: 18px 0 0;
}
.pay-crypto .btn {
  height: 46px;
}
.pay-crypto-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--faint);
  text-align: center;
}
.pay-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
  font-size: 11px;
  color: var(--faint);
}
.pay-divider::before,
.pay-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* checkout — embedded NOWPayments */
.payframe-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 24, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s, visibility 0.24s;
}
.payframe-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.payframe-modal {
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 60px 120px -30px rgba(4, 14, 28, 0.6);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.28s var(--ease);
}
.payframe-overlay.is-open .payframe-modal {
  transform: none;
}
.payframe-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.payframe-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.payframe-title .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.payframe-open {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: underline;
}
.payframe-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.payframe-close:hover {
  background: var(--line);
  color: var(--ink);
}
#novaPayFrameIframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}
.payframe-note {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
  text-align: center;
}
@media (max-width: 560px) {
  .payframe-overlay { padding: 0; }
  .payframe-modal { width: 100%; height: 100%; border-radius: 0; }
}

/* checkout — receiving wallet row */
.checkout-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--muted);
}
.checkout-wallet strong {
  font-size: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
}
