:root {
  --teal: #0f5257;
  --teal-dark: #0a3a3e;
  --teal-soft: #e3efef;
  --yellow: #f2b705;
  --yellow-soft: #fdf3d3;
  --cream: #fbf8f3;
  --ink: #2b2b2b;
  --muted: #5d6366;
  --line: #e2ddd4;
  --white: #ffffff;
  --radius: 14px;
  --heading: "Nunito", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 var(--body);
}
img { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--heading); color: var(--teal-dark); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Demo banner */
.demo-banner {
  background: var(--teal-dark);
  color: #fff;
  font-size: .9rem;
  text-align: center;
  padding: 8px 16px;
}
.demo-banner a { color: var(--yellow); font-weight: 600; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-dark); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--teal); display: grid; place-items: center; }
.brand-name { font-family: var(--heading); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.brand-sub { font-size: .8rem; color: var(--muted); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--teal-soft); }
.nav a[aria-current="page"] { background: var(--teal); color: #fff; }

/* Hero */
.hero { padding: 48px 0 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.swash { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 82, 87, .12); color: inherit; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 12px; }

section { padding: 12px 0 28px; }
.note { background: var(--yellow-soft); border-left: 4px solid var(--yellow); padding: 14px 18px; border-radius: 8px; margin: 1.2em 0; }
.callout { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 22px 24px; }
.callout h2, .callout h3 { color: #fff; margin-top: 0; }
.callout a { color: var(--yellow); }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 1em 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 14px 18px 0; font-weight: 600; color: var(--teal-dark); }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); }
.tag-free { background: #e2f3e6; color: #1f6b35; }
.tag-optional { background: var(--yellow-soft); color: #7a5a00; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 6px 0 6px 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a3a3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 66px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--heading); font-weight: 800; display: grid; place-items: center; }

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--heading); font-size: 2rem; font-weight: 800; color: var(--teal-dark); line-height: 1; margin: 6px 0 2px; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan.featured { border: 2px solid var(--teal); position: relative; }
.plan.featured::after { content: "Most popular"; position: absolute; top: -12px; right: 18px; background: var(--yellow); color: var(--teal-dark); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* Stat */
.stat { display: flex; gap: 20px; align-items: center; }
.stat-badge { flex: none; width: 128px; height: 128px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--heading); }
.stat-badge strong { display: block; font-size: 2.2rem; line-height: 1; color: var(--yellow); }
.stat-badge span { font-size: .8rem; }
.small { font-size: .85rem; color: var(--muted); }

/* CTA */
.cta { background: var(--yellow); border-radius: var(--radius); padding: 28px; text-align: center; margin: 24px 0; }
.cta h2 { margin-top: 0; }
.cta .big { font-family: var(--heading); font-weight: 800; font-size: 1.5rem; color: var(--teal-dark); margin: .2em 0; }
.cta a { color: var(--teal-dark); }
.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; margin: 6px; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal-dark); }
.btn-ghost:hover { background: var(--teal-dark); color: #fff; }

/* Invoice */
.invoice td:first-child { width: 70%; }
.invoice .total td { font-weight: 700; background: var(--teal-soft); }

details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--teal-dark); }
details p { margin: .8em 0 0; }

/* Footer */
.site-footer { margin-top: 40px; background: var(--teal-dark); color: #d7e6e6; font-size: .9rem; padding: 28px 0; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 8px; }

@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  table.stack tr:first-of-type { display: none; }
  table.stack caption { display: block; padding-bottom: 6px; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  table.stack td { border: 0; padding: 4px 16px; text-align: left; }
  table.stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--teal-dark); }
  .stat { flex-direction: column; align-items: flex-start; }
  th, td { padding: 10px 12px; }
}
@media print {
  .demo-banner, .site-header nav, .cta, .site-footer { display: none; }
  body { background: #fff; }
}
