:root {
  --ink: #262827;
  --muted: #646965;
  --paper: #fbf8f3;
  --paper-deep: #f2ece3;
  --teal: #5eb2b4;
  --teal-dark: #28787c;
  --line: rgba(38, 40, 39, 0.14);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(55, 47, 37, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -5%, rgba(94, 178, 180, 0.2), transparent 34rem),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.58;
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(38, 40, 39, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--teal-dark); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0 96px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--teal-dark);
  background: rgba(94, 178, 180, 0.13);
  border: 1px solid rgba(40, 120, 124, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }

h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

h3 { margin-bottom: 10px; font-size: 18px; }

.hero-copy {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button.secondary { color: var(--ink); background: transparent; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(38, 40, 39, 0.12); }

.canvas-demo {
  position: relative;
  min-height: 500px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(38, 40, 39, 0.13);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.canvas-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(40, 120, 124, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 120, 124, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 42%, transparent 100%);
}

.demo-note {
  position: relative;
  width: 72%;
  margin-top: 34px;
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 28px;
  line-height: 1.25;
  transform: rotate(-3deg);
}

.demo-stroke {
  position: relative;
  width: 68%;
  height: 12px;
  margin: 12px 0 36px;
  border-bottom: 5px solid var(--teal);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.demo-card {
  position: relative;
  margin-left: 16%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251, 248, 243, 0.96);
}

.demo-label { color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-card strong { display: block; margin: 8px 0 12px; font-size: 22px; }
.demo-card p { margin: 0; color: var(--muted); }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 680px; margin-bottom: 48px; color: var(--muted); font-size: 19px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.step {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }

.feature-list { display: grid; gap: 18px; }
.feature { padding: 22px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature p { margin: 0; color: var(--muted); }

.legal-hero { max-width: 820px; padding: 94px 0 58px; }
.legal-hero h1 { font-size: clamp(48px, 6vw, 78px); }
.meta { color: var(--muted); font-size: 14px; }

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding: 50px 0 110px;
  border-top: 1px solid var(--line);
}

.toc { position: sticky; top: 110px; display: grid; gap: 10px; font-size: 14px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--teal-dark); }

.prose h2 { margin: 54px 0 16px; font-family: inherit; font-size: 28px; font-weight: 760; letter-spacing: -0.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: #454a47; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--teal-dark); }
.callout { padding: 22px 24px; border-left: 4px solid var(--teal); background: rgba(94, 178, 180, 0.1); border-radius: 0 14px 14px 0; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 36px 0 54px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.68); }
.support-card p { margin-bottom: 0; color: var(--muted); }

footer { padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .canvas-demo { min-height: 420px; transform: none; }
  .steps, .split, .support-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav-links { font-size: 13px; }
  h1 { font-size: 49px; }
  .hero { padding-top: 48px; }
  .canvas-demo { min-height: 390px; padding: 24px; }
  .demo-note { width: 90%; font-size: 24px; }
  .demo-card { margin-left: 4%; }
  .section { padding: 72px 0; }
}

