:root {
  --teal: #17b3ac;
  --teal-dark: #0c6f6b;
  --teal-soft: #e3f6f5;
  --lav: #f1eefb;
  --lav-line: #d9d2f3;
  --ink: #17212b;
  --muted: #5b6876;
  --bg: #fbfbfe;
  --card: #ffffff;
  --line: #e6e8f0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

.container { width: min(1080px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 251, 254, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-soon {
  background: #111; color: #fff; cursor: default;
  padding: 10px 22px; border-radius: 12px; line-height: 1.2; flex-direction: column; align-items: flex-start; gap: 0;
}
.btn-soon small { font-weight: 500; font-size: 0.7rem; opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; }
.btn-soon span { font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--teal-soft) 0%, var(--lav) 70%);
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-dark);
  background: #fff; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--teal-dark); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-img img { margin: 0 auto; width: min(100%, 520px); filter: drop-shadow(0 22px 30px rgba(23, 33, 43, 0.18)); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--teal-soft); color: var(--teal-dark);
  display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* How it works */
.steps-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 0 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* Showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse .showcase-img { order: 2; }
.showcase-img img { margin: 0 auto; width: min(100%, 300px); filter: drop-shadow(0 18px 26px rgba(23, 33, 43, 0.16)); }
.showcase-img.wide img { width: min(100%, 440px); }
.showcase h3 { font-size: 1.6rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.showcase p { color: var(--muted); font-size: 1.05rem; margin: 0 0 14px; }
.showcase ul { margin: 0; padding-left: 1.2em; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { margin: 0 auto 10px; filter: drop-shadow(0 12px 18px rgba(23, 33, 43, 0.14)); }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; text-align: center; }
.cta h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.cta p { margin: 0 auto 26px; max-width: 46ch; opacity: 0.92; }
.cta .btn-soon { margin: 0 auto; background: #fff; color: #111; }
.cta .btn-soon small { opacity: 0.6; }

/* ---------- Document pages ---------- */
.doc-hero { background: linear-gradient(160deg, var(--teal-soft), var(--lav)); padding: 48px 0 36px; }
.doc-hero h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.01em; }
.doc-hero p { margin: 0; color: var(--muted); }
.doc { padding: 48px 0 72px; }
.doc .container { max-width: 800px; }
.doc h2 { margin: 40px 0 10px; font-size: 1.4rem; letter-spacing: -0.01em; }
.doc h3 { margin: 24px 0 6px; font-size: 1.1rem; }
.doc p, .doc li { color: #2b3743; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.callout {
  background: var(--teal-soft); border-left: 4px solid var(--teal);
  padding: 16px 20px; border-radius: 10px; margin: 20px 0;
}
.callout p { margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--lav); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; }

/* Placeholders the owner must replace before publishing */
mark.todo { background: #fff2b3; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #121a22; color: #b9c3cf; padding: 40px 0; font-size: 0.93rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #e8eef5; text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: 44px 0 28px; }
  .hero-grid, .showcase { grid-template-columns: 1fr; }
  .hero p.lead { max-width: none; }
  .showcase.reverse .showcase-img { order: 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  section { padding: 52px 0; }
  .nav { gap: 16px; }
}
@media (max-width: 480px) {
  .header-inner { justify-content: center; }
}
