/* ==========================================================================
   Business Beyond Borders: styles
   Dark "digital" theme. Main blue #0D152C, dark red accent #9B1B30.
   ========================================================================== */

:root {
  --bg: #0d152c;           /* main blue */
  --bg-deep: #080d1c;
  --navy-tint: #1b2a52;
  --blue-soft: #8fa3d9;    /* icon tint on dark */
  --accent: #9b1b30;       /* dark red: buttons, badges */
  --accent-hover: #b3223a;
  --accent-dark: #6b1222;
  --accent-light: #e5566a; /* red that stays readable on the main blue */
  --text: #ffffff;
  --text-soft: #dfe4f0;
  --muted: #aeb7cc;
  --line: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --success: #6fd3a0;
  --danger: #ff8a95;

  --focus: #ffffff;

  --font: "Archivo", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 28px;
  --r-lg: 20px;
  --r: 12px;
  --r-sm: 8px;
  --container: 1180px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 { font-size: clamp(2.1rem, 2.6vw + 1.2rem, 3.2rem); font-stretch: 104%; }
h3 { font-size: 1.3rem; font-stretch: 100%; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--white, #fff);
  font-weight: 700;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 40px, 820px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px -12px rgba(155, 27, 48, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #f6e8ea; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--navy { background: var(--bg); color: #fff; }
.btn--navy:hover { background: var(--navy-tint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 21, 44, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(13, 21, 44, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-stretch: 96%;
  font-size: 1.125rem;
  white-space: nowrap;
}
.brand b { font-weight: 800; color: var(--accent-light); }
.brand__mark {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.6;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: color 0.15s, background-color 0.15s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.lang-switch button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--bg); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon--close { display: none; }
.site-header.is-open .menu-toggle .icon--open { display: none; }
.site-header.is-open .menu-toggle .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

.hero__aurora {
  position: absolute;
  inset: -10% -10% 0;
  z-index: -2;
  background:
    radial-gradient(38% 48% at 78% 38%, rgba(155, 27, 48, 0.5), transparent 70%),
    radial-gradient(42% 52% at 18% 18%, rgba(52, 82, 154, 0.4), transparent 70%),
    radial-gradient(30% 40% at 50% 100%, rgba(155, 27, 48, 0.22), transparent 70%);
  filter: blur(24px);
}

/* Perspective grid "floor" */
.hero__grid-bg {
  position: absolute;
  inset: auto -20% 0 -20%;
  z-index: -1;
  height: 55%;
  background-image:
    linear-gradient(rgba(143, 163, 217, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 217, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-block: clamp(64px, 9vw, 128px) clamp(72px, 10vw, 140px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(229, 86, 106, 0.4);
  border-radius: 999px;
  background: rgba(155, 27, 48, 0.16);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(229, 86, 106, 0.2);
}

.hero__title {
  font-size: clamp(2.8rem, 5.4vw + 1rem, 5.6rem);
  line-height: 0.98;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  max-width: 12ch;
  background: linear-gradient(180deg, #ffffff 35%, #c3cce4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[lang="hy"] .hero__title {
  font-size: clamp(2.2rem, 3.4vw + 1rem, 4rem);
  line-height: 1.1;
  max-width: 16ch;
}

.hero__lead {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 470px;
  justify-self: center;
  aspect-ratio: 1;
}
.globe { width: 100%; height: 100%; overflow: visible; }

.globe__arcs path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-arc 1.4s var(--ease-out) forwards;
}
.globe__arcs path:nth-child(2) { animation-delay: 0.25s; }
.globe__arcs path:nth-child(3) { animation-delay: 0.5s; }
.globe__arcs path:nth-child(4) { animation-delay: 0.75s; }
.globe__arcs path:nth-child(5) { animation-delay: 1s; }

.globe__nodes circle {
  fill: var(--accent-light);
  stroke: rgba(229, 86, 106, 0.28);
  stroke-width: 8;
  opacity: 0;
  animation: node-in 0.5s var(--ease-out) forwards;
  animation-delay: 0.2s;
}

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r);
  background: rgba(13, 21, 44, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: card-in 0.6s var(--ease-out) forwards;
}
.float-card .icon { color: var(--accent-light); }
.float-card--a { top: 10%; left: -8%; animation-delay: 1.3s; }
.float-card--b { top: 48%; right: -10%; animation-delay: 1.5s; }
.float-card--c { bottom: 6%; left: 6%; animation-delay: 1.7s; }

@keyframes draw-arc { to { stroke-dashoffset: 0; } }
@keyframes node-in { to { opacity: 1; } }
@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 128px); }
.section--deep { background: var(--bg-deep); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-lead { margin-top: 16px; max-width: 60ch; font-size: 1.125rem; color: var(--muted); }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass);
  overflow: hidden;
}
/* Pointer-follow glow (set by main.js) */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 86, 106, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.tile:hover::before { opacity: 1; }
.tile--hero { grid-column: span 7; grid-row: span 2; }
.tile--wide { grid-column: span 7; }

.tile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(229, 86, 106, 0.12);
  border: 1px solid rgba(229, 86, 106, 0.25);
  color: var(--accent-light);
}
.tile__icon .icon { width: 24px; height: 24px; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); max-width: 54ch; }

.tile__visual { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
.mock-video,
.mock-chart {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 13, 28, 0.6);
}
.mock-video { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.mock-video__play {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.mock-video__play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.mock-video__bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.mock-video__bar span { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.mock-video__time { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 132px; padding: 16px; }
.mock-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(229, 86, 106, 0.85), rgba(155, 27, 48, 0.35));
}
.mock-chart span:last-child { background: linear-gradient(180deg, #ff7c8e, var(--accent)); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.chips .chip--new {
  border-color: rgba(229, 86, 106, 0.5);
  background: rgba(155, 27, 48, 0.2);
  color: #fff;
}
.chips .chip--new::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}
.chips--tile { margin-top: 22px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step { position: relative; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1px solid rgba(229, 86, 106, 0.5);
  border-radius: 50%;
  background: var(--bg);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(155, 27, 48, 0.12);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 76px;
  right: -16px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 6px, transparent 6px 12px);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 34ch; }

/* ---------- Plans ---------- */
.plan-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}

.billing {
  display: flex;
  width: fit-content;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--surface);
}
.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.billing button[aria-pressed="true"] { background: #fff; color: var(--bg); }
.save-badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.currency-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.currency-picker__note { display: inline-flex; align-items: center; gap: 6px; }
.currency-picker__note .icon { color: var(--accent-light); width: 1.1em; height: 1.1em; }
.currency-picker label { font-weight: 600; color: var(--text-soft); }
.currency-picker select {
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aeb7cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.currency-picker select option { background: var(--bg); color: #fff; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
  align-items: stretch;
}

.plan {
  --plan-head: linear-gradient(140deg, #243870, #121d3d);
  --plan-icon: var(--blue-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass);
}
.plan--beyond { --plan-head: linear-gradient(140deg, #b3223a, #6b1222); --plan-icon: var(--accent-light); }
.plan--featured {
  border-color: rgba(229, 86, 106, 0.6);
  box-shadow: 0 32px 90px -34px rgba(155, 27, 48, 0.75);
}

.plan__head {
  padding: 32px 28px 28px;
  background: var(--plan-head);
  text-align: center;
}
.plan__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.plan--featured .plan__badge { background: #fff; color: var(--accent); }
.plan__name { font-size: clamp(1.75rem, 1.2vw + 1.3rem, 2.25rem); font-stretch: 108%; }
.plan__tagline { margin-top: 8px; color: rgba(255, 255, 255, 0.88); }

.plan__list { display: grid; gap: 20px; padding: 28px; }
.plan__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.plan__list .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--plan-icon); }
.plan__list strong { display: block; font-weight: 700; line-height: 1.3; }
.plan__list span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.975rem; }

.plan__foot {
  margin-top: auto;
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
  background: rgba(8, 13, 28, 0.55);
  text-align: center;
}
/* Per-day price is the headline number */
.plan__perday {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 10px;
  margin-bottom: 6px;
}
.plan__perday-amount {
  font-size: clamp(3rem, 3.4vw + 1.8rem, 4.25rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #ffffff 20%, #ff98a7 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan__perday-label { font-size: 1.05rem; font-weight: 700; color: var(--text-soft); }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 20px; color: var(--muted); }
.plan__amount {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.plan__period { font-weight: 600; color: var(--muted); }
.plan__saving { margin: -12px 0 20px; font-size: 0.925rem; color: var(--muted); }

.plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(155, 27, 48, 0.38), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(52, 82, 154, 0.22), transparent 60%),
    var(--glass);
  overflow: hidden;
}
.newsletter h2 { font-size: clamp(1.9rem, 2vw + 1.2rem, 2.6rem); }
.newsletter__copy p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

.news-form { display: grid; gap: 10px; }
.news-form__label { font-weight: 600; color: var(--text-soft); }
.news-form__row { display: flex; gap: 10px; }
.news-form input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r);
  background: rgba(8, 13, 28, 0.6);
  color: #fff;
  font: inherit;
}
.news-form input::placeholder { color: #8b95ad; }
.news-form input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.news-form input[aria-invalid="true"] { border-color: var(--danger); }
.news-form .btn { min-height: 54px; }
.news-form__error { display: flex; align-items: center; gap: 8px; color: var(--danger); font-size: 0.95rem; font-weight: 600; }
.news-form__status:empty { display: none; }
.news-form__status { font-size: 0.975rem; font-weight: 600; color: var(--text-soft); }
.news-form__status[data-state="success"] { color: var(--success); }
.news-form__status[data-state="error"] { color: var(--danger); }
.news-form__fine { font-size: 0.875rem; color: var(--muted); }
.news-form__fine a { color: #fff; }

/* ---------- Open events ---------- */
.events {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(120deg, #9b1b30, #6b1222);
  --focus: #fff;
}
.events__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.events__icon .icon { width: 30px; height: 30px; }
.events h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); font-stretch: 100%; }
.events p { margin-top: 10px; max-width: 62ch; color: rgba(255, 255, 255, 0.9); }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.founder__photo img,
.founder__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  object-fit: cover;
}
.founder__placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(155, 27, 48, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-tint), var(--bg));
  color: var(--muted);
  font-weight: 600;
}
.founder__placeholder .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.founder__role { margin-top: 10px; font-weight: 600; color: var(--accent-light); }
.founder__bio { margin-top: 20px; max-width: 60ch; font-size: 1.125rem; color: var(--muted); }
.founder__stat { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; color: var(--muted); }
.founder__stat strong { font-size: 2.4rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; color: #fff; }
.founder__topics-title { margin: 30px 0 14px; font-size: 1rem; }
.founder .chips { margin-bottom: 32px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding-block: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent-light); transition: transform 0.2s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 22px; max-width: 65ch; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(88px, 11vw, 140px);
  background: var(--bg-deep);
  text-align: center;
}
.final-cta__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 70% at 50% 110%, rgba(155, 27, 48, 0.55), transparent 70%),
    radial-gradient(35% 50% at 50% -10%, rgba(52, 82, 154, 0.3), transparent 70%);
}
.final-cta__inner { display: grid; justify-items: center; gap: 18px; }
.final-cta h2 { font-size: clamp(2.3rem, 3.4vw + 1.2rem, 3.8rem); font-stretch: 112%; letter-spacing: -0.035em; }
.final-cta p { max-width: 52ch; color: var(--muted); font-size: 1.125rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-block: 44px 28px;
}
.footer-tagline { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  padding-block: 20px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

/* ---------- Sign-up-soon dialog ---------- */
.modal {
  --focus: var(--bg);
  width: min(100% - 40px, 460px);
  padding: 32px;
  border: 0;
  border-top: 6px solid var(--accent);
  border-radius: var(--r-lg);
  background: #fff;
  color: #141a2b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.modal::backdrop { background: rgba(8, 13, 28, 0.75); backdrop-filter: blur(4px); }
.modal h2 { font-size: 1.6rem; font-stretch: 100%; color: var(--bg); }
.modal p { margin: 12px 0 24px; color: #4a5266; }

/* ---------- Brand highlight ---------- */
.brand-hl { color: var(--accent-light); font-weight: 800; }
.hero__title .brand-hl {
  background: linear-gradient(95deg, #ff8fa0, #e5566a 55%, #ff7589);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.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;
}
/* Hidden anti-spam field. Clipped rather than offset, so it can't widen the
   page in right-to-left languages. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  pointer-events: none;
}

/* Nav "Contact us" pill */
.site-nav .nav-contact { border: 1px solid rgba(229, 86, 106, 0.5); border-radius: 999px; color: #fff; margin-left: 6px; }
.site-nav .nav-contact:hover { background: rgba(155, 27, 48, 0.25); }

/* Materials mock in the first bento tile */
.mock-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-doc {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 28, 0.6);
}
.mock-doc__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}
.mock-doc__icon .icon { width: 18px; height: 18px; }
.mock-doc__lines { display: grid; gap: 6px; }
.mock-doc__lines i { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }
.mock-doc__lines i:last-child { width: 60%; }

/* ---------- Forms (shared) ---------- */
.panel-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass);
}
.panel-form h3 { font-size: 1.3rem; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend { font-weight: 600; color: var(--text-soft); font-size: 0.95rem; padding: 0; }
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r);
  background: rgba(8, 13, 28, 0.6);
  color: #fff;
  font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8b95ad; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.9rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--text-soft); font-size: 0.95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent-light); }
.form-status:empty { display: none; }
.form-status { font-size: 0.975rem; font-weight: 600; color: var(--text-soft); }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }
.form-fine { font-size: 0.875rem; color: var(--muted); }
.form-fine a { color: #fff; }

/* ---------- Free toolkit ---------- */
.materials {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}
.materials__grid { display: grid; gap: 14px; }
.material {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
}
.material__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(229, 86, 106, 0.12);
  border: 1px solid rgba(229, 86, 106, 0.25);
  color: var(--accent-light);
}
.material h3 { font-size: 1.1rem; }
.material p { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }
.material__badge {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.materials:not(.is-unlocked) .material__download { display: none; }

/* ---------- Testimonials ---------- */
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  max-width: none;
}
.section-head--split > div { max-width: 700px; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.testimonial {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--glass);
}
.testimonial__quote { width: 28px; height: 28px; color: var(--accent-light); }
.testimonial blockquote { margin: 0; color: var(--text-soft); font-size: 1.05rem; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: 0.925rem; }
.testimonial-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px dashed rgba(229, 86, 106, 0.45);
  border-radius: var(--r-xl);
  background: rgba(155, 27, 48, 0.08);
  text-align: center;
}
.testimonial-empty .tile__icon { margin: 0; }
.testimonial-empty p { max-width: 52ch; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-links { display: grid; gap: 12px; margin-top: 16px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}
.contact-link:hover { border-color: rgba(229, 86, 106, 0.5); background: var(--surface-2); }
.contact-link .tile__icon { flex: none; width: 44px; height: 44px; margin: 0; }
.contact-link strong { display: block; }
.contact-link span span { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }

/* ---------- Founder details ---------- */
.founder { align-items: start; }
.founder__photo {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
}
/* Round, LinkedIn-style portrait with a soft red halo */
.founder__photo img {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 10px rgba(155, 27, 48, 0.12), 0 40px 100px -30px rgba(155, 27, 48, 0.75);
}
.founder__photo .founder__stat {
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(13, 21, 44, 0.75);
}
.founder__photo .founder__stat strong { font-size: 1.8rem; }
.founder__role { color: var(--muted); }
.founder__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.founder__subtitle { margin: 28px 0 12px; font-size: 1rem; }
.founder__list { display: grid; gap: 10px; }
.founder__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.975rem;
}
.founder__list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-light); }
.topic-groups { display: grid; gap: 16px; }
.topic-group__title { margin-bottom: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.chips--quiet li { opacity: 0.85; }
.founder__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.founder .chips { margin-bottom: 0; }

.plans-notes { display: grid; justify-items: center; gap: 6px; margin-top: 28px; }
.plans-notes .plans-note { margin: 0; }
.plans-note a { color: #fff; }

/* ---------- Feedback dialog ---------- */
.modal--dark {
  --focus: #fff;
  width: min(100% - 32px, 580px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #111a33;
  color: #fff;
  border-top-color: var(--accent-light);
}
.modal--dark h2 { color: #fff; margin-bottom: 18px; }
.dialog-form { display: grid; gap: 16px; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.rating label .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label { color: var(--accent-light); }
.rating input:focus-visible + label { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 960px) {
  .materials, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .field-row, .founder__cols { grid-template-columns: 1fr; }
  .material { grid-template-columns: 44px 1fr; }
  .material__icon { width: 44px; height: 44px; }
  .material__badge, .material__download { grid-column: 2; justify-self: start; }
  .mock-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lang-switch button { padding: 0 6px; }
}

/* ---------- Language picker ---------- */
.lang-picker { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.lang-picker > .icon { width: 20px; height: 20px; color: var(--accent-light); }
.lang-picker select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aeb7cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 15px;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.lang-picker select option { background: var(--bg); color: #fff; }

/* ---------- Trainings & talks ---------- */
.trainings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.training {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.training::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 86, 106, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}
.training:hover { border-color: rgba(229, 86, 106, 0.4); transform: translateY(-2px); }
.training:hover::before { opacity: 1; }
.training__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(229, 86, 106, 0.12);
  border: 1px solid rgba(229, 86, 106, 0.25);
  color: var(--accent-light);
}
.training h3 { font-size: 1.05rem; }
.training p { margin-top: 4px; color: var(--muted); font-size: 0.94rem; }
.training--lead {
  grid-column: span 2;
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(155, 27, 48, 0.35), transparent 60%),
    var(--glass);
  border-color: rgba(229, 86, 106, 0.4);
}
.training--lead h3 { font-size: 1.3rem; }
.training--lead p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Spatial depth (hero layers follow the pointer) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -14px), 0); transition: transform 0.35s var(--ease-out); }
  .hero__aurora { transform: translate3d(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 20px), 0); transition: transform 0.6s var(--ease-out); }
  .float-card { transition: transform 0.45s var(--ease-out), opacity 0.6s var(--ease-out); }
  .float-card--a { transform: translate3d(calc(var(--px, 0) * -30px), calc(var(--py, 0) * -22px), 0); }
  .float-card--b { transform: translate3d(calc(var(--px, 0) * 34px), calc(var(--py, 0) * 18px), 0); }
  .float-card--c { transform: translate3d(calc(var(--px, 0) * -22px), calc(var(--py, 0) * 26px), 0); }

  /* Scroll-driven entrances, no JavaScript */
  @supports (animation-timeline: view()) {
    .tile,
    .plan,
    .training,
    .material,
    .testimonial,
    .newsletter,
    .events,
    .steps li {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes rise-in {
      from { opacity: 0; transform: translateY(34px) scale(0.985); }
      to { opacity: 1; transform: none; }
    }
  }
}

/* Fine grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, .modal, dialog { z-index: 50; }

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .site-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .float-card--a { left: auto; right: -8%; }
[dir="rtl"] .float-card--b { right: auto; left: -10%; }
[dir="rtl"] .float-card--c { left: auto; right: 6%; }
[dir="rtl"] .step:not(:last-child)::after { left: -16px; right: 76px; }
[dir="rtl"] .rating { flex-direction: row; }
[dir="rtl"] .currency-picker select,
[dir="rtl"] .lang-picker select { padding: 0 14px 0 40px; background-position: left 12px center; }
[dir="rtl"] .modal__actions { justify-content: flex-start; }
[dir="rtl"] .mock-doc__lines i:last-child { margin-left: auto; }
@media (max-width: 760px) {
  [dir="rtl"] .step:not(:last-child)::after { right: 28px; left: auto; }
}

@media (max-width: 1080px) {
  .trainings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .trainings { grid-template-columns: 1fr; }
  .training--lead { grid-column: span 1; }
  .lang-picker > .icon { display: none; }
  .lang-picker select { padding: 0 30px 0 10px; font-size: 0.9rem; }
}

/* ---------- Legal pages ---------- */
.legal { padding-block: 64px 96px; }
.legal h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { max-width: 70ch; color: var(--muted); margin-bottom: 12px; }
.legal a { color: #fff; }
.legal ul { list-style: disc; padding-left: 1.4em; }
.legal .notice {
  padding: 16px 20px;
  border-left: 4px solid var(--accent-light);
  background: var(--surface-2);
  border-radius: var(--r-sm);
  color: var(--text-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { min-height: 52px; font-size: 1.0625rem; }
  .header-actions { margin-left: auto; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--hero, .tile--wide { grid-column: span 1; grid-row: auto; }
  .tile--hero, .tile--wide { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { max-width: 380px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 380px; }
  .events { grid-template-columns: 1fr; justify-items: start; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step:not(:last-child)::after {
    top: 64px;
    left: 28px;
    right: auto;
    width: 1px;
    height: calc(100% - 44px);
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 6px, transparent 6px 12px);
  }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide { grid-column: span 1; }
  .tile { padding: 24px; }
}

@media (max-width: 520px) {
  .header-cta { display: none; }
  .brand__text { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .float-card { font-size: 0.8rem; padding: 8px 12px; }
  .billing button { padding: 0 16px; }
  .plan__list, .plan__head, .plan__foot { padding-inline: 22px; }
  .news-form__row { flex-direction: column; }
}

@media (max-width: 380px) {
  .brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
