:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-2: #eef7f5;
  --ink: #10221f;
  --muted: #5c706d;
  --line: #dce7e3;
  --brand: #0f766e;
  --brand-2: #0d9488;
  --accent: #f59e0b;
  --shadow: 0 24px 70px rgba(16, 34, 31, 0.12);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 118, 110, 0.12), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(245, 158, 11, 0.13), transparent 30rem),
    var(--bg);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

img, svg {
  max-width: 100%;
}

button, input, select {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section-pad {
  padding: 82px 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 247, 242, 0.82);
  border-bottom: 1px solid rgba(220, 231, 227, 0.75);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
  font-size: 0.82rem;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(15, 118, 110, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
}

.hero {
  padding-top: 98px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-2);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.16rem;
  margin: 24px 0 0;
}

.hero-actions,
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.28);
  outline-offset: 2px;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.25);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button.ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 610px;
}

.stats div {
  padding: 18px;
  border: 1px solid rgba(220, 231, 227, 0.88);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
}

.stats strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.06em;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  min-height: 540px;
  border-radius: 36px;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(238, 247, 245, 0.95)),
    var(--surface);
  border: 1px solid rgba(220, 231, 227, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.8;
}

.hero-card::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  background: rgba(15, 118, 110, 0.16);
}

.hero-card::after {
  width: 200px;
  height: 200px;
  left: -80px;
  bottom: -80px;
  background: rgba(245, 158, 11, 0.18);
}

.mini-card-top,
.estimate-preview,
.hero-card .ad-slot {
  position: relative;
  z-index: 1;
}

.mini-card-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
}

.estimate-preview {
  margin-top: 92px;
  padding: 26px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
  box-shadow: 0 26px 60px rgba(16, 34, 31, 0.28);
}

.estimate-preview span,
.estimate-preview p {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-preview strong {
  display: block;
  margin: 10px 0 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #facc15);
}

.ad-slot {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 96px;
  border: 1px dashed rgba(15, 118, 110, 0.42);
  background: repeating-linear-gradient(45deg, rgba(15, 118, 110, 0.06), rgba(15, 118, 110, 0.06) 10px, rgba(15, 118, 110, 0.1) 10px, rgba(15, 118, 110, 0.1) 20px);
  color: var(--brand);
  border-radius: 22px;
  text-align: center;
  padding: 18px;
}

.ad-slot span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
}

.ad-slot.small {
  margin-top: 28px;
  min-height: 190px;
}

.ad-slot.tall {
  min-height: 530px;
  position: sticky;
  top: 94px;
}

.ad-slot.ad-band {
  min-height: 96px;
  border-radius: 22px;
  margin-top: -12px;
}

.ad-slot.ad-band-spaced {
  margin-top: -34px;
  margin-bottom: -14px;
}

.native-ad {
  min-height: 100%;
  height: 100%;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 14px 0 0;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.calc-panel,
.results-panel,
.checklist-card,
.newsletter-box {
  border: 1px solid rgba(220, 231, 227, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.calc-panel {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label span,
.range-row label {
  display: block;
  color: var(--ink);
  font-weight: 850;
  margin-bottom: 8px;
}

label small {
  color: var(--muted);
  font-weight: 750;
}

input[type="number"],
input[type="email"],
select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
}

.range-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.range-row p {
  color: var(--muted);
  margin: -3px 0 0;
}

output {
  min-width: 70px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 900;
}

.range {
  width: 100%;
  accent-color: var(--brand);
  margin: 16px 0 8px;
}

.extras {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(238, 247, 245, 0.5);
  cursor: pointer;
}

.check-card input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.check-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.results-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
}

.results-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 18px;
}

.results-card + .results-card,
.results-card + .breakdown,
.breakdown + .tip-card {
  margin-top: 14px;
}

.results-card.featured {
  color: white;
  background: linear-gradient(135deg, var(--ink), #17443f);
  border: 0;
  box-shadow: 0 20px 40px rgba(16, 34, 31, 0.22);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.results-card.featured .label,
.results-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

#estimateRange {
  display: block;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 12px;
}

.results-card p {
  margin: 0;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-grid strong {
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.breakdown {
  display: grid;
  gap: 12px;
}

.breakdown-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.breakdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-weight: 850;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: #edf2f1;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: inherit;
}

.tip-card {
  padding: 16px;
  border-radius: 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.tip-card p {
  margin: 5px 0 0;
  color: #7c4a03;
}

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

.guide-card {
  min-height: 290px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 231, 227, 0.96);
  box-shadow: 0 18px 45px rgba(16, 34, 31, 0.07);
}

.guide-card.ad-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.guide-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--surface-2);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.guide-card p,
.guide-card li {
  color: var(--muted);
}

.guide-card details {
  margin-top: 16px;
}

summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
}

.split-section {
  background: linear-gradient(180deg, transparent, rgba(238, 247, 245, 0.64), transparent);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.steps span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: white;
  background: var(--brand);
  font-weight: 900;
}

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

.checklist-card {
  padding: 34px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checklist-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-weight: 780;
}

.checklist-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
}

.faq-list summary {
  color: var(--ink);
  font-size: 1.07rem;
}

.faq-list p {
  color: var(--muted);
  margin: 10px 0 0;
}

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 26px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}

.newsletter-box p:not(.eyebrow) {
  color: var(--muted);
  margin: 12px 0 0;
}

.email-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.email-form input {
  border: 0;
  min-height: 44px;
}

.email-form input:focus-visible {
  outline: none;
}

.email-form .button {
  min-height: 44px;
  white-space: nowrap;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid rgba(220, 231, 227, 0.95);
  background: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 28px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .calculator-shell,
  .split-grid,
  .newsletter-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .results-panel,
  .ad-slot.tall {
    position: static;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero {
    padding-top: 66px;
  }

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

  .nav-links {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .stats,
  .form-grid,
  .guide-grid,
  .checklist-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

  .estimate-preview {
    margin-top: 38px;
  }

  .calc-panel,
  .checklist-card,
  .newsletter-box {
    padding: 20px;
  }

  .range-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-form {
    flex-direction: column;
    border-radius: 22px;
  }
}

@media print {
  .site-header,
  .hero,
  .ad-slot,
  .ad-band,
  .guides-section,
  .split-section,
  .checklist-section,
  .faq-section,
  .newsletter,
  .site-footer,
  .calc-panel,
  .toast {
    display: none !important;
  }

  body {
    background: white;
  }

  .section-pad {
    padding: 0;
  }

  .calculator-shell,
  .results-panel {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
  }

  .results-card.featured {
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    box-shadow: none;
  }

  .results-card.featured .label,
  .results-card.featured p {
    color: var(--muted);
  }
}


/* Launch-readiness pages */
.page-hero {
  padding: 96px 0 46px;
}

.page-hero .section-heading {
  margin-bottom: 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.article,
.policy-card,
.contact-card,
.toc-card {
  border: 1px solid rgba(220, 231, 227, 0.95);
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(16, 34, 31, 0.07);
}

.article,
.policy-card,
.contact-card {
  padding: 34px;
}

.article h2,
.policy-card h2,
.contact-card h2 {
  margin-top: 34px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.article h2:first-child,
.policy-card h2:first-child,
.contact-card h2:first-child {
  margin-top: 0;
}

.article h3,
.policy-card h3 {
  margin-top: 24px;
  font-size: 1.28rem;
}

.article p,
.article li,
.policy-card p,
.policy-card li,
.contact-card p {
  color: var(--muted);
}

.article ul,
.policy-card ul {
  padding-left: 1.2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.toc-card {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.toc-card strong {
  display: block;
  margin-bottom: 10px;
}

.toc-card a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 760;
}

.toc-card a:hover,
.toc-card a:focus-visible {
  color: var(--brand);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  margin: 20px 0;
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.callout {
  margin: 24px 0;
  padding: 20px;
  border-radius: 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.cost-stack {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.cost-stack div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cost-stack span:first-child {
  font-weight: 900;
}

.cost-stack .track {
  height: 18px;
  border-radius: 999px;
  background: #edf2f1;
  overflow: hidden;
}

.cost-stack .track span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.related-card strong {
  display: block;
  margin-bottom: 6px;
}

.related-card span {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  resize: vertical;
  font: inherit;
}

.policy-note {
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  background: var(--surface-2);
  border-radius: 0 16px 16px 0;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(24px);
  width: min(920px, calc(100% - 28px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(220, 231, 227, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 980px) {
  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 70px;
  }

  .article,
  .policy-card,
  .contact-card {
    padding: 22px;
  }

  .article-table {
    display: block;
    overflow-x: auto;
  }

  .cost-stack div {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }
}


/* Added trust pages, article pages, cookie notice, and ad setup styles */
.text-link,
.inline-link {
  color: var(--brand);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link { display: inline-flex; margin-top: 16px; }
.page-hero { padding-top: 98px; }
.compact-page-hero { padding-bottom: 34px; }
.page-hero-grid,
.two-column-content,
.article-layout,
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}
.info-card,
.content-card,
.side-note,
.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}
.info-card,
.side-note,
.trust-card { padding: 24px; }
.info-card { align-self: stretch; }
.info-card strong,
.side-note h3,
.trust-card h3 { display: block; margin: 0 0 10px; }
.info-card p,
.side-note p,
.trust-card p { color: var(--muted); margin: 0; }
.content-card { padding: clamp(22px, 4vw, 42px); }
.rich-text h2 { margin-top: 34px; margin-bottom: 12px; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.rich-text h2:first-child { margin-top: 0; }
.rich-text p,
.rich-text li,
.policy-page p { color: var(--muted); font-size: 1.02rem; }
.rich-text ul { padding-left: 1.2rem; }
.content-sidebar { display: grid; gap: 18px; }
.sticky-note,
.article-sidebar .ad-slot.tall { position: sticky; top: 92px; }
.article-sidebar .ad-slot.tall { top: 240px; }
.clean-list,
.large-checklist { margin: 14px 0 0; padding: 0; list-style: none; }
.clean-list li,
.large-checklist li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.clean-list li::before,
.large-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 900; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 18px; background: white; }
table { width: 100%; border-collapse: collapse; }
th,
td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); background: var(--surface-2); }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-weight: 800; }
textarea { min-height: 140px; resize: vertical; }
textarea,
.contact-form input,
.contact-form select { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; background: white; color: var(--ink); }
.form-note { margin: 0; color: var(--muted); font-size: 0.92rem; }
.trust-section { padding-top: 0; }
.trust-grid { grid-template-columns: 1.1fr 0.9fr; }
.accent-card { background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.13)); }
.mini-link-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mini-link-grid a { padding: 10px 13px; border-radius: 999px; background: var(--surface-2); color: var(--brand); font-weight: 850; }
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  transform: translateX(-50%);
  width: min(940px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.small-button { min-height: 40px; padding: 8px 14px; }
.ad-unconfigured { outline: 1px dashed rgba(15, 118, 110, 0.35); }
.ad-live { padding: 0; min-height: auto; background: transparent; border: 0; }
@media (max-width: 980px) {
  .page-hero-grid,
  .two-column-content,
  .article-layout,
  .trust-grid { grid-template-columns: 1fr; }
  .sticky-note,
  .article-sidebar .ad-slot.tall { position: static; }
}
@media (max-width: 720px) {
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
}

.wide-field {
  grid-column: 1 / -1;
}

.field-note {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 0.45rem;
}

.ad-card,
.ad-slot,
.js-ad-slot,
.ad-placeholder,
.ad-banner,
.ad-wrap,
[data-ad-key],
[title*="Ad placeholder"],
[aria-label*="Advertisement"] {
  display: none !important;
  visibility: hidden !important;
}