/* ==========================================================================
   BlueConnect — styles
   Glassmorphic aesthetic on fixed ambient radial gradient field
   ========================================================================== */

/* ==========================================================================
   1. Base / reset
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background: var(--bg-soft-ice-blue, #F2F9FF);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--color-link); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   2. Utilities & Glass Definitions
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 100;
  transform: translateY(-200%);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  color: var(--color-link);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

/* Glass surface base */
.card, .mockup, .problem__body, .step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  line-height: 1;
  padding: 0.875rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary-cta);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(61 99 230 / 0.35);
}

.btn--primary:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-xs);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.7);
  color: var(--color-text-strong);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--color-border-strong);
  color: var(--color-heading);
}

.btn--sm { padding: 0.625rem 1rem; font-size: var(--text-sm); }
.btn--lg { padding: 1rem 1.75rem; font-size: var(--text-md); }

/* ==========================================================================
   5. Nav
   Sticky, --glass-bg-strong, blur, 1px border, shadow appearing ONLY on scroll (.is-stuck)
   ========================================================================== */

.nav {
  position: sticky;
  top: 1rem;
  z-index: var(--z-nav);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 60px;
  padding: 0.5rem 0.75rem 0.5rem 1.75rem;
  background: rgb(255 255 255 / 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgb(38 34 60 / 0.08);
  transition: all var(--dur-base) var(--ease-out);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav__inner {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }
}

.nav.is-stuck .nav__inner {
  background: rgb(255 255 255 / 0.88);
  border-color: rgb(255 255 255 / 0.95);
  box-shadow: 0 12px 36px rgb(38 34 60 / 0.12);
}

.nav__brand {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.3125rem;
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
  text-decoration: none;
  margin-right: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__links a {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-strong);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__links a:hover { color: var(--color-link); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__actions .btn--primary {
  border-radius: var(--radius-pill);
  padding: 0.625rem 1.25rem;
}

.nav__signin {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-strong);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__signin:hover { color: var(--color-link); }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: calc(var(--space-2) * -1);
  border-radius: var(--radius-md);
  color: var(--color-heading);
}

.nav__toggle:hover { background: var(--color-bg-alt); }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }

  .nav__menu {
    position: absolute;
    inset: calc(100% + 0.5rem) 0 auto;
    z-index: var(--z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
    padding: var(--space-5);
    background: #FFFFFF;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgb(38 34 60 / 0.18);
    display: none;
  }

  .nav__menu.is-open { display: flex; }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .nav__links a {
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-sm);
  }

  .nav__links a:hover { background: var(--color-bg-alt); }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
  }

  .nav__signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-pill);
    color: var(--blue-600);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    text-align: center;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  }

  .nav__signin:hover {
    background: var(--blue-100);
    border-color: var(--blue-300);
    color: var(--blue-700);
  }
}

/* ==========================================================================
   6. Hero
   Headline in Plus Jakarta Sans 700, tight tracking.
   ========================================================================== */

.hero {
  position: relative;
  margin-top: -5rem;
  padding-top: calc(5rem + clamp(1.5rem, 3vh, 3rem));
  padding-bottom: clamp(1.5rem, 3vh, 3rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../assets/img/hero_bg.png') center/cover no-repeat, var(--bg-field);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}

.hero__copy { min-width: 0; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-heading);
  max-width: 15ch;
  line-height: 1.15;
}

.hero__sub {
  margin-top: clamp(0.875rem, 2vh, 1.375rem);
  font-size: clamp(0.95rem, 1.15vw, 1.125rem);
  line-height: var(--leading-relaxed);
  max-width: 48ch;
  color: var(--ink-700);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  margin-top: clamp(1.25rem, 2.5vh, 2rem);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--color-link);
  text-decoration: none;
}

.hero__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero__visual { min-width: 0; }

.mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mockup-img {
  width: 100%;
  max-width: clamp(480px, 54vw, 860px);
  max-height: clamp(380px, 72vh, 650px);
  object-fit: contain;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 40px rgb(38 34 60 / 0.22));
  transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}

.hero__mockup-img:hover {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 28px 55px rgb(38 34 60 / 0.28));
}

/* ---- Floating Glass Animated Transition Bubbles ---- */

.float-bubble {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.95rem;
  background: rgb(255 255 255 / 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--ink-800);
  box-shadow: 0 10px 28px rgb(38 34 60 / 0.14), 0 0 14px rgb(79 127 255 / 0.15);
  pointer-events: none;
  animation: floatBubble 4.5s ease-in-out infinite;
  transition: transform var(--dur-base) var(--ease-out);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .float-bubble {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }
}

.float-bubble--1 {
  top: -0.75rem;
  left: 0.5rem;
  animation-delay: 0s;
}

.float-bubble--2 {
  top: 12%;
  right: -0.75rem;
  animation-delay: 1.2s;
}

.float-bubble--3 {
  bottom: 22%;
  left: -1rem;
  animation-delay: 2.4s;
}

.float-bubble--4 {
  bottom: -0.75rem;
  right: 1.25rem;
  animation-delay: 0.6s;
}

.float-bubble__svg {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.float-bubble__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #4F7FFF, #2F4CBF);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
}

.float-bubble__check {
  color: #10B981;
  font-weight: 800;
  font-size: 0.75rem;
}

.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--green-500);
  box-shadow: 0 0 6px var(--green-500);
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-primary);
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes floatBubble {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 640px) {
  .float-bubble--1 { top: -1.5rem; left: 0; }
  .float-bubble--2 { top: 5%; right: 0; }
  .float-bubble--3 { bottom: 15%; left: 0; }
  .float-bubble--4 { bottom: -1.5rem; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .float-bubble { animation: none !important; }
  .typing-dots span { animation: none !important; }
}

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 0.95fr 1.35fr; }
}

/* ==========================================================================
   7. Inbox mockup
   Two-column glass panel — list with initial avatars, thread with periwinkle
   incoming bubbles and blue-gradient outgoing bubbles carrying green ✓✓ ticks.
   ========================================================================== */

.mockup {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .mockup {
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }
}

@media (min-width: 560px) {
  .mockup { grid-template-columns: 13rem 1fr; }
}

/* ---- conversation list ---- */

.mockup__list {
  display: none;
  flex-direction: column;
  background: rgb(255 255 255 / 0.4);
  border-right: 1px solid var(--glass-border);
  padding: var(--space-3);
  gap: var(--space-1);
}

@media (min-width: 560px) {
  .mockup__list { display: flex; }
}

.mockup__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2) var(--space-3);
}

.mockup__list-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--color-heading);
}

.mock-badge {
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.convo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.convo--active { background: var(--white); box-shadow: var(--shadow-xs); }

.convo__name {
  display: block;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  font-size: var(--text-sm);
}

.convo__snippet {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
}

.avatar--b { background: #FFE8D9; color: #9A4C1B; }
.avatar--c { background: var(--green-100); color: #12703A; }

/* ---- thread ---- */

.mockup__thread {
  display: flex;
  flex-direction: column;
  min-height: 20rem;
}

.thread__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--glass-border);
}

.thread__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  font-size: var(--text-base);
}

.thread__meta {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.chip {
  margin-left: auto;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.6);
  border: 1px solid var(--glass-border);
  color: var(--color-text-strong);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

.thread__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  flex: 1;
}

.msg {
  max-width: 78%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-xs);
}

.msg--in {
  align-self: flex-start;
  background: var(--blue-50); /* Periwinkle incoming bubble */
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: var(--radius-xs);
  color: var(--ink-800);
}

.msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%); /* Blue gradient outgoing bubble */
  border-bottom-right-radius: var(--radius-xs);
  color: var(--white);
}

.msg__time {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.msg--out .msg__time { color: var(--blue-100); text-align: right; }

.ticks { color: var(--green-500); font-size: 0.75rem; letter-spacing: -0.08em; }

.thread__composer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 var(--space-5) var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-xs);
}

.thread__send {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  border-radius: var(--radius-pill);
  background: var(--blue-600);
  color: var(--white);
  font-size: var(--text-sm);
}

/* ==========================================================================
   8. Section shell & problem
   Problem: single glass container, narrow measure (720px)
   ========================================================================== */

.section { padding-block: var(--section-py); }

.section--alt {
  background: rgb(255 255 255 / 0.15);
  border-block: 1px solid var(--glass-border);
}

.section--tint { background: transparent; }

.section__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }

.section__head--center {
  max-width: 46ch;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--blue-600);
}

.section__title { font-size: var(--text-3xl); }

.section__lede {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--ink-700);
}

/* Problem / About section: Mist Blue (#F4F7FF) background */
.problem {
  background: var(--bg-mist-blue, #F4F7FF);
  border-block: 1px solid rgb(255 255 255 / 0.8);
}

.problem__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 840px) {
  .problem__inner {
    grid-template-columns: 1fr 1.35fr;
  }
}

.problem__visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.problem__img {
  width: 100%;
  max-width: 780px;
  height: auto;
  object-fit: contain;
  transform: scale(1.18);
  transform-origin: center center;
  filter: drop-shadow(0 14px 30px rgb(38 34 60 / 0.08));
  transition: transform var(--dur-base) var(--ease-out);
}

.problem__img:hover {
  transform: scale(1.21) translateY(-3px);
}

.problem__copy {
  min-width: 0;
}

.problem__copy .section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
}

.problem__text {
  margin-top: var(--space-5);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.problem__solution {
  margin-top: var(--space-5);
  font-size: clamp(1.05rem, 1.3vw, 1.1875rem);
  line-height: var(--leading-relaxed);
  color: var(--color-heading);
}

.problem__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.problem__link:hover {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   9. Features — 2-Column Sticky Hairline Grid Layout
   ========================================================================== */

#features {
  position: relative;
  background: var(--bg-light-cyan, #EEFDFC);
  border-block: 1px solid rgb(255 255 255 / 0.8);
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

#features .container {
  max-width: 100%;
  padding-inline: clamp(1rem, 3vw, 3rem);
}

.features-layout {
  position: relative;
  padding: clamp(0.5rem, 1vw, 1rem);
}

/* Corner bracket accents */
.corner-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.corner-bracket--tl {
  top: 0; left: 0;
  border-top: 1px solid var(--color-border-strong);
  border-left: 1px solid var(--color-border-strong);
}

.corner-bracket--tr {
  top: 0; right: 0;
  border-top: 1px solid var(--color-border-strong);
  border-right: 1px solid var(--color-border-strong);
}

.corner-bracket--bl {
  bottom: 0; left: 0;
  border-bottom: 1px solid var(--color-border-strong);
  border-left: 1px solid var(--color-border-strong);
}

.corner-bracket--br {
  bottom: 0; right: 0;
  border-bottom: 1px solid var(--color-border-strong);
  border-right: 1px solid var(--color-border-strong);
}

/* 2-column split layout */
.features-grid-split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .features-grid-split {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }
}

/* Left Sticky Heading Column */
.features-sticky-col {
  padding-top: var(--space-2);
}

@media (min-width: 960px) {
  .features-sticky-col {
    position: sticky;
    top: 6rem;
  }
}

.features-sub {
  margin-top: var(--space-3);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.features-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-strong);
  padding-bottom: 3px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.features-cta-link:hover {
  color: var(--blue-700);
  border-color: var(--blue-700);
}

/* Right Hairline Grid Container */
.features-grid-box {
  border: 1px solid var(--glass-border);
  border-radius: 0;
  overflow: hidden;
  background: rgb(255 255 255 / 0.75);
  box-shadow: none;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .features-grid-box {
    background: rgb(255 255 255 / 0.65);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
  }
}

.features-hairline-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 580px) {
  .features-hairline-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color var(--dur-fast) var(--ease-out);
}

@media (min-width: 580px) {
  .grid-card:nth-child(odd) {
    border-right: 1px solid var(--glass-border);
  }
  .grid-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.grid-card:hover {
  background: rgb(255 255 255 / 0.88);
}

.grid-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.grid-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #EEF2FE 0%, #E1E8FB 100%);
  color: var(--blue-600);
}

.grid-card__num {
  font-family: var(--font-mono, monospace);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.grid-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.grid-card__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

/* ==========================================================================
   10. How it works
   Ribbon bookmark cards with 3D step illustrations
   ========================================================================== */

#how-it-works {
  position: relative;
  background: var(--bg-cool-gray-blue, #F7FAFD);
  border-block: 1px solid rgb(255 255 255 / 0.8);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.eyebrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.eyebrow-divider::before,
.eyebrow-divider::after {
  content: "";
  height: 1px;
  width: clamp(2.5rem, 8vw, 6rem);
  background: var(--color-border-strong);
}

.steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}

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

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgb(38 34 60 / 0.08);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgb(38 34 60 / 0.14);
}

/* Bookmark Ribbon Badge */
.step__ribbon {
  position: absolute;
  top: 0;
  left: 1.25rem;
  width: 2.25rem;
  height: 3rem;
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-700) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
  box-shadow: 0 4px 10px rgb(61 99 230 / 0.3);
  z-index: 2;
}

.step__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.75rem, 4vw, 3.25rem) 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgb(242 249 255 / 0.5) 0%, rgb(255 255 255 / 0) 100%);
}

.step__img {
  width: 100%;
  max-width: 360px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgb(38 34 60 / 0.1));
  transition: transform var(--dur-base) var(--ease-out);
}

.step-card:hover .step__img {
  transform: scale(1.05);
}

.step__content {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
}

.step__text {
  margin-top: var(--space-2);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

/* ==========================================================================
   11. Form panel & Contact Section
   Section Background: Soft Mint Blue (#F1FCFB)
   2-Column Layout with Sharp Corners (border-radius: 0)
   ========================================================================== */

#contact {
  position: relative;
  background: var(--bg-soft-mint-blue, #F1FCFB);
  border-block: 1px solid rgb(255 255 255 / 0.8);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 840px) {
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
  }
}

.contact-copy {
  padding-top: var(--space-2);
}

.contact-copy .section__lede {
  margin-top: var(--space-3);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.contact-bullets {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.contact-bullet {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  color: var(--color-heading);
}

.bullet-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.form-wrap {
  width: 100%;
  max-width: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: rgb(255 255 255 / 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  box-shadow: 0 16px 40px rgb(38 34 60 / 0.06);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .form-wrap {
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }
}

.form { display: grid; gap: var(--space-5); }

.form__row { display: grid; gap: var(--space-4); }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: var(--space-2); }

.field__label,
.legend {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-heading);
}

.field__req { color: var(--blue-600); font-weight: var(--weight-bold); }

.input,
.textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: var(--text-base);
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid var(--color-border-strong);
  border-radius: 0;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.03);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.input::placeholder,
.textarea::placeholder { color: var(--ink-400); }

.input:focus,
.textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3.5px rgb(61 99 230 / 0.18);
}

.textarea { min-height: 5.5rem; resize: vertical; }

.fieldset {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: 0;
  border: none;
}

.legend { padding: 0; }

.radios { display: grid; gap: var(--space-3); }

@media (min-width: 640px) {
  .radios { grid-template-columns: 1fr 1fr; }
}

.radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-800);
  background: var(--white);
  border: 1.5px solid var(--color-border-strong);
  border-radius: 0;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.radio:hover {
  border-color: var(--blue-500);
  background: var(--bg-soft-ice-blue);
}

.radio input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--blue-600);
  flex-shrink: 0;
}

.radio:has(input:checked) {
  border-color: var(--blue-600);
  background: var(--bg-soft-ice-blue);
  color: var(--blue-900);
  font-weight: var(--weight-semibold);
  box-shadow: 0 0 0 1px var(--blue-600);
}

.radio:has(input:focus-visible) { box-shadow: 0 0 0 3px rgb(61 99 230 / 0.25); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Minimal high-converting primary blue submit button */
.form__submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  color: var(--white);
  border: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  box-shadow: 0 4px 14px rgb(61 99 230 / 0.3);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form__submit:hover {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgb(61 99 230 / 0.4);
}

.form__note {
  font-size: var(--text-xs);
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--space-2);
}

.form__error {
  display: none;
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-md);
  color: var(--color-error);
  font-size: var(--text-sm);
}

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

.confirm {
  display: none;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  color: var(--color-heading);
}

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

.confirm:focus { outline: none; }

.confirm__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-pill);
  background: #DCFCE7;
  color: #15803D;
  box-shadow: 0 4px 14px rgb(34 197 94 / 0.2);
}

.confirm__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
}

.confirm__text {
  margin-top: var(--space-2);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}



/* ==========================================================================
   12. Footer
   Deep navy gradient
   ========================================================================== */

.footer {
  padding-block: var(--space-16) var(--space-10);
  background: linear-gradient(180deg, #101426 0%, #0A0D1A 100%);
  color: var(--color-on-dark-dim);
}

.footer__inner { display: grid; gap: var(--space-8); }

@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer__brand {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.3125rem;
  color: var(--color-on-dark);
  text-decoration: none;
}

.footer__tag {
  max-width: 40ch;
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: var(--blue-200);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.footer__links a {
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  color: var(--color-on-dark);
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__pending {
  font-size: var(--text-base);
  color: var(--color-on-dark-dim);
}

.footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: var(--text-sm);
  color: var(--color-on-dark-dim);
}

/* ==========================================================================
   13. Policy Pages & Documentation Layout
   Full-width stretch, left-aligned, border-radius: 0 (sharp corners)
   ========================================================================== */

.policy-page {
  position: relative;
  background: var(--bg-pale-lavender, #F8F5FF);
  border-block: 1px solid rgb(255 255 255 / 0.8);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.policy-page .container {
  max-width: 100%;
  padding-inline: clamp(1rem, 3.5vw, 3.5rem);
}

.policy-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-strong);
  border-radius: 0; /* Sharp square corners per user request */
  box-shadow: none;
  padding: clamp(2rem, 4vw, 3.5rem);
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.policy-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}

.policy-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-strong);
}

.policy-card h2:first-of-type {
  margin-top: var(--space-6);
  padding-top: 0;
  border-top: none;
}

.policy-card p {
  margin-bottom: var(--space-4);
  color: var(--ink-800);
  line-height: var(--leading-relaxed);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
}

.policy-card ul, .policy-card ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
  color: var(--ink-800);
}

.policy-card li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-strong);
  font-family: var(--font-mono, monospace);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

.policy-note {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-soft-ice-blue, #F2F9FF);
  border-left: 4px solid var(--blue-600);
  border-radius: 0; /* Sharp square corners */
  margin-block: var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-800);
  box-shadow: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-strong);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.back-link:hover {
  color: var(--blue-700);
  border-color: var(--blue-700);
}

/* ==========================================================================
   Account Safety Section (Matching .problem 2-column layout: Left Image, Right Copy)
   ========================================================================== */

.safety {
  background: var(--bg-soft-ice-blue, #F2F9FF);
  border-block: 1px solid rgb(255 255 255 / 0.8);
  padding-block: var(--section-py);
}

.safety__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 840px) {
  .safety__inner {
    grid-template-columns: 1.35fr 1.1fr;
  }
}

.safety__visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.safety__img {
  width: 100%;
  max-width: 680px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 16px 35px rgb(38 34 60 / 0.12));
  transition: transform var(--dur-base) var(--ease-out);
}

.safety__img:hover {
  transform: translateY(-4px) scale(1.02);
}

.safety__copy {
  min-width: 0;
}

.safety__copy .section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-2);
}

.safety__lede {
  margin-top: var(--space-2);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: var(--weight-medium);
  color: var(--blue-600);
}

.safety__text {
  margin-top: var(--space-4);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.safety__solution {
  margin-top: var(--space-4);
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-900);
}

.safety__solution strong {
  color: var(--blue-700);
}

.safety__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3.5);
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
}

.safety__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.safety__list li strong {
  color: var(--ink-900);
}

.safety__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  font-weight: 800;
  font-size: 0.75rem;
  margin-top: 2px;
}

.safety__action {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-strong);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

@media (min-width: 600px) {
  .safety__action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.safety__note {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ink-800);
  font-weight: var(--weight-medium);
  margin: 0;
  max-width: 42ch;
}

/* ==========================================================================
   Compliant Opt-in Section (Matching .safety 2-column visual weight)
   ========================================================================== */

.opt-in {
  background: var(--color-bg, #FFFFFF);
  border-block: 1px solid var(--border-subtle, #E2E8F0);
  padding-block: var(--section-py);
}

.opt-in__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 840px) {
  .opt-in__inner {
    grid-template-columns: 1.25fr 1fr;
  }
}

.opt-in__visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.opt-in__img {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 16px 35px rgb(38 34 60 / 0.12));
  transition: transform var(--dur-base) var(--ease-out);
}

.opt-in__img:hover {
  transform: translateY(-4px) scale(1.02);
}

.opt-in__copy {
  min-width: 0;
}

.opt-in__copy .section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-heading);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-2);
}

.opt-in__text {
  margin-top: var(--space-4);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.opt-in__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3.5);
  list-style: none;
  padding: 0;
  margin-top: var(--space-5);
}

.opt-in__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: var(--leading-relaxed);
  color: var(--ink-700);
}

.opt-in__list li strong {
  color: var(--ink-900);
}

.opt-in__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100, #E0F2FE);
  color: var(--blue-600, #0284C7);
  font-weight: 800;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Feature Card Micro-Visuals */
.card-code-snippet {
  margin-top: var(--space-3);
  padding: 0.625rem 0.875rem;
  background: var(--ink-950, #0B101D);
  border-radius: var(--radius-md);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, monospace);
  font-size: 0.725rem;
  line-height: 1.5;
  color: #E2E8F0;
  overflow-x: auto;
}

.code-diff {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.code-diff__del {
  color: #F87171;
  opacity: 0.85;
}

.code-diff__add {
  color: #34D399;
  font-weight: 600;
}

.card-flow-preview {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  background: var(--blue-50, #EFF6FF);
  border: 1px solid var(--blue-200, #BFDBFE);
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, monospace);
  color: var(--blue-800, #1E40AF);
}

.flow-node {
  background: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--blue-200);
  font-weight: 500;
}

.flow-arrow {
  color: var(--blue-400);
  font-size: 0.75rem;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover, .btn--primary:hover, .btn--ghost:hover, .radio:hover, .back-link:hover {
    transform: none !important;
  }
}
