/* Territory landing — styled to match Mockup.pdf */

:root {
  --ink: #111218;
  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --purple: #5a56ff;
  --purple-2: #6e6bff;
  --teal: #63f0e3;
  --yellow: #ffef6b;
  --border: rgba(17, 18, 24, 0.18);
  --border-strong: rgba(17, 18, 24, 0.75);
  --shadow: 0 18px 40px rgba(17, 18, 24, 0.10);
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --header-h: 64px;
  --space: clamp(1rem, 4vw, 2rem);
  --space-mobile: clamp(0.875rem, 4.5vw, 1.25rem);
  --wrap: min(1060px, calc(100% - 2 * var(--space)));
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space);
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 2px 12px rgba(17, 18, 24, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--space);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo__img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  padding: var(--space);
  background: #fff;
  border-top: 4px solid var(--ink);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}

.site-header.is-open .site-nav {
  transform: translateX(0);
  visibility: visible;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav__list a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid rgba(17, 18, 24, 0.1);
}

.site-nav__list a:hover {
  color: var(--purple);
  text-decoration: none;
}

.site-nav__cta {
  margin-top: auto;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    transform: none;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: row;
    gap: 1.5rem;
  }

  .site-nav__list a {
    padding: 0;
    border: none;
    font-size: 0.95rem;
  }

  .site-nav__cta {
    margin-top: 0;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn--primary:hover {
  box-shadow: 0 10px 0 rgba(17, 18, 24, 0.15);
}

.btn--secondary {
  background: var(--purple);
  color: #fff;
}

.btn--secondary:hover {
  box-shadow: 0 10px 0 rgba(17, 18, 24, 0.15);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(2.25rem, 7vw, 4rem) 0 clamp(2.25rem, 7vw, 3.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--purple);
  pointer-events: none;
}

.hero__content {
  position: relative;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36ch;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__title-line {
  display: block;
}

.hero__lede {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2.25rem;
  }
}

.hero-pitch {
  margin: 0;
  width: 100%;
  filter: drop-shadow(0 20px 36px rgba(17, 18, 24, 0.22));
}

.hero-pitch__img {
  display: block;
  width: 100%;
  max-width: min(900px, 98vw);
  margin-inline: auto;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: #fff;
}

@media (min-width: 860px) {
  .hero-pitch__img {
    max-width: 980px;
  }
}

/* Sections */

.section {
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.section__head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 52ch;
}

.section__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

.section__label--on-dark {
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.section__intro {
  margin: 0;
  color: rgba(17, 18, 24, 0.72);
  font-size: 1.05rem;
}

.section--capabilities {
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
}

.section__layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .section__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }

  .section__layout--flip {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .section__layout--flip .shape,
  .section__layout--flip .benefit-art {
    order: 2;
  }
}

.section__body {
  min-width: 0;
}

.shape {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.shape img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104%;
  height: 104%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  transform: translate(-50%, -50%);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.shape--quarter {
  width: min(440px, 82vw);
  aspect-ratio: 1;
}

.shape--quarter--left {
  border-top-right-radius: 100%;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.shape--quarter--left img {
  object-position: 12% 18%;
}

.shape--quarter--right {
  border-top-left-radius: 100%;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

.shape--quarter--right img {
  object-position: 72% 28%;
}

.section--features .shape--quarter--right img {
  object-position: 48% 22%;
}

.shape--rect {
  width: min(400px, 78vw);
  aspect-ratio: 1;
  border-radius: 14px;
}

.shape--rect img {
  object-position: 28% 38%;
}

.shape--arch {
  width: min(420px, 80vw);
  aspect-ratio: 10 / 12;
  border-radius: 999px 999px 16px 16px;
}

.shape--arch img {
  object-position: center top;
}

.confetti {
  position: relative;
  height: 10px;
}

.confetti::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  width: 80px;
  height: 10px;
  background:
    radial-gradient(circle, #ffd34f 38%, transparent 40%) 0 0 / 10px 10px,
    radial-gradient(circle, #63f0e3 38%, transparent 40%) 10px 0 / 10px 10px,
    radial-gradient(circle, #5a56ff 38%, transparent 40%) 20px 0 / 10px 10px,
    radial-gradient(circle, #ffd34f 38%, transparent 40%) 30px 0 / 10px 10px,
    radial-gradient(circle, #63f0e3 38%, transparent 40%) 40px 0 / 10px 10px,
    radial-gradient(circle, #5a56ff 38%, transparent 40%) 50px 0 / 10px 10px,
    radial-gradient(circle, #ffd34f 38%, transparent 40%) 60px 0 / 10px 10px,
    radial-gradient(circle, #63f0e3 38%, transparent 40%) 70px 0 / 10px 10px;
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.cap-list__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  font-weight: 500;
}

.cap-list__icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.35em;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--ink);
  box-shadow: none;
}

/* Subscribe band */

.subscribe-band {
  padding: 1.35rem 0;
  background: #ffd06a;
  border-block: 4px solid var(--ink);
}

.subscribe-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .subscribe-band__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .subscribe-form {
    flex: 1;
    min-width: min(100%, 280px);
    max-width: 560px;
  }
}

.subscribe-band__tag {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.subscribe-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

@media (min-width: 480px) {
  .subscribe-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .subscribe-form__fields {
    flex-direction: row;
    flex: 1 1 220px;
  }
}

.subscribe-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.subscribe-form__input::placeholder {
  color: rgba(17, 18, 24, 0.55);
}

.subscribe-form__input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(90, 86, 255, 0.20);
}

.subscribe-form__btn {
  flex-shrink: 0;
}

.subscribe-form__feedback {
  margin: 0;
  width: 100%;
  font-size: 0.9rem;
  color: var(--ink);
}

.subscribe-form__feedback.is-error {
  color: #ff8a8a;
}

/* Feature grid */

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.35rem 1.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: none;
}

.feature-card__icon {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  position: relative;
  display: block;
}

.feature-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.feature-card__body {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(17, 18, 24, 0.72);
}

/* Benefits */

.section--benefits {
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
}

.benefit-art {
  position: relative;
  display: grid;
  place-items: center;
}

.dots {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 64px;
  height: 64px;
  background:
    radial-gradient(circle, rgba(90, 86, 255, 1) 40%, transparent 42%) 0 0 / 10px 10px;
}

.benefit-list {
  margin: 0 0 1.5rem;
  padding-left: 0;
  list-style: none;
  color: rgba(17, 18, 24, 0.72);
}

.benefit-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
}

.benefit-list li:last-child {
  margin-bottom: 0;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal);
  border: 2px solid var(--ink);
}

.benefit-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.banner-quote {
  background: var(--teal);
  border-block: 4px solid var(--ink);
  padding: 1.1rem var(--space);
  text-align: center;
}

.banner-quote__text {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Audience */

.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.who-item {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem 1.1rem 1rem 1rem;
  background: linear-gradient(145deg, #fafbff 0%, #f3f4fa 100%);
  border: 1px solid rgba(17, 18, 24, 0.1);
  border-left: 3px solid rgba(90, 86, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.who-item:hover {
  border-left-color: rgba(90, 86, 255, 0.55);
  border-top-color: rgba(17, 18, 24, 0.12);
  border-right-color: rgba(17, 18, 24, 0.12);
  border-bottom-color: rgba(17, 18, 24, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(17, 18, 24, 0.06);
}

.who-item__mark {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  min-height: 3.25rem;
  align-self: stretch;
  border-radius: 8px;
  border: 2px solid var(--ink);
  box-shadow: 0 2px 0 rgba(17, 18, 24, 0.08);
}

.who-item__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 6px;
  margin: -1px 0 0;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translate(-50%, -60%) rotate(-45deg);
}

.who-item--accent-gold .who-item__mark {
  background: linear-gradient(180deg, #ffe78f 0%, #ffd06a 100%);
}

.who-item--accent-amber .who-item__mark {
  background: linear-gradient(180deg, #ffc978 0%, #f3b24f 100%);
}

.who-item--accent-dark .who-item__mark {
  background: linear-gradient(180deg, #2a2d38 0%, #111218 100%);
}

.who-item--accent-dark .who-item__mark::after {
  border-left-color: #ffef6b;
  border-bottom-color: #ffef6b;
}

.who-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.05rem;
}

.who-item__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
}

.who-item__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(17, 18, 24, 0.68);
  font-weight: 500;
}

/* Audience label + title typography (match mock) */
.section--audience .section__label {
  color: #5a56ff;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  font-size: 0.86rem;
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.section--audience .section__label::after {
  content: "";
  width: 26px;
  height: 2px;
  background: #5a56ff;
  border-radius: 2px;
}

.section--audience .section__title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.1vw, 2.35rem);
  margin: 0;
  font-weight: 800;
}

.section--audience .section__head {
  margin-bottom: 2.15rem;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 400px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section--audience {
  background: #fff;
  border-block: 0;
}

.section--audience .section__layout {
  align-items: start;
}

.section--audience .section__body {
  padding-top: 0.7rem;
}

.section--audience .shape--arch {
  width: min(420px, 48vw);
}

.section--audience .shape--arch img {
  object-position: 22% top;
}

@media (min-width: 860px) {
  /* Match mock: persona list left, arch right */
  .section--audience .section__layout {
    grid-template-columns: 1fr 0.95fr;
  }

  .section--audience .section__body {
    grid-column: 1;
    padding-top: 0.7rem;
  }

  .section--audience .shape.shape--arch {
    grid-column: 2;
    align-self: start;
  }
}

.section--how {
  background: #dde3ff;
  border-block: 4px solid var(--ink);
}

.section--how .steps {
  gap: 1.55rem;
}

.section--how .steps__item {
  gap: 0.75rem;
  padding: 1.15rem 0.75rem;
}

.section--how .steps__num {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.15rem;
  border-width: 4px;
}

.section--how .steps__text {
  font-size: 1.05rem;
}

.steps__item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--teal);
  color: var(--ink);
  border-radius: 50%;
  border: 3px solid var(--ink);
}

.steps__text {
  font-weight: 600;
  font-size: 1rem;
}

.steps__item:nth-child(2) .steps__num { background: #ffef6b; }
.steps__item:nth-child(3) .steps__num { background: #ffd06a; }
.steps__item:nth-child(4) .steps__num { background: var(--purple); color: #fff; }

.section--how .section__title {
  /* Mock repeats the label only; hide the extra large title */
  display: none;
}

.section--how .section__head {
  margin-bottom: 1.6rem;
}

.section--how .steps {
  gap: 1.55rem;
}

.how__closing {
  margin: 1rem 0 0;
  text-align: center;
  font-weight: 700;
}

.closing {
  padding: clamp(3rem, 8.5vw, 4.25rem) 0;
  background: var(--paper);
  text-align: center;
}

.closing__inner {
  max-width: 36rem;
}

.closing-card {
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.25rem);
  box-shadow: var(--shadow);
}

.closing__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.closing__subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: rgba(17, 18, 24, 0.75);
}

.closing-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .closing-form {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .closing-form__input {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
  }
}

.closing-form__input {
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.closing-form__input--full {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

.closing-form__input::placeholder {
  color: rgba(17, 18, 24, 0.55);
}

.closing-form__input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(90, 86, 255, 0.20);
}

.closing-form__feedback {
  margin: 0.5rem 0 0;
  width: 100%;
  font-size: 0.9rem;
  color: var(--ink);
}

.closing-form__feedback.is-error {
  color: #ff8a8a;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 4px solid var(--ink);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.site-footer__note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(17, 18, 24, 0.65);
}

/* —— Mobile / tablet portrait: stack images on their own row —— */

@media (max-width: 859px) {
  :root {
    --space: var(--space-mobile);
  }

  .section {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0;
  }

  .hero {
    padding: clamp(1.75rem, 6vw, 2.5rem) 0 clamp(2rem, 6vw, 2.75rem);
  }

  .hero__grid,
  .section__layout,
  .section--audience .section__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
  }

  .hero__copy,
  .hero__media,
  .section__layout .section__body,
  .section__layout .shape,
  .section__layout .benefit-art {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  .hero__copy {
    order: 1;
  }

  .hero__media {
    order: 2;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.45;
    max-width: none;
  }

  .hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    text-wrap: balance;
  }

  .hero__lede {
    margin-bottom: 1.5rem;
    max-width: none;
    line-height: 1.55;
  }

  .hero-pitch__img {
    max-width: 100%;
    border-radius: 14px;
  }

  .section__layout .section__body {
    order: 1;
  }

  .section__layout .shape,
  .section__layout .benefit-art {
    order: 2;
    justify-self: center;
    margin-top: 0.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(17, 18, 24, 0.08);
  }

  .section__layout--flip .shape,
  .section__layout--flip .benefit-art {
    order: 2;
  }

  .benefit-art {
    display: flex;
    justify-content: center;
  }

  .section__head {
    margin-bottom: 1.35rem;
  }

  .section__intro {
    font-size: 1rem;
    line-height: 1.55;
  }

  .shape--quarter {
    width: min(300px, 78vw);
  }

  .shape--rect {
    width: min(280px, 76vw);
  }

  .shape--arch,
  .section--audience .shape--arch {
    width: min(260px, 72vw);
  }

  .section--audience .section__layout {
    gap: 1.25rem;
  }

  .section--audience .section__body {
    order: 1;
    padding-top: 0;
  }

  .section--audience .shape.shape--arch {
    order: 2;
    justify-self: center;
    grid-column: auto;
  }

  .section--audience .section__head {
    margin-bottom: 1.35rem;
  }

  .cap-list__item {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 1.15rem 0.25rem;
  }

  .feature-card__icon {
    width: 64px;
    height: 64px;
  }

  .benefit-art .dots {
    right: 4px;
    bottom: 4px;
    width: 48px;
    height: 48px;
  }

  .banner-quote {
    padding: 1rem var(--space);
  }

  .banner-quote__text {
    font-size: 0.9rem;
    line-height: 1.45;
    text-wrap: balance;
  }

  .subscribe-band {
    padding: 1.15rem 0;
  }

  .subscribe-band__inner {
    gap: 1rem;
  }

  .subscribe-band__title {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    line-height: 1.2;
    text-wrap: balance;
  }

  .subscribe-form,
  .subscribe-form__fields {
    flex-direction: column;
    width: 100%;
  }

  .subscribe-form__btn,
  .closing-form__btn {
    width: 100%;
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .who-item {
    padding: 0.9rem 1rem;
    gap: 0.85rem;
  }

  .who-item__desc {
    font-size: 0.875rem;
  }

  .section--how .steps {
    gap: 1rem;
  }

  .section--how .steps__item {
    padding: 0.85rem 0.5rem;
  }

  .section--how .steps__text {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .steps__text {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .how__closing {
    margin-top: 0.75rem;
  }

  .closing {
    padding: clamp(2.25rem, 7vw, 3rem) 0;
  }

  .closing-card {
    padding: 1.35rem 1.15rem;
  }

  .closing__title {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
    text-wrap: balance;
  }

  .closing__subtitle {
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .closing-form {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-form__input {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .site-footer {
    padding: 1.5rem 0;
  }
}

@media (max-width: 380px) {
  .hero__title-line {
    display: inline;
  }

  .hero__title-line:first-child::after {
    content: " ";
  }

  .hero__title {
    line-height: 1.12;
  }

  .subscribe-band__tag {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}
