:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --success: #047857;
  --success-soft: #d1fae5;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --error: #dc2626;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-secondary: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --disabled: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.10);
  --shadow-primary: 0 12px 28px rgba(29, 78, 216, 0.20);
  --radius-card: 16px;
  --radius-panel: 24px;
  --brand-font: "Avenir Next", Avenir, "Montserrat", Inter, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 7%, rgba(96, 165, 250, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 4%, rgba(4, 120, 87, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--background), #ffffff 42%, #f6f9ff);
  color: var(--text);
  font-family: var(--brand-font);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--text);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-shell {
  overflow: clip;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
.app-topbar,
.app-greeting,
.badge-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 170px;
}

.nav-brand {
  min-width: 168px;
  height: 50px;
  padding: 0 2px;
  border-radius: 999px;
  color: var(--text);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-brand:hover {
  background: rgba(241, 245, 249, 0.78);
  transform: translateY(-1px);
}

.nav-logo {
  width: 168px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(15, 23, 42, 0.08));
}

.brand-lockup {
  width: 178px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.nav-cta {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  background: var(--surface-secondary);
  color: var(--text);
}

.nav-cta {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 1.06fr);
  gap: 56px;
  align-items: center;
  min-height: min(820px, calc(100vh - 82px));
  padding-top: 62px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.07);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(4, 120, 87, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: var(--brand-font);
  font-size: clamp(2.75rem, 5.8vw, 5.45rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.044em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.audience-strip span,
.mini-row span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.app-showcase {
  position: relative;
  min-height: 620px;
  perspective: 1300px;
}

.app-card,
.app-window,
.floating-login,
.comparison-card,
.feature-tabs,
.bento-card,
.calc-card,
.price-card,
.launch-plan,
.faq-list,
.signup-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.app-window {
  position: relative;
  z-index: 2;
  padding: 18px;
  border-radius: 28px;
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.app-topbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-topbar img {
  width: 196px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.role-pill {
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-greeting {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.app-greeting span {
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.app-greeting button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
  font-size: 1.7rem;
  line-height: 1;
}

.app-section-title {
  margin-bottom: 14px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.app-stat-grid {
  display: grid;
  gap: 12px;
}

.app-stat-row {
  display: flex;
  gap: 12px;
}

.app-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.icon-bubble {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
}

.icon-bubble svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bubble.blue {
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
}

.icon-bubble.green {
  background: rgba(4, 120, 87, 0.12);
  color: var(--success);
}

.icon-bubble.amber {
  background: rgba(180, 83, 9, 0.12);
  color: var(--warning);
}

.app-stat strong {
  display: block;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.app-stat small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}

.appointment-preview {
  position: relative;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 14px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.left-accent {
  background: var(--primary);
}

.appointment-preview > div:last-child {
  padding: 16px 16px 16px 0;
}

.appointment-time {
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.appointment-preview p {
  margin: 3px 0 12px;
  font-size: 0.92rem;
}

.badge-row {
  gap: 8px;
}

.badge-row span {
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.floating-login {
  position: absolute;
  right: -14px;
  bottom: -8px;
  z-index: 3;
  width: min(310px, 70%);
  padding: 18px;
  border-radius: 24px;
}

.login-logo {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 10px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.floating-login strong {
  display: block;
  margin-bottom: 14px;
  text-align: center;
}

.floating-login label,
.signup-card label,
.calc-card label {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.fake-input,
.signup-card input,
.signup-card select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  padding: 14px;
}

.fake-button {
  margin-top: 16px;
  padding: 15px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.audience-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.audience-strip p {
  max-width: 440px;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.audience-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.split,
.onboarding-grid,
.signup-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.comparison-card {
  overflow: hidden;
  border-radius: var(--radius-panel);
}

.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.1fr;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row.header {
  background: var(--surface-secondary);
  color: var(--text);
  font-weight: 800;
}

.compare-row span:nth-child(2) {
  color: var(--muted);
}

.compare-row strong {
  color: var(--primary-dark);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 0 auto;
}

.feature-tabs {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
}

.tab-list {
  display: grid;
  gap: 10px;
}

.tab-list button {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  padding: 15px;
  text-align: left;
  font-weight: 750;
}

.tab-list button.active {
  border-color: rgba(29, 78, 216, 0.22);
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary-dark);
}

.tab-panels {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 10%, rgba(96, 165, 250, 0.20), transparent 18rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.tab-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.tab-panel p {
  max-width: 650px;
}

.panel-index {
  position: absolute;
  right: 28px;
  top: 12px;
  color: rgba(29, 78, 216, 0.08);
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.10em;
}

.mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checklist-card {
  padding: 22px;
  border-radius: 24px;
}

.checklist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.checklist-head p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.checklist-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-track {
  height: 6px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-secondary);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: var(--text);
  font-weight: 500;
}

.check-item span {
  width: 20px;
  height: 20px;
  border: 2px solid var(--disabled);
  border-radius: 999px;
}

.check-item.done {
  color: var(--muted);
}

.check-item.done span {
  border-color: var(--success);
  background: radial-gradient(circle, var(--success) 42%, transparent 47%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bento-card {
  min-height: 244px;
  padding: 24px;
  border-radius: var(--radius-card);
}

.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 506px;
  background:
    radial-gradient(circle at 80% 16%, rgba(96, 165, 250, 0.26), transparent 18rem),
    linear-gradient(180deg, var(--surface), #eff6ff);
}

.bento-card span,
.price-card span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.07), rgba(4, 120, 87, 0.05));
}

.calc-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-card);
}

.calc-card input[type="range"] {
  accent-color: var(--primary);
}

.savings {
  padding: 18px;
  border-radius: 16px;
  background: var(--primary);
  color: white;
}

.savings span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.savings strong {
  display: block;
  color: white;
  font-size: 2.6rem;
  letter-spacing: -0.07em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  padding: 26px;
  border-radius: var(--radius-card);
}

.price-card.featured {
  border-color: rgba(29, 78, 216, 0.30);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  transform: translateY(-10px);
}

.price-card strong {
  display: block;
  margin: 12px 0;
  color: var(--text);
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.launch-plan {
  padding: 38px;
  border-radius: 28px;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.motion-grid article {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--surface);
}

.motion-grid strong {
  display: block;
  margin-bottom: 8px;
}

.faq-list {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
}

details {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

details:last-child {
  border-bottom: 0;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.signup-section {
  align-items: start;
  padding-bottom: 72px;
}

.signup-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
}

.signup-card button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.form-note.error {
  color: var(--error);
}

.privacy-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.privacy-note a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof article {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.proof .quote {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  line-height: 1.4;
}

.proof footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof .avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.proof .who strong {
  display: block;
  color: var(--text);
}

.proof .who span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.proof-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(4, 120, 87, 0.12);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 92% 8%, rgba(4, 120, 87, 0.10), transparent 16rem),
    linear-gradient(135deg, var(--surface), #eff6ff);
  box-shadow: var(--shadow-card);
}

.contact h3 {
  margin-bottom: 6px;
}

.contact p {
  margin: 0;
}

.contact .channels {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact .channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact .channel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact .channel small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.contact .channel svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-card .price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0;
  color: var(--text);
}

.price-card .price-tag .amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.price-card .price-tag .unit {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.price-card .price-tag .pre {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.beta-note {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(4, 120, 87, 0.20);
  border-radius: 999px;
  background: rgba(4, 120, 87, 0.08);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.calc-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(4, 120, 87, 0.08);
  color: var(--text);
  font-weight: 650;
}

.calc-callout strong {
  color: var(--success);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.outcomes-grid article {
  padding: 22px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--surface);
}

.outcomes-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.outcomes-grid .stat {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 32px 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 36px;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 280px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-col strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  grid-column: 1 / -1;
  font-size: 0.84rem;
}

.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bar nav a:hover {
  color: var(--text);
}

.product-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.section.signup-card-only {
  padding-bottom: 24px;
}

.inner-main {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.inner-main h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.inner-main h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  letter-spacing: -0.025em;
}

.inner-main h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.inner-main p,
.inner-main ul,
.inner-main ol {
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.65;
}

.inner-main ul,
.inner-main ol {
  padding-left: 1.4rem;
}

.inner-main li {
  margin-bottom: 6px;
}

.inner-main .updated {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inner-main blockquote {
  margin: 18px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.compare-table {
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--surface-secondary);
  color: var(--text);
  font-weight: 800;
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

.compare-table td.win {
  color: var(--success);
  font-weight: 700;
}

.compare-table td.lose {
  color: var(--muted);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0 18px;
}

.post-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.post-card .post-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

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

@media (max-width: 640px) {
  .post-list {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.js-enabled .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(22px);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .js-enabled .reveal,
  .js-enabled .reveal:not(.visible) {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav.open .nav-links,
  .nav.open .nav-cta {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
  }

  .hero,
  .split,
  .onboarding-grid,
  .signup-section,
  .calculator,
  .feature-tabs {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .app-showcase {
    min-height: 700px;
  }

  .floating-login {
    right: 16px;
  }

  .bento,
  .pricing-grid,
  .motion-grid,
  .outcomes-grid,
  .proof {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card.large {
    grid-column: span 2;
    min-height: 350px;
  }

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

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

  .audience-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .audience-strip div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 24px, 1120px);
    padding: 70px 0;
  }

  .hero {
    gap: 34px;
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.05rem);
  }

  .app-showcase {
    min-height: auto;
  }

  .app-window {
    padding: 14px;
  }

  .brand {
    min-width: 150px;
  }

  .nav-brand {
    min-width: 148px;
    height: 44px;
    padding: 0 2px;
  }

  .nav-logo {
    width: 148px;
  }

  .brand-lockup {
    width: 156px;
    height: 48px;
    padding: 7px 10px;
  }

  .app-topbar img {
    width: 168px;
    padding: 7px 9px;
  }

  .app-stat-row {
    gap: 10px;
  }

  .floating-login {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .bento,
  .pricing-grid,
  .motion-grid,
  .outcomes-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 40px 0 24px;
  }

  .footer-brand {
    max-width: none;
  }

  .bento-card.large {
    grid-column: span 1;
  }

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

  .calculator,
  .launch-plan,
  .contact {
    padding: 24px;
  }

  .footer-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
