body.grow-legal-document {
  --grow-background: #07100d;
  --grow-surface: #101d18;
  --grow-surface-raised: #15251e;
  --grow-mint: #87e7b2;
  --grow-mint-bright: #a5f1c7;
  --grow-text: #f5f8f3;
  --grow-text-secondary: #a9b8af;
  --grow-text-tertiary: #718077;
  --grow-hairline: rgba(222, 242, 229, 0.1);
  --grow-hairline-strong: rgba(222, 242, 229, 0.17);
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(64, 155, 110, 0.2), transparent 31rem),
    radial-gradient(circle at 96% 4%, rgba(72, 138, 141, 0.1), transparent 27rem),
    linear-gradient(145deg, #08130f 0%, var(--grow-background) 48%, #09120f 100%);
  color: var(--grow-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.grow-legal-document *,
body.grow-legal-document *::before,
body.grow-legal-document *::after {
  box-sizing: border-box;
}

body.grow-legal-document > .wp-site-blocks > header,
body.grow-legal-document > .wp-site-blocks > footer {
  display: none;
}

body.grow-legal-document #wp--skip-link--target,
body.grow-legal-document #wp--skip-link--target > .wp-block-group,
body.grow-legal-document .entry-content {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.grow-legal-document .wp-block-post-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.grow-legal-document a {
  color: inherit;
}

body.grow-legal-document a:focus-visible {
  outline: 2px solid var(--grow-mint);
  outline-offset: 4px;
}

.grow-legal-page {
  min-height: 100vh;
  color: var(--grow-text);
}

.grow-legal-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 54px) 48px;
}

.grow-legal-header {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--grow-hairline);
}

.grow-legal-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.grow-legal-brand img {
  display: block;
  width: 68px;
  height: auto;
}

.grow-legal-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.grow-legal-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--grow-hairline-strong);
  border-radius: 13px;
  color: var(--grow-text-secondary);
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.grow-legal-actions a:last-child {
  border-color: rgba(135, 231, 178, 0.23);
  color: #07100d;
  background: var(--grow-mint);
}

.grow-legal-actions a:hover {
  border-color: rgba(135, 231, 178, 0.32);
  color: var(--grow-mint);
}

.grow-legal-actions a:last-child:hover {
  color: #07100d;
  background: var(--grow-mint-bright);
}

.grow-legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.55fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding-top: clamp(44px, 8vw, 88px);
}

.grow-legal-intro {
  position: sticky;
  top: 38px;
}

.grow-legal-eyebrow {
  margin: 0;
  color: var(--grow-mint);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.grow-legal-intro h1 {
  max-width: 460px;
  margin: 11px 0 0;
  color: var(--grow-text);
  font-size: clamp(2.45rem, 5.8vw, 4.65rem);
  font-weight: 680;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.grow-legal-summary {
  max-width: 420px;
  margin: 20px 0 0;
  color: var(--grow-text-secondary);
  font-size: 0.9rem;
  line-height: 1.68;
}

.grow-legal-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 21px 0 0;
  padding: 8px 11px;
  border: 1px solid var(--grow-hairline);
  border-radius: 999px;
  color: var(--grow-text-tertiary);
  font-size: 0.67rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.025);
}

.grow-legal-date::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grow-mint);
  box-shadow: 0 0 0 4px rgba(135, 231, 178, 0.08);
  content: "";
}

.grow-legal-toc {
  display: grid;
  gap: 3px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--grow-hairline);
}

.grow-legal-toc a {
  padding: 7px 0;
  color: var(--grow-text-tertiary);
  font-size: 0.7rem;
  font-weight: 620;
  line-height: 1.3;
  text-decoration: none;
  transition: color 150ms ease;
}

.grow-legal-toc a:hover {
  color: var(--grow-mint);
}

.grow-legal-card {
  overflow: hidden;
  border: 1px solid var(--grow-hairline-strong);
  border-radius: 27px;
  background:
    radial-gradient(circle at 100% 0, rgba(135, 231, 178, 0.095), transparent 20rem),
    rgba(16, 29, 24, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.grow-legal-section {
  margin: 0;
  padding: clamp(25px, 4vw, 38px);
  scroll-margin-top: 26px;
}

.grow-legal-section + .grow-legal-section {
  border-top: 1px solid var(--grow-hairline);
}

.grow-legal-section h2,
.grow-legal-section h3,
.grow-legal-section p,
.grow-legal-section ul {
  max-width: none;
  margin-top: 0;
}

.grow-legal-section h2 {
  margin-bottom: 14px;
  color: var(--grow-text);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 690;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.grow-legal-section h3 {
  margin: 24px 0 9px;
  color: var(--grow-text-secondary);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.grow-legal-section h3:first-child {
  margin-top: 0;
}

.grow-legal-section p,
.grow-legal-section li {
  color: var(--grow-text-secondary);
  font-size: clamp(0.86rem, 1.45vw, 0.94rem);
  line-height: 1.72;
}

.grow-legal-section p {
  margin-bottom: 15px;
}

.grow-legal-section p:last-child,
.grow-legal-section ul:last-child {
  margin-bottom: 0;
}

.grow-legal-section ul {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.grow-legal-section li::marker {
  color: var(--grow-mint);
}

.grow-legal-section a {
  color: var(--grow-mint);
  text-decoration-color: rgba(135, 231, 178, 0.38);
  text-underline-offset: 3px;
}

.grow-legal-section a:hover {
  color: var(--grow-mint-bright);
}

.grow-legal-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid rgba(135, 231, 178, 0.15);
  border-radius: 15px;
  background: rgba(135, 231, 178, 0.045);
}

.grow-legal-callout::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--grow-mint);
  content: "";
}

.grow-legal-callout p {
  margin: 0;
}

.grow-legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 22px 2px 0;
  border-top: 1px solid var(--grow-hairline);
  color: var(--grow-text-tertiary);
  font-size: 0.68rem;
}

.grow-legal-footer p {
  margin: 0;
}

.grow-legal-footer nav {
  display: flex;
  gap: 16px;
}

.grow-legal-footer a {
  color: var(--grow-text-secondary);
  text-decoration: none;
}

.grow-legal-footer a:hover {
  color: var(--grow-mint);
}

@media (max-width: 760px) {
  .grow-legal-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .grow-legal-header {
    min-height: 72px;
  }

  .grow-legal-brand img {
    width: 52px;
  }

  .grow-legal-actions a:first-child {
    display: none;
  }

  .grow-legal-actions a {
    min-height: 39px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 0.71rem;
  }

  .grow-legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 42px;
  }

  .grow-legal-intro {
    position: static;
  }

  .grow-legal-intro h1 {
    font-size: clamp(2.55rem, 14vw, 3.7rem);
  }

  .grow-legal-summary {
    margin-top: 16px;
    font-size: 0.86rem;
  }

  .grow-legal-toc {
    display: none;
  }

  .grow-legal-card {
    border-radius: 22px;
  }

  .grow-legal-section {
    padding: 24px 21px;
  }

  .grow-legal-section p,
  .grow-legal-section li {
    font-size: 0.86rem;
    line-height: 1.68;
  }

  .grow-legal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
}

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