:root {
  --background: #f8f9fe;
  --background-accent: #eceef3;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #191c1f;
  --muted: #566074;
  --primary: #0040a1;
  --primary-bright: #0056d2;
  --secondary: #5f00e3;
  --outline: rgba(115, 119, 133, 0.18);
  --outline-strong: rgba(115, 119, 133, 0.28);
  --shadow: 0 30px 80px rgba(0, 64, 161, 0.12);
  --hero-gradient: radial-gradient(circle at top right, rgba(233, 221, 255, 0.92) 0%, rgba(248, 249, 254, 0.96) 46%, rgba(218, 226, 255, 0.95) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(95, 0, 227, 0.08), transparent 32%),
    linear-gradient(180deg, #fcfcff 0%, var(--background) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(225, 226, 231, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Noto Serif", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #12306c;
}

.brand-tag {
  margin-top: 0.1rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 150ms ease;
}

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

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 86, 210, 0.22);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 2.5rem;
  background: var(--hero-gradient);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(22px);
}

.page-hero::before {
  top: 1.5rem;
  right: min(6vw, 4rem);
  width: 13rem;
  height: 13rem;
  background: rgba(95, 0, 227, 0.12);
}

.page-hero::after {
  left: -4rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  background: rgba(0, 86, 210, 0.12);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(95, 0, 227, 0.15);
  border-radius: 999px;
  background: rgba(95, 0, 227, 0.06);
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-title {
  margin: 1.15rem 0 1rem;
  font-family: "Noto Serif", serif;
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--primary);
}

.hero-copy {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.hero-note,
.info-card,
.content-panel,
.footer-card {
  border: 1px solid var(--outline);
  border-radius: 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-note {
  padding: 1.35rem;
}

.hero-note h2,
.info-card h2,
.content-panel h2,
.content-panel h3,
.footer-card h2,
.footer-card h3 {
  margin: 0 0 0.85rem;
  font-family: "Noto Serif", serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero-note p,
.info-card p,
.content-panel p,
.content-panel li,
.footer-card p,
.footer-card li {
  color: var(--muted);
  line-height: 1.75;
}

.note-list {
  margin: 0;
  padding-left: 1.1rem;
}

.page-main {
  padding: 0 0 5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 1.5rem;
  margin-top: -0.5rem;
}

.content-panel,
.info-card {
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.prose h1,
.prose h2,
.prose h3,
.xpercall-page-body h1,
.xpercall-page-body h2,
.xpercall-page-body h3,
.xpercall-page-body h4 {
  color: var(--text);
  font-family: "Noto Serif", serif;
  line-height: 1.25;
}

.prose h2,
.xpercall-page-body h2,
.xpercall-page-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.prose p,
.prose li,
.xpercall-page-body p,
.xpercall-page-body li {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.prose ul,
.prose ol,
.xpercall-page-body ul,
.xpercall-page-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose strong,
.xpercall-page-body strong {
  color: var(--text);
}

.prose a,
.xpercall-page-body a,
.link-inline {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.prose img,
.xpercall-page-body img {
  border-radius: 1rem;
}

.policy-embed .xpercall-page > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading-state,
.support-note,
.meta-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.meta-note {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 64, 161, 0.06);
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.mini-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(195, 198, 214, 0.5);
}

.mini-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--outline-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.support-card {
  padding: 1.15rem;
  border: 1px solid rgba(195, 198, 214, 0.6);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
}

.support-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, 0.42fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.footer-card p,
.footer-card li {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.footer-legal {
  margin-top: 1rem;
  color: #798296;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .content-grid,
  .footer-card {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-row {
    padding: 0.95rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-hero {
    padding-top: 4.75rem;
  }

  .hero-aside,
  .support-grid {
    grid-template-columns: 1fr;
  }
}