:root {
  color-scheme: light;
  --ivory: #f8f8f3;
  --paper: #ffffff;
  --ink: #171619;
  --muted: #69636d;
  --lavender: #9682a0;
  --lavender-soft: #e9d8f7;
  --sunshine: #ffd84d;
  --line: rgba(23, 22, 25, 0.16);
  --shadow: 0 22px 60px rgba(52, 39, 60, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(233, 216, 247, 0.72), transparent 28rem),
    var(--ivory);
  font: 17px/1.7 Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: var(--lavender-soft);
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-mark::before {
  content: "";
  width: 16px;
  height: 4px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.header-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover,
.header-link:focus-visible { color: var(--ink); }

.hero,
.legal-layout,
.legal-footer,
.home-grid {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--sunshine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 { line-height: 1.15; }

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.date {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.note-illustration {
  min-height: 330px;
  padding: 38px 34px;
  position: relative;
  transform: rotate(2deg);
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 12px 14px 0 var(--lavender), var(--shadow);
}

.note-illustration::before {
  content: "";
  position: absolute;
  inset: 82px 34px 34px;
  background: repeating-linear-gradient(transparent 0 31px, rgba(150, 130, 160, 0.28) 31px 33px);
}

.note-dots {
  display: flex;
  gap: 8px;
}

.note-dots span {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.note-dots span:first-child { background: var(--sunshine); }
.note-dots span:nth-child(2) { background: var(--lavender-soft); }
.note-dots span:last-child { background: var(--lavender); }

.privacy-lock {
  width: 76px;
  height: 68px;
  margin: 70px auto 0;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--sunshine);
  font-size: 1.7rem;
}

.privacy-lock::before {
  content: "";
  width: 38px;
  height: 36px;
  position: absolute;
  top: -31px;
  border: 8px solid var(--ink);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.summary-strip {
  width: min(1120px, calc(100% - 40px));
  margin: 14px auto 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
}

.summary-item { padding: 26px; }
.summary-item + .summary-item { border-left: 2px solid var(--ink); }
.summary-item strong { display: block; margin-bottom: 5px; }
.summary-item span { color: var(--muted); font-size: 0.92rem; }

.legal-layout {
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 72px;
}

.toc {
  height: max-content;
  padding: 22px;
  position: sticky;
  top: 22px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.toc strong { display: block; margin-bottom: 12px; }
.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.toc a:hover,
.toc a:focus-visible { color: var(--ink); }

.legal-content section {
  padding: 34px 0;
  border-top: 1.5px solid var(--line);
}

.legal-content section:first-child { border-top: 0; padding-top: 0; }
.legal-content h2 { margin: 0 0 15px; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -0.025em; }
.legal-content p { margin: 0 0 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 12px 0 0; padding-left: 22px; }
.legal-content li + li { margin-top: 9px; }

.callout {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--lavender-soft);
  box-shadow: 6px 6px 0 var(--ink);
}

.legal-footer {
  padding: 30px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1.5px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-weight: 700; }

.home-intro {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 48px;
  text-align: center;
}

.home-intro h1 { margin-inline: auto; }
.home-intro p { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 1.12rem; }

.home-grid {
  padding: 24px 0 100px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.document-card {
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.document-card:first-child { background: var(--lavender-soft); }
.document-card:last-child { background: var(--sunshine); }
.document-card:hover,
.document-card:focus-visible { transform: translateY(-6px); box-shadow: 8px 10px 0 var(--ink); }
.document-card h2 { margin: 0 0 10px; font-size: clamp(1.65rem, 4vw, 2.35rem); }
.document-card p { margin: 0; color: #403b43; }
.document-card span { margin-top: 36px; font-weight: 800; }

@media (max-width: 800px) {
  .hero { padding-top: 42px; grid-template-columns: 1fr; gap: 42px; }
  .note-illustration { min-height: 260px; }
  .privacy-lock { margin-top: 52px; }
  .summary-strip { grid-template-columns: 1fr; }
  .summary-item + .summary-item { border-left: 0; border-top: 2px solid var(--ink); }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .legal-layout,
  .legal-footer,
  .home-grid,
  .summary-strip { width: min(100% - 28px, 1120px); }
  .site-header { padding-top: 16px; }
  .header-link { display: none; }
  .hero { padding-bottom: 40px; }
  h1 { font-size: clamp(2.65rem, 16vw, 4rem); }
  .note-illustration { padding: 28px; border-radius: 24px; }
  .note-illustration::before { inset: 72px 28px 28px; }
  .summary-strip { margin-bottom: 48px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
  .home-intro { padding-top: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
