:root {
  color-scheme: light dark;
  --night: #0a1128;
  --night-soft: #141d3f;
  --ink: #17203b;
  --paper: #fffaf5;
  --paper-deep: #f5ece6;
  --coral: #ef6f61;
  --coral-deep: #be4c47;
  --teal: #4f9fa8;
  --lavender: #9b78b5;
  --lamp: #ffd695;
  --muted: #61677b;
  --line: rgba(23, 32, 59, 0.14);
  --shadow: 0 24px 70px rgba(10, 17, 40, 0.13);
  --radius-lg: 32px;
  --radius-md: 20px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% -10%, rgba(155, 120, 181, 0.20), transparent 32rem),
    radial-gradient(circle at 96% 14%, rgba(79, 159, 168, 0.16), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #7e3e76;
  text-decoration-color: rgba(126, 62, 118, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid rgba(79, 159, 168, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 40, 0.92);
  color: white;
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 36px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(255, 214, 149, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.11);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 17, 40, 0.98) 0%, rgba(10, 17, 40, 0.84) 42%, rgba(10, 17, 40, 0.16) 78%);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 34%;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  opacity: 0.94;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), var(--content));
  min-height: 610px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--lamp);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 7px rgba(255, 214, 149, 0.13), 0 0 30px rgba(255, 214, 149, 0.75);
  content: "";
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 790;
}

.hero p {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
}

.button-primary {
  background: var(--lamp);
  color: var(--night);
  box-shadow: 0 10px 34px rgba(255, 214, 149, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.main-shell,
.document-shell {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
}

.main-shell {
  padding: 82px 0 96px;
}

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

.promise {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.promise::after {
  position: absolute;
  right: -38px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent, var(--coral));
  filter: blur(2px);
  opacity: 0.13;
  content: "";
}

.promise:nth-child(2) {
  --accent: var(--teal);
}

.promise:nth-child(3) {
  --accent: var(--lavender);
}

.promise-kicker {
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promise h2 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
}

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

.boundary {
  margin-top: 54px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #182346, #2d2850);
  color: white;
}

.boundary h2 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.boundary p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.document-hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 85% 0%, rgba(155, 120, 181, 0.35), transparent 26rem),
    radial-gradient(circle at 10% 90%, rgba(79, 159, 168, 0.22), transparent 24rem),
    var(--night);
  color: white;
}

.document-hero .document-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  align-items: center;
}

.document-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.document-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.document-mark {
  width: 220px;
  margin-left: auto;
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta-chip {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.82rem;
  font-weight: 650;
}

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 72px 0 110px;
}

.toc {
  position: sticky;
  top: 105px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
}

.document-content section {
  scroll-margin-top: 110px;
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.document-content section + section {
  padding-top: 42px;
}

.document-content section:last-child {
  border-bottom: 0;
}

.document-content h2 {
  margin: 0 0 17px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.document-content h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
}

.document-content p,
.document-content li {
  color: #42495e;
}

.document-content ul {
  padding-left: 1.25rem;
}

.callout {
  padding: 22px 24px;
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #fff0e9;
}

.callout p {
  margin: 0;
  color: #633b38;
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(79, 159, 168, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(79, 159, 168, 0.12), rgba(155, 120, 181, 0.10));
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
}

.footer-shell {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  font-size: 0.88rem;
}

.footer-shell p {
  margin: 0;
}

.footer-shell a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.32), rgba(10, 17, 40, 0.98) 64%);
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 65%;
    object-position: 53% 50%;
    opacity: 0.82;
  }

  .hero-shell {
    min-height: 720px;
    align-items: flex-end;
    padding: 70px 0 58px;
  }

  .promise-grid,
  .document-hero .document-shell,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .document-mark {
    display: none;
  }

  .document-layout {
    gap: 28px;
    padding-top: 42px;
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 16px;
  }

  .toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .hero-shell {
    min-height: 660px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .promise,
  .boundary,
  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

  .toc {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 14% -10%, rgba(155, 120, 181, 0.16), transparent 32rem),
      radial-gradient(circle at 96% 14%, rgba(79, 159, 168, 0.13), transparent 28rem),
      #0e1428;
    color: #f6f0eb;
  }

  a {
    color: #e5b5dc;
  }

  .promise,
  .toc {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
  }

  .promise p,
  .toc a,
  .document-content p,
  .document-content li {
    color: #c6c7d2;
  }

  .document-content section {
    border-color: rgba(255, 255, 255, 0.12);
  }

  .callout {
    background: rgba(239, 111, 97, 0.13);
  }

  .callout p {
    color: #f4cac4;
  }

  .contact-card {
    border-color: rgba(79, 159, 168, 0.3);
    background: linear-gradient(135deg, rgba(79, 159, 168, 0.12), rgba(155, 120, 181, 0.12));
  }
}
