:root {
  --primary: #5E4EF2;
  --primary-dark: #4638D8;
  --primary-soft: #EFEDFF;
  --text: #16152A;
  --muted: #6E6A86;
  --surface: #FFFFFF;
  --surface-soft: #F8F7FF;
  --border: #E6E3FF;
  --shadow: 0 24px 80px rgba(33, 25, 88, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94, 78, 242, 0.14), transparent 34rem),
    linear-gradient(180deg, #FFFFFF 0%, #FAF9FF 45%, #F5F3FF 100%);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 78, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 78, 242, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 28px;
}

.site-header,
.content,
.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(94, 78, 242, 0.16);
}

.brand-logo-wrap.is-empty::after {
  content: "H";
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 26px;
  color: #FFFFFF;
  background: var(--primary);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.page-intro {
  margin-top: 18px;
  padding: clamp(18px, 4vw, 38px) 2px 10px;
  color: var(--text);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 600;
  max-width: 760px;
}

.hero-description {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 500;
}

.last-updated {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-weight: 500;
}

.policy-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.toc-title {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}

.toc a {
  display: block;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.toc a:hover {
  color: var(--primary);
  background: #FFFFFF;
  transform: translateX(2px);
}

.policy-content {
  min-width: 0;
}

.policy-section {
  padding: 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}

.policy-section + .policy-section {
  margin-top: 10px;
}

.policy-section:target {
  border-color: var(--border);
  background: rgba(94, 78, 242, 0.045);
}

.policy-section h2 {
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 500;
}

.subtle-section h2 {
  color: var(--muted);
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  font-weight: 600;
}

.subtle-section p {
  font-size: 1rem;
}

.contact-section {
  background: linear-gradient(135deg, var(--primary-soft), #FFFFFF);
  border-color: var(--border);
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(94, 78, 242, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.email-button:hover {
  color: #FFFFFF;
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(94, 78, 242, 0.32);
}

.site-footer {
  padding: 30px 0 6px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 860px) {
  .page-shell {
    padding: 18px;
  }

  .policy-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 540px) {
  .brand-logo-wrap {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-tagline {
    font-size: 0.84rem;
  }

  .page-intro,
  .policy-section {
    padding: 24px;
  }

  .toc {
    display: none;
  }
}

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

/* Home page */
.home-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 78, 242, 0.15), transparent 34rem),
    linear-gradient(180deg, #FFFFFF 0%, #FAF9FF 55%, #F5F3FF 100%);
}

.home-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 32px 20px 22px;
}

.home-card {
  width: min(100%, 440px);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(24px, 5vw, 44px);
}

.home-logo-wrap {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 52px rgba(94, 78, 242, 0.18);
}

.home-logo-wrap.is-empty::after {
  content: "H";
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 48px;
  color: #FFFFFF;
  background: var(--primary);
}

.home-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-kicker {
  margin: 28px 0 8px;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 11vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.home-description {
  max-width: 340px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 18px 32px 19px 28px;
  min-width: 236px;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 18px 44px rgba(94, 78, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.play-button:hover {
  color: #FFFFFF;
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(94, 78, 242, 0.34);
}

.play-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: inline-flex;
}

.play-icon svg {
  width: 100%;
  height: 100%;
}

.play-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.play-button-small {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  opacity: 0.86;
}

.play-button-main {
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.1;
}

.home-footer {
  padding-top: 18px;
  text-align: center;
}

.home-footer a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.home-footer a:hover {
  color: var(--primary);
}
