:root {
  --bg: #f4f1ea; --panel: #fffdf8; --ink: #1c2420; --muted: #5d6862; --line: #e4ded0;
  --accent: #0b6e5c; --accent-dark: #085646; --accent-soft: #dff0ea; --on-accent: #ffffff;
  --paper: #fffef9; --paper-ink: #26302b; --shadow: 0 1px 2px rgba(28,36,32,.06), 0 10px 30px rgba(28,36,32,.10);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1512; --panel: #17201b; --ink: #e8efe9; --muted: #9fada5; --line: #26332c;
    --accent: #3fbf9f; --accent-dark: #2fa086; --accent-soft: #163229; --on-accent: #06251d;
    --paper: #f6f3ea; --paper-ink: #24302a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1512; --panel: #17201b; --ink: #e8efe9; --muted: #9fada5; --line: #26332c;
  --accent: #3fbf9f; --accent-dark: #2fa086; --accent-soft: #163229; --on-accent: #06251d;
  --paper: #f6f3ea; --paper-ink: #24302a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; border-style: dashed; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .92rem; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 14px 0 18px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .fine { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.ticks li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* the sample slip */
.slipwrap { position: relative; justify-self: center; width: min(100%, 360px); }
.sync { position: absolute; top: -14px; right: -6px; z-index: 2; background: #fdf0dc; color: #7a3d04; border: 1px solid #f0d7a8; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.sync::before { content: "●"; color: #d27a12; margin-right: 6px; }
.slip { background: var(--paper); color: var(--paper-ink); font: 13px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; padding: 22px 20px 28px; box-shadow: var(--shadow); transform: rotate(1.4deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; padding-bottom: 36px; }
.slip .c { text-align: center; } .slip b { font-weight: 800; }
.slip hr { border: 0; border-top: 1px dashed #9aa39d; margin: 9px 0; }
.slip .r { display: flex; justify-content: space-between; gap: 12px; }
.slip table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.slip th, .slip td { text-align: right; padding: 1px 0; font-weight: 500; } .slip th:first-child, .slip td:first-child { text-align: left; }
.slip .big { font-size: 15px; font-weight: 800; }
.cap { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 16px; }

/* sections */
section { padding: clamp(44px, 7vw, 84px) 0; }
.head { max-width: 40em; margin-bottom: 36px; display: grid; gap: 12px; }
.alt { background: var(--panel); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.alt .card { background: var(--bg); }
.card p { color: var(--muted); font-size: .98rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 4px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; }
.steps p { color: var(--muted); font-size: .98rem; }

/* pricing */
.price { display: grid; gap: 14px; }
.price.hl { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.amount small { display: block; font-size: .9rem; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.price li { padding-left: 24px; position: relative; font-size: .97rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.quote { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; justify-items: start; }
.note { margin-top: 16px; color: var(--muted); font-size: .9rem; }

/* downloads */
.dl { display: grid; gap: 12px; align-content: start; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; justify-self: start; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 46em; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 0 18px; font-size: .98rem; }

/* contact + footer */
.contact { text-align: center; justify-items: center; }
.contact .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .slipwrap { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
