/* The Unemployment Advocate — Homepage styles */

:root {
  --color-navy: #1e3a5f;
  --color-navy-deep: #152a45;
  --color-navy-muted: #2d4f73;
  --color-accent: #c47d3a;
  --color-accent-hover: #a8682e;
  --color-accent-soft: #f5ebe0;
  --color-cream: #faf8f5;
  --color-white: #ffffff;
  --color-text: #2c3440;
  --color-text-muted: #5a6572;
  --color-border: #d8dde3;
  --color-placeholder-bg: #eef2f6;
  --color-placeholder-border: #9ab0c8;

  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 3px rgba(21, 42, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(21, 42, 69, 0.1);
  --shadow-lg: 0 16px 40px rgba(21, 42, 69, 0.12);

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

  --header-height: 4.25rem;
  --max-width: 72rem;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
}

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

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

a:hover {
  color: var(--color-accent);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--color-navy-deep);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.narrow {
  max-width: 42rem;
}

.centered {
  text-align: center;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

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

/* Placeholder blocks */
.placeholder-label {
  display: block;
  padding: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: var(--color-navy-muted);
  background: var(--color-placeholder-bg);
  border: 2px dashed var(--color-placeholder-border);
  border-radius: var(--radius-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-soft {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-soft:hover {
  border-color: var(--color-navy-muted);
  background: var(--color-accent-soft);
}

/* 1. Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--color-navy-deep);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-navy-deep);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 12rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-navy);
}

.nav-toggle-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-toggle-icon {
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
}

.nav-list a:hover {
  color: var(--color-navy);
}

.nav-list a[aria-current="page"] {
  color: var(--color-navy);
  font-weight: 600;
}

.btn-nav {
  white-space: nowrap;
  flex-shrink: 0;
}

/* 2. Hero */
.hero {
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-accent-soft) 55%, #e8eef5 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section:nth-of-type(even) {
  background: var(--color-white);
}

.section-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--color-navy);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.45;
}

.lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* 3. Founder */
.founder-section {
  background: var(--color-white);
}

.founder-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-placeholder-bg);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 4. Eliza */
.eliza-section {
  background: var(--color-navy-deep);
  color: var(--color-white);
}

.eliza-section h2,
.eliza-section h3 {
  color: var(--color-white);
}

.eliza-section p {
  color: rgba(255, 255, 255, 0.9);
}

.eliza-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.eliza-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
}

.eliza-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.eliza-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 42, 69, 0.72);
  z-index: 1;
}

.eliza-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}

.eliza-card-content h3,
.eliza-card-content p {
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(21, 42, 69, 0.4);
}

/* 5. Pricing intro */
.pricing-intro {
  text-align: center;
  background: linear-gradient(180deg, #f7f4ef 0%, #eef2f7 100%);
}

.pricing-header {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.pricing-intro h2 {
  margin-bottom: 1rem;
}

.pricing-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  text-align: justify;
}

.pricing-lead + .pricing-lead {
  margin-top: 1rem;
}

.pricing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 48rem;
  margin-inline: auto;
}

.pricing-benefit-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-benefit-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-navy);
  background: var(--color-accent-soft);
  border-radius: 50%;
}

.pricing-benefit-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.pricing-benefit-card p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.45;
}

.pricing-cta {
  margin-top: 2.25rem;
}

/* 6. Path cards */
.paths-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.paths-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.path-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.paths-cta {
  margin: 2rem 0 0;
  text-align: center;
}

.path-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 20rem;
  padding: 1.75rem 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-accent);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.path-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-navy-muted);
}

.path-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.path-card-desc {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* 7. How it works — vertical timeline */
.how-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.how-timeline {
  position: relative;
  max-width: 45rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.how-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 1.25rem;
  padding-bottom: 3rem;
}

.how-timeline-step:last-child {
  padding-bottom: 0;
}

.how-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.125rem;
  bottom: -1.125rem;
  width: 2px;
  background: rgba(30, 58, 95, 0.22);
  transform: translateX(-50%);
}

.how-timeline-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.125rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 50%;
  align-self: start;
}

.how-timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0 0 0.625rem;
  line-height: 1.3;
}

.how-timeline-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* 8. Story */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.story-media {
  min-height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 9. Timeline */
.timeline-section {
  background: var(--color-white);
}

.timeline {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6875rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-navy-muted) 100%);
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: 2rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-white);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* 10. Reassurance */
.reassurance {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: var(--color-white);
}

.reassurance h2 {
  color: var(--color-white);
}

.reassurance .lead {
  color: rgba(255, 255, 255, 0.88);
}

/* 11. Getting started */
.getting-started {
  background: var(--color-accent-soft);
}

.getting-started p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

/* 12. Comparison table */
.comparison-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 52rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.comparison-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table thead {
  background: var(--color-navy);
  color: var(--color-white);
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 0.875rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table td strong {
  font-weight: 600;
  color: var(--color-navy-deep);
}

.comparison-table thead th {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-bottom: none;
}

.comparison-table thead th:first-child {
  background: var(--color-navy-deep);
}

.comparison-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--color-navy-deep);
  background: var(--color-cream);
  white-space: nowrap;
  width: 1%;
}

.comparison-table tbody tr:nth-child(even) td {
  background: #f6f8fa;
}

.comparison-table tbody tr:hover td {
  background: var(--color-accent-soft);
}

.comparison-table td {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table thead th:nth-child(2),
.comparison-table tbody td:nth-child(2) {
  background: rgba(196, 125, 58, 0.08);
  font-weight: 500;
  color: var(--color-text);
}

.comparison-table tbody td:nth-child(2) strong {
  color: var(--color-navy-deep);
}

.comparison-table thead th:nth-child(2) {
  background: var(--color-accent);
  color: var(--color-white);
}

/* 13. Path CTA */
.path-cta {
  background: var(--color-white);
}

.path-cta h2 {
  margin-bottom: 1.5rem;
}

/* 14. FAQ accordion */
.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: var(--color-navy-muted);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--color-accent);
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: var(--color-cream);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-cream);
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* About page */
.about-page .page-intro {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-accent-soft) 55%, #e8eef5 100%);
  text-align: center;
}

.about-page .page-intro h1 {
  margin-bottom: 1.25rem;
}

.about-page .intro-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.about-founder-section {
  background: var(--color-white);
}

.about-founder-section .founder-card {
  max-width: 52rem;
}

.about-founder-section .founder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-founder-section .founder-photo .placeholder-label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.about-why-section {
  background: var(--color-cream);
}

.about-why-section h2 {
  margin-bottom: 1.5rem;
}

.about-why-section p {
  margin-bottom: 1.25rem;
}

.about-why-section p:last-child {
  margin-bottom: 0;
}

.about-approach-section {
  background: var(--color-white);
}

.about-approach-section h2 {
  margin-bottom: 1rem;
}

.about-cta h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
}

/* How It Works page */
.how-page .page-intro {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-accent-soft) 55%, #e8eef5 100%);
  text-align: center;
}

.how-page .page-intro h1 {
  margin-bottom: 1.25rem;
}

.how-page .intro-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.how-flow-section {
  background: var(--color-white);
}

.how-flow-block {
  max-width: 40rem;
  margin-inline: auto;
}

.how-flow-block + .how-flow-block {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--color-border);
}

.how-flow-section > .container > .tier-callout {
  margin-top: clamp(3rem, 7vw, 4.5rem);
}

.how-flow-block > h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.how-flow-block-plans {
  max-width: var(--max-width);
}

.how-flow-block-tracks {
  max-width: var(--max-width);
}

.how-flow-block-plans > h2 {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.process-timeline {
  max-width: 40rem;
  margin-inline: auto;
}

.process-timeline-shared {
  margin-bottom: 0;
}

.process-timeline .timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.process-timeline .step-label {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.process-timeline .timeline-content h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.process-timeline .timeline-content > p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.tier-callout {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tier-callout h3 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--color-navy-deep);
}

.tier-callout p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.6;
}

.how-subheading {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  font-size: 1.25rem;
  text-align: center;
  color: var(--color-navy);
}

.how-reassurance {
  max-width: 40rem;
  margin: -0.5rem auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-muted);
}

.promise-callout {
  margin-top: 2.5rem;
  border-left-color: var(--color-navy);
}

.how-credibility {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  color: var(--color-navy-muted);
}

.track-split-label {
  max-width: 40rem;
  margin: 2rem auto 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-navy-muted);
}

.track-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.track-column {
  padding: 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-navy);
}

.track-b {
  border-top-color: var(--color-accent);
}

.track-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.track-column > p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.track-column > p:last-child {
  margin-bottom: 0;
}

.track-outcome {
  font-weight: 600;
  color: var(--color-navy-deep) !important;
}

.track-includes-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy-muted) !important;
}

.track-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.track-list li {
  margin-bottom: 0.625rem;
}

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

.track-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.process-timeline-track {
  max-width: none;
  margin: 0;
}

.process-timeline-track .timeline-step:last-child {
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .track-split {
    grid-template-columns: 1fr;
  }
}

.how-cta h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
}

/* Plans & Pricing page */
.plans-page .page-intro {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-accent-soft) 55%, #e8eef5 100%);
  text-align: center;
}

.plans-page .page-intro h1 {
  margin-bottom: 1.25rem;
}

.plans-page .intro-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.plans-grid-section {
  background: var(--color-cream);
  padding-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 52rem;
  margin-inline: auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

@supports (grid-template-rows: subgrid) {
  .plan-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
  }
}

.plan-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  margin: 0;
  line-height: 1.35;
}

.plan-audience {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.plan-price-block {
  margin: 0;
}

.plan-price {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.plan-price-detail {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.plan-eligibility {
  margin: 1.125rem 0 0.75rem;
}

.plan-eligibility-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
}

.plan-eligibility-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  font-style: italic;
}

.plan-includes {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

@supports not (grid-template-rows: subgrid) {
  .plan-includes {
    flex: 1;
  }
}

.plan-includes-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
}

.plan-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-includes-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}

.plan-includes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.plan-includes-list li + li {
  margin-top: 0.5rem;
}

.plan-cta {
  width: 100%;
  margin-top: 0.25rem;
  align-self: end;
}

@supports not (grid-template-rows: subgrid) {
  .plan-cta {
    margin-top: auto;
  }
}

/* Tier 1 lead-capture modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 42, 69, 0.55);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--color-accent-soft);
  color: var(--color-navy);
}

.modal-title {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.375rem;
}

.modal-intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

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

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-deep);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="date"] {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.form-field input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.form-field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.form-field-checkbox input[type="checkbox"] {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  accent-color: var(--color-accent);
}

.form-field-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text);
}

.form-required {
  color: var(--color-accent);
}

.form-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.form-error {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #b42318;
}

.form-success p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-navy-deep);
}

.form-submit {
  width: 100%;
}

.plans-help-section {
  background: var(--color-white);
  padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.plans-help-text {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  color: var(--color-navy);
}

/* Legal pages */
.legal-document-section {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--color-white);
}

.legal-document {
  max-width: 42rem;
  margin-inline: auto;
}

.legal-document h1 {
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-muted);
  margin: 0 0 0.5rem;
}

.legal-service {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-document h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.legal-document p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-intro {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-list li {
  margin-bottom: 0.5rem;
}

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

.legal-placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.legal-document a {
  color: var(--color-navy);
  font-weight: 500;
}

.legal-document a:hover {
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-service {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.footer-address {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links {
  margin-bottom: 1rem;
}

.footer-legal-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal-links a:hover,
.footer-legal-links a[aria-current="page"] {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .eliza-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

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

  .path-card {
    min-height: 0;
  }

  .founder-card {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .founder-photo {
    max-width: 240px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1rem;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .btn-nav {
    width: 100%;
  }

  .logo-text {
    max-width: 9rem;
  }

  .path-cards,
  .pricing-benefits-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    gap: 0.75rem;
  }

  .plan-cta {
    margin-top: auto;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .comparison-table {
    font-size: 0.8125rem;
    min-width: 32rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.625rem 0.75rem;
  }

  .comparison-table tbody th[scope="row"] {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 3.75rem;
  }

  .logo-mark {
    width: 2.125rem;
    height: 2.125rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
