/* Design tokens aligned with fe/apps/user-app/src/styles/_tokens.scss */
:root {
  --color-primary-500: #4f874e;
  --color-primary-600: #457543;
  --color-primary-700: #3a6238;
  --color-primary-100: #d9ecd8;
  --color-primary-button: var(--color-primary-700);
  --color-primary-button-hover: #2f4f2d;
  --color-secondary-500: #79bf42;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-600: #525252;
  --color-neutral-900: #171717;
  --color-danger-500: #dc2626;
  --color-danger-100: #fee2e2;
  --color-text-primary: var(--color-neutral-900);
  --color-text-secondary: var(--color-neutral-600);
  --color-surface: #f9fafb;
  --color-background: #ffffff;
  --header-background: linear-gradient(135deg, #4f874e 0%, #3a6238 100%);
  --footer-background: #ffffff;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius-base: 0.5rem;
  --radius-lg: 1rem;
  --max-w: 1120px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Lora', Georgia, serif;
  --heading-color: var(--color-text-primary);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-neutral-100);
  overflow-x: clip;
}

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

a {
  color: var(--color-primary-500);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-secondary-500);
  outline-offset: 2px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* —— App header (mat-toolbar / public-header) —— */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-background);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-header__inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 16px;
}

.app-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.app-header__brand:hover {
  opacity: 0.9;
}

.app-header__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-header__brand-text {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* —— Sections —— */
.main {
  flex: 1;
}

.section {
  padding: 3.5rem 0;
  background: var(--color-neutral-100);
}

.section--surface {
  background: var(--color-background);
}

.section:not(.section--surface):not(.section--band):not(.section--hero) + .section--surface,
.section--surface + .section:not(.section--surface):not(.section--band) {
  border-top: 1px solid var(--color-neutral-200);
}

.section--hero {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-neutral-200);
}

.section--band {
  background: var(--color-primary-100);
  border-block: 1px solid var(--color-neutral-200);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-primary-600);
  line-height: 1.3;
}

.hero__eyebrow-flag {
  width: 1.125rem;
  height: 0.75rem;
  flex-shrink: 0;
  border-radius: 2px;
  border: 1px solid var(--color-neutral-300);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06);
}

.section__title {
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.hero__title {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin: 0 0 1.75rem;
  max-width: 44rem;
}

.hero__subtitle:first-of-type:not(:only-of-type) {
  margin-bottom: 0.5rem;
}

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

.hero__actions .btn {
  text-align: center;
}

.hero__social-proof {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.trust-strip {
  padding: 1.1rem 0;
  background: var(--color-primary-100);
  border-bottom: 1px solid var(--color-neutral-200);
}

.trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem 1.5rem;
}

.trust-strip__list li {
  font-size: 0.95rem;
  color: var(--color-primary-700);
}

/* Buttons (mat-raised-button primary + stroked) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  border-radius: var(--radius-base);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}

.btn--primary {
  background: var(--color-primary-button);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--color-primary-button-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary-500);
  border: 1px solid var(--color-neutral-200);
}

.btn--secondary:hover {
  background: var(--color-primary-100);
  border-color: var(--color-primary-500);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards--3 {
  grid-template-columns: 1fr;
}

.cards--2 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-background);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
}

.card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
}

.audience-compare {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.audience-compare__panel {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
}

.audience-compare__panel--minus {
  background: var(--color-neutral-100);
}

.audience-compare__panel--plus {
  background: var(--color-primary-100);
  border-color: rgb(79 135 78 / 0.22);
  box-shadow: 0 1px 3px rgb(79 135 78 / 0.08);
}

.audience-compare__heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.audience-compare__panel--minus .audience-compare__heading {
  color: var(--color-text-secondary);
}

.audience-compare__panel--plus .audience-compare__heading {
  color: var(--color-primary-700);
}

.audience-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.audience-compare__list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 1rem;
  line-height: 1.45;
}

.audience-compare__panel--minus .audience-compare__list li {
  color: var(--color-text-secondary);
}

.audience-compare__panel--plus .audience-compare__list li {
  color: var(--heading-color);
  font-weight: 500;
}

.audience-compare__panel--minus .audience-compare__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-danger-500);
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.audience-compare__panel--plus .audience-compare__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.perk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.perk-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem;
  background: var(--color-background);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.perk-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-base);
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

.perk-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk-card__icon svg rect,
.perk-card__icon svg circle {
  fill: none;
}

.perk-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.35;
}

.perk-card__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-weight: 700;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.step p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.step-benefits {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-benefits li {
  position: relative;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 2.35rem;
  background: var(--color-primary-100);
  border: 1px solid rgb(79 135 78 / 0.15);
  border-radius: var(--radius-base);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.step-benefits li strong {
  color: var(--heading-color);
}

.step-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.faq details {
  background: var(--color-background);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-base);
  padding: 0.25rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  color: var(--heading-color);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.faq details[open] summary::after {
  content: '−';
}

.faq p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
}

.band {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.band__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--heading-color);
}

.band__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section__lead .disclaimer {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

/* Experts showcase — marketing gallery (#4) */
.experts-showcase__header {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.experts-showcase__disclaimer {
  margin-top: 0.5rem;
}

.experts-showcase {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
  background: var(--color-background);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.experts-showcase__picker {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid var(--color-neutral-200);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
  -webkit-overflow-scrolling: touch;
}

.experts-showcase__picker::-webkit-scrollbar {
  height: 6px;
}

.experts-showcase__picker::-webkit-scrollbar-thumb {
  background: var(--color-neutral-300);
  border-radius: 999px;
}

.experts-showcase__avatar-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 5.5rem;
  padding: 0.35rem 0.25rem 0.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-base);
  background: transparent;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.experts-showcase__avatar-btn:hover {
  background: var(--color-primary-100);
}

.experts-showcase__avatar-btn.is-active {
  border-color: var(--color-primary-500);
  background: var(--color-primary-100);
  transform: translateY(-2px);
}

.experts-showcase__avatar-btn:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: 2px;
}

.experts-showcase__avatar-img,
.experts-showcase__avatar-initials {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
}

.experts-showcase__avatar-initials {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.experts-showcase__avatar-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.2;
}

.experts-showcase__avatar-btn.is-active .experts-showcase__avatar-name {
  color: var(--color-primary-700);
}

.experts-showcase__panel {
  padding: 1.5rem 1.25rem 1.75rem;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.experts-showcase__panel.is-changing {
  opacity: 0.35;
}

.experts-showcase__hero {
  position: relative;
  border-radius: var(--radius-base);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-neutral-200);
}

.experts-showcase__cover {
  height: 7rem;
  background-size: cover;
  background-position: center;
}

.experts-showcase__hero-body {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0 1.25rem 1.25rem;
  margin-top: -2.5rem;
  position: relative;
}

.experts-showcase__hero-avatar,
.experts-showcase__hero-initials {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 3px solid var(--color-background);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  object-fit: cover;
}

.experts-showcase__hero-initials {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
}

.experts-showcase__hero-text {
  padding-top: 2.75rem;
  min-width: 0;
}

.experts-showcase__brand {
  margin: 0 0 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-600);
}

.experts-showcase__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.experts-showcase__niche {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-size: 0.78rem;
  font-weight: 600;
}

.experts-showcase__tagline {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.45;
}

.experts-showcase__bio {
  margin: 0 0 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 52rem;
}

.experts-showcase__plans-heading {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
}

.experts-showcase__plans {
  display: grid;
  gap: 0.85rem;
}

.experts-showcase__plan {
  position: relative;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-base);
  border: 1px solid var(--color-neutral-200);
  background: var(--color-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.experts-showcase__plan:hover {
  border-color: var(--color-primary-100);
  box-shadow: 0 2px 8px rgb(79 135 78 / 0.12);
}

.experts-showcase__plan-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.experts-showcase__plan-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--heading-color);
}

.experts-showcase__plan-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.screenshots-grid {
  display: grid;
  gap: 1.75rem;
}

.screenshot {
  margin: 0;
}

.screenshot__frame {
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-neutral-200);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}

.screenshot__frame--zoomable {
  position: relative;
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.screenshot__frame--zoomable:hover,
.screenshot__frame--zoomable:focus-visible {
  border-color: var(--color-primary-500);
  box-shadow: 0 8px 24px rgb(58 98 56 / 0.18);
}

.screenshot__frame--zoomable:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: 2px;
}

.screenshot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}

.screenshot[data-screenshot-id="1"] .screenshot__frame img {
  object-fit: contain;
  object-position: center;
  background: #eceff1;
}

.screenshot__zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.92);
  color: var(--color-primary-700);
  border: 1px solid var(--color-neutral-200);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.screenshot__frame--zoomable:hover .screenshot__zoom-hint,
.screenshot__frame--zoomable:focus-visible .screenshot__zoom-hint {
  opacity: 1;
  transform: scale(1.05);
}

.screenshot__zoom-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.screenshot__empty {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  border: 2px dashed var(--color-neutral-200);
  background: linear-gradient(145deg, #fff 0%, var(--color-neutral-100) 100%);
  position: relative;
}

.screenshot__empty::after {
  content: '';
  position: absolute;
  inset: 30%;
  border: 2px solid var(--color-primary-100);
  border-radius: 4px;
}

.screenshot figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.screenshot-lightbox {
  width: min(96vw, 72rem);
  max-width: none;
  max-height: none;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.screenshot-lightbox::backdrop {
  background: rgb(23 23 23 / 0.82);
  backdrop-filter: blur(4px);
}

.screenshot-lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.screenshot-lightbox__img {
  display: block;
  width: 100%;
  max-height: min(82vh, 50rem);
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.35);
}

.screenshot-lightbox__caption {
  margin: 0;
  padding: 0 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: #f5f5f5;
  line-height: 1.5;
}

.screenshot-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgb(255 255 255 / 0.95);
  color: var(--color-neutral-900);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
}

.screenshot-lightbox__close:hover {
  background: #fff;
}

.screenshot-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.screenshot-lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.is-lightbox-open {
  overflow: hidden;
}

/* Form */
.form-panel {
  background: var(--header-background);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-panel .section__title,
.form-panel .section__lead {
  color: #fff;
  text-align: center;
  max-width: 36rem;
}

.form-panel .section__title {
  width: 100%;
}

.form-panel .section__lead {
  opacity: 0.92;
}

.form {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-base);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text-primary);
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

.form .btn--primary {
  justify-self: center;
  width: 100%;
}

.form-panel .form .btn--primary {
  background: #fff;
  color: var(--color-primary-700);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.18);
}

.form-panel .form .btn--primary:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

.form__success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-base);
  background: rgba(255, 255, 255, 0.15);
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
  text-align: center;
}

.form__success.is-visible {
  display: block;
}

.form__success a {
  color: #fff;
}

/* Footer (app-footer style) */
.app-footer {
  flex-shrink: 0;
  background: var(--footer-background);
  border-top: 1px solid var(--color-neutral-300);
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.app-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-footer a {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.app-footer a:hover {
  color: var(--color-secondary-500);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .audience-compare {
    gap: 1.25rem;
  }

  .perk-grid {
    gap: 1.15rem;
  }

  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experts-showcase__picker {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 1.5rem 1.25rem;
  }

  .experts-showcase__panel {
    padding: 1.75rem 2rem 2rem;
  }

  .experts-showcase__cover {
    height: 9rem;
  }

  .experts-showcase__plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-panel {
    padding: 2.5rem;
  }

  .form .btn--primary {
    width: auto;
  }

  .hero__actions .btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 1024px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .experts-showcase__plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 2.25rem 0;
  }

  .section--hero {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
  }

  .section__lead,
  .hero__subtitle {
    font-size: 1.05rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .form-panel {
    padding: 1.5rem 1.25rem;
  }

  .step {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.25rem, var(--max-w));
  }

  .audience-compare {
    grid-template-columns: 1fr;
  }

  .perk-grid {
    grid-template-columns: 1fr;
  }

  .app-header__inner {
    padding: 0 12px;
    min-height: 56px;
  }

  .app-header__brand-text {
    font-size: 16px;
  }

  .app-header__logo {
    width: 32px;
    height: 32px;
    padding: 3px;
  }

  .card {
    padding: 1.15rem 1.1rem;
  }

  .app-footer__inner {
    padding: 0 16px;
    flex-direction: column;
    text-align: center;
  }
}
