/* WebDoctor Studio — landing page styles
   Palette: deep teal #0F2A2E base, accent #2DD4BF, silver gradients */

:root {
  --teal-deep: #0F2A2E;
  --teal-deeper: #081A1D;
  --teal-mid: #143840;
  --teal-accent: #2DD4BF;
  --teal-accent-hover: #5EEAD4;

  /* Section background scale — light mint derived from --teal-accent #2DD4BF.
     Sections that were dark teal are now light mint with DARK text.
     Dark teal #0F2A2E text on --mint-base #CCFBF1 = 14:1 (WCAG AAA).
     Dark teal #0F2A2E text on --mint-soft #F0FDFA = 16:1 (WCAG AAA).      */
  --mint-soft:  #F0FDFA;  /* lightest, almost-white with teal hint */
  --mint-base:  #DBF7F0;  /* main mint background */
  --mint-tint:  #CCFBF1;  /* slightly more saturated mint, gradient depth */
  --mint-edge:  #B8F0E6;  /* deepest of the new mint, gradient end stops */

  /* Legacy dark-bg vars — kept so anything still referencing them doesn't break.
     New work uses the --mint-* scale above. */
  --bg-darker: #163942;
  --bg-deep:   #1F4A52;
  --bg-mid:    #28565E;
  --bg-light:  #2F6670;

  --silver-1: #F8FAFC;
  --silver-2: #E2E8F0;
  --silver-3: #CBD5E1;
  --silver-4: #94A3B8;
  --ink: #0B1416;
  --ink-soft: #334155;
  --text-light: #E2E8F0;
  --text-light-soft: #94A3B8;
  --shadow-sm: 0 2px 8px rgba(8, 26, 29, 0.08);
  --shadow-md: 0 10px 30px rgba(8, 26, 29, 0.12);
  --shadow-lg: 0 25px 60px rgba(8, 26, 29, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --pacifico: 'Pacifico', cursive;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--silver-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal-accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(15, 42, 46, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-1);
}
.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.3);
}
.nav-wordmark {
  font-family: var(--pacifico);
  font-size: 22px;
  color: var(--silver-1);
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.nav-links a:hover { color: var(--teal-accent); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--teal-accent);
  color: var(--teal-deeper) !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--teal-accent-hover);
  color: var(--teal-deeper) !important;
}
.nav-signin {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  font-size: 13px !important;
  color: var(--text-light-soft) !important;
}
.nav-signin:hover {
  color: var(--teal-accent) !important;
  border-color: var(--teal-accent);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--teal-accent);
  color: var(--teal-deeper);
}
.btn-primary:hover {
  background: var(--teal-accent-hover);
  color: var(--teal-deeper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: rgba(15, 42, 46, 0.25);
}
.btn-ghost:hover {
  border-color: var(--teal-deep);
  background: rgba(15, 42, 46, 0.05);
}
.btn-outline {
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline:hover {
  background: var(--teal-deep);
  color: var(--silver-1);
}
/* Was originally for dark backgrounds with light borders; pages flipped to mint,
   so this now matches .btn-outline (dark border + dark text on light bg). */
.btn-outline-light {
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline-light:hover {
  background: var(--teal-deep);
  color: var(--silver-1);
  border-color: var(--teal-deep);
}
.btn-full { width: 100%; }

/* ============ TYPOGRAPHY HELPERS ============ */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--teal-deep); }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--teal-deep);
}
/* .light modifiers are now no-ops since every section uses dark text on light bg */
.section-title.light { color: var(--teal-deep); }
.section-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 40px;
}
.section-lede.light { color: var(--ink-soft); }
.accent { color: var(--teal-accent); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top, var(--mint-soft) 0%, var(--mint-base) 55%, var(--mint-tint) 100%);
  color: var(--teal-deep);
  padding: 110px 24px 130px;
  overflow: hidden;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: var(--teal-deep);
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 22px;
  color: var(--teal-deep);
}
.hero-sub {
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta a {
  color: var(--teal-deep);
  font-weight: 600;
}
.hero-meta-divider { opacity: 0.5; }
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(45, 212, 191, 0.35), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ============ PROBLEM ============ */
.problem { padding: 100px 0 90px; background: var(--silver-1); text-align: center; }
.problem .section-lede { margin-left: auto; margin-right: auto; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.problem-card {
  padding: 36px 26px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-2);
  text-align: left;
  transition: all 0.25s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-accent);
}
.problem-icon { font-size: 34px; margin-bottom: 14px; }
.problem-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-deep);
}
.problem-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ CASE STUDY ============ */
.case {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--mint-base) 0%, var(--mint-tint) 100%);
  color: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.case-lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.6;
}
.case-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.case-bullets li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}
.case-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.case-screenshot {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}
.browser-frame {
  background: var(--silver-1);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--silver-3);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #E8EEF2, #DBE3E9);
  border-bottom: 1px solid var(--silver-3);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver-4);
}
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  margin-left: 16px;
  padding: 4px 12px;
  background: white;
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px solid var(--silver-2);
  flex: 1;
}
.browser-body {
  padding: 30px 30px 40px;
  background: white;
  min-height: 280px;
}
.browser-hero {
  padding: 30px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2F5D52 0%, #1C3B36 100%);
  color: white;
  text-align: center;
  margin-bottom: 18px;
}
.browser-hero-title {
  font-family: var(--pacifico);
  font-size: 28px;
  margin-bottom: 4px;
}
.browser-hero-sub {
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.browser-hero-btn {
  display: inline-block;
  background: #D4A574;
  color: #1C3B36;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.browser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.browser-card {
  height: 70px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--silver-2), var(--silver-3));
}

/* ============ PRICING ============ */
.pricing {
  padding: 110px 0;
  background: var(--silver-1);
  text-align: center;
}
.pricing-dark {
  background: linear-gradient(180deg, var(--teal-deeper) 0%, var(--teal-deep) 100%);
}
.pricing .section-lede {
  margin-left: auto;
  margin-right: auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
  align-items: stretch;
}
.tier {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 30px 34px;
  border: 1px solid var(--silver-2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tier-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 212, 191, 0.15);
  backdrop-filter: blur(8px);
}
.tier-dark .tier-name { color: var(--silver-1); }
.tier-dark .tier-price { color: var(--silver-1); }
.tier-dark .tier-price span { color: var(--text-light-soft); }
.tier-dark .tier-tag { color: var(--text-light-soft); }
.tier-dark .tier-bullets li {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.08);
}
.tier-dark .tier-bullets li::before { color: var(--teal-accent); }

.tier-anchor {
  border: 2px solid var(--teal-accent);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  background: white;
  z-index: 2;
}
.tier-anchor.tier-dark {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.02));
}
.tier-anchor:hover { transform: scale(1.04) translateY(-4px); }

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-accent);
  color: var(--teal-deeper);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 14px;
}
.tier-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--silver-4);
  margin-left: 6px;
  letter-spacing: 0;
}
.tier-tag {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  min-height: 38px;
}
.tier-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}
.tier-bullets li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--silver-2);
  line-height: 1.5;
}
.tier-bullets li:last-child { border-bottom: none; }
.tier-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--teal-accent);
  font-weight: 700;
}
.pricing-footnote {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-light-soft);
  line-height: 1.7;
}
.pricing-footnote-link {
  color: var(--teal-accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(45, 212, 191, 0.4);
  padding-bottom: 1px;
}
.pricing-footnote-link:hover {
  color: var(--teal-accent-hover);
  border-bottom-color: var(--teal-accent-hover);
}

/* Bundle banner inside monthly-plans section */
.bundle-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 14px;
  padding: 18px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.35);
  text-align: left;
}
.bundle-banner-icon {
  font-size: 26px;
  color: var(--teal-accent);
  line-height: 1;
  flex-shrink: 0;
}
.bundle-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bundle-banner-copy strong {
  color: var(--silver-1);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1px;
}
.bundle-banner-copy span {
  color: var(--text-light-soft);
  font-size: 14px;
}
.bundle-banner-copy b {
  color: var(--teal-accent);
  font-weight: 700;
}

/* Highlight bullet that calls out the included website build */
.tier-bullets li.bullet-highlight {
  color: var(--teal-deep);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.04));
  border-radius: 6px;
  padding-left: 30px;
  margin-bottom: 6px;
  border-bottom: none;
}
.tier-bullets li.bullet-highlight::before {
  left: 8px;
  color: var(--teal-deep);
}
.tier-dark .tier-bullets li.bullet-highlight {
  color: var(--teal-accent);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.04));
}
.tier-dark .tier-bullets li.bullet-highlight::before {
  color: var(--teal-accent);
}

/* Nudge from one-time builds toward monthly bundle */
.bundle-nudge {
  margin-top: 36px;
  font-size: 15px;
  color: var(--ink-soft);
}
.bundle-nudge a {
  color: var(--teal-deep);
  font-weight: 600;
  border-bottom: 1.5px solid var(--teal-accent);
  padding-bottom: 1px;
}
.bundle-nudge a:hover {
  color: var(--teal-accent);
}

/* ============ AUDIT / DIAGNOSTIC ============ */
.audit {
  padding: 110px 0;
  background: linear-gradient(180deg, #ECFDF5 0%, #F0FDFA 60%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.audit::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.audit::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.10), transparent 70%);
  pointer-events: none;
}
.audit-container {
  position: relative;
  z-index: 2;
}
.audit .section-lede {
  max-width: 720px;
}

/* URL input form */
.audit-form {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  max-width: 640px;
  flex-wrap: wrap;
}
.audit-input-wrap {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: stretch;
  background: white;
  border-radius: 999px;
  border: 1.5px solid var(--silver-2);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.audit-input-wrap:focus-within {
  border-color: var(--teal-accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}
.audit-input-prefix {
  display: flex;
  align-items: center;
  padding: 0 6px 0 20px;
  color: var(--silver-4);
  font-size: 15px;
  font-weight: 500;
  user-select: none;
}
.audit-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 14px 16px 14px 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.audit-submit {
  padding: 14px 26px !important;
  white-space: nowrap;
}
.audit-form-foot {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.audit-example {
  background: none;
  border: none;
  padding: 0;
  color: var(--teal-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--silver-4);
}
.audit-example:hover { color: var(--teal-accent); border-bottom-color: var(--teal-accent); }

/* Error message */
.audit-error {
  margin-top: 18px;
  padding: 14px 18px;
  background: #FEE2E2;
  color: #B91C1C;
  border-left: 3px solid #DC2626;
  border-radius: var(--radius-sm);
  font-size: 14px;
  max-width: 640px;
}
.audit-error[hidden] { display: none; }

/* Loading state */
.audit-loading {
  margin-top: 36px;
  padding: 36px 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--silver-2);
  max-width: 680px;
  box-shadow: var(--shadow-md);
}
.audit-loading[hidden] { display: none; }
.audit-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--silver-2);
  border-top-color: var(--teal-accent);
  border-radius: 50%;
  animation: audit-spin 0.9s linear infinite;
  margin: 0 0 18px;
}
@keyframes audit-spin {
  to { transform: rotate(360deg); }
}
.audit-loading-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-deep);
}
.audit-loading-title span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--silver-1);
  padding: 2px 8px;
  border-radius: 4px;
}
.audit-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.audit-checklist li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--silver-2);
  font-size: 15px;
  color: var(--ink-soft);
  opacity: 0.45;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.audit-checklist li:last-child { border-bottom: none; }
.audit-checklist li::before {
  content: '○';
  margin-right: 14px;
  font-size: 18px;
  color: var(--silver-4);
  transition: all 0.3s ease;
}
.audit-checklist li.active {
  opacity: 1;
  color: var(--teal-deep);
}
.audit-checklist li.active::before {
  content: '◐';
  color: var(--teal-accent);
  animation: audit-spin 1.2s linear infinite;
}
.audit-checklist li.done {
  opacity: 1;
  color: var(--ink-soft);
}
.audit-checklist li.done::before {
  content: '✓';
  color: var(--teal-accent);
  font-weight: 800;
  animation: none;
}
.audit-loading-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.7;
  font-style: italic;
}

/* Results */
.audit-results {
  margin-top: 36px;
  padding: 40px 36px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--silver-2);
  box-shadow: var(--shadow-md);
}
.audit-results[hidden] { display: none; }
.audit-results-eyebrow {
  margin: 0 0 8px;
}
.audit-results-eyebrow span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  background: var(--silver-1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}
.audit-results-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin: 0 0 30px;
}

/* Score gauges */
.audit-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.score-card {
  text-align: center;
  padding: 18px 12px;
  background: var(--silver-1);
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-2);
}
.score-gauge {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
  margin: 0 auto 10px;
  display: block;
}
.gauge-track {
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 8;
}
.gauge-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.3s ease;
}
.gauge-fill.tier-good { stroke: var(--teal-accent); }
.gauge-fill.tier-warn { stroke: #F59E0B; }
.gauge-fill.tier-bad  { stroke: #E11D48; }
.score-number {
  position: absolute;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.score-gauge-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Issues list */
.audit-issues h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-deep);
}
.audit-issues-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.audit-issues-list li {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.08), rgba(248, 113, 113, 0.02));
  border-left: 3px solid #F87171;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.audit-issues-list .issue-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 4px;
}
.audit-issues-list .issue-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0;
}
.audit-issues-list .issue-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.audit-issues-list .issue-pill-count {
  background: rgba(225, 29, 72, 0.12);
  color: #B91C1C;
  text-transform: uppercase;
}
.audit-issues-list .issue-pill-value {
  background: rgba(245, 158, 11, 0.15);
  color: #92400E;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.audit-issues-list .issue-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.audit-issues-empty {
  padding: 20px;
  background: rgba(45, 212, 191, 0.08);
  border-left: 3px solid var(--teal-accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--teal-deep);
}

/* CTA after results — sits on a light section. Use white card with teal accent
   border so the CTA stands out from the surrounding mint background. */
.audit-cta {
  margin-top: 30px;
  padding: 26px 28px;
  background: white;
  border: 1.5px solid var(--teal-accent);
  color: var(--teal-deep);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 12px 32px rgba(45, 212, 191, 0.18);
}
.audit-cta p {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .audit-scores { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .audit-results { padding: 28px 22px; }
  .audit-loading { padding: 28px 22px; }
}

/* ============ CALCULATOR ============ */
.calculator {
  padding: 110px 0;
  background: linear-gradient(180deg, #F5F1E8 0%, #ECE6D5 100%);
  position: relative;
}
.calculator .section-title { color: var(--teal-deeper); }
.calculator .eyebrow { color: var(--teal-deep); }

.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* sliders inside calculator */
.calc-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-slider-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-deeper);
  font-variant-numeric: tabular-nums;
}
.calc-slider-sub {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0.7;
}
.calc-range {
  margin: 4px 0 2px;
  background: linear-gradient(
    to right,
    var(--teal-deeper) 0%,
    var(--teal-deeper) var(--fill, 30%),
    rgba(15, 42, 46, 0.15) var(--fill, 30%),
    rgba(15, 42, 46, 0.15) 100%
  );
}
.calc-range::-webkit-slider-thumb {
  background: var(--teal-deeper);
  border-color: #F5F1E8;
}
.calc-range::-moz-range-thumb {
  background: var(--teal-deeper);
  border-color: #F5F1E8;
}

/* feature checkboxes */
.calc-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.calc-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 42, 46, 0.1);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--teal-deeper);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.calc-feature:hover { color: var(--teal-accent); }
.calc-feature:last-child { border-bottom: none; }
.calc-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--teal-deeper);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}
.calc-check::before {
  content: '';
  width: 10px;
  height: 2px;
  background: var(--teal-deeper);
  position: absolute;
  transition: all 0.2s ease;
}
.calc-check::after {
  content: '';
  width: 2px;
  height: 10px;
  background: var(--teal-deeper);
  position: absolute;
  transition: all 0.2s ease;
}
.calc-feature.active .calc-check {
  background: var(--teal-deeper);
  border-color: var(--teal-deeper);
}
.calc-feature.active .calc-check::before {
  width: 12px;
  height: 2px;
  background: white;
  transform: rotate(-45deg) translate(-1px, 2px);
}
.calc-feature.active .calc-check::after {
  width: 2px;
  height: 7px;
  background: white;
  transform: rotate(-45deg) translate(-4px, -3px);
}

/* output card */
.calc-output {
  position: sticky;
  top: 90px;
}
.calc-output-card {
  background: white;
  border: 1px solid rgba(15, 42, 46, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(15, 42, 46, 0.08);
}
.calc-agency-label {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.85;
}
.calc-agency-label span {
  opacity: 0.7;
  font-style: italic;
}
.calc-agency-price {
  margin: 0 0 26px;
  font-size: 20px;
  color: var(--ink-soft);
  opacity: 0.6;
}
.calc-agency-price s { text-decoration-thickness: 1.5px; }
.calc-total-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--teal-deep);
}
.calc-total {
  margin: 0 0 18px;
  font-size: 52px;
  font-weight: 800;
  color: var(--teal-deeper);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-cap-note {
  margin: -8px 0 18px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.04));
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deeper);
  line-height: 1.4;
  border-left: 3px solid var(--teal-accent);
}
.calc-cap-note[hidden] { display: none; }
.calc-monthly {
  margin: 0 0 24px;
  padding: 14px 16px;
  background: rgba(45, 212, 191, 0.12);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--teal-deeper);
  line-height: 1.5;
  border-left: 3px solid var(--teal-accent);
}
.calc-foot {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.7;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; gap: 36px; }
  .calc-output { position: static; }
  .calc-total { font-size: 44px; }
}

/* ============ OWNERSHIP ============ */
.ownership {
  padding: 110px 0;
  background: var(--silver-1);
  text-align: center;
}
.ownership .section-lede {
  margin-left: auto;
  margin-right: auto;
}
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.ownership-card {
  padding: 36px 28px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-2);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.ownership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal-accent);
}
.ownership-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.ownership-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-deep);
}
.ownership-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.ownership-footnote {
  margin-top: 36px;
  font-size: 16px;
  color: var(--teal-deep);
  font-style: italic;
}

/* ============ HOW IT WORKS ============ */
.how {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal-deep) 60%, var(--teal-mid) 100%);
  color: var(--silver-1);
  text-align: center;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.how-step {
  padding: 36px 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 212, 191, 0.12);
}
.how-num {
  font-family: var(--pacifico);
  font-size: 56px;
  color: var(--teal-accent);
  line-height: 1;
  margin-bottom: 14px;
}
.how-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--silver-1);
}
.how-step p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact {
  padding: 110px 0;
  background: var(--silver-1);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-copy .section-lede { margin-bottom: 30px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--silver-2);
}
.contact-list li strong {
  color: var(--teal-deep);
  display: inline-block;
  width: 96px;
}
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--silver-2);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.2px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--silver-2);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--silver-1);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-accent);
  background: white;
}
.contact-form textarea { resize: vertical; }
.form-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--silver-4);
  text-align: center;
}

/* ============ FORM BUILDER (sliders + toggles) ============ */
.form-builder {
  background: linear-gradient(180deg, #F1F5F7 0%, #E8EFF2 100%);
  border-radius: var(--radius-md);
  padding: 26px 24px 22px;
  border: 1px solid var(--silver-2);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-builder-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-deep);
}

/* SLIDERS */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.slider-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.35;
}
.slider-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: right;
}
.slider-sub {
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.75;
}

.slider {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--teal-accent) 0%,
    var(--teal-accent) var(--fill),
    var(--silver-3) var(--fill),
    var(--silver-3) 100%
  );
  outline: none;
  cursor: pointer;
  margin: 6px 0 4px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--teal-deep);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(8, 26, 29, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(8, 26, 29, 0.35);
}
.slider::-webkit-slider-thumb:active {
  transform: scale(1.18);
  background: var(--teal-accent);
}
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--teal-deep);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(8, 26, 29, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.slider::-moz-range-thumb:hover { transform: scale(1.12); }
.slider:focus { outline: none; }

/* TOGGLES */
.toggle-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}
.toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.35;
  flex: 1;
}
.toggle-options {
  display: inline-flex;
  background: white;
  border: 1.5px solid var(--silver-2);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.toggle-opt {
  padding: 7px 20px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver-4);
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: 0.3px;
}
.toggle-opt:hover { color: var(--teal-deep); }
.toggle-opt.active {
  background: var(--teal-deep);
  color: var(--silver-1);
  box-shadow: 0 2px 8px rgba(8, 26, 29, 0.18);
}
.toggle-opt.active:hover { color: var(--silver-1); }

@media (max-width: 480px) {
  .form-builder { padding: 22px 18px 18px; }
  .toggle-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============ NEW: nav-current marker ============ */
.nav-links a.nav-current {
  color: var(--teal-accent) !important;
  position: relative;
}
.nav-links a.nav-current::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 2px;
  background: var(--teal-accent);
  border-radius: 2px;
}

/* ============ NEW: spoke-page hero ============ */
.page-hero {
  background: radial-gradient(ellipse at top, var(--mint-soft) 0%, var(--mint-base) 60%, var(--mint-tint) 100%);
  color: var(--teal-deep);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(45, 212, 191, 0.30), transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--teal-deep); }
.page-hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--teal-deep);
}
.page-hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============ NEW: pricing tabs (homepage + pricing page) ============ */
.pricing-tabs {
  display: inline-flex;
  background: var(--silver-2);
  border-radius: 999px;
  padding: 5px;
  margin: 28px auto 36px;
  gap: 4px;
}
.pricing-dark .pricing-tabs,
.pricing-home .pricing-tabs,
.pricing-page .pricing-tabs {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.pricing-tab {
  padding: 10px 22px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
.pricing-tab:hover { color: var(--teal-deep); }
.pricing-tab.active {
  background: white;
  color: var(--teal-deep);
  box-shadow: 0 2px 8px rgba(8, 26, 29, 0.08);
}
.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: panel-fade 0.3s ease; }
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pricing-panel-lede { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.bundle-banner-light {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(45, 212, 191, 0.04));
  border-color: rgba(45, 212, 191, 0.3);
  max-width: 760px;
  margin: 0 auto 32px;
}
.bundle-banner-light .bundle-banner-copy strong { color: var(--teal-deep); }
.bundle-banner-light .bundle-banner-copy span { color: var(--ink-soft); }
.bundle-banner-light .bundle-banner-icon { color: var(--teal-deep); }

.bundle-nudge-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--teal-deep);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1.5px solid var(--teal-accent);
}
.bundle-nudge-link:hover { color: var(--teal-accent); }
.pricing-cta-row { text-align: center; margin: 28px 0 0; }
.pricing-cta-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
  border-bottom: 1.5px solid var(--teal-accent);
  padding-bottom: 1px;
}
.pricing-cta-link:hover { color: var(--teal-accent); }

/* Pricing on the homepage uses the light background variant */
.pricing-home {
  background: var(--silver-1);
  text-align: center;
}
.pricing-home .pricing-grid { text-align: left; }
.pricing-page {
  padding: 60px 0 100px;
  background: var(--silver-1);
}

/* ============ NEW: real-screenshot variant + thumbnail row ============ */
.browser-frame-real .browser-body { padding: 0; }
.browser-shot {
  display: block;
  width: 100%;
  height: auto;
  background: var(--silver-1);
}

.case-thumbs {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.case-thumbs a {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: white;
  transition: all 0.2s ease;
}
.case-thumbs a:hover {
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8, 26, 29, 0.25);
}
.case-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 506;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.case-thumbs a:hover img { transform: scale(1.04); }
.case-thumbs span {
  display: block;
  padding: 8px 10px;
  background: rgba(8, 26, 29, 0.85);
  backdrop-filter: blur(6px);
  color: var(--silver-1);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ============ NEW: case-study teaser on homepage ============ */
.case-teaser {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--mint-base) 0%, var(--mint-tint) 100%);
  color: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.case-teaser::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.25), transparent 70%);
  pointer-events: none;
}
.case-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.case-teaser-copy .section-title { color: var(--teal-deep); }
.case-teaser-copy .section-lede { color: var(--ink-soft); }
.case-teaser .eyebrow { color: var(--teal-deep); }
.case-teaser-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Stats row used in case teaser + work page */
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.case-stat {
  padding: 18px 14px;
  background: var(--silver-1);
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-2);
  text-align: center;
}
.case-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.35;
}
/* "Dark" stat cards now sit on mint backgrounds — switch to white card faces
   with the teal-accent number kept for visual punch. */
.case-stat-dark {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 42, 46, 0.10);
  backdrop-filter: blur(8px);
}
.case-stat-dark .case-stat-num { color: var(--teal-deep); }
.case-stat-dark .case-stat-label { color: var(--ink-soft); }

/* ============ NEW: how-it-works + ownership two-column ============ */
.how-own {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--mint-base) 100%);
  color: var(--teal-deep);
}
.how-own-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.how-own-col .eyebrow { color: var(--teal-deep); }
.how-own-col .section-title { color: var(--teal-deep); }
.how-own-col .section-lede { color: var(--ink-soft); }
.how-list, .own-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.how-list li, .own-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.how-num, .own-num {
  font-family: var(--pacifico);
  font-size: 40px;
  color: var(--teal-deep);
  line-height: 1;
}
.own-num {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--teal-deep);
}
.how-list h3, .own-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--teal-deep);
}
.how-list p, .own-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============ NEW: work-page sections ============ */
.case-full {
  padding: 80px 0 110px;
}
.case-full .case-grid {
  align-items: start;
}

.work-process {
  padding: 110px 0;
  background: var(--silver-1);
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  counter-reset: process;
}
.process-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 26px 26px 22px;
  background: white;
  border: 1px solid var(--silver-2);
  border-left: 4px solid var(--teal-accent);
  border-radius: var(--radius-md);
}
.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.process-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--teal-deep);
}
.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.be-next {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--mint-base) 0%, var(--mint-tint) 100%);
  color: var(--teal-deep);
  text-align: center;
}
.be-next .section-title { color: var(--teal-deep); }
.be-next .section-lede { color: var(--ink-soft); margin-left: auto; margin-right: auto; }
.be-next .eyebrow { color: var(--teal-deep); }
.be-next-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ============ NEW: audit-page chrome ============ */
.audit-page {
  padding: 60px 0 100px;
}

/* ============ NEW: explainer grid (audit page) ============ */
.explainer {
  padding: 100px 0;
  background: var(--silver-1);
}
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.explainer-card {
  padding: 28px 26px;
  background: white;
  border: 1px solid var(--silver-2);
  border-top: 3px solid var(--teal-accent);
  border-radius: var(--radius-md);
}
.explainer-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 14px;
}
.explainer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.explainer-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--silver-2);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.explainer-card li:last-child { border-bottom: none; }
.explainer-card code {
  background: var(--silver-1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--teal-deep);
}

/* ============ NEW: FAQ grid (pricing page) ============ */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--silver-1) 0%, white 100%);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.faq-item {
  padding: 28px 28px;
  background: white;
  border: 1px solid var(--silver-2);
  border-radius: var(--radius-md);
  transition: all 0.18s ease;
}
.faq-item:hover {
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--teal-deep);
}
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Responsive overrides for new patterns */
@media (max-width: 900px) {
  .case-teaser-grid,
  .how-own-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-full .case-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-stats { gap: 10px; }
  .case-stat { padding: 14px 10px; }
  .case-stat-num { font-size: 26px; }
  .case-stat-label { font-size: 11px; }
  .pricing-tab { padding: 9px 16px; font-size: 13px; }
}

/* ============ BOOKING PAGE (Eden-style 14-day rail) ============ */
.book {
  padding: 70px 0 100px;
  background: var(--silver-1);
}
.book-inner { max-width: 920px; margin: 0 auto; }

.book-head { text-align: center; margin-bottom: 40px; }
.book-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--teal-deep);
}
.book-lede {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Step indicator */
.book-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  gap: 0;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver-4);
}
.book-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  position: relative;
}
.book-step:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--silver-3);
  margin-left: 16px;
}
.book-step-num {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  color: var(--silver-4);
  transition: color 0.2s ease;
}
.book-step.is-active { color: var(--teal-deep); }
.book-step.is-active .book-step-num { color: var(--teal-accent); }
.book-step.is-done { color: var(--teal-deep); }
.book-step.is-done .book-step-num { color: var(--teal-accent); }

/* Panels */
.book-panel {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--silver-2);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  animation: book-fade 0.3s ease;
}
.book-panel[hidden] { display: none; }
@keyframes book-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.book-panel-head { margin-bottom: 24px; }
.book-panel-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
}
.book-panel-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Date rail — horizontal scroll on overflow */
.date-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 16px;
  background: var(--silver-1);
  border: 1.5px solid var(--silver-2);
  border-radius: var(--radius-md);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-align: center;
}
.date-card:hover {
  background: white;
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.date-card-dow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--silver-4);
}
.date-card-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.date-card-mon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.date-card-tag {
  position: absolute;
  top: -8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--teal-accent);
  color: var(--teal-deeper);
  padding: 2px 8px;
  border-radius: 999px;
}
.date-card.is-closed {
  background: transparent;
  border-color: transparent;
  cursor: not-allowed;
  opacity: 0.45;
}
.date-card.is-closed:hover { transform: none; box-shadow: none; }
.date-card.is-closed .date-card-tag {
  background: var(--silver-3);
  color: var(--ink-soft);
}
.date-card.is-selected {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
  box-shadow: 0 6px 16px rgba(15, 42, 46, 0.25);
}
.date-card.is-selected:hover { transform: none; }
.date-card.is-selected .date-card-dow,
.date-card.is-selected .date-card-num,
.date-card.is-selected .date-card-mon { color: white; }

/* Time grid — 30-min slots, "Booked" pattern */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.time-slot {
  padding: 12px 14px;
  background: var(--silver-1);
  border: 1.5px solid var(--silver-2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.time-slot small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver-4);
}
.time-slot:hover {
  background: white;
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.time-slot.is-taken {
  background: transparent;
  border-color: var(--silver-2);
  color: var(--silver-4);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--silver-3);
}
.time-slot.is-taken:hover { transform: none; box-shadow: none; }
.time-slot.is-taken small { color: var(--silver-4); text-decoration: none; }
.time-slot.is-selected {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
  box-shadow: var(--shadow-md);
}
.time-slot.is-selected small { color: rgba(255,255,255,0.7); }

/* Back-buttons + nav row */
.book-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Details form */
.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.book-form-full { grid-column: 1 / -1; }
.book-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.book-form label span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--teal-deep);
}
.book-form input,
.book-form textarea,
.book-form select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--silver-2);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--silver-1);
  transition: all 0.15s ease;
}
.book-form input:focus,
.book-form textarea:focus,
.book-form select:focus {
  outline: none;
  border-color: var(--teal-accent);
  background: white;
}
.book-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(45, 212, 191, 0.10);
  border-left: 3px solid var(--teal-accent);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.book-summary .eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.book-summary p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
}
.book-form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  min-height: 20px;
}

/* Confirmation panel */
.book-confirm {
  text-align: center;
  padding: 60px 36px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), white 60%);
  border-color: var(--teal-accent);
}
.book-confirm-mark {
  width: 80px;
  height: 80px;
  color: var(--teal-accent);
  margin: 0 auto 24px;
  display: block;
}
.book-confirm h2 {
  font-size: 30px;
  margin: 0 0 12px;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.book-confirm p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 12px;
}
.book-confirm-summary {
  margin-top: 20px !important;
  padding: 16px 22px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--silver-2);
  display: inline-block;
}
.book-confirm-summary strong {
  color: var(--teal-deep);
  font-size: 17px;
  font-weight: 700;
}
.book-confirm .book-nav {
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 700px) {
  .book-panel { padding: 26px 22px; }
  .date-rail { grid-template-columns: repeat(4, 1fr); }
  .book-form { grid-template-columns: 1fr; }
  .book-summary { flex-direction: column; align-items: flex-start; }
}

/* ============ LEGAL PAGES (privacy + terms) ============ */
.legal {
  padding: 70px 0 100px;
  background: var(--silver-1);
}
.legal-container {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-intro {
  font-size: 17px;
  color: var(--teal-deep);
  font-weight: 500;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--silver-2);
  margin-bottom: 32px;
}
.legal-container h2 {
  margin: 44px 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
}
.legal-container h3 {
  margin: 26px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-deep);
}
.legal-container p {
  margin: 0 0 16px;
}
.legal-container ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-container li {
  margin-bottom: 8px;
}
.legal-container a {
  color: var(--teal-deep);
  border-bottom: 1px solid var(--teal-accent);
  padding-bottom: 1px;
  transition: color 0.15s ease;
}
.legal-container a:hover { color: var(--teal-accent); }
.legal-container code {
  background: white;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--silver-2);
  font-size: 14px;
  color: var(--teal-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.legal-container address {
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--silver-2);
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 24px;
}
.legal-disclaimer {
  margin-top: 50px;
  padding: 16px 20px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #F59E0B;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #92400E;
  line-height: 1.6;
}
.legal-disclaimer strong { color: #78350F; }

/* ============ 404 PAGE ============ */
.notfound {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at top, var(--mint-base) 0%, var(--mint-tint) 100%);
  padding: 80px 24px;
  text-align: center;
}
.notfound-inner {
  max-width: 560px;
  margin: 0 auto;
}
.notfound-code {
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 800;
  color: var(--teal-accent);
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.notfound-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--teal-deep);
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
}
.notfound-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 32px;
}
.notfound-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.notfound-suggestions {
  text-align: left;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  backdrop-filter: blur(10px);
}
.notfound-suggestions-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.notfound-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notfound-suggestions li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(45, 212, 191, 0.15);
  font-size: 14px;
  color: var(--ink-soft);
}
.notfound-suggestions li:last-child { border-bottom: none; }
.notfound-suggestions a {
  color: var(--teal-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--teal-accent);
  padding-bottom: 1px;
  margin-right: 6px;
}
.notfound-suggestions a:hover { color: var(--teal-accent); }

/* ============ FOOTER ============ */
/* Kept dark — provides "end of page" anchoring and a final hit of brand teal
   on an otherwise mint site (the Stripe / Linear / Vercel footer pattern). */
.footer {
  background: var(--teal-deep);
  color: var(--text-light-soft);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  max-width: 320px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-light);
  font-size: 14px;
}
.footer-links a:hover { color: var(--teal-accent); }
.footer-meta { font-size: 13px; }
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: var(--teal-accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-wordmark { font-size: 19px; }

  .hero { padding: 80px 20px 100px; }
  .problem, .case, .pricing, .ownership, .how, .contact { padding: 70px 0; }

  .problem-grid,
  .pricing-grid,
  .ownership-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .tier-anchor {
    transform: none;
  }
  .tier-anchor:hover { transform: translateY(-4px); }

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

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .contact-form { padding: 26px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
