:root {
  color-scheme: light;
  --ink: #17162a;
  --muted: #5d5b70;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --surface: rgba(255, 255, 255, 0.9);
  --line: rgba(79, 70, 229, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(249, 168, 212, 0.34), transparent 30rem),
    radial-gradient(circle at 92% 10%, rgba(129, 140, 248, 0.3), transparent 32rem),
    #f5f7ff;
}

a { color: var(--indigo); }
a:hover { color: var(--violet); }

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #ec4899, var(--indigo));
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

nav { display: flex; gap: 18px; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }

main {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(49, 46, 129, 0.1);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.document h1 { font-size: clamp(2.1rem, 7vw, 3.7rem); }
h2 { margin: 34px 0 10px; font-size: 1.2rem; }

p, li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.lede { max-width: 590px; font-size: 1.22rem; }
.meta { margin-bottom: 30px; font-size: 0.93rem; }

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  color: white;
  background: var(--indigo);
  font-weight: 750;
  text-decoration: none;
}

.button:hover { color: white; background: var(--violet); }
.button.secondary { color: var(--indigo); background: #eeedff; }
.button.secondary:hover { color: var(--violet); background: #e6e2ff; }

footer {
  padding: 28px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 560px) {
  header { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  nav { width: 100%; justify-content: space-between; }
  main { border-radius: 24px; }
}

