/* Marketing page shared styles — supplements app.css */
:root {
  --max-w: 1200px;
  --nav-h: 64px;
}

/* --- NAV --- */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.mkt-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.mkt-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
}
.mkt-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--gradient-sunset);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.mkt-logo-mark svg { width: 18px; height: 18px; }
.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.mkt-nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.15s;
}
.mkt-nav-links a:hover { background: var(--rose-50); color: var(--ink); }
.mkt-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media (max-width: 640px) {
  .mkt-nav-links { display: none; }
}

/* --- HERO --- */
.mkt-hero {
  background:
    radial-gradient(ellipse 90% 60% at 50% 95%, rgba(255,236,210,0.35) 0%, transparent 60%),
    radial-gradient(circle at 78% 28%, rgba(255,210,170,0.45) 0%, transparent 38%),
    linear-gradient(160deg, #F26B5A 0%, #E15448 30%, #C9402E 60%, #7C2A34 100%);
  padding: 6rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mkt-hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  width: 100%; height: 110px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  color: #2A1B2D;
}
.mkt-hero-skyline svg { width: 100%; height: 100%; display: block; }
.mkt-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.mkt-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.mkt-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  color: white;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-shadow: 0 1px 24px rgba(42,27,45,0.18);
}
.mkt-hero p {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.mkt-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: white;
  color: var(--rose-700);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}
.btn-hero-primary:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-hero-ghost {
  background: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }
.mkt-hero-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

/* --- SECTION LAYOUT --- */
.mkt-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.mkt-section-sm {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.mkt-section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-500);
  margin-bottom: 0.75rem;
}
.mkt-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mkt-section-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
}
.mkt-section-header { margin-bottom: 3rem; }
.mkt-section-header.centered { text-align: center; }
.mkt-section-header.centered .mkt-section-sub { margin: 0 auto; }

/* --- FEATURE GRID --- */
.mkt-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.mkt-feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(42,27,45,0.04);
  transition: all 0.2s;
}
.mkt-feature-card:hover {
  border-color: var(--rose-300);
  box-shadow: 0 4px 16px rgba(242,107,90,0.08);
  transform: translateY(-2px);
}
.mkt-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--rose-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--rose-500);
}
.mkt-feature-icon svg { width: 22px; height: 22px; }
.mkt-feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.mkt-feature-body {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --- PRICING CARDS --- */
.mkt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.mkt-price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(42,27,45,0.04);
}
.mkt-price-card.featured {
  border-color: var(--rose-300);
  box-shadow: 0 4px 24px rgba(242,107,90,0.12);
  position: relative;
}
.mkt-price-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-sunset);
  color: white;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mkt-plan-name { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.mkt-plan-desc { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 1.5rem; line-height: 1.5; }
.mkt-plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.75rem; }
.mkt-plan-amount { font-size: 2.25rem; font-weight: 700; color: var(--ink); font-family: Fraunces, Georgia, serif; }
.mkt-plan-period { font-size: 0.9375rem; color: var(--ink-muted); }
.mkt-plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.mkt-plan-feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9375rem; color: var(--ink-soft); }
.mkt-plan-feature svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.mkt-plan-feature.muted svg { color: var(--ink-muted); }
.mkt-plan-feature.muted { color: var(--ink-muted); }

/* --- CTA BAND --- */
.mkt-cta-band {
  background: var(--ink);
  padding: 4rem 1.5rem;
  text-align: center;
}
.mkt-cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}
.mkt-cta-band p { color: rgba(255,255,255,0.7); font-size: 1.0625rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.6; }

/* --- FOOTER --- */
.mkt-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
}
.mkt-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.mkt-footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .mkt-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .mkt-footer-top { grid-template-columns: 1fr; }
}
.mkt-footer-brand { color: white; font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.mkt-footer-tagline { font-size: 0.875rem; line-height: 1.6; margin-bottom: 0; }
.mkt-footer-col-title { color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.875rem; }
.mkt-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mkt-footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9375rem; transition: color 0.15s; }
.mkt-footer-links a:hover { color: white; }
.mkt-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.875rem; }
.mkt-footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.mkt-footer-bottom a:hover { color: white; }

/* --- BLOG --- */
.mkt-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.mkt-blog-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.mkt-blog-card:hover { border-color: var(--rose-300); box-shadow: 0 4px 16px rgba(242,107,90,0.08); transform: translateY(-2px); }
.mkt-blog-card-thumb {
  background: var(--gradient-sunset);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mkt-blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.mkt-blog-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.8125rem; color: var(--ink-muted); }
.mkt-blog-title { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.625rem; color: var(--ink); }
.mkt-blog-excerpt { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.mkt-blog-cta { margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--rose-500); display: flex; align-items: center; gap: 0.25rem; }

/* --- ARTICLE --- */
.mkt-article { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.mkt-article-back { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; margin-bottom: 2rem; }
.mkt-article-back:hover { color: var(--rose-500); }
.mkt-article-tag { display: inline-block; background: var(--rose-50); color: var(--rose-700); font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.mkt-article h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--ink); line-height: 1.2; margin-bottom: 0.75rem; font-weight: 700; }
.mkt-article-meta { color: var(--ink-muted); font-size: 0.875rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mkt-article h2 { font-size: 1.5rem; color: var(--ink); margin: 2.5rem 0 0.875rem; font-weight: 600; }
.mkt-article h3 { font-size: 1.1875rem; color: var(--ink); margin: 1.75rem 0 0.625rem; font-weight: 600; }
.mkt-article p { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin: 0 0 1.25rem; }
.mkt-article ul, .mkt-article ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.mkt-article li { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.375rem; }
.mkt-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.mkt-article th { background: var(--rose-50); color: var(--ink); font-weight: 600; padding: 0.625rem 1rem; text-align: left; border-bottom: 2px solid var(--line); }
.mkt-article td { padding: 0.625rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.mkt-article tr:last-child td { border-bottom: none; }
.mkt-info-box { background: var(--rose-50); border: 1px solid var(--rose-100); border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.mkt-info-box p { margin: 0; color: var(--ink); }
.mkt-info-box strong { color: var(--rose-700); }

/* --- CALC PAGES --- */
.calc-page { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.calc-header { margin-bottom: 2rem; }
.calc-header h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--ink); line-height: 1.2; font-weight: 700; margin-bottom: 0.5rem; }
.calc-header p { font-size: 1.0625rem; color: var(--ink-soft); }
.calc-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 800px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-inputs { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 2px rgba(42,27,45,0.04); }
.calc-inputs h2 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 1.25rem; }
.calc-field { margin-bottom: 1.125rem; }
.calc-field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.375rem; }
.calc-field-row { display: flex; align-items: center; gap: 0; }
.calc-field-prefix, .calc-field-suffix { background: var(--cream); border: 1.5px solid var(--line); padding: 0.625rem 0.75rem; font-size: 0.9375rem; color: var(--ink-soft); }
.calc-field-prefix { border-right: none; border-radius: 6px 0 0 6px; }
.calc-field-suffix { border-left: none; border-radius: 0 6px 6px 0; }
.calc-field input, .calc-field select {
  flex: 1; border: 1.5px solid var(--line); padding: 0.625rem 0.875rem; font-size: 0.9375rem;
  background: white; color: var(--ink); outline: none; transition: border-color 0.15s;
  border-radius: 6px;
}
.calc-field-row .calc-field input { border-radius: 0; }
.calc-field-row .calc-field-prefix + input { border-left: none; }
.calc-field-row input + .calc-field-suffix { border-left: none; }
.calc-field input:focus, .calc-field select:focus { border-color: var(--rose-500); box-shadow: 0 0 0 3px rgba(242,107,90,0.12); }
.calc-field select { width: 100%; }
.calc-results { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-result-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 2px rgba(42,27,45,0.04); }
.calc-result-card h2 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 1.25rem; }
.calc-total { background: var(--ink); border-radius: 12px; padding: 1.5rem; }
.calc-total-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; }
.calc-total-amount { font-size: 2rem; font-weight: 700; color: white; font-family: Fraunces, Georgia, serif; font-variant-numeric: tabular-nums; }
.calc-breakdown-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.calc-breakdown-row:last-child { border-bottom: none; }
.calc-breakdown-label { color: var(--ink-soft); }
.calc-breakdown-value { font-weight: 500; color: var(--ink); font-family: JetBrains Mono, monospace; font-size: 0.9375rem; }
.calc-share-bar { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: var(--rose-50); border-radius: 8px; margin-top: 0.5rem; }
.calc-share-url { flex: 1; font-size: 0.875rem; color: var(--ink-soft); word-break: break-all; font-family: JetBrains Mono, monospace; }
.calc-seo { max-width: 720px; margin: 3rem auto 0; padding-top: 3rem; border-top: 1px solid var(--line); }
.calc-cta-box { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; text-align: center; }
.calc-cta-box h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.calc-cta-box p { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 1.25rem; }

/* --- ABOUT --- */
.mkt-about-hero { padding: 4rem 1.5rem 3rem; max-width: 780px; margin: 0 auto; }
.mkt-about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); line-height: 1.2; margin-bottom: 1.25rem; }
.mkt-about-hero p { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.75; }
.mkt-timeline { position: relative; padding-left: 1.5rem; }
.mkt-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.mkt-timeline-item { position: relative; padding: 0 0 2rem 1.5rem; }
.mkt-timeline-item::before { content: ''; position: absolute; left: -5px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--rose-500); }
.mkt-timeline-date { font-size: 0.8125rem; font-weight: 500; color: var(--rose-500); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mkt-timeline-item h3 { font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin-bottom: 0.375rem; }
.mkt-timeline-item p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }

/* --- LEGAL --- */
.mkt-legal { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.mkt-legal h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--ink); margin-bottom: 0.5rem; font-weight: 700; }
.mkt-legal .mkt-draft-badge { display: inline-block; background: var(--warning); color: white; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.75rem; border-radius: 4px; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.mkt-legal-meta { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mkt-legal h2 { font-size: 1.375rem; color: var(--ink); margin: 2.5rem 0 0.75rem; font-weight: 600; }
.mkt-legal h3 { font-size: 1.125rem; color: var(--ink); margin: 1.5rem 0 0.5rem; font-weight: 600; }
.mkt-legal p { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin: 0 0 1rem; }
.mkt-legal ul, .mkt-legal ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.mkt-legal li { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.375rem; }

/* --- CALC PAGES (SEO landing layout) --- */
.calc-page { max-width: 1180px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.calc-layout { display: grid; grid-template-columns: minmax(320px, 380px) 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .calc-layout { grid-template-columns: 1fr; gap: 2rem; } }

.calc-panel {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.75rem; box-shadow: 0 1px 3px rgba(42,27,45,0.05);
  position: sticky; top: 1.5rem;
}
@media (max-width: 960px) { .calc-panel { position: static; } }
.calc-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0 0 0.375rem; }
.calc-subtitle { font-size: 0.9375rem; color: var(--ink-soft); margin: 0 0 1.5rem; line-height: 1.5; }

.calc-form .field-group { margin-bottom: 1.125rem; }
.calc-form .field-group label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink); margin-bottom: 0.375rem; letter-spacing: 0.01em; }
.calc-form .field-group input[type="number"],
.calc-form .field-group input[type="text"],
.calc-form .field-group select {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 0.625rem 0.75rem; font-size: 0.9375rem;
  background: white; color: var(--ink); outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.calc-form .field-group input:focus,
.calc-form .field-group select:focus {
  border-color: var(--rose-500); box-shadow: 0 0 0 3px rgba(242,107,90,0.12);
}
.calc-form .field-inline { display: flex; align-items: center; gap: 0.5rem; }
.calc-form .field-inline input[type="checkbox"] { width: auto; margin: 0; }
.calc-form .field-inline label { margin: 0; font-weight: 400; color: var(--ink-soft); font-size: 0.875rem; }
.calc-form .field-hint { display: block; font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.375rem; line-height: 1.4; }
.calc-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

.calc-output { margin-top: 1.5rem; }
.calc-output:empty { display: none; }
.calc-result-table {
  width: 100%; border-collapse: collapse; margin: 0 0 0.75rem;
  font-size: 0.9375rem; background: var(--cream); border-radius: 8px; overflow: hidden;
}
.calc-result-table th, .calc-result-table td { padding: 0.625rem 0.875rem; text-align: left; border-bottom: 1px solid var(--line); }
.calc-result-table tr:last-child th, .calc-result-table tr:last-child td { border-bottom: none; }
.calc-result-table th { color: var(--ink-soft); font-weight: 500; width: 45%; }
.calc-result-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-output .error { color: var(--danger, #b3261e); font-size: 0.875rem; margin: 0.5rem 0; }
.calc-disclaimer { font-size: 0.75rem; color: var(--ink-muted); font-style: italic; margin: 0.5rem 0 0; }
.calc-status {
  display: inline-block; padding: 0.25rem 0.625rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; margin: 0.5rem 0;
  background: var(--cream); color: var(--ink);
}
.calc-status.ok    { background: rgba(34,139,87,0.12); color: #1f6e44; }
.calc-status.warn  { background: rgba(217,144,33,0.16); color: #8a5a06; }
.calc-status.error { background: rgba(179,38,30,0.12); color: #b3261e; }
.calc-zero { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 0.25rem 0 0.75rem; font-variant-numeric: tabular-nums; }
.calc-warn-list, .calc-reason-list { margin: 0.5rem 0 0.75rem; padding-left: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }
.calc-warn-list li { color: #8a5a06; }
.calc-reason-list li { color: var(--ink-soft); margin-bottom: 0.25rem; }
.calc-output .text-right { text-align: right; }
.calc-note { font-size: 0.75rem; color: var(--ink-muted); margin: 1.25rem 0 0; line-height: 1.5; padding-top: 1rem; border-top: 1px solid var(--line); }

.calc-article {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 2.5rem 2.5rem; box-shadow: 0 1px 3px rgba(42,27,45,0.04);
  font-size: 1rem; line-height: 1.75; color: var(--ink-soft);
}
@media (max-width: 600px) { .calc-article { padding: 1.5rem 1.25rem; } }
.calc-article h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.375rem; font-weight: 600; color: var(--ink);
  margin: 2rem 0 0.875rem; line-height: 1.3;
}
.calc-article h2:first-child { margin-top: 0; }
.calc-article h3 {
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  margin: 1.5rem 0 0.625rem;
}
.calc-article p { margin: 0 0 1rem; }
.calc-article ul, .calc-article ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.calc-article li { margin-bottom: 0.5rem; line-height: 1.7; }
.calc-article strong { color: var(--ink); font-weight: 600; }
.calc-article em { font-style: italic; }
.calc-article a { color: var(--rose-500); text-decoration: none; }
.calc-article a:hover { text-decoration: underline; }
.calc-article code, .calc-article .code-block {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.875rem; background: var(--cream);
  padding: 0.125rem 0.375rem; border-radius: 4px; color: var(--ink);
}
.calc-article .code-block {
  display: block; padding: 0.875rem 1rem; margin: 1rem 0;
  border: 1px solid var(--line); border-radius: 8px;
  white-space: pre-wrap; word-break: break-word;
  line-height: 1.6;
}
.rate-table {
  width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem;
  font-size: 0.9375rem; background: white;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.rate-table th {
  background: var(--cream); color: var(--ink);
  font-weight: 600; text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.rate-table td {
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:nth-child(even) td { background: rgba(242, 237, 232, 0.35); }

/* PRINT */
@media print {
  .mkt-nav, .mkt-footer, .calc-share-bar, .calc-cta-box, .mkt-cta-band { display: none !important; }
  .calc-page { padding: 0; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-panel, .calc-article { box-shadow: none; border: none; padding: 0; }
}

/* --- PROFESSIONALS DIRECTORY --- */
.mkt-directory-note {
  max-width: var(--max-w);
  margin: -1.5rem auto 0;
  padding: 0 1.5rem 2rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  text-align: center;
}
.pros-filters {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(42,27,45,0.04);
}
.pros-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 0.875rem;
  align-items: end;
}
.pros-filter-group { display: flex; flex-direction: column; gap: 0.375rem; }
.pros-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.pros-filter-select {
  height: 42px;
  width: 100%;
  appearance: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 2.25rem 0 0.75rem;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%) calc(100% - 17px) 18px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%) calc(100% - 12px) 18px / 6px 6px no-repeat,
    white;
  font-size: 0.9375rem;
}
.pros-filter-select:focus { outline: none; border-color: var(--rose-500); box-shadow: 0 0 0 3px rgba(242,107,90,0.12); }
.pros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; align-items: stretch; }
.pro-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  min-height: 300px;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 1px 3px rgba(42,27,45,0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.pro-card:hover { transform: translateY(-2px); border-color: var(--rose-300); box-shadow: 0 8px 24px rgba(42,27,45,0.08); }
.pro-card:focus { outline: 3px solid rgba(242,107,90,0.22); outline-offset: 2px; }
.pro-card-header { display: flex; align-items: center; gap: 0.75rem; }
.pro-avatar { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.pro-avatar--lg { width: 56px; height: 56px; font-size: 1.35rem; }
.pro-card-name { font-weight: 700; color: var(--ink); line-height: 1.25; }
.pro-card-type { font-size: 0.8125rem; font-weight: 700; margin-top: 0.125rem; }
.pro-card-badges, .pro-profile-badges { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pro-card-badges { min-height: 1.9rem; align-content: flex-start; }
.pro-card-region { color: var(--ink-soft); font-size: 0.875rem; text-transform: capitalize; }
.pro-card-langs, .pro-card-fees { color: var(--ink-muted); font-size: 0.8125rem; line-height: 1.45; }
.pro-card-cta { margin-top: auto; align-self: flex-start; }
.badge--verified { background: rgba(79,138,92,0.12); color: var(--success); border: 1px solid rgba(79,138,92,0.24); }
.badge--unverified { background: var(--cream); color: var(--ink-muted); border: 1px solid var(--line); }
.badge--featured { background: rgba(232,169,92,0.16); color: #9a6526; border: 1px solid rgba(232,169,92,0.32); }
.pro-profile { display: flex; flex-direction: column; gap: 1rem; }
.pro-profile-header { display: flex; align-items: center; gap: 0.875rem; }
.pro-profile-type { font-weight: 700; font-size: 0.95rem; }
.pro-profile-details { background: var(--cream); border-radius: 10px; padding: 0.875rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pro-detail-row { display: grid; grid-template-columns: 120px 1fr; gap: 0.75rem; font-size: 0.875rem; }
.pro-detail-label { font-weight: 600; color: var(--ink-soft); }
.pro-bio p { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.pro-section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin-bottom: 0.5rem; }
.pro-lead-form { background: var(--rose-50); border: 1px solid var(--rose-100); border-radius: 12px; padding: 1rem; }
.pro-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-error { background: #fff; color: var(--danger); border: 1px solid var(--rose-100); border-radius: 8px; padding: 0.75rem; font-size: 0.875rem; margin-top: 0.75rem; }
.required { color: var(--rose-500); }
.lead-success { text-align: center; padding: 1.5rem 0.75rem; }
.lead-success-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.lead-success h3 { color: var(--success); margin: 0 0 0.375rem; }
.lead-success p { color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) {
  .pros-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #clear-filters-btn { justify-self: start; }
}
@media (max-width: 620px) {
  .pros-filter-row, .pro-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mkt-about-hero + .mkt-section > div:first-child,
  .mkt-about-hero + .mkt-section div[style*="grid-template-columns:1fr 1fr"],
  .mkt-about-hero + .mkt-section div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

.mkt-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #FFE6D8;
  font-family: 'Fraunces', Georgia, serif;
}
.mkt-hero-inner { z-index: 2; }
.mkt-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255,250,245,0.92);
  max-width: 560px;
  line-height: 1.6;
}

/* --- HERO (photographic, calm) --- */
.mkt-hero-photo {
  background: var(--cream);
  padding: 7rem 1.5rem 6rem;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mkt-hero-photo .mkt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(42,27,45,0.55) 0%, rgba(42,27,45,0.30) 35%, rgba(42,27,45,0.55) 100%),
    url('https://images.unsplash.com/photo-1571406384350-3849bd6c6d56?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 60%;
}
.mkt-hero-photo::after { display: none; }
.mkt-hero-photo .mkt-hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.mkt-hero-photo .mkt-hero-badge {
  background: rgba(255,255,255,0.92);
  color: var(--rose-700);
  margin-bottom: 1.75rem;
  padding: 0.375rem 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.mkt-hero-photo h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.625rem, 5.6vw, 4rem);
  color: white;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 28px rgba(20,8,22,0.35);
}
.mkt-hero-photo h1 em {
  font-style: italic;
  font-weight: 400;
  color: #ffd9d2;
}
.mkt-hero-photo p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: rgba(255,255,255,0.93);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2.25rem;
  text-shadow: 0 1px 10px rgba(20,8,22,0.4);
}
.mkt-hero-photo .btn-hero-primary {
  background: var(--rose-500);
  color: white;
  padding: 0.95rem 2.1rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  box-shadow: 0 6px 22px rgba(201,64,46,0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.mkt-hero-photo .btn-hero-primary:hover {
  background: var(--rose-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(201,64,46,0.45);
}
.mkt-hero-photo .btn-hero-ghost {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: white;
  padding: 0.95rem 2.1rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.mkt-hero-photo .btn-hero-ghost:hover { background: rgba(255,255,255,0.18); border-color: white; }
.mkt-hero-photo .mkt-hero-note {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
}
.mkt-hero-credit {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  z-index: 1;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .mkt-hero-photo { padding: 5rem 1.25rem 4.5rem; min-height: 460px; }
}

/* --- HOW IT WORKS (warm cards w/ photography) --- */
.mkt-how { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mkt-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.mkt-how-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mkt-how-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose-300);
  box-shadow: 0 4px 16px rgba(242,107,90,0.10);
}
.mkt-how-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #efe6dd;
}
.mkt-how-body { padding: 1.5rem 1.5rem 1.75rem; }
.mkt-how-step {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--rose-700);
  margin-bottom: 0.75rem;
}
.mkt-how-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.mkt-how-card p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.975rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
