:root {
  --ink: #0b1f1d;
  --muted: #4d5f5b;
  --line: #d9e4e1;
  --teal: #0f766e;
  --teal-dark: #0b5d57;
  --mint: #ccfbf1;
  --soft: #f2f8f7;
  --bg: #ffffff;
  --gold: #f59e0b;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo img, .logo svg { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top nav a.btn { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; border: 0; border-radius: 999px; padding: 14px 26px; font-size: 17px; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn.ghost:hover { background: var(--soft); color: var(--teal-dark); }
.btn svg { flex: none; }
.cta-note { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding-top: 36px; padding-bottom: 56px; }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 26px; }
.hero .shot { border-radius: var(--radius); box-shadow: 0 30px 70px rgba(11,31,29,.16), 0 2px 8px rgba(11,31,29,.06); }
.badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.badges li { display: flex; align-items: center; gap: 7px; }
.badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230f766e' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat; }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 6px; }
.kicker { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.intro { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0 0 32px; }

/* demo */
.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(11,31,29,.06); }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 14px; }
.demo-head strong { font-size: 17px; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.demo table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.demo th, .demo td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.demo th { background: #f6efe6; font-weight: 600; }
.demo td.num, .demo th.num { text-align: right; font-variant-numeric: tabular-nums; }
.demo sup { color: #9a6b3f; }
.demo .sortkey { display: none; }
.demo-result { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--mint); font-weight: 600; }
.demo-result[hidden] { display: none; }

/* steps & features */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p, .features p { margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; }
.features > div { padding-top: 4px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); }
.gallery figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--teal); box-shadow: 0 18px 50px rgba(15,118,110,.14); }
.plan h3 { font-size: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; line-height: 1.1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-alt { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.plan ul { padding: 0; margin: 20px 0 24px; list-style: none; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230f766e' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { width: 100%; }
.plan .fine { color: var(--muted); font-size: 14px; margin: 10px 0 0; text-align: center; }
.monthly-link { display: block; text-align: center; margin-top: 10px; font-size: 15px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.closing { text-align: center; }
.closing p { color: var(--muted); font-size: 19px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .links a { color: var(--muted); }
footer .tm { margin: 14px 0 0; }

/* reveal + legal */
.reveal { padding: 40px 0 70px; }
.reveal h1, .legal h1 { font-size: 38px; line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 16px; }
.reveal .box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 26px 0; }
.reveal .box h2 { font-size: 22px; margin-bottom: 6px; }
.status-pill { display: inline-block; background: #fff7e6; color: #8a5300; border: 1px solid #f6d79b; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
form .field { display: block; margin: 14px 0 0; }
form .field span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
form input[type=email], form input[type=text] { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #b9c8c4; border-radius: 10px; background: #fff; }
form .check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 15px; color: var(--muted); }
form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
form .btn { margin-top: 18px; }
form .hp { position: absolute; left: -5000px; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.err { color: #b42318; }
.form-ok { background: var(--mint); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.legal { padding-bottom: 60px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: #24332f; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 16px; }
  .hero h1 { font-size: 38px; }
  .steps, .features, .plans, .gallery { grid-template-columns: 1fr; }
  h2 { font-size: 29px; }
  section { padding: 48px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav a:not(.btn) { display: none; }
  .hero h1 { font-size: 33px; }
  .hero p.lead { font-size: 18px; }
  .btn { width: 100%; }
  .top nav a.btn { width: auto; }
  .demo { padding: 14px; }
  .demo-actions { width: 100%; }
  .demo-actions .btn { flex: 1; width: auto; }
  .reveal h1, .legal h1 { font-size: 30px; }
  .price { font-size: 38px; }
}
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--teal); text-decoration: underline; cursor: pointer; }
