@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-deep: #1e3a8a;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --surface: #f8fafc;
}

/* Override baked-in blue brand with green */
.text-brand { color: var(--accent) !important; }
.bg-brand { background-color: var(--accent) !important; }
.border-brand { border-color: var(--accent) !important; }
.border-brand\/20 { border-color: rgba(37, 99, 235, 0.25) !important; }
.bg-brand\/5 { background-color: rgba(37, 99, 235, 0.06) !important; }
.border-l-brand { border-left-color: var(--accent) !important; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #0f1115;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #ffffff;
  color: #0f1115;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(15, 17, 21, 0.15);
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Three.js Canvas Container */
#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* Ensure content on top of canvas is clickable */
.content-layer {
  position: relative;
  z-index: 10;
}

/* Reveal Animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Subtle Link Underlines */
.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.hover-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Loop Animation Graphic */
.loop-dot {
  animation: pulse-dot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Shared homepage chrome overrides for copied legal pages. */
#main-header .max-w-7xl {
  width: 100%;
}

#main-header nav {
  width: auto;
  padding: 0;
  justify-content: flex-start;
  gap: 2rem;
}

#main-header nav a {
  text-decoration: none;
}

#main-header img {
  display: block;
}

body>footer.bg-base-black {
  text-align: initial;
}

body>footer.bg-base-black a {
  text-decoration: none;
}

.balance-text {
  text-wrap: balance;
}

/* =========================================================================
   Shared chrome
   ========================================================================= */

#main-header {
  background-color: var(--accent) !important;
  border-bottom: none !important;
}

#main-header,
#main-header a {
  color: #ffffff;
}

#main-header .font-display {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

#main-header .brand-accent {
  color: var(--accent);
}

#main-header .accent-link {
  text-decoration-color: rgba(37, 99, 235, 0.35) !important;
}

#main-header .accent-link:hover {
  color: var(--accent-deep);
}

body > footer {
  background-color: var(--accent) !important;
  border-top: none !important;
}

body > footer,
body > footer div {
  color: #ffffff !important;
}

body > footer .font-medium {
  color: #ffffff !important;
}

body > footer .legal-footer-links a {
  color: #ffffff;
  text-decoration: none;
}

body > footer .legal-footer-links a:hover {
  color: #ffffff;
  opacity: 0.8;
}

/* ========================================================================= */

.site-header-inner {
  height: 76px;
}

.brand-accent {
  color: var(--accent);
}

.accent-link {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero-meta {
  letter-spacing: 0.02em;
}

.hero-meta-dot {
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 22ch;
}

.hero-copy {
  line-height: 1.55;
}

.preview-avatar {
  background: var(--accent);
}

.preview-avatar--c0 { background: var(--accent); }
.preview-avatar--c1 { background: #0f766e; }
.preview-avatar--c2 { background: #b91c1c; }
.preview-avatar--c3 { background: #4338ca; }
.preview-avatar--c4 { background: #ea580c; }
.preview-avatar--c5 { background: #047857; }

.preview-messages {
  height: 400px;
}

.preview-caption {
  background: #fafafa;
}

/* Thread preview: highly premium, deeply shadowed floating UI window */
figure[aria-label="Preview of a Coparent.Now thread"] {
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1), 0 0 20px rgba(15, 23, 42, 0.03) !important;
}

/* Subtle depth under the chat header */
figure[aria-label="Preview of a Coparent.Now thread"] > div:first-child {
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.03);
}

.eyebrow-row {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-bar {
  background: var(--accent);
}

.pricing-section {
  padding-top: 7rem;
  padding-bottom: 8rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-intro {
  margin-bottom: 4.5rem;
}

.pricing-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}

.pricing-copy {
  line-height: 1.6;
}

.pricing-rule {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  padding: 2.25rem 2rem 2.5rem;
}

.pricing-rule--free {
  border-top: 1px solid #0a0a0b;
}

.pricing-rule--plus {
  border-top: 2px solid #2563eb;
}

.pricing-card-header {
  margin-bottom: 1rem;
}

.pricing-tier-title,
.pricing-tier-price {
  font-size: 2.125rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.pricing-tier-title {
  margin: 0;
}

.pricing-tier-copy {
  line-height: 1.55;
  margin: 0 0 2rem;
}

.pricing-period {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  margin-left: 4px;
}

.pricing-footnote {
  margin-top: 2rem;
  line-height: 1.55;
}

.org-field-spacing {
  margin-bottom: 1.25rem;
}

/* Inquiry phone animation */
.info-phone {
  display: flex;
  justify-content: center;
}

.iphone-frame {
  width: 300px;
  height: 560px;
  background: #ffffff;
  border-radius: 28px;
  position: relative;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.iphone-screen {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
}

.info-contact-avatar--violet {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.info-contact-avatar--rose {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.info-contact-avatar--sky {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-contact-avatar--sunset {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.info-contact-avatar--pastel {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.info-contact-avatar--mint {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.messages-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.app-brand-name {
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.back-btn,
.video-btn,
.plus-btn,
.mic-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.contact-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.contact-name {
  font-size: 10px;
  color: #111827;
  font-weight: 500;
}

.messages-container {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 14px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
}

.message {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.35;
  position: relative;
  animation: messageAppear 0.3s ease-out;
  word-wrap: break-word;
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.message.sent {
  align-self: flex-end;
  background: #2563eb;
  color: #ffffff;
  border-radius: 18px 18px 6px 18px;
}

.message.received {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 18px 18px 18px 6px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 15px;
  background: #f1f5f9;
  border-radius: 18px 18px 18px 6px;
  align-self: flex-start;
  position: relative;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #8e8e93;
  border-radius: 999px;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.message-input-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e5e7eb;
}

.plus-btn {
  width: 28px;
  height: 28px;
  background: #2563eb;
  border-radius: 999px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.mic-btn {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-field {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
  color: #94a3b8;
  background: #f8fafc;
}

.message-input-bar {
  padding: 10px 14px 14px;
}

@media (max-width: 1024px) {
  .info-phone {
    order: -1;
  }
}

@media (max-width: 480px) {
  .iphone-frame {
    width: min(280px, 100%);
    height: 560px;
  }
}

/* --- BLOG STYLES --- */
.blog-cta-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.blog-cta-tight {
  padding-top: 4rem;
}

/* =========================================================
   HOMEPAGE DESIGN SYSTEM
   ========================================================= */

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: 0.625rem;
  box-shadow: 0 14px 28px -14px rgba(37, 99, 235, 0.55), 0 2px 6px -2px rgba(37, 99, 235, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(37, 99, 235, 0.6), 0 4px 10px -2px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.625rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
}
.eyebrow--pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  animation: eyebrow-pulse 2s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { padding: 10rem 0 7rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 65%);
  top: -240px;
  right: -180px;
  filter: blur(10px);
}
.hero-glow-2 {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  bottom: -200px;
  left: -120px;
  filter: blur(20px);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    padding: 0 2rem;
  }
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1.25rem 0 1.25rem;
  text-wrap: balance;
}
.hero-headline .accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-headline .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.25em;
  background: rgba(37, 99, 235, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 1.1875rem; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.trust-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-bar svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero phone */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.hero-phone-wrap::before {
  content: '';
  position: absolute;
  inset: 10% 10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero-phone-wrap .info-phone {
  position: relative;
  z-index: 2;
}
.hero-phone-float {
  position: absolute;
  z-index: 3;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.625rem 0.875rem;
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  animation: float 4s ease-in-out infinite;
}
.hero-phone-float svg { color: var(--accent); flex-shrink: 0; }
.hero-phone-float--tl {
  top: 8%;
  left: -2%;
  animation-delay: 0s;
}
.hero-phone-float--br {
  bottom: 14%;
  right: -4%;
  animation-delay: 1.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 640px) {
  .hero-phone-float--tl { left: 2%; top: 4%; }
  .hero-phone-float--br { right: 2%; bottom: 6%; }
}

/* Trust strip (below hero) */
.trust-strip {
  position: relative;
  background: var(--ink);
  color: #ffffff;
  padding: 2rem 1.5rem;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 768px) {
  .trust-strip-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .trust-strip-item + .trust-strip-item {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}
.trust-strip-item {
  padding: 0.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}
.trust-strip-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.trust-strip-item span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Section shell */
.section {
  padding: 5.5rem 0;
  position: relative;
}
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}
.section--soft { background: var(--surface); }
.section--white { background: #ffffff; }
.section--dark {
  background: var(--ink);
  color: #ffffff;
}
.section-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .section-inner { padding: 0 2rem; }
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}
.section-head h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 1rem 0 1rem;
  text-wrap: balance;
}
.section-head p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Icon wrappers */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.step {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.12);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.step h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.feature-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 24px 60px -24px rgba(37, 99, 235, 0.18);
}
.feature-card:hover::before { opacity: 1; }

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-card ul li {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 1.625rem;
  position: relative;
}
.feature-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  background: var(--accent-soft);
  border-radius: 999px;
  border: 1.5px solid var(--accent);
}
.feature-card ul li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--accent-deep);
  border-bottom: 1.5px solid var(--accent-deep);
  transform: rotate(-45deg);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.15);
  border-color: #cbd5e1;
}
.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 60px -24px rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
}
.pricing-card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 30px 70px -24px rgba(37, 99, 235, 0.45);
}
.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.4);
}
.pricing-card--featured .pricing-badge { background: var(--accent); }
.pricing-tier {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.pricing-card:not(.pricing-card--featured) .pricing-tier {
  color: var(--ink-muted);
}
.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.pricing-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}

/* Professionals row */
.pro-roles {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pro-roles { grid-template-columns: repeat(3, 1fr); }
}
.pro-role {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: left;
  transition: all 0.3s ease;
}
.pro-role:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}
.pro-role h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.875rem 0 0.375rem;
}
.pro-role p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* FAQ */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}
.faq-item:first-child { padding-top: 0.25rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Final CTA */
/* =========================================================================
   Waitlist CTA — editorial rebuild 2026-04-11
   Replaces the dark-bg + green-glow-orb + glass-morph + uppercase-tracked
   version. Matches the hero's white / hairline-border / sharp-corner language.
   Explicit kills per vibecodedlook.md: no ::before/::after glow, no backdrop-blur,
   no uniform border-radius, no uppercase tracked labels, no green glow shadow.
   ========================================================================= */

.final-cta {
  position: relative;
  padding: 3.5rem 1.5rem 3.5rem;
  background: #f1f5f9;
  color: var(--ink);
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 1024px) {
  .final-cta { padding: 4.5rem 1.5rem 5rem; }
}

.final-cta-inner {
  position: relative;
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.final-cta p.lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 2rem;
}

/* Form — contained in a subtle white card on the gray section bg.
   Clean editorial: no glassmorph, no rounded everything, no uppercase. */
.lead-form {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: left;
  max-width: 30rem;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1), 0 0 15px rgba(15, 23, 42, 0.03);
}

.lead-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
  margin-bottom: 0.375rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 0.6875rem 0.75rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.lead-form input::placeholder {
  color: #94a3b8;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.lead-form .field-row {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .lead-form .field-row { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
}

/* Turnstile widget: tighten spacing */
.lead-form .js-turnstile {
  margin-bottom: 0.25rem;
}

.lead-form .submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .lead-form .submit-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
  .lead-form .submit-row button[type="submit"] {
    flex-shrink: 0;
  }
}

.lead-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8125rem 1.5rem;
  background: #0a0a0b;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

@media (min-width: 640px) {
  .lead-form button[type="submit"] {
    width: auto;
  }
}

.lead-form button[type="submit"]:enabled:hover {
  background: #000000;
  transform: none;
}

.lead-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lead-form [data-form-status] {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
  text-align: center;
}

@media (min-width: 640px) {
  .lead-form [data-form-status] {
    text-align: left;
  }
}

.lead-form [data-form-status].is-error {
  color: #dc2626;
}

.lead-form [data-form-status].is-success {
  color: #1d4ed8;
}

/* Footer */
.site-footer {
  background: #0a0a0b;
  color: #ffffff;
  padding: 4.5rem 1.5rem 2.5rem;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer-brand h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 22rem;
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col ul a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col ul a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal adjustments for new design */
.reveal {
  will-change: opacity, transform;
}

/* =========================================================================
   Hero thread preview — 2026-04-11 rebuild
   Overrides older .messages-container / .message rules for the editorial hero.
   ========================================================================= */

/* Thread subject — lives in the top right of the thread header, per conversation.
   Static for the whole conversation (does not change message-to-message). */
.thread-subject {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: right;
  max-width: 180px;
  min-width: 0;
  padding-top: 2px;
}

.thread-subject .thread-subject-label {
  display: block;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.thread-subject .thread-subject-value {
  display: block;
  color: #0f172a;
  font-weight: 600;
  word-wrap: break-word;
}

/* Container: flexbox column, scrollable, generous internal spacing. */
.messages-container {
  position: relative;
  padding: 20px 20px 24px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

.messages-container::-webkit-scrollbar {
  width: 6px;
}

.messages-container::-webkit-scrollbar-track {
  background: transparent;
}

.messages-container::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 3px;
}

/* Row wrapper groups a bubble with its receipt line.
   Max-width lives on the row so the bubble can shrink to its content. */
.message-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 88%;
  animation: messageAppear 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.message-row.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.message-row.received {
  align-self: flex-start;
  align-items: flex-start;
}

/* Bubble — editorial style, not imessage pastels.
   Sent = solid black (reads as "you"); Received = soft gray. */
.message {
  padding: 11px 14px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  word-wrap: break-word;
  max-width: 100%;
}

.message.sent {
  background: #0a0a0b;
  color: #ffffff;
  border-radius: 10px 10px 2px 10px;
}

.message.received {
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 10px 10px 10px 2px;
}

/* Receipt row — the real differentiator. Shows sent time AND read time
   under every message, because that's the whole coparenting-record story. */
.message-receipt {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  line-height: 1.3;
  color: #94a3b8;
  padding: 0 2px;
  font-variant-numeric: tabular-nums;
}

.message-receipt .receipt-label {
  color: #64748b;
  font-weight: 500;
}

.message-receipt .receipt-sep {
  color: #cbd5e1;
  margin: 0 2px;
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing indicator — matches the received bubble shape */
.typing-indicator {
  align-self: flex-start;
  background: #f1f5f9;
  border-radius: 10px 10px 10px 2px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: messageAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 88%;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 999px;
  animation: typingBounce 1.4s infinite ease-in-out;
}

/* Kill the old 2022-era gradient avatar classes. They violate vibecodedlook.md.
   Any element previously tagged with these variants renders as solid brand green. */
.info-contact-avatar--violet,
.info-contact-avatar--rose,
.info-contact-avatar--sky,
.info-contact-avatar--sunset,
.info-contact-avatar--pastel,
.info-contact-avatar--mint {
  background: var(--accent) !important;
}

/* =========================================================================
   Pricing feature list. Hairline-divided editorial list, no bullets, no icons.
   Each line is its own row separated by a 1px gray rule. Reads like a
   restaurant menu or a gallery wall label, not a SaaS pricing card.
   ========================================================================= */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #334155;
}

.feature-list li strong {
  color: #0a0a0b;
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 1.125rem;
  height: 1.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' fill='%2310b981' fill-opacity='0.14'/%3E%3Cpath d='M6 10l3 3 5.5-6' stroke='%2310b981' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-list li:first-child {
  padding-top: 0;
}

.feature-list li:first-child::before {
  top: 0.125rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* =========================================================================
   Homepage footer legal links. Flex row with a comfortable gap.
   ========================================================================= */
.legal-footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.legal-footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.legal-footer-links a:hover {
  color: #0a0a0b;
}

/* =========================================================================
   Legal pages polish (Privacy + Terms). Extends the base .privacy-page
   rules above with tighter typography, more generous whitespace, and a
   premium feel that matches the homepage hero.
   ========================================================================= */
.privacy-page .page {
  padding: 96px 24px 128px;
  max-width: 760px;
}

.privacy-page h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 1.75rem;
}

.privacy-page h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 3rem 0 1rem;
  color: #0a0a0b;
}

.privacy-page h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.privacy-page p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 1rem;
}

.privacy-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.privacy-page ul li {
  padding: 0.5rem 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

.privacy-page strong {
  color: #0a0a0b;
  font-weight: 600;
}

.privacy-page .top-meta {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.privacy-page .notice {
  background: #fafbfc;
  border-left: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}

.privacy-page .notice strong {
  color: #0a0a0b;
}

.privacy-page .page a {
  color: #0a0a0b;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

.privacy-page .page a:hover {
  text-decoration-color: #0a0a0b;
}

.privacy-page {
  background: #ffffff;
  color: #18181b;
  line-height: 1.6;
  min-height: 100vh;
}

.privacy-page .page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.privacy-page h1,
.privacy-page h2,
.privacy-page h3 {
  font-family: "Outfit", sans-serif;
  color: #0a0a0b;
  margin: 24px 0 12px;
}

.privacy-page h1 {
  font-size: 2.2rem;
  margin-top: 0;
}

.privacy-page h2 {
  font-size: 1.35rem;
}

.privacy-page h3 {
  font-size: 1.05rem;
}

.privacy-page p {
  margin: 0 0 12px;
}

.privacy-page ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.privacy-page .page a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-page .page a:hover {
  text-decoration: underline;
}

.privacy-page .muted {
  color: #52525b;
}

.privacy-page .notice {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid var(--accent);
  padding: 12px 16px;
  margin: 16px 0;
}

.privacy-page .top-meta {
  color: #71717a;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* =========================================================================
   Phase 1 marketing pages
   ========================================================================= */
.page-hero {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 10rem 0 5.5rem;
  }
}

.page-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .page-hero-inner {
    padding: 0 2rem;
  }
}

.page-hero-content {
  max-width: 48rem;
}

.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #0a0a0b;
  margin: 1rem 0 1.25rem;
}

.page-hero p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #475569;
  max-width: 42rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.micro-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
}

.fact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .fact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.fact-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0a0a0b;
  margin: 0 0 0.625rem;
}

.fact-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.fact-card strong {
  color: #0a0a0b;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.125rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
}

.comparison-table td {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table strong {
  color: #0a0a0b;
}

.quote-band {
  background: #0a0a0b;
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
}

.quote-band p {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.quote-band span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.split-callout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .split-callout {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split-callout-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.split-callout-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  color: #0a0a0b;
  margin: 0 0 0.75rem;
}

.split-callout-card p,
.split-callout-card li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

.split-callout-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.split-callout-card li {
  position: relative;
  padding-left: 1.125rem;
}

.split-callout-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 1px;
  background: #0a0a0b;
}

/* =========================================================================
   HERO — two small stacked polaroid photos to the LEFT of the headline block
   ========================================================================= */

.hero-section {
  background: #ffffff;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 4.5rem;
}

.hero-photos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 220px;
  flex-shrink: 0;
  padding-top: 0.5rem;
  align-items: flex-start;
}

.hero-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.22),
              0 6px 14px -6px rgba(15, 23, 42, 0.10);
  background: #f1f5f9;
  border: 10px solid #ffffff;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Top photo: full width of the photo column — the larger of the two, straight */
.hero-photo--a {
  width: 100%;
}

/* Bottom photo: align left, stacked cleanly */
.hero-photo--b {
  width: 85%;
  margin-left: 0;
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Phone column cap: prevent the preview from sprawling across the hero */
.hero-phone-column {
  max-width: 340px;
}

/* Shorter phone preview height so fewer messages crowd at once */
.hero-phone-column .preview-messages {
  height: 340px;
}

/* Tablet: shrink photo column slightly but keep side-by-side layout */
@media (max-width: 1023px) {
  .hero-inner {
    gap: 1.5rem;
  }
  .hero-photos {
    width: 165px;
  }
}

/* Mobile: stack photos as a horizontal row above the text */
@media (max-width: 640px) {
  .hero-inner {
    flex-direction: column;
    gap: 1.75rem;
  }
  .hero-photos {
    flex-direction: row;
    width: auto;
    max-width: 320px;
    padding-top: 0;
  }
  .hero-photo--a {
    flex: 1 1 0;
    width: auto;
  }
  .hero-photo--b {
    flex: 1 1 0;
    width: auto;
    margin-left: 0;
  }
}

/* =========================================================================
   HERO — blue CTA button (matches mockup)
   ========================================================================= */

.cta-blue {
  background-color: #2563eb;
  letter-spacing: 0.06em;
  border: 1px solid #2563eb;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55), 0 4px 10px -4px rgba(37, 99, 235, 0.3);
  border-radius: 9999px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.cta-blue:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(37, 99, 235, 0.6), 0 6px 14px -6px rgba(37, 99, 235, 0.35);
}

.cta-blue:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 3px;
}

/* =========================================================================
   TRUST BAR — three-up reassurance section
   ========================================================================= */

.trust-bar {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: start;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #2563eb;
  margin-bottom: 1.25rem;
}

.trust-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0b;
  margin-bottom: 0.55rem;
}

.trust-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 18rem;
}

@media (max-width: 1100px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* =========================================================================
   MOBILE OPTIMIZATION (≤ 640px)
   Backend / CSS-only. No HTML changes. Desktop layout untouched.
   Centers stacked hero elements, tightens vertical rhythm, scales heavy
   typography, and softens padding so nothing feels smushed on a phone.
   ========================================================================= */
@media (max-width: 640px) {

  /* --- Hero section: tighten vertical padding, center the stacked content --- */
  .hero-section .max-w-7xl {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
  }

  .hero-photos {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .hero-text {
    text-align: center;
    width: 100%;
  }

  .hero-text .hero-title {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    font-size: clamp(1.875rem, 8vw, 2.25rem);
  }

  .hero-text .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text > .mt-12 {
    display: flex;
    justify-content: center;
  }

  /* --- Hero phone preview: center the floating window --- */
  .hero-phone-column {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-phone-column figure {
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Trust bar: center each item when single-column --- */
  .trust-item {
    align-items: center;
    text-align: center;
  }

  .trust-copy {
    max-width: 22rem;
  }

  /* --- Pricing section: cut huge desktop padding ~in half --- */
  .pricing-section {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }

  .pricing-intro {
    margin-bottom: 2.25rem;
  }

  .pricing-title {
    font-size: clamp(1.875rem, 7vw, 2.25rem);
  }

  .pricing-copy {
    font-size: 1rem;
  }

  /* Tighten the gap between Free and Plus when stacked vertically */
  .pricing-section .flex.flex-col {
    gap: 1.75rem;
  }

  .pricing-rule {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  /* Title/price row: allow wrap and shrink so $7/month can't push the title */
  .pricing-card-header {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .pricing-tier-title,
  .pricing-tier-price {
    font-size: 1.625rem;
  }

  .pricing-tier-copy {
    margin-bottom: 1.25rem;
  }

  .pricing-footnote {
    margin-top: 1.25rem;
  }

  /* --- Waitlist / lead form section --- */
  .final-cta {
    padding: 2.5rem 1.25rem 2.75rem;
  }

  .lead-form {
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
  }

  .lead-form .field-row {
    gap: 0.75rem;
  }

  /* --- Header brand tightens just a hair so it never crowds the CTA --- */
  #main-header .font-display {
    font-size: 1.4rem;
  }

  /* --- Privacy / Terms legal pages: tighten padding + scale h1 --- */
  .privacy-page .page {
    padding: 32px 20px 64px;
  }

  .privacy-page h1 {
    font-size: 1.85rem;
  }

  .privacy-page h2 {
    font-size: 1.2rem;
    margin-top: 2.25rem;
  }

  .privacy-page h3 {
    font-size: 1rem;
  }

  /* --- 404 page: shrink the hero block so it doesn't run off the viewport --- */
  .min-h-\[70vh\] {
    min-height: 60vh;
  }
}

/* Extra-narrow phones (≤ 380px) — last-mile crowding fixes */
@media (max-width: 380px) {
  .hero-photos {
    max-width: 240px;
    gap: 0.75rem;
  }

  .pricing-tier-title,
  .pricing-tier-price {
    font-size: 1.5rem;
  }
}
