﻿:root {
  /* Brand tokens aligned with naghal_v2/src/index.css @theme */
  --navy-950: #050f1f;
  --navy-900: #0a1e3b;
  --navy-800: #0f2744;
  --navy-700: #133f6e;
  --navy-600: #1e3a5f;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-deep: #1e40af;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --cyan: var(--accent);
  --cyan-soft: var(--accent-soft);
  --teal: var(--accent-strong);
  --gold: #60a5fa;
  --ink: #eef2f8;
  --muted: #a8b9ce;
  --line: rgba(238, 242, 248, 0.14);
  --surface: rgba(7, 21, 37, 0.86);
  --surface-hover: rgba(9, 27, 46, 0.96);
  --radius: 18px;
  --radius-lg: 28px;
  --font: "Vazirmatn", "Tahoma", sans-serif;
  --shadow: 0 28px 80px rgba(5, 15, 31, 0.45);
  --shadow-soft: 0 12px 32px rgba(5, 15, 31, 0.28);
  --focus: 0 0 0 3px rgba(37, 99, 235, 0.45);
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.4rem;
  --space-6: 4.5rem;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  overflow-x: clip;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 38% at 0% 18%, rgba(99, 102, 241, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 42%, var(--navy-800) 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3.5rem;
  background: var(--cyan);
  color: var(--navy-950);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(5, 15, 31, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.7rem 1.25rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  border-radius: 12px;
  padding: 0.15rem;
  transition: color 0.2s var(--ease);
}

.brand:hover {
  color: #fff;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand--footer .brand__logo {
  width: 72px;
  height: 72px;
}

.brand--drawer .brand__logo {
  width: 36px;
  height: 36px;
}

.nav--desktop {
  display: none;
}

.nav--desktop a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav--desktop a:hover,
.nav--desktop a:focus-visible,
.nav--desktop a.is-active {
  color: #fff;
  background: var(--cyan-soft);
}

.nav--desktop a.is-active {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
}

.header-actions__login {
  display: none;
}

.nav-toggle {
  appearance: none;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef3fb;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  outline: none;
}

.nav-toggle:focus-visible {
  box-shadow: var(--focus);
}

.nav-toggle__bars {
  position: relative;
  width: 1.15rem;
  height: 0.85rem;
  display: block;
}

.nav-toggle__bars span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.28s var(--ease),
    opacity 0.2s var(--ease),
    top 0.28s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__bars span:nth-child(3) { bottom: 0; top: auto; }

body.nav-open .nav-toggle__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

body.nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bars span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(3, 10, 22, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.1rem 1.15rem 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.18), transparent 42%),
    linear-gradient(165deg, #0f2744 0%, #050f1f 55%, #050f1f 100%);
  border-inline-start: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.4);
  transform: translateX(104%);
  transition: transform 0.34s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.nav-drawer__close {
  appearance: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-drawer__close:hover,
.nav-drawer__close:focus-visible {
  color: #fff;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  outline: none;
}

.nav-drawer__nav {
  display: grid;
  gap: 0.35rem;
}

.nav-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  color: #dce6f5;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-drawer__nav a:hover,
.nav-drawer__nav a:focus-visible,
.nav-drawer__nav a.is-active {
  color: #fff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.22);
  outline: none;
}

.nav-drawer__nav a.is-active {
  box-shadow: inset 3px 0 0 var(--cyan);
}

.nav-drawer__actions {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.nav-drawer__actions .btn {
  width: 100%;
  border-radius: 14px;
}

.nav-drawer__note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(168, 185, 208, 0.75);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  z-index: 58;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #133f6e 0%, #0a1e3b 55%, #0f2744 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 30, 59, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  color: #dbeafe;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(232, 238, 248, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.btn[aria-disabled="true"],
.btn.is-disabled,
.btn:disabled {
  opacity: 0.48;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.2);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shot--bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: 50% 18%;
  opacity: 0.55;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero__device {
  display: none;
  margin: 0;
}

.hero__shot--fg {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45));
  animation: floatSoft 5.5s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__glow {
  position: absolute;
  inset: -10% -5% auto auto;
  width: min(70vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.08) 42%, transparent 70%);
  filter: blur(8px);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(59, 130, 246, 0.12), transparent 34%),
    linear-gradient(105deg, rgba(5, 15, 31, 0.72) 0%, rgba(5, 15, 31, 0.42) 48%, rgba(5, 15, 31, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 15, 31, 0.28) 0%, rgba(5, 15, 31, 0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero__logo {
  width: min(42vw, 196px);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: riseIn 0.75s var(--ease) both;
}

.hero h1 {
  margin: 0 auto 1rem;
  max-width: 22ch;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.45;
  color: #f5f8ff;
  animation: riseIn 0.9s var(--ease) 0.06s both;
}

.hero__lead {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  animation: riseIn 1s var(--ease) 0.1s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  animation: riseIn 1.05s var(--ease) 0.14s both;
}

.hero__note {
  margin: 1rem auto 0;
  color: rgba(168, 185, 208, 0.9);
  font-size: 0.88rem;
  animation: riseIn 1.1s var(--ease) 0.18s both;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-6) 1.25rem;
}

.section__head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.4;
  color: #fff;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about {
  padding-bottom: 1rem;
}

.tools {
  position: relative;
  isolation: isolate;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.tools > .section__head,
.tools > .tool-badges,
.tools > .tool-tiles {
  max-width: var(--max);
  margin-inline: auto;
}

.tools::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 44, 0.5) 0%, rgba(10, 30, 59, 0.64) 100%);
  border-block: 1px solid rgba(238, 242, 248, 0.08);
  pointer-events: none;
}

.tools__net {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    url("../img/tools-net.svg") center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.about__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.about__mascot {
  margin: 0;
  justify-self: center;
}

.about__mascot img {
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.35));
  animation: floatSoft 5.5s ease-in-out infinite;
}

.tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.tool-badge {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.tool-badge:hover,
.tool-badge:focus-visible {
  color: #f5f8ff;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  outline: none;
}

.tool-badge:focus-visible {
  box-shadow: var(--focus);
}

.tool-badge.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0a1e3b 70%);
  border-color: transparent;
}

.tool-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tool-tile {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 1rem 0.9rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    opacity 0.22s var(--ease);
}

.tool-tile.is-hidden {
  display: none;
}

.tool-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.06);
}

.tool-tile__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.2rem;
  border-radius: 10px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.tool-tile__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.tool-tile h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f5f8ff;
  line-height: 1.4;
}

.tool-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.audience__cards {
  display: grid;
  gap: 1rem;
}

.audience__cards article {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.audience__cards article:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.06);
}

.audience__cards h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #fff;
}

.audience__cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 1.1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq__list details:hover,
.faq__list details[open] {
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.05);
}

.faq__list summary {
  cursor: pointer;
  font-weight: 700;
  color: #f5f8ff;
  list-style: none;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 12px;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-inline-end: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  flex-shrink: 0;
}

.faq__list details[open] summary {
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.faq__list details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--cyan);
}

.faq__list p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq__list a {
  color: #dff7fb;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq__list a:hover {
  color: #fff;
}

.cta-band {
  padding: 0 1.25rem var(--space-6);
}

.bale-offer {
  padding: 0 1.25rem var(--space-5);
}

.bale-offer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.15rem 1.5rem 2.35rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(8, 47, 73, 0.92), rgba(10, 30, 59, 0.95) 55%, rgba(15, 39, 68, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: var(--shadow-soft);
}

.bale-offer .eyebrow {
  margin: 0 0 0.55rem;
  color: #7dd3fc;
}

.bale-offer h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  color: #fff;
}

.bale-offer p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: var(--muted);
}

.bale-offer__handle {
  margin: 0.9rem auto 0 !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #bae6fd;
  font-variant-numeric: tabular-nums;
}

.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.22), transparent 45%),
    linear-gradient(135deg, #133f6e, #0a1e3b 55%, #0f2744);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff;
}

.cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 36rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 3rem 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background:
    linear-gradient(180deg, rgba(5, 15, 31, 0.35) 0%, rgba(5, 15, 31, 0.72) 100%);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.site-footer__top {
  display: grid;
  gap: 2rem;
}

.site-footer__brand {
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
}

.site-footer__tagline {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.site-footer__col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dce6f5;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer__col a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.site-footer__address {
  color: var(--muted);
  line-height: 1.7;
  max-width: 16rem;
}

.site-footer a {
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: none;
}

.site-footer a:focus-visible {
  box-shadow: var(--focus);
}

.site-footer__bottom {
  display: grid;
  gap: 0.55rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.site-footer__rights {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(168, 185, 208, 0.92);
}

.site-footer__rights a {
  color: var(--cyan);
  font-weight: 600;
}

.site-footer__rights a:hover,
.site-footer__rights a:focus-visible {
  color: #9aecf5;
}

.site-footer__copy {
  margin: 0;
  opacity: 0.72;
  font-size: 0.8rem;
}

.brand--footer {
  font-size: 1.05rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.07) translateY(-1.4%);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 720px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .nav--desktop {
    display: flex;
    flex: 0 1 auto;
    gap: 0.35rem;
    margin: 0;
    margin-inline-start: auto;
  }

  .header-actions {
    margin-inline-start: 0;
  }

  .header-actions__login {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-backdrop,
  .nav-drawer {
    display: none !important;
  }

  .tool-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 2rem;
  }

  .about .section__head {
    margin-bottom: 0;
    max-width: none;
  }

  .about__mascot img {
    width: min(100%, 340px);
  }

  .site-footer__top {
    grid-template-columns: 1.1fr 1.4fr;
    align-items: start;
    gap: 2.5rem;
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
  }
}

@media (min-width: 980px) {
  .hero {
    align-items: center;
  }

  .hero__shot--bg {
    display: none;
  }

  .hero__wash {
    background:
      radial-gradient(circle at 22% 45%, rgba(59, 130, 246, 0.16), transparent 38%),
      linear-gradient(180deg, rgba(5, 15, 31, 0.18) 0%, rgba(5, 15, 31, 0.5) 100%);
  }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding-block: 4.5rem;
    padding-inline: 1.25rem;
    min-height: inherit;
  }

  .hero__content {
    padding: 0;
    max-width: none;
    margin: 0;
    align-self: center;
    text-align: start;
  }

  .hero__logo {
    margin-inline: 0;
    margin-bottom: 1rem;
  }

  .hero h1,
  .hero__lead {
    margin-inline: 0;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__note {
    margin-inline: 0;
  }

  .hero__device {
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
    animation: riseIn 1s var(--ease) 0.12s both;
  }

  .hero__shot--fg {
    width: min(100%, 380px);
  }

  .hero__logo {
    width: 188px;
  }

  .tool-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .site-footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 419px) {
  .brand span {
    font-size: 1rem;
  }

  .header-actions .btn-primary {
    padding-inline: 0.85rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__glow,
  .hero__shot--bg,
  .hero__shot--fg,
  .about__mascot img,
  .hero__logo,
  .hero h1,
  .hero__lead,
  .hero__cta,
  .hero__note,
  .tool-tile,
  .nav-drawer__panel,
  .nav-backdrop,
  .audience__cards article {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover,
  .tool-tile:hover,
  .audience__cards article:hover {
    transform: none;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --navy-950: #f8fafc;
    --navy-900: #f1f5f9;
    --navy-800: #e2e8f0;
    --navy-700: #cbd5e1;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --accent-deep: #1e40af;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --cyan: var(--accent);
    --cyan-soft: var(--accent-soft);
    --teal: var(--accent-strong);
    --gold: #3b82f6;
    --ink: #0a1e3b;
    --muted: #4d607a;
    --line: rgba(10, 30, 59, 0.12);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-hover: #ffffff;
    --shadow: 0 24px 60px rgba(10, 30, 59, 0.12);
    --shadow-soft: 0 12px 28px rgba(10, 30, 59, 0.08);
    --focus: 0 0 0 3px rgba(37, 99, 235, 0.35);
  }

  body {
    background:
      radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
      radial-gradient(ellipse 55% 38% at 0% 18%, rgba(30, 64, 175, 0.08), transparent 50%),
      linear-gradient(165deg, #f8fafc 0%, #f1f5f9 45%, #e8eef8 100%);
  }

  .site-header {
    background: rgba(248, 250, 252, 0.9);
  }

  .brand:hover,
  .nav--desktop a:hover,
  .nav--desktop a:focus-visible,
  .nav--desktop a.is-active,
  .section h2,
  .tool-tile h3,
  .audience__cards h3,
  .cta-band h2,
  .bale-offer h2,
  .faq__list summary,
  .site-footer a:hover,
  .site-footer a:focus-visible {
    color: var(--ink);
  }

  .hero h1 {
    color: #0a1e3b;
  }

  .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #133f6e 0%, #0a1e3b 55%, #0f2744 100%);
  }

  .btn-secondary {
    color: #0a1e3b;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.28);
  }

  .hero__logo {
    filter: drop-shadow(0 12px 28px rgba(10, 30, 59, 0.18));
  }

  .hero__wash {
    background:
      radial-gradient(circle at 78% 28%, rgba(37, 99, 235, 0.1), transparent 34%),
      linear-gradient(105deg, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.72) 100%),
      linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(241, 245, 249, 0.94) 100%);
  }

  .cta-band__inner {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
    border-color: rgba(37, 99, 235, 0.18);
  }

  .bale-offer__inner {
    background:
      linear-gradient(145deg, rgba(240, 249, 255, 0.98), rgba(255, 255, 255, 0.96));
    border-color: rgba(14, 165, 233, 0.28);
  }

  .bale-offer .eyebrow {
    color: #0284c7;
  }

  .bale-offer__handle {
    color: #0369a1;
  }

  .faq__list details[open] summary,
  .eyebrow {
    color: var(--accent);
  }

  .tool-badge:hover,
  .tool-badge:focus-visible {
    color: var(--ink);
  }

  .tool-badge.is-active {
    color: #fff;
  }

  .tool-tile {
    background: rgba(255, 255, 255, 0.72);
  }

  .tool-tile:hover {
    background: #fff;
  }

  .tools::before {
    background:
      linear-gradient(180deg, rgba(226, 232, 240, 0.62) 0%, rgba(203, 213, 225, 0.78) 100%);
    border-block-color: rgba(10, 30, 59, 0.08);
  }

  .tools__net {
    opacity: 0.3;
    filter: brightness(0.55) saturate(1.15);
  }

  .site-footer {
    background:
      linear-gradient(180deg, rgba(241, 245, 249, 0.4) 0%, rgba(226, 232, 240, 0.85) 100%);
  }

  .site-footer__col h3 {
    color: var(--ink);
  }

  .site-footer__rights a:hover,
  .site-footer__rights a:focus-visible {
    color: #1d4ed8;
  }

  .nav-toggle,
  .nav-drawer__close {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.8);
  }

  .nav-drawer__panel {
    background:
      radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.14), transparent 42%),
      linear-gradient(165deg, #f8fafc 0%, #f1f5f9 55%, #e8eef8 100%);
    border-inline-start-color: rgba(37, 99, 235, 0.18);
    box-shadow: -24px 0 60px rgba(10, 30, 59, 0.16);
  }

  .nav-drawer__nav a {
    color: var(--ink);
  }

  .nav-drawer__nav a:hover,
  .nav-drawer__nav a:focus-visible,
  .nav-drawer__nav a.is-active {
    color: var(--ink);
    background: rgba(37, 99, 235, 0.1);
  }

  .nav-drawer__note {
    color: var(--muted);
  }
}

/* —— Guide / SEO content pages —— */
.section__lead a,
.how__step a,
.faq__list a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.section__lead a:hover,
.how__step a:hover {
  color: #9aecf5;
}

.how__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  gap: 1rem;
}

.how__step {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.how__num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.how__step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #fff;
}

.how__step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.guides__grid,
.related-guides__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.related-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.related-card:hover,
.related-card:focus-visible {
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--surface-hover);
  transform: translateY(-2px);
  outline: none;
}

.related-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.guide-page {
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem;
}

.guide-page__inner {
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--cyan);
}

.breadcrumb a:hover {
  color: #9aecf5;
}

.guide-hero {
  margin-bottom: 2rem;
}

.guide-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.35;
  color: #fff;
}

.guide-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
}

.guide-prose {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.guide-prose h2 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.25rem;
  color: #fff;
}

.guide-prose p,
.guide-prose li {
  margin: 0;
  color: rgba(238, 242, 248, 0.88);
  line-height: 1.9;
}

.guide-prose ul,
.guide-prose ol {
  margin: 0.25rem 0 0.5rem;
  padding-inline-start: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.guide-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.guide-prose a:hover {
  color: #9aecf5;
}

.related-guides {
  margin-bottom: 2rem;
}

.related-guides h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.guide-cta {
  padding: 0;
}

.guide-cta .cta-band__inner {
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .how__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .guides__grid,
  .related-guides__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-guides__grid:not(.guides__grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
