:root {
  --ink: #1d2a2f;
  --muted: #56666d;
  --bg: #fbfaf7;
  --card: #ffffff;
  --line: #e4e1d9;
  --accent: #1f6f66;
  --accent-soft: #e3f0ee;
  --warm: #c8693a;
  --warm-soft: #fbeee5;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 2px;
}

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

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 62px;
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
nav a {
  margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 15px;
}
nav a:hover { color: var(--accent); }
nav a.cta { color: #fff; background: var(--accent); padding: 7px 14px; border-radius: 999px; }
nav a.cta:hover { color: #fff; background: #185a53; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1;
  margin: 0 0 18px; letter-spacing: -0.02em;
}
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.chips li {
  background: var(--accent-soft); color: var(--accent);
  padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 600;
}
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; margin: 0 10px 10px 0;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #185a53; }
.btn.ghost { border: 2px solid var(--accent); color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: #f3f1ec; }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 680px; }
h3 { margin: 0 0 8px; font-size: 20px; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 18px;
}
.card p { margin: 0 0 8px; color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 20px; }
.card li { margin-bottom: 4px; }

.tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--warm); background: var(--warm-soft);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 10px;
}
.meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.goals-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-top: 12px; }

.card.feature { border-color: var(--warm); box-shadow: 0 0 0 1px var(--warm) inset; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: #f7f6f2; }
tr:last-child td { border-bottom: none; }
td.price { font-weight: 700; white-space: nowrap; }
td.price small { display: block; font-weight: 400; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); margin-top: 12px; }

.callout {
  margin-top: 26px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--warm-soft); border-left: 5px solid var(--warm);
}
.callout h3 { color: #8f4521; }
.callout p { margin: 0; }

/* Form */
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-box iframe { width: 100%; min-height: 900px; border: 0; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

/* Legal page */
.legal { max-width: 760px; padding: 48px 20px 64px; margin: 0 auto; }
.legal h1 { font-size: 34px; margin-top: 0; }
.legal h2 { font-size: 22px; margin-top: 34px; }

@media (max-width: 720px) {
  nav a:not(.cta) { display: none; }
  .hero { padding: 48px 0 36px; }
  section { padding: 42px 0; }
}
