/* Static counterpart of Application app-themes.css, layouts and UI components. */
:root {
  color-scheme: light;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --track-tight: -0.01em;
  --color-neutral-50: #fafafa;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;
  --color-brand-primary-100: #d5f5f2;
  --color-brand-primary-600: #00a8a0;
  --color-brand-primary-800: #006f69;
  --color-brand-secondary-100: #fbe4f0;
  --color-brand-secondary-600: #e63e9c;
  --color-brand-secondary-700: #c22c83;
  --color-brand-secondary-800: #9c256c;
  --color-brand-accent-500: #1e1e1e;
  --color-surface-base: #ffffff;
  --radius-12: 12px;
  --radius-16: 16px;
  font-family: var(--font-ui);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--color-neutral-900);
  background-color: var(--color-surface-base);
  background-image:
    radial-gradient(circle at 12% 80%, rgb(0 168 160 / 0.10) 0%, rgb(0 168 160 / 0.042) 18%, rgb(0 168 160 / 0) 42%),
    radial-gradient(circle at 84% 16%, rgb(230 62 156 / 0.072) 0%, rgb(230 62 156 / 0.028) 18%, rgb(230 62 156 / 0) 40%),
    linear-gradient(135deg, rgb(0 168 160 / 0.02) 0%, rgb(255 255 255 / 0) 42%, rgb(230 62 156 / 0.02) 100%);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
a { color: var(--color-brand-primary-800); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-brand-primary-800);
  outline-offset: 4px;
}
main:focus { outline: none; }
h1, h2, h3 { color: var(--color-neutral-900); font-weight: 600; letter-spacing: var(--track-tight); }
h1 { margin: 0; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.16; }
h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 2.2vw, 1.75rem); line-height: 1.25; }
h3 { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.35; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.page-width { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 16px; }

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: var(--radius-12);
  background: var(--color-surface-base);
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  border-bottom: 1px solid rgba(209, 213, 219, 0.5);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.022);
  backdrop-filter: blur(18px);
}
.site-header-inner {
  display: grid;
  grid-template-areas: "brand" "nav" "login";
  gap: 8px 24px;
  align-items: center;
  padding-block: 4px 16px;
}
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  max-width: 100%;
  height: 82px;
  border-radius: 14px;
  text-decoration: none;
}
.brand:hover { background: rgba(255, 255, 255, 0.62); }
.primary-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 0 16px; }
.primary-nav a, .site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--color-neutral-700);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a:hover, .site-footer a:hover { color: var(--color-brand-primary-800); text-decoration: underline; }
.partner-login { grid-area: login; width: 100%; }

/* Original 276px composition. Wordmark spans stay adjacent in the HTML. */
.brand-artwork {
  position: relative;
  flex: 0 0 276px;
  width: 276px;
  height: 276px;
  transform: translate(-3px, 2px) scale(0.385);
  transform-origin: center;
}
.brand-clock { position: absolute; left: 75px; top: 55px; width: 138px; height: 138px; overflow: hidden; border-radius: 50%; opacity: 0.18; }
.brand-clock-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-hand { position: absolute; left: 123px; top: 97px; width: 50px; height: 34px; }
.brand-wordmark { position: absolute; top: 141px; left: 50%; font-size: 67px; line-height: 1; font-weight: 600; color: var(--color-brand-accent-500); }
.brand-letter { display: inline-block; }
.brand-letter-a-first { letter-spacing: 0.004em; }
.brand-letter-u { margin-left: -0.021em; letter-spacing: -0.003em; }
.brand-letter-t { margin-left: -0.011em; letter-spacing: 0.001em; }
.brand-letter-i { margin-left: -0.014em; letter-spacing: 0; }
.brand-letter-r { margin-left: -0.002em; letter-spacing: 0.008em; }
.brand-letter-a-last { margin-left: -0.008em; letter-spacing: 0; }

.hero { display: grid; gap: 32px; align-items: center; padding-block: 48px; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 24ch; }
.eyebrow { margin-bottom: 16px; color: var(--color-brand-primary-800); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.lead { max-width: 62ch; margin-top: 24px; color: var(--color-neutral-600); font-size: 1.125rem; line-height: 1.6; }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px 24px; margin-top: 24px; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-12);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.button-primary { color: #fff; background: var(--color-brand-primary-800); box-shadow: 0 8px 18px rgba(0, 168, 160, 0.16); }
.button-primary:hover { box-shadow: 0 10px 22px rgba(0, 168, 160, 0.24); }
.button-secondary { color: var(--color-brand-primary-800); border-color: rgba(205, 211, 218, 0.78); background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f7f9fa); box-shadow: 0 8px 18px rgba(17, 24, 39, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.52); }
.button-secondary:hover { border-color: var(--color-brand-primary-800); box-shadow: 0 10px 22px rgba(17, 24, 39, 0.04); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-weight: 600; }
.panel { position: relative; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 30px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 22px 48px rgba(17, 24, 39, 0.06), 0 52px 124px rgba(17, 24, 39, 0.055); backdrop-filter: blur(20px); }
.status-panel { padding: 24px; }
.status-panel::before, .footer-inner::before { position: absolute; top: 0; right: 24px; left: 24px; height: 2px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, rgba(0, 168, 160, 0.09), rgba(0, 168, 160, 0.24) 28%, rgba(230, 62, 156, 0.13) 74%, rgba(230, 62, 156, 0.04)); content: ""; }
.status-label { display: flex; align-items: center; gap: 12px; color: var(--color-brand-secondary-800); font-size: 0.8125rem; font-weight: 600; }
.status-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand-secondary-600); box-shadow: 0 0 0 4px var(--color-brand-secondary-100); }
.status-panel h2 { font-size: 1.5rem; }
.status-panel > p:not(.status-label) { color: var(--color-neutral-600); font-size: 0.9375rem; }
.section { padding-block: 32px; }
.section-heading { max-width: 70ch; margin-bottom: 24px; }
.section-heading > p:last-child { color: var(--color-neutral-600); }
.three-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.content-card { min-width: 0; padding: 24px; border: 1px solid rgba(209, 213, 219, 0.72); border-radius: 24px; background: rgba(255, 255, 255, 0.61); box-shadow: 0 10px 22px rgba(17, 24, 39, 0.038), 0 22px 52px rgba(17, 24, 39, 0.034); backdrop-filter: blur(12px); }
.content-card > p:not(.card-label) { color: var(--color-neutral-600); }
.concept-card { border-top: 2px solid var(--color-brand-primary-600); }
.card-label { color: var(--color-brand-secondary-700); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.section-note { max-width: 75ch; margin-top: 24px; color: var(--color-neutral-600); font-size: 0.9375rem; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0; padding-left: 28px; }
.steps li { padding-left: 8px; }
.steps li::marker { color: var(--color-brand-primary-800); font-weight: 600; }
.steps p { color: var(--color-neutral-600); }
.principles { display: grid; gap: 24px; }
.principle-list { margin: 0; }
.principle-list > div { padding-block: 16px; border-bottom: 1px solid rgba(209, 213, 219, 0.6); }
.principle-list > div:first-child { padding-top: 0; }
.principle-list dt { margin-bottom: 4px; font-weight: 600; }
.principle-list dd { margin: 0; color: var(--color-neutral-600); }
.phase-current { border-color: var(--color-brand-primary-800); }
.partner-section { display: grid; gap: 32px; padding: 24px; margin-block: 32px; }
.partner-section p { color: var(--color-neutral-600); }
.partner-section .eyebrow { color: var(--color-brand-primary-800); }
.partner-access { border-top: 1px solid rgba(209, 213, 219, 0.6); padding-top: 24px; }
.partner-access .button { width: 100%; }
.interest-copy { margin-top: 24px; font-size: 0.9375rem; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid rgba(205, 211, 218, 0.62); border-radius: 14px; background: rgba(248, 250, 250, 0.74); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62); }
.faq-list summary { min-height: 48px; padding: 16px; border-radius: 14px; color: var(--color-neutral-900); font-weight: 600; cursor: pointer; }
.faq-list summary:hover { background: rgba(236, 247, 245, 0.38); }
.faq-list details > p { padding: 0 16px 16px; color: var(--color-neutral-600); }

.site-footer { padding-block: 32px 24px; }
.footer-inner { position: relative; display: grid; gap: 8px; padding: 16px 24px; border: 1px solid rgba(255, 255, 255, 0.38); border-radius: 14px; background: rgba(255, 255, 255, 0.28); box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04); backdrop-filter: blur(10px); }
.footer-inner > p { margin: 0; color: var(--color-neutral-700); font-size: 0.875rem; }
.footer-status { display: inline-block; margin-left: 12px; color: var(--color-neutral-600); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }

.legal-page { padding-block: 32px 24px; }
.legal-document { width: 100%; max-width: 820px; margin-inline: auto; padding: 24px; overflow-wrap: anywhere; }
.legal-document h1 { margin-bottom: 24px; }
.legal-document section { margin-top: 32px; }
.legal-document h2 { margin-bottom: 16px; font-size: 1.25rem; }
.legal-document address { font-style: normal; }
.legal-document ul { padding-left: 24px; }
.legal-document li { margin-bottom: 12px; }
.legal-warning { padding: 16px; border: 1px solid rgba(156, 37, 108, 0.22); border-left: 4px solid var(--color-brand-secondary-800); border-radius: var(--radius-12); background: var(--color-brand-secondary-100); }
.legal-warning > strong { display: block; color: var(--color-brand-secondary-800); }
.legal-warning p { margin-top: 8px; font-size: 0.9375rem; }
.legal-open { padding: 12px 16px; border-left: 3px solid var(--color-brand-secondary-800); background: rgba(251, 228, 240, 0.48); font-size: 0.9375rem; }
.legal-open strong { color: var(--color-brand-secondary-800); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--color-neutral-300); }
.legal-toc a { display: inline-flex; min-height: 44px; align-items: center; font-size: 0.875rem; }
.legal-crosslink { margin-top: 32px; }
.contact-address { overflow-wrap: anywhere; }
code { font-size: 0.875em; overflow-wrap: anywhere; }

@media (min-width: 640px) {
  .page-width { padding-inline: 40px; }
  .site-header-inner { grid-template-areas: "brand login" "nav nav"; grid-template-columns: 210px minmax(0, 1fr); }
  .partner-login { justify-self: end; width: auto; }
  .brand-artwork { transform: translate(-3px, 2px) scale(0.435); }
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .status-panel, .partner-section { padding: 32px; }
  .section { padding-block: 48px; }
  .legal-document { padding: 40px; }
  .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
}
@media (min-width: 768px) {
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  html { scroll-padding-top: 120px; }
  .page-width { padding-inline: 120px; }
  .site-header { position: sticky; top: 0; z-index: 900; }
  .site-header-inner { min-height: 88px; grid-template-areas: "brand nav login"; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 16px; padding: 3px 32px; }
  .primary-nav { justify-content: center; gap: 0 16px; }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; padding-block: 72px; }
  .section { padding-block: 48px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .principles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .partner-section { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 40px; margin-block: 48px; }
  .partner-access { border-top: 0; border-left: 1px solid rgba(209, 213, 219, 0.6); padding-top: 0; padding-left: 32px; }
  .legal-page { padding-block: 48px 24px; }
}
@media (min-width: 1280px) {
  .three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}


/* ==========================================================================
   Homepage (body.homepage) - W1-D2.5 consolidated stylesheet.
   Replaces the layered W1-D2, D2.2, D2.3 and D2.4 homepage blocks.
   Order: shared homepage rules, one phone range not all and (min-width: 640px), then the
   tablet/desktop ranges that keep the approved presentation. The phone range
   and the 640px+ ranges never compete for the same property. The strict 640px
   boundary matches the validated <source media="not all and (min-width: 640px)">.
   Impressum and Datenschutz do not carry .homepage and are unaffected.
   ========================================================================== */

/* Shared homepage rules (all widths) */
.homepage .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.homepage .page-width { padding-inline: 16px; }
.homepage .eyebrow { margin-bottom: 12px; }
.homepage .section { padding-block: 48px; }
.homepage .section-heading { max-width: 60ch; }
.homepage .section h2 { line-height: 1.2; letter-spacing: -0.025em; }

/* Hero: one source order. Phones stack it; 640px+ places it with grid areas. */
.homepage .hero {
  --hero-column-gap: 40px;
  --hero-action-gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "primary" "visual" "secondary" "status";
  gap: 0;
}
.homepage .hero-copy { grid-area: copy; }
.homepage .hero-primary { grid-area: primary; }
.homepage .hero-secondary { grid-area: secondary; }
.homepage .hero-status { grid-area: status; }
.homepage .hero-opening { display: block; letter-spacing: var(--track-tight); }
.homepage .hero-emphasis { color: var(--color-brand-primary-800); }
.homepage .lead { max-width: 46ch; }
.homepage .hero-action { min-width: 0; max-width: 100%; justify-self: start; font-size: 1rem; overflow-wrap: break-word; }
.homepage .hero .status-dot { width: 6px; height: 6px; flex-basis: 6px; box-shadow: 0 0 0 3px var(--color-brand-secondary-100); }
.homepage .hero-status a { display: inline-flex; min-height: 44px; align-items: center; gap: 4px; }

/* Authentic, noninteractive product screenshot. */
.homepage .product-visual { grid-area: visual; min-width: 0; width: 100%; max-width: 660px; margin: 0 auto; }
.homepage .product-frame { border: 1px solid rgba(209, 213, 219, 0.72); background: #fff; box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07); }
.homepage .product-frame picture { display: block; overflow: hidden; }
.homepage .product-frame img { display: block; width: 100%; height: auto; }
.homepage .product-visual figcaption { color: var(--color-neutral-600); }

/* What AUTIRA considers: four capability groups with quiet, non-interactive terms. */
.homepage .context-section, .homepage .workflow-section, .homepage .booking-section { min-width: 0; overflow-wrap: anywhere; }
.homepage .context-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; border-top: 1px solid rgba(209, 213, 219, 0.65); }
.homepage .context-section .section-heading { min-width: 0; }
.homepage .capability-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 32px; align-self: start; min-width: 0; margin: 0; padding: 0; list-style: none; }
.homepage .capability-map > li { min-width: 0; padding-top: 20px; border-top: 1px solid rgba(209, 213, 219, 0.65); list-style: none; }
.homepage .capability-label { margin: 0 0 8px; color: var(--color-brand-primary-800); font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; }
.homepage .capability-map > li > p { max-width: 48ch; margin: 0; color: var(--color-neutral-600); line-height: 1.55; }
.homepage .capability-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.homepage .capability-terms > li { min-width: 0; max-width: 100%; padding: 3px 10px; border: 1px solid var(--color-neutral-200); border-radius: 10px; background: rgba(255, 255, 255, 0.86); color: var(--color-neutral-700); font-size: 0.8125rem; font-weight: 500; line-height: 1.45; list-style: none; }
.homepage .capability-map > li::marker, .homepage .capability-terms > li::marker, .homepage .workflow-steps > li::marker, .homepage .booking-modes > li::marker, .homepage .followup-steps > li::marker { content: ""; }

/* Four-step process on the pale-teal panel. Step 01 is the one-time setup
   (dashed connector); steps 02-04 repeat for every appointment (solid). */
.homepage .workflow-section { margin-block: 12px; border: 1px solid rgba(0, 111, 105, 0.14); background: linear-gradient(125deg, rgba(213, 245, 242, 0.48), rgba(255, 255, 255, 0.88) 65%); }
.homepage .workflow-section .section-heading { max-width: none; margin-bottom: 0; }
.homepage .workflow-steps { display: grid; padding: 0; list-style: none; }
.homepage .workflow-steps > li { position: relative; min-width: 0; list-style: none; }
.homepage .workflow-arrow { display: none; }
.homepage .workflow-number { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 111, 105, 0.22); background: #fff; color: var(--color-brand-primary-800); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.homepage .workflow-steps p { color: var(--color-neutral-600); }
.homepage .workflow-scope { color: var(--color-brand-primary-800); font-weight: 600; }
.homepage .workflow-summary, .homepage .booking-summary { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(0, 111, 105, 0.18); color: var(--color-neutral-700); font-size: 1rem; line-height: 1.55; }
.homepage .workflow-summary strong, .homepage .booking-summary strong { color: var(--color-brand-primary-800); font-weight: 600; }

/* Three booking modes: coexisting alternatives in one shared container, not a
   sequence. Mode labels and status pills carry the distinction. */
.homepage .booking-modes { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; border: 1px solid rgba(209, 213, 219, 0.75); border-radius: 24px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 16px 40px rgba(17, 24, 39, 0.045); list-style: none; }
.homepage .booking-mode { min-width: 0; padding: 24px; list-style: none; }
.homepage .booking-mode + .booking-mode { border-top: 1px solid var(--color-neutral-200); }
.homepage .booking-mode-automated { border-radius: 0 0 23px 23px; background: linear-gradient(160deg, rgba(213, 245, 242, 0.6), rgba(255, 255, 255, 0.3) 72%); }
.homepage .booking-mode h3, .homepage .followup-flow h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; }
.homepage .mode-label { display: block; margin-bottom: 6px; color: var(--color-brand-primary-800); font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; }
.homepage .mode-status { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; margin: 12px 0 0; padding: 3px 10px 3px 8px; border: 1px solid var(--color-neutral-200); border-radius: 999px; background: rgba(255, 255, 255, 0.86); color: var(--color-neutral-700); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.homepage .mode-status::before { flex: 0 0 8px; box-sizing: border-box; width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand-primary-600); content: ""; }
.homepage .mode-status-later::before { border: 2px solid var(--color-neutral-300); background: #fff; }
.homepage .booking-mode > p:last-child { max-width: 60ch; margin: 12px 0 0; color: var(--color-neutral-600); line-height: 1.55; }

/* Follow-up example: a compact later-phase flow, vertical first, horizontal at 1024px+. */
.homepage .followup-flow { margin-top: 40px; }
.homepage .followup-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; color: var(--color-brand-primary-800); font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; }
.homepage .followup-label .mode-status { margin: 0; }
.homepage .followup-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin: 20px 0 0; padding: 0; list-style: none; }
.homepage .followup-steps > li { position: relative; min-width: 0; padding: 0 0 20px 28px; list-style: none; }
.homepage .followup-steps > li:last-child { padding-bottom: 0; }
.homepage .followup-steps > li::after { position: absolute; top: 6px; left: 0; box-sizing: border-box; width: 12px; height: 12px; border: 2px solid var(--color-brand-primary-600); border-radius: 50%; background: var(--color-brand-primary-100); content: ""; }
.homepage .followup-steps > li:not(:last-child)::before { position: absolute; top: 22px; bottom: 2px; left: 5px; width: 2px; border-radius: 1px; background: rgba(0, 111, 105, 0.2); content: ""; }
.homepage .followup-step-title { display: block; margin-bottom: 2px; color: var(--color-neutral-900); font-weight: 600; line-height: 1.5; }
.homepage .followup-steps p { max-width: 48ch; margin: 0; color: var(--color-neutral-600); line-height: 1.55; }
.homepage .booking-summary { margin-top: 32px; }
.homepage .booking-note { max-width: 88ch; margin: 16px 0 0; padding-left: 16px; border-left: 2px solid rgba(156, 37, 108, 0.3); color: var(--color-neutral-600); font-size: 0.875rem; }

/* Development timeline: current design phase, later pilot, open availability. */
.homepage .development-section { border-top: 1px solid rgba(209, 213, 219, 0.65); }
.homepage .development-timeline { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.homepage .development-timeline > li { position: relative; min-width: 0; padding: 0 0 32px 40px; }
.homepage .development-timeline > li::before { position: absolute; top: 10px; bottom: 0; left: 9px; width: 2px; background: var(--color-neutral-200); content: ""; }
.homepage .development-timeline > li:last-child::before { display: none; }
.homepage .development-timeline > li::after { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border: 5px solid var(--color-neutral-300); border-radius: 50%; background: #fff; content: ""; }
.homepage .development-timeline > .timeline-current::after { border-color: var(--color-brand-primary-800); background: var(--color-brand-primary-100); }
.homepage .phase-label { margin-bottom: 10px; color: var(--color-neutral-600); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.homepage .timeline-current .phase-label { color: var(--color-brand-primary-800); }
.homepage .development-timeline h3 { margin-bottom: 10px; }
.homepage .development-timeline li > p:last-child { color: var(--color-neutral-600); }
.homepage .development-note { max-width: 88ch; margin-top: 8px; padding-left: 16px; border-left: 2px solid rgba(156, 37, 108, 0.3); color: var(--color-neutral-600); font-size: 0.875rem; }

/* Design partnership: interested practices and separately provisioned access. */
.homepage .next-steps { margin-top: 40px; }
.homepage .next-steps > .section-heading h3 { margin-bottom: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.homepage .access-paths { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(209, 213, 219, 0.75); border-radius: 24px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 16px 40px rgba(17, 24, 39, 0.045); }
.homepage .access-paths > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.homepage .access-paths > div + div { border-top: 1px solid var(--color-neutral-200); }
.homepage .access-paths .access-interest { border-radius: 24px 24px 0 0; background: linear-gradient(125deg, rgba(251, 228, 240, 0.3), rgba(255, 255, 255, 0.2)); }
.homepage .access-label { margin-bottom: 12px; color: var(--color-brand-primary-800); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.homepage .access-interest .access-label { color: var(--color-brand-secondary-800); }
.homepage .access-paths h4 { margin: 0 0 12px; color: var(--color-neutral-900); font-weight: 600; line-height: 1.35; letter-spacing: var(--track-tight); }
.homepage .access-paths p:not(.access-label) { max-width: 44ch; margin-bottom: 24px; color: var(--color-neutral-600); }
.homepage .access-paths .button { max-width: 100%; margin-top: auto; }

/* FAQ (native details) and footer. */
.homepage .faq-section { display: grid; gap: 0 48px; }
.homepage .faq-list { display: block; border-top: 1px solid var(--color-neutral-300); }
.homepage .faq-list details { border: 0; border-bottom: 1px solid var(--color-neutral-300); border-radius: 0; background: transparent; box-shadow: none; }
.homepage .footer-inner { padding: 20px 0 0; border: 0; border-top: 1px solid var(--color-neutral-300); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.homepage .footer-inner::before { content: none; }

/* --------------------------------------------------------------------------
   Phone (< 640px). One coherent type scale:
   display 30-33px, headings 24-26px, subheadings 18px, lead 17px, body 16px,
   captions 13px, labels 12px.
   -------------------------------------------------------------------------- */
@media not all and (min-width: 640px) {
  .homepage {
    --hp-display: clamp(1.875rem, 1.05rem + 4.1vw, 2.25rem);
    --hp-heading: clamp(1.5rem, 1.1rem + 2vw, 1.625rem);
    --hp-subheading: 1.125rem;
    --hp-lead: 1.0625rem;
    --hp-caption: 0.8125rem;
  }

  /* Header: logo left, native disclosure menu right. It scrolls with the page,
     so an open panel never covers content after an anchor jump. */
  .homepage .site-header-inner { position: relative; display: block; min-height: 56px; padding-block: 2px; }
  .homepage .brand { width: 84px; height: 52px; }
  .homepage .brand-artwork { transform: translate(-3px, 2px) scale(0.34); }
  .homepage .primary-nav, .homepage .partner-login { display: none; }
  .homepage .mobile-menu > summary { position: absolute; top: 6px; right: 4px; display: block; width: 44px; height: 44px; border-radius: 12px; color: var(--color-neutral-800); cursor: pointer; list-style: none; }
  .homepage .mobile-menu > summary::-webkit-details-marker { display: none; }
  .homepage .mobile-menu > summary:hover, .homepage .mobile-menu[open] > summary { background: rgba(17, 24, 39, 0.05); }
  .homepage .mobile-menu-icon { display: block; width: 20px; height: 20px; margin: 12px; }
  .homepage .mobile-menu-icon-close, .homepage .mobile-menu[open] .mobile-menu-icon-dots { display: none; }
  .homepage .mobile-menu[open] .mobile-menu-icon-close { display: block; }
  .homepage .mobile-menu-panel { margin-top: 4px; padding-bottom: 16px; border-top: 1px solid rgba(209, 213, 219, 0.65); }
  .homepage .mobile-menu-list { margin: 0; padding: 0; list-style: none; }
  .homepage .mobile-menu-link { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(209, 213, 219, 0.5); color: var(--color-neutral-900); font-size: 1.0625rem; font-weight: 500; line-height: 1.3; text-decoration: none; }
  .homepage .mobile-menu-link::after { flex: 0 0 auto; width: 7px; height: 7px; margin-right: 6px; border-top: 2px solid var(--color-neutral-600); border-right: 2px solid var(--color-neutral-600); transform: rotate(45deg); content: ""; }
  .homepage .mobile-menu-link:hover { color: var(--color-brand-primary-800); }
  .homepage .mobile-menu-login { width: 100%; margin-top: 16px; }

  /* Hero: phase, two-part headline, lead, one dominant action, product image. */
  .homepage .hero { padding-block: 20px 40px; }
  .homepage .hero-phase { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; margin: 0 0 20px; padding: 5px 12px 5px 10px; border: 1px solid var(--color-neutral-200); border-radius: 999px; background: rgba(255, 255, 255, 0.78); color: var(--color-neutral-700); font-size: var(--hp-caption); font-weight: 600; line-height: 1.3; }
  .homepage .hero .eyebrow { display: none; }
  .homepage .hero h1 { font-size: var(--hp-display); line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; }
  .homepage .hero-opening { margin-bottom: 6px; color: var(--color-neutral-700); font-size: clamp(1.1875rem, 0.95rem + 1.2vw, 1.25rem); line-height: 1.3; }
  .homepage .hero-emphasis, .homepage .hero-closing { display: block; }
  .homepage .lead { margin-top: 16px; font-size: var(--hp-lead); line-height: 1.55; }
  .homepage .hero-primary { width: 100%; min-height: 48px; margin-top: 24px; }
  .homepage .product-visual { max-width: 440px; margin-top: 28px; }
  .homepage .product-frame { padding: 6px; border-radius: 20px; }
  .homepage .product-frame picture { aspect-ratio: 1 / 1; border-radius: 14px; }
  .homepage .product-frame img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 33%; }
  .homepage .product-visual figcaption { margin-top: 10px; font-size: var(--hp-caption); line-height: 1.45; }
  .homepage .hero-secondary { min-height: 44px; margin-top: 12px; padding: 10px 0; border: 0; border-radius: 4px; background: none; box-shadow: none; justify-content: flex-start; text-align: left; }
  .homepage .hero-secondary:hover { text-decoration: underline; }
  .homepage .hero-status { display: none; }

  /* Section rhythm and headings. */
  .homepage .section-heading { margin-bottom: 24px; }
  .homepage .section h2 { font-size: var(--hp-heading); }

  /* Process: full-width pale-teal band, numbered steps joined by a quiet line. */
  .homepage .workflow-section { margin-inline: -16px; padding: 40px 16px; border-inline-width: 0; border-radius: 0; }
  .homepage .workflow-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 24px 0 0; }
  .homepage .workflow-steps > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding-bottom: 24px; }
  .homepage .workflow-steps > li:last-child { padding-bottom: 0; }
  .homepage .workflow-steps > li:not(:last-child)::before { position: absolute; top: 36px; bottom: 4px; left: 15px; width: 2px; border-radius: 1px; background: rgba(0, 111, 105, 0.2); content: ""; }
  .homepage .workflow-number { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 10px; }
  .homepage .workflow-steps h3 { grid-column: 2; margin: 4px 0 0; font-size: var(--hp-subheading); }
  .homepage .workflow-steps p { grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.5; }
  .homepage .workflow-steps > li.workflow-setup:not(:last-child)::before { width: 0; border-left: 2px dashed rgba(0, 111, 105, 0.34); border-radius: 0; background: none; }

  /* Booking modes stack inside the shared container. */
  .homepage .booking-mode { padding: 20px; }
  .homepage .followup-flow { margin-top: 32px; }

  .homepage .development-timeline li > p:last-child { font-size: 1rem; }

  /* Design partnership: two clearly separated paths with full-width actions. */
  .homepage .access-paths h4 { font-size: var(--hp-subheading); }
  .homepage .access-paths .button { width: 100%; }

  /* FAQ: native details with a CSS chevron instead of browser triangles. */
  .homepage .faq-list summary { position: relative; display: block; min-height: 56px; padding: 16px 36px 16px 0; border-radius: 4px; font-size: 1rem; line-height: 1.45; list-style: none; }
  .homepage .faq-list summary::-webkit-details-marker { display: none; }
  .homepage .faq-list summary::after { position: absolute; top: 22px; right: 8px; width: 8px; height: 8px; border-right: 2px solid var(--color-brand-primary-800); border-bottom: 2px solid var(--color-brand-primary-800); transform: rotate(45deg); content: ""; }
  .homepage .faq-list details[open] > summary::after { top: 26px; transform: rotate(-135deg); }
  .homepage .faq-list summary:hover { background: transparent; color: var(--color-brand-primary-800); }
  .homepage .faq-list details > p { padding: 0 36px 20px 0; font-size: 1rem; line-height: 1.6; }

  /* Footer: stacked legal links with full tap targets. */
  .homepage .footer-inner { gap: 12px; }
  .homepage .site-footer nav { flex-direction: column; align-items: flex-start; }
  .homepage .site-footer a { font-size: 0.9375rem; }
}

/* --------------------------------------------------------------------------
   Tablet and desktop (640px+): the approved presentation, unchanged.
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .homepage .page-width { padding-inline: 32px; }
  .homepage .site-header-inner { grid-template-areas: "brand login" "nav nav"; grid-template-columns: 168px minmax(0, 1fr); gap: 0 12px; padding-block: 4px; }
  .homepage .brand { justify-self: start; width: 168px; height: 64px; }
  .homepage .brand-artwork { transform: translate(-3px, 2px) scale(0.36); }
  .homepage .primary-nav { justify-content: center; gap: 0 16px; }
  .homepage .partner-login { justify-self: end; width: auto; min-width: 0; max-width: 100%; padding: 10px 16px; font-size: 1rem; line-height: 1.4; }
  .homepage .mobile-nav, .homepage .hero-phase, .homepage .hero-audience, .homepage .hero-secondary-arrow { display: none; }

  .homepage .hero { grid-template-columns: fit-content(45%) minmax(0, 1fr); grid-template-areas: "copy copy" "primary secondary" "status status" "visual visual"; column-gap: var(--hero-action-gap); padding-block: 40px 48px; }
  .homepage .hero h1 { font-size: clamp(2.25rem, 4.8vw, 3rem); line-height: 1.12; letter-spacing: -0.035em; }
  .homepage .hero-opening { margin-bottom: 0.4em; font-size: 0.7em; line-height: 1.25; }
  .homepage .lead { margin-top: 20px; font-size: 1.125rem; line-height: 1.6; }
  .homepage .hero-action { align-self: center; margin-top: 24px; }
  .homepage .hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; color: var(--color-neutral-600); font-size: 0.8125rem; }
  .homepage .product-visual { margin-top: 40px; }
  .homepage .product-frame { padding: 8px; border-radius: 24px; }
  .homepage .product-frame picture { aspect-ratio: 4 / 3; border-radius: 16px; }
  .homepage .product-frame img { aspect-ratio: 4 / 3; }
  .homepage .product-visual figcaption { max-width: 60ch; margin: 14px auto 0; font-size: 0.875rem; line-height: 1.5; text-align: center; }

  .homepage .section-heading { margin-bottom: 28px; }
  .homepage .section h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
  .homepage .workflow-section { padding: 32px; border-radius: 24px; }
  .homepage .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 32px 0 0; }
  .homepage .workflow-steps > li { padding-top: 16px; border-top: 1px solid rgba(0, 111, 105, 0.18); }
  .homepage .workflow-steps > li.workflow-setup { border-top-style: dashed; border-top-color: rgba(0, 111, 105, 0.34); }
  .homepage .workflow-number { width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; }
  .homepage .workflow-steps h3 { min-height: 2.7em; margin-bottom: 10px; font-size: 1.0625rem; line-height: 1.35; }
  .homepage .workflow-steps p { font-size: 1rem; line-height: 1.55; }
  .homepage .development-timeline li > p:last-child { font-size: 0.9375rem; }
  .homepage .access-paths h4 { font-size: 1.375rem; }
  .homepage .faq-list summary { min-height: 56px; padding: 18px 8px; border-radius: 4px; font-size: 0.9375rem; line-height: 1.5; }
  .homepage .faq-list details > p { padding: 0 8px 20px; font-size: 0.9375rem; }
}
@media (min-width: 768px) {
  .homepage .capability-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage .development-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .homepage .development-timeline > li { padding: 40px 0 0; }
  .homepage .development-timeline > li::before { top: 9px; bottom: auto; left: 10px; width: calc(100% + 32px); height: 2px; }
  .homepage .development-note { margin-top: 28px; }
  .homepage .access-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homepage .access-paths > div { padding: 32px; }
  .homepage .access-paths .access-interest { border-radius: 24px 0 0 24px; }
  .homepage .access-paths > div + div { border-top: 0; border-left: 1px solid var(--color-neutral-200); }
}
@media (min-width: 1024px) {
  .homepage .page-width { padding-inline: 40px; }
  .homepage .site-header-inner { min-height: 88px; grid-template-areas: "brand nav login"; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 0 24px; padding-block: 3px; }
  .homepage .brand { width: 210px; height: 82px; }
  .homepage .brand-artwork { transform: translate(-3px, 2px) scale(0.435); }
  .homepage .primary-nav { gap: 0 24px; }
  .homepage .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy visual" "primary visual" "secondary visual" "status visual"; column-gap: var(--hero-column-gap); padding-block: 64px 56px; }
  .homepage .hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.5rem); }
  .homepage .hero-secondary { margin-top: 12px; }
  .homepage .product-visual { align-self: center; justify-self: stretch; width: auto; max-width: none; margin: 0; }
  .homepage .section { padding-block: 56px; }
  .homepage .context-section, .homepage .faq-section { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .homepage .context-section .section-heading, .homepage .faq-section .section-heading { margin-bottom: 0; }
  .homepage .workflow-section { padding: 40px; }
  .homepage .workflow-section .section-heading, .homepage .booking-section .section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 40px; align-items: end; }
  .homepage .workflow-section .section-heading .eyebrow, .homepage .booking-section .section-heading .eyebrow { grid-column: 1 / 3; }
  .homepage .workflow-section .section-heading h2, .homepage .booking-section .section-heading h2 { min-width: 0; margin-bottom: 0; }
  .homepage .workflow-section .section-heading > p:last-child, .homepage .booking-section .section-heading > p:last-child { min-width: 0; margin: 0; color: var(--color-neutral-600); }
  .homepage .booking-section .section-heading { max-width: none; }
  .homepage .booking-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .homepage .booking-mode { padding: 32px; }
  .homepage .booking-mode + .booking-mode { border-top: 0; border-left: 1px solid var(--color-neutral-200); }
  .homepage .booking-mode-automated { border-radius: 0 23px 23px 0; }
  .homepage .followup-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .homepage .followup-steps > li { padding: 24px 0 0; }
  .homepage .followup-steps > li::after { top: 0; }
  .homepage .followup-steps > li:not(:last-child)::before { top: 5px; right: -16px; bottom: auto; left: 20px; width: auto; height: 2px; }
}
@media (min-width: 1180px) {
  /* Two intrinsic action tracks on the left; the figure inset keeps equal
     text/visual halves and the 40px (56px at 1280+) column gap. */
  .homepage .hero {
    grid-template-columns: fit-content(calc((100% - var(--hero-column-gap)) * 0.225)) minmax(0, 1fr) calc((100% - var(--hero-column-gap)) / 2 + var(--hero-column-gap) - var(--hero-action-gap));
    grid-template-areas: "copy copy visual" "primary secondary visual" "status status visual";
    column-gap: var(--hero-action-gap);
  }
  .homepage .hero-secondary { margin-top: 24px; }
  .homepage .product-visual { margin-left: calc(var(--hero-column-gap) - var(--hero-action-gap)); }
  .homepage .workflow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .homepage .workflow-steps > li:not(:last-child)::before { position: absolute; top: 36px; left: 52px; right: 28px; height: 1px; background: rgba(0, 111, 105, 0.2); content: ""; }
  .homepage .workflow-steps > li.workflow-setup:not(:last-child)::before { height: 0; border-top: 1px dashed rgba(0, 111, 105, 0.4); background: none; }
  .homepage .workflow-arrow { position: absolute; top: 23px; right: 4px; display: block; color: var(--color-brand-primary-800); }
}
@media (min-width: 1280px) {
  .homepage .page-width { padding-inline: 64px; }
  .homepage .hero { --hero-column-gap: 56px; padding-block: 72px 64px; }
  .homepage .hero h1 { font-size: 3.5rem; }
  .homepage .access-paths > div { padding: 40px; }
}
