/*
 * Figment — marketing one-pager (shared styles)
 * Visual language aligned with Figment_Memory frontend:
 *   - Geist Mono everywhere
 *   - Near-monochrome neutrals
 *   - 6px default radius, soft shadows
 *   - Frosted nav, restrained ornament
 * Brand palette and navy headings come from the Figment Brand Guide
 * (docs/context/foundations/figment Brand Guide.pdf).
 *
 * Logo SVGs in this folder are mirrored from
 * Figment_Memory/frontend/app/icon.svg and
 * Figment_Memory/frontend/ui/atoms/logos/logo-with-label.svg.
 * If the app logo changes, refresh these files to keep parity.
 */

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

:root {
  color-scheme: light;

  --brand-blue-100: #b4def0;
  --brand-blue-200: #83c8e7;
  --brand-blue-300: #6abde2;
  --brand-blue-400: #39a7d9;
  --brand-blue-500: #209cd4;
  --brand-blue-600: #0892d0;
  --brand-blue-700: #0783bb;
  --brand-green-300: #a4eb9f;
  --brand-green-500: #77e16f;
  --brand-green-600: #5dc756;
  --brand-navy: #08194a;

  /* Neutrals derived from the brand navy so surfaces and text stay
     inside the Figment Brand Guide family (navy + blue tints). */
  --background: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-rule: #e6ecf2;
  --foreground: var(--brand-navy);
  --muted-foreground: #4d5a73;
  --subtle-foreground: #6b7891;

  --brand: var(--brand-blue-600);
  --brand-hover: var(--brand-blue-700);
  --brand-active: #066fa1;

  --radius-sm: 6px;
  --radius: 6px;
  --radius-lg: 10px;

  --glass-background: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(8, 25, 74, 0.08);

  --shadow-xs: 0 1px 2px rgba(8, 25, 74, 0.04);
  --shadow-sm: 0 2px 10px rgba(8, 25, 74, 0.05);

  --transition-base: 180ms cubic-bezier(0.4, 0, 0.2, 1);

  --gap-xs: 12px;
  --gap-sm: 20px;
  --gap-md: 32px;
  --gap-lg: 64px;
  --gap-xl: 96px;
  --site-max-width: 80rem;

  --font-sans: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: clamp(1.0625rem, 1.4vw, 1.1875rem);
  --text-h3: clamp(1.125rem, 1.6vw, 1.25rem);
  --text-h2: clamp(1.625rem, 3vw, 2.25rem);
  --text-h1: clamp(2rem, 4.4vw, 3.25rem);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand-blue-100);
  color: var(--brand-navy);
}

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

/* ── Layout ── */

main {
  width: 100%;
  background: var(--background);
}

.container {
  width: min(68rem, calc(100% - 80px));
  margin: 0 auto;
}

/* ── Navigation ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(32px, calc((100% - var(--site-max-width)) / 2));
  height: 64px;
  background: var(--glass-background);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-decoration: none;
}

.nav-logo img,
.nav-logo svg {
  display: block;
  width: auto;
}

.nav-logo img {
  height: 36px;
}

.nav-logo svg {
  height: 28px;
}

.variant-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--surface-rule);
  color: var(--subtle-foreground);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-base);
}

.site-nav nav a:hover {
  color: var(--foreground);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: var(--text-sm);
  color: #ffffff !important;
  background: var(--brand);
  border: 1px solid var(--brand);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.nav-cta:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

/* ── Section split (text + media, alternates) ──
 * Plain English: a two-column layout for a section — one side holds the
 * words, the other holds a picture. On wide screens they sit side-by-side
 * (roughly 60/40), and on smaller screens they stack. Add
 * `section-split--reverse` to flip which side the text sits on so
 * successive sections can alternate for visual rhythm. */

.section-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
  align-items: center;
}

.section-split > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .section-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 56px;
  }

  .section-split--reverse > .section-text {
    order: 2;
  }

  .section-split--reverse > .section-media {
    order: 1;
  }
}

.section-text {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

/* Release narrow text caps when text sits inside a split column so it
   fills its own column instead of hanging to the left. */
.section-text > h1,
.section-text > h2,
.section-text > .lede,
.section-text > .body-wide,
.section-text > .pain-list,
.section-text > .tagline-pull,
.section-text > .proof-list {
  max-width: none;
}

.section-text > .eyebrow {
  margin-bottom: 0;
}

/* First public release has no image slots, so keep the copy readable
   without relying on the split-column placeholder layout. */
.site-release .section-text > h1,
.site-release .section-text > h2,
.site-release .section-text > .lede,
.site-release .section-text > .body-wide,
.site-release .section-text > .pain-list,
.site-release .section-text > .tagline-pull,
.site-release .section-text > .proof-list {
  max-width: 46rem;
}

.site-release .section-text > h1 {
  max-width: 38rem;
}

.site-release .hero .section-text,
.site-release .band > .container:not(.section-split) > .section-text {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.site-release .hero-actions {
  justify-content: center;
}

.site-release .band > .container:not(.section-split) {
  text-align: center;
}

.site-release .band > .container:not(.section-split) > .eyebrow,
.site-release .band > .container:not(.section-split) > h2,
.site-release .band > .container:not(.section-split) > .body-wide,
.site-release .band > .container:not(.section-split) > .section-text > * {
  margin-left: auto;
  margin-right: auto;
}

.site-release .pain-list,
.site-release .step-list,
.site-release .compare-grid,
.site-release .workflow-grid,
.site-release .workflow-detail {
  text-align: left;
}

.section-media {
  width: 100%;
  min-width: 0;
}

/* ── Media placeholder (swap <img> in when ready) ──
 * Plain English: a dashed-blue box that holds the spot where a real image
 * will go later. It keeps the page balanced while we're still deciding
 * what artwork to use. When the real image is ready, replace the inner
 * markup with an <img> and the layout stays the same. */

.media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ffffff 0%, var(--surface-soft) 100%);
  border: 1px dashed var(--brand-blue-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 25, 74, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 25, 74, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.media-placeholder__label {
  position: relative;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-700);
  margin: 0 0 6px;
}

.media-placeholder__caption {
  position: relative;
  margin: 0;
  max-width: 24rem;
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.media-placeholder--hero {
  aspect-ratio: 5 / 4;
}

.media-placeholder--portrait {
  aspect-ratio: 3 / 4;
  max-width: 22rem;
}

.band-dark .media-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.24);
}

.band-dark .media-placeholder::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.band-dark .media-placeholder__label {
  color: var(--brand-blue-200);
}

.band-dark .media-placeholder__caption {
  color: rgba(255, 255, 255, 0.72);
}

/* ── Bands ── */

.band,
.band-alt,
.band-dark {
  padding: var(--gap-xl) 0;
}

.band-alt,
.band-dark {
  position: relative;
  overflow: hidden;
}

.band-alt {
  background: var(--surface-soft);
}

.band-dark {
  background: var(--brand-navy);
  color: #ffffff;
}

.band-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 42%, rgba(8, 146, 208, 0.22), transparent 34%);
  pointer-events: none;
}

.band-alt > .container,
.band-dark > .container {
  position: relative;
  z-index: 1;
}


/* ── Eyebrow ── */

.eyebrow {
  margin: 0 0 16px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-700);
}

.band-dark .eyebrow,
.eyebrow-light {
  color: var(--brand-blue-200);
}

/* ── Hero ── */

.hero {
  width: min(68rem, calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 0 clamp(72px, 10vw, 120px);
  display: grid;
  gap: 28px;
  max-width: 72rem;
}

/* Full-bleed hero artwork sits behind the copy. */
.hero.hero--split {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(560px, 72vw, 760px);
  overflow: hidden;
  align-items: center;
  isolation: isolate;
}

.hero.hero--split .section-text {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  min-width: 0;
}

.site-release .hero.hero--split .section-text {
  width: min(68rem, calc(100% - 80px));
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.site-release .hero.hero--split .hero-actions {
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  min-width: 0;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.46) 62%, rgba(255, 255, 255, 0.74) 100%),
    linear-gradient(180deg, rgba(245, 248, 251, 0.66) 0%, rgba(255, 255, 255, 0) 30%, rgba(245, 248, 251, 0.72) 100%);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--surface-soft);
}

h1 {
  margin: 0;
  max-width: 38rem;
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.lede {
  max-width: 36rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.btn-primary {
  color: #ffffff;
  background-color: #000000;
  background-image: none;
  border: 1px solid var(--brand);
}

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

.btn-primary:active {
  background: var(--brand-active);
  border-color: var(--brand-active);
}

.btn-ghost {
  color: var(--foreground);
  background: transparent;
  border: 1px solid var(--surface-rule);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-hover);
}

.btn-ghost:active {
  background: var(--surface-soft);
}

.band-dark .btn-primary {
  color: var(--brand-navy);
  background: #ffffff;
  border-color: #ffffff;
}

.band-dark .btn-primary:hover {
  background: var(--brand-blue-100);
  border-color: var(--brand-blue-100);
}

.band-dark .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.band-dark .btn-ghost:hover {
  border-color: #ffffff;
}

/* ── Headings ── */

h2 {
  margin: 0 0 var(--gap-sm);
  max-width: 38rem;
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h2.light,
.light {
  color: #ffffff;
}

.body-wide {
  max-width: 38rem;
  color: var(--muted-foreground);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin: 0 0 var(--gap-sm);
}

.body-wide.light {
  color: rgba(255, 255, 255, 0.78);
}

/* ── Pain list ── */

.pain-list {
  list-style: none;
  margin: var(--gap-md) 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 42rem;
}

.pain-list li {
  display: grid;
  grid-template-columns: 8px minmax(12rem, 16rem) minmax(0, 1fr);
  column-gap: 18px;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--muted-foreground);
}

.pain-list strong {
  color: var(--foreground);
  font-weight: 600;
}

.pain-marker {
  margin-top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.pain-list span:not(.pain-marker) {
  min-width: 0;
}

/* ── Tagline pull ── */

.tagline-pull {
  margin: var(--gap-md) 0 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
  max-width: 36rem;
}

/* ── Step list ── */

.step-list {
  list-style: none;
  margin: var(--gap-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--surface-rule);
}

.step-list li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--surface-rule);
}

.step-list strong {
  color: var(--foreground);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.step-num {
  flex-shrink: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-blue-700);
  padding-top: 1px;
  min-width: 28px;
}

/* ── Compare grid ── */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: var(--gap-md);
}

.compare-card {
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--text-base);
  line-height: 1.65;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
}

.compare-other {
  color: var(--muted-foreground);
}

.compare-figment {
  border-color: var(--brand-blue-300);
  box-shadow: var(--shadow-sm);
}

.compare-label {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-other .compare-label {
  color: var(--subtle-foreground);
}

.compare-figment .compare-label {
  color: var(--brand-blue-700);
}

.compare-card p {
  margin: 0;
  color: var(--muted-foreground);
}

.compare-figment p:not(.compare-label) {
  color: var(--foreground);
}

/* ── Workflow cards ── */

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--gap-md);
}

.workflow-card {
  padding: 28px;
  border-radius: var(--radius);
  font: inherit;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
  cursor: pointer;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.workflow-card:hover,
.workflow-card:focus-visible,
.workflow-card.is-active {
  border-color: var(--brand-blue-300);
  box-shadow: var(--shadow-sm);
}

.workflow-card.is-active {
  transform: translateY(-2px);
}

.workflow-card-title {
  display: block;
  margin: 0 0 10px;
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--foreground);
}

.workflow-card span:not(.workflow-card-title) {
  display: block;
  margin: 0;
  font-size: var(--text-base);
  color: var(--muted-foreground);
  line-height: 1.65;
}

.workflow-detail {
  margin-top: 24px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.workflow-detail-label {
  margin: 0 0 10px;
  color: var(--brand-blue-700);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-detail h3 {
  margin: 0 0 10px;
  color: var(--foreground);
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.workflow-detail p:last-child {
  margin: 0;
  max-width: 52rem;
  color: var(--muted-foreground);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* ── Proof list ── */

.proof-list {
  margin: var(--gap-md) 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 40rem;
  color: var(--muted-foreground);
  font-size: var(--text-base);
  line-height: 1.65;
}

.proof-list li {
  padding-left: 18px;
  position: relative;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--brand);
}

/* About portrait */

.about-photo {
  margin: 0;
  width: min(100%, 22rem);
  justify-self: end;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-rule);
  box-shadow: var(--shadow-sm);
}

.reference-list {
  display: grid;
  gap: 14px;
  margin: var(--gap-md) 0;
  max-width: 42rem;
}

.reference-card {
  margin: 0;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.reference-card blockquote {
  margin: 0;
  color: var(--foreground);
  font-size: var(--text-base);
  line-height: 1.65;
}

.reference-card figcaption {
  margin-top: 10px;
  color: var(--subtle-foreground);
  font-size: var(--text-xs);
  line-height: 1.5;
}

/* ── Audit block ── */

.audit-block {
  max-width: 42rem;
}

.section-text > .audit-block,
.section-text.audit-block {
  max-width: none;
}

.calendly-overlay .calendly-popup {
  width: min(96vw, 1080px) !important;
  max-height: 96vh !important;
}

.calendly-overlay .calendly-popup-content {
  width: 100% !important;
  height: 96vh !important;
  max-height: 96vh !important;
}

/* ── Legal pages ── */

.legal-main {
  padding: var(--gap-xl) 0;
}

.legal-shell {
  width: min(68rem, calc(100% - 80px));
  margin: 0 auto;
}

.legal-shell h1 {
  margin-bottom: var(--gap-md);
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--gap-sm);
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

.legal-breadcrumb a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}

.legal-breadcrumb a:hover,
.legal-breadcrumb a:focus-visible {
  border-bottom-color: currentColor;
}

.legal-breadcrumb .eyebrow {
  margin: 0;
}

.termly-policy {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

/* ── Confirmation page ── */

.confirmation-main {
  padding: var(--gap-xl) 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(8, 146, 208, 0.1), transparent 32rem),
    var(--background);
}

.confirmation-shell {
  width: min(68rem, calc(100% - 80px));
  margin: 0 auto;
}

.confirmation-shell > .lede {
  margin-top: var(--gap-sm);
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-sm);
  margin-top: var(--gap-md);
}

.confirmation-card,
.confirmation-next {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--surface-rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.confirmation-card[hidden] {
  display: none;
}

.confirmation-card {
  margin-top: var(--gap-md);
}

.confirmation-grid .confirmation-card {
  margin-top: 0;
}

.confirmation-label {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confirmation-card h2,
.confirmation-next h2 {
  margin-bottom: 12px;
  font-size: var(--text-h3);
}

.confirmation-card p,
.confirmation-next p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.confirmation-next {
  margin-top: var(--gap-sm);
}

/* ── Footer ── */

.site-footer {
  padding: var(--gap-md) 0 var(--gap-lg);
  background: var(--brand-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-inner {
  width: min(68rem, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gap-md);
}

.footer-brand,
.footer-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  max-width: 36rem;
}

.footer-logo {
  display: block;
  width: 48px;
  height: 48px;
}

.site-footer p {
  margin: 0;
  max-width: 36rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  width: 100%;
  max-width: none;
}

.footer-links a {
  color: var(--brand-blue-100);
  text-decoration: none;
  line-height: 1.5;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-company {
  margin: 0;
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}

.footer-company strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-company span {
  display: block;
}

.footer-legal {
  width: min(68rem, calc(100% - 80px));
  margin: var(--gap-md) auto 0 !important;
  padding-top: var(--gap-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.58);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .footer-logo {
    width: 40px;
    height: 40px;
  }

  .footer-links {
    gap: 8px 16px;
  }

  .about-photo {
    justify-self: start;
  }

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

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

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

  .site-nav nav a:not(.nav-cta) {
    display: none;
  }

  .band,
  .band-alt,
  .band-dark {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .site-nav {
    padding: 0 20px;
  }

  .container,
  .hero,
  .confirmation-shell {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .step-list li {
    flex-direction: column;
    gap: 8px;
  }

  .pain-list li {
    grid-template-columns: 8px minmax(0, 1fr);
    column-gap: 14px;
  }

  .pain-list strong,
  .pain-list span:not(.pain-marker) {
    grid-column: 2;
  }

  .variant-badge {
    display: none;
  }
}
