/* ==========================================================================
   MAXONA — responsive & cross-browser base
   ========================================================================== */

:root {
  --bg: #0d0f12;
  --bg-soft: #13171c;
  --surface: #191f26;
  --surface-2: #202832;
  --surface-3: #12161b;
  --border: rgba(255, 255, 255, 0.08);

  --text: #f5f7fa;
  --text-soft: #9aa3ad;
  --text-dim: #6f7a86;

  --accent: #3A7A66;
  --accent-2: #5FA98C;
  --accent-dark: #0f1712;

  --success: #87f5a2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --container: 1180px;
  --header-height: 78px;
  --transition: 0.25s ease;

  /* Fluid spacing — scales with viewport */
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3rem, 8vw, 5.5rem);
  --content-gap: clamp(1rem, 2.5vw, 1.75rem);
}

/* -------------------------------------------------------------------------- */
/* Reset & document                                                           */
/* -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  /* Anchor links clear sticky header (all modern browsers) */
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#site-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.skip-link,
.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Focus — visible keyboard navigation */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: max(12px, env(safe-area-inset-left, 0px));
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus {
  top: max(12px, env(safe-area-inset-top, 0px));
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.section {
  padding-block: var(--section-y);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.125rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
}

/* -------------------------------------------------------------------------- */
/* Components                                                                 */
/* -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(58, 122, 102, 0.08);
  border: 1px solid rgba(58, 122, 102, 0.16);
  color: var(--accent);
  font-size: clamp(0.6875rem, 2vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(58, 122, 102, 0.65);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(58, 122, 102, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--border);
}

/* Hover only on devices with fine pointer (avoids sticky hover on touch) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn-primary:hover {
    background: #c6ff52;
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .desktop-nav a:hover {
    color: var(--text);
  }

  .mobile-nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-overlay-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-overlay-lang button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
  }

  .footer-links a:hover {
    color: var(--text);
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(13, 15, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Browsers without backdrop-filter still get a solid bar */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header {
    background: rgba(13, 15, 18, 0.98);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(16px, 2vw, 28px);
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  min-width: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  justify-self: start;
}

.brand-logo {
  width: clamp(28px, 4vw, 36px);
  height: clamp(28px, 4vw, 36px);
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
  min-width: 0;
}

.desktop-nav a {
  color: var(--text-soft);
  font-size: 15px;
  white-space: nowrap;
  transition: color var(--transition);
}

.header-end {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  justify-self: end;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

/* Language switcher — top-right */
/* NOTE FOR BUYER: EN is live by default for launch. Full DE/UA translations
   already exist in translations.js and the switcher logic is fully working
   in script.js — this is disabled here on purpose for a clean single-language
   launch. To re-enable: delete/comment out the "display: none" rules below
   for .lang-switcher and .mobile-overlay-lang. No other code changes needed. */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  display: none;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 64px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.lang-switcher-chevron {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: transform var(--transition);
}

.lang-switcher.is-open .lang-switcher-chevron {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(19, 23, 28, 0.98);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lang-switcher-menu li {
  margin: 0;
}

.lang-switcher-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition:
    background var(--transition),
    color var(--transition);
}

.lang-switcher-menu button.is-active {
  background: rgba(58, 122, 102, 0.1);
  color: var(--accent);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .lang-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .lang-switcher-menu button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
  }
}

.header-actions .btn {
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* Fullscreen mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: max(5rem, env(safe-area-inset-top, 5rem)) 1.5rem max(2rem, env(safe-area-inset-bottom, 2rem));
  background: rgba(13, 15, 18, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay-close {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top, 1.25rem));
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mobile-overlay-close svg {
  width: 22px;
  height: 22px;
}

.mobile-overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
}

.mobile-overlay-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--transition), background var(--transition);
}

.mobile-overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
}

.mobile-overlay-actions .btn {
  width: 100%;
}

.mobile-overlay-lang {
  display: none; /* See NOTE above .lang-switcher — same toggle applies here */
  gap: 0.5rem;
}

.mobile-overlay-lang button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 40px;
  padding: 0 0.875rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.mobile-overlay-lang button.is-active {
  background: rgba(58, 122, 102, 0.1);
  color: var(--accent);
  border-color: rgba(58, 122, 102, 0.3);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3.25rem);
}

.hero--minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(88vh, 820px);
  padding-block: clamp(4rem, 12vw, 7rem);
  text-align: center;
}

.hero-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 920px;
  margin-inline: auto;
}

.hero-minimal h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw + 0.5rem, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-accent {
  color: var(--accent);
}

.hero-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1.75rem 0 2.25rem;
}

.hero-price-amount {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}

.hero-price-label {
  font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.15rem);
  color: var(--text-muted, rgba(255, 255, 255, 0.6));
}

.btn-hero {
  min-width: min(100%, 320px);
  min-height: clamp(60px, 10vw, 72px);
  padding: 0 clamp(2rem, 6vw, 3.5rem);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 18px;
  box-shadow:
    0 12px 40px rgba(58, 122, 102, 0.28),
    0 0 0 1px rgba(58, 122, 102, 0.2);
}

@media (max-width: 560px) {
  .btn-hero {
    width: 100%;
    min-width: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--content-gap);
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0;
  max-width: 860px;
  font-size: clamp(2rem, 5vw + 0.75rem, 4.875rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy .lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
}

.metric {
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  min-width: 0;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.metric span {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.hero-card {
  position: relative;
  isolation: isolate;
  min-height: min(560px, auto);
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, #171c22 0%, #101419 100%);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 122, 102, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(58, 122, 102, 0.08);
  border: 1px solid rgba(58, 122, 102, 0.18);
  color: var(--accent);
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  font-weight: 700;
  line-height: 1.2;
}

.pack-meta {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.agent-panel {
  display: grid;
  gap: 14px;
}

.agent-box {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  min-width: 0;
}

.agent-box h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.agent-box p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.agent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agent-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.agent-row span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111712;
  color: var(--accent);
  border: 1px solid rgba(58, 122, 102, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.glass-line {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* -------------------------------------------------------------------------- */
/* Features & grids                                                           */
/* -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--content-gap);
}

.feature-card {
  padding: 26px;
  min-width: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(58, 122, 102, 0.08);
  border: 1px solid rgba(58, 122, 102, 0.16);
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.feature-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--content-gap);
  align-items: stretch;
}

.showcase-box,
.inventory-box {
  border-radius: 24px;
  min-width: 0;
}

.showcase-box {
  padding: 28px;
}

.showcase-box h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.375rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.showcase-box p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
}

.mini-steps {
  display: grid;
  gap: 12px;
}

.mini-step {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.mini-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.mini-step span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.inventory-box {
  padding: 24px;
  overflow: hidden;
}

.inventory-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.inventory-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.file-tree {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
}

.file-tree li {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.file-tree code {
  color: var(--accent);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.file-tree .file-note {
  color: var(--text-soft);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.transfer-step {
  padding: 26px;
}

.transfer-step .feature-icon {
  font-size: 16px;
}

.transfer-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed rgba(58, 122, 102, 0.25);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* FAQ & CTA                                                                  */
/* -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

/* Hide default marker — WebKit + Firefox */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 20px 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.faq-item .faq-body strong {
  color: var(--text);
}

.cta-wrap {
  padding: clamp(1.5rem, 4vw, 2.375rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(20px, 4vw, 30px);
  background:
    radial-gradient(circle at top right, rgba(58, 122, 102, 0.1), transparent 26%),
    linear-gradient(145deg, #171d21 0%, #101316 100%);
  box-shadow: var(--shadow);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-wrap h2 {
  margin: 14px 0 12px;
  max-width: 820px;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.cta-wrap p {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.footer {
  padding-block: 42px calc(54px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.45;
  max-width: 36rem;
}

.footer-meta {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.45;
}

.footer-meta strong {
  color: var(--text-soft);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-soft);
  font-size: 14px;
  transition: color var(--transition);
}

/* ==========================================================================
   Responsive breakpoints
   Large tablet / small laptop → stack major grids
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid,
  .showcase-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    justify-content: flex-start;
  }

  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    min-height: auto;
  }
}

/* Tablet — 2-column feature grid */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root {
    --header-height: 72px;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  .grid-3,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .file-tree li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .agent-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .badge {
    justify-self: start;
  }
}

/* Mobile header — logo + hamburger only */
@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-nav,
  .header-end {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}

/* Small phones */
@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    gap: 8px;
  }

  .hero-actions .btn,
  .cta-buttons .btn,
  .mobile-nav-actions .btn {
    width: 100%;
  }

  .hero-card,
  .feature-card,
  .showcase-box,
  .inventory-box,
  .cta-wrap,
  .transfer-step {
    padding: 20px;
  }

  .inventory-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-chip {
    white-space: normal;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 4px;
  }

  .footer-links a {
    min-height: 40px;
  }
}

/* Very narrow — prevent horizontal overflow from long domain strings */
@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2rem);
    letter-spacing: -0.04em;
  }

  .eyebrow {
    padding-inline: 12px;
  }
}

/* Landscape phones — reduce vertical padding */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-block: 1.5rem;
  }

  .section {
    padding-block: 2.5rem;
  }
}

/* Large screens — comfortable reading width already via container */
@media (min-width: 1400px) {
  :root {
    --container: 1240px;
  }
}

/* ==========================================================================
   Accessibility & user preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --border: rgba(255, 255, 255, 0.18);
    --text-soft: #b8c0c8;
  }

  .btn-primary {
    outline: 2px solid var(--text);
    outline-offset: 2px;
  }
}

/* Print — readable offline */
@media print {
  .header,
  .mobile-overlay,
  .skip-link,
  .hero-actions,
  .cta-buttons {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 1.5rem;
    break-inside: avoid;
  }

  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}

/* Safety constraints to prevent .brand layout breaking */
.brand {
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  flex-shrink: 0;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-trust-block {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

.hero-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-trust-item:last-child {
  border-right: none;
}

.hero-trust-icon {
  font-size: 16px;
  line-height: 1;
}

.hero-trust-label {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.hero-trust-val {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 560px) {
  .hero-trust-block {
    flex-wrap: wrap;
  }
  .hero-trust-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero-trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .hero-trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}