:root {
  --bg: #fffaf6; --bg-2: #fff1e6; --surface: #ffffff; --text: #1f2a24; --muted: #56655c;
  --accent: #1f8a4c; --accent-2: #17703d; --accent-soft: #e5f4ea; --accent-contrast: #ffffff;
  --border: #f0e2d6; --danger: #b42318; --radius: 18px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121714; --bg-2: #171e1a; --surface: #1a211d; --text: #e8efe9; --muted: #a3b3a9;
    --accent: #3fbf73; --accent-2: #5fd08c; --accent-soft: #1d3326; --accent-contrast: #0b140f;
    --border: #2a342e; --danger: #ff8a80; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121714; --bg-2: #171e1a; --surface: #1a211d; --text: #e8efe9; --muted: #a3b3a9;
  --accent: #3fbf73; --accent-2: #5fd08c; --accent-soft: #1d3326; --accent-contrast: #0b140f;
  --border: #2a342e; --danger: #ff8a80; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.bar { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; color: var(--text); text-decoration: none; margin-right: auto; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: .97rem; }
nav a:hover, nav a[aria-current="page"] { background: var(--accent-soft); }
nav a.btn.primary { color: var(--accent-contrast); margin-left: 4px; }
nav a.btn.primary:hover { background: var(--accent-2); }
.theme, .menu-btn { font: inherit; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 10px; min-height: 40px; padding: 6px 10px; cursor: pointer; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  nav a.btn.primary { margin: 6px 0 0; text-align: center; }
  .theme { align-self: flex-start; margin-top: 8px; }
}

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 12px 20px; border: 1px solid var(--border); color: var(--text); background: var(--surface); min-height: 44px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.btn.primary:hover { background: var(--accent-2); }
.btn.big { padding: 15px 26px; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
.hero { padding: 72px 0 56px; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
@media (max-width: 800px) { .hero .grid { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.card .ico svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }

/* record mock */
.record { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: 0 18px 40px -24px rgba(31, 42, 36, .35); }
.record .head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.record .avatar { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.record .avatar svg { width: 34px; height: 34px; }
.record .name { font-weight: 700; font-size: 1.15rem; }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: .95rem; }
.record dt { color: var(--muted); }
.record dd { margin: 0; }
.pill { display: inline-block; font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pill.due { background: #fff1d6; color: #7a4b00; }
:root[data-theme="dark"] .pill.due { background: #3a2f14; color: #ffd48a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.due { background: #3a2f14; color: #ffd48a; } }
.record ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.record li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding-top: 8px; }
.caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); display: grid; place-items: center; font-weight: 700; }
.soon { display: inline-block; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; }
.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* pricing */
.price { font-size: 2.6rem; font-weight: 800; margin: 8px 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.card.feature { border: 2px solid var(--accent); }

/* forms */
form.contact { display: grid; gap: 14px; max-width: 560px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; min-height: 46px; }
textarea { min-height: 150px; resize: vertical; }
button.submit { font: inherit; font-weight: 650; border: 0; border-radius: 12px; padding: 13px 22px; background: var(--accent); color: var(--accent-contrast); cursor: pointer; min-height: 46px; justify-self: start; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--danger); font-weight: 600; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; font-size: 1.35rem; }
.prose ul { padding-left: 22px; }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 24px; font-size: .95rem; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.foot .cols a { display: block; color: var(--text); text-decoration: none; padding: 3px 0; }
.foot .cols a:hover { color: var(--accent); }
.foot .h { font-weight: 700; margin-bottom: 6px; }
.brand-sm { font-weight: 750; font-size: 1.1rem; }
.fine { font-size: .85rem; }
@media (max-width: 700px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }
.mt { margin-top: 14px; }
.m0 { margin: 0; }
.ml-auto { margin-left: auto; }
.lead.center { margin: 0 auto; }
input, select, textarea { font-weight: 400; }
.pill { white-space: nowrap; }
