@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fafbff;
  --white: #fff;
  --ink: #17233f;
  --muted: #596580;
  --line: #e0e5f0;
  --accent: #4057e8;
  --accent-hover: #3144c8;
  --pale-blue: #bac7ff;
  --peach: #fff0e7;
  --lavender: #f0ecff;
  --mint: #e9f6ef;
  --radius: 24px;
  --display: "Space Grotesk", "Manrope", sans-serif;
  --gradient: linear-gradient(110deg, #4057e8, #8650c8);
  --shadow: 0 18px 50px -24px #293e7340;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #dcd6ff;
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--accent);
}

:is(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}

button, input, textarea, select {
  font: inherit;
}

button, summary {
  cursor: pointer;
}

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

img {
  height: auto;
}

p, figure {
  margin: 0;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

address {
  font-style: normal;
}

.wrap {
  width: min(1240px, calc(100% - 6rem));
  margin-inline: auto;
}

.gradient-text, .accent {
  color: var(--accent);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tone-peach {
  background: var(--peach);
}

.tone-lavender {
  background: var(--lavender);
}

.tone-mint {
  background: var(--mint);
}

.eyebrow, .small-label {
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.7;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: #62638d;
}

.small-label {
  color: var(--muted);
}

.icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.button {
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  box-shadow: 0 6px 18px -10px #4057e888;
  text-align: center;
}

.button:hover {
  background: var(--accent-hover);
  color: white;
  box-shadow: 0 10px 25px -12px #4057e8a0;
}

.button-outline {
  border-color: #d6d9ed;
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.button-outline:hover {
  background: var(--lavender);
  color: var(--accent);
}

.button-light {
  background: white;
  color: var(--ink);
}

.button-light:hover {
  background: #e9eaff;
  color: var(--accent);
}

.text-link {
  min-height: 44px;
}

.text-link:hover {
  text-decoration: underline;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: white;
}

.skip-link:focus {
  top: 1rem;
}

/* One shared navigation layout for every page. */
.site-header {
  position: relative;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid #e2e6f1b0;
  background: #fafbfff5;
  backdrop-filter: blur(18px);
}

.site-header.menu-enhanced {
  position: sticky;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: 234px;
}

.main-nav, .nav-links {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 1.4rem;
}

.nav-links {
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  background: #eceeff;
  color: #3f4cbc;
}

.nav-contact {
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  font-size: 0.79rem;
}

.nav-contact[aria-current="page"] {
  box-shadow: 0 0 0 3px #d9dcff;
}

.nav-note {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 0.78rem;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 10px;
  border-block: 1.5px solid currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  height: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 18px;
  border-top: 1.5px solid currentColor;
  content: "";
  transform: rotate(90deg);
}

/* Shared sections and editorial layouts. */
.section {
  padding-block: 5.5rem;
}

.section-heading {
  margin-bottom: 2.75rem;
}

.heading-with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.heading-aside {
  max-width: 330px;
  color: var(--muted);
  font-size: 0.92rem;
}

.heading-aside .text-link {
  margin-top: 0.6rem;
  color: var(--ink);
}

.section-copy {
  max-width: 480px;
  margin-block: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-surface {
  position: relative;
  overflow: clip;
  background: linear-gradient(130deg, #f2edff, #edf3ff 60%, #f6eee8);
}

.page-intro {
  padding-block: 5.5rem;
}

.lead {
  max-width: 580px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-centered {
  text-align: center;
}

.intro-centered .lead {
  max-width: 630px;
  margin-inline: auto;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 6rem;
}

.editorial-copy p {
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.editorial-copy .lead-paragraph {
  color: var(--ink);
  font-size: 1.15rem;
}

.editorial-copy h3 {
  margin-bottom: 0.7rem;
}

.editorial-copy h3:not(:first-child) {
  margin-top: 2rem;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list span {
  padding: 0.4rem 0.75rem;
  border: 1px solid #9fa9c033;
  border-radius: 30px;
  background: #ffffff80;
  color: #536079;
  font-size: 0.68rem;
}

figcaption {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

/* The closing invitation leads into a structured, consistent footer. */
.cta-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
  margin-block: 1rem 6rem;
  padding: 4rem;
  border-radius: 30px;
  background: linear-gradient(115deg, #263770, #4e438f 63%, #775a9d);
  color: white;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-section .eyebrow {
  color: #d0c8ff;
}

.cta-section h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.cta-section h2 em {
  color: #fbd2b0;
  font-style: normal;
}

.cta-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 1.25rem;
  color: #e0ddf0;
  font-size: 0.91rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.email-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  max-width: 100%;
  font-size: 0.8rem;
}

.email-links a {
  white-space: nowrap;
}

.cta-actions .email-links {
  flex-basis: 100%;
  color: #e7e3ff;
}

.cta-actions .email-links a:hover {
  color: white;
}

.cta-section a:focus-visible, .site-footer a:focus-visible {
  outline-color: #cfc5ff;
}

.cta-orbit {
  position: absolute;
  top: -125px;
  right: -155px;
  width: 560px;
  height: 560px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  box-shadow: 0 0 0 60px #ffffff06, 0 0 0 120px #ffffff04;
}

.cta-symbol {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 170px;
  text-align: center;
}

.cta-symbol > span:first-child {
  color: #f5bda1;
  font-size: 9rem;
  line-height: 1;
}

.cta-symbol > span:last-child {
  color: #e0d8ed;
  font-size: 0.8rem;
}

.site-footer {
  padding-top: 4.25rem;
  background: #17233f;
  color: #c6cee3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-intro .brand img {
  width: 234px;
}

.footer-intro p {
  margin-block: 1.2rem;
  font-size: 0.82rem;
}

.footer-domain {
  font-family: var(--display);
  color: #f4cdb5;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links, .footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-main .small-label {
  margin-block: 0.6rem 1rem;
  color: #a3b6df;
}

.footer-links a, .footer-contact a {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.78rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact .footer-contact-link {
  gap: 0.7rem;
  margin-top: 0.75rem;
  color: #f2f3ff;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid #ffffff19;
  font-size: 0.7rem;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom a {
  padding-block: 0.5rem;
  text-decoration: none;
}

.error-page {
  min-height: 65vh;
  padding-block: 6rem;
}

.error-page > p:not(.eyebrow) {
  margin-block: 1.5rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 4rem);
  }

  .brand img {
    width: 208px;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .nav-link {
    padding-inline: 0.6rem;
  }

  .split-section {
    gap: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1.9fr;
    gap: 2rem;
  }

  .footer-intro {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ffffff19;
  }

  .footer-intro p {
    margin: 0;
  }
}

.nav-account {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.notice-stack {
  margin-block: 1.5rem;
}

.notice {
  margin-block: 0.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #cad5ed;
  border-radius: 12px;
  background: #edf1ff;
  font-size: 0.88rem;
}

.notice-error {
  border-color: #efc2c8;
  background: #fff3f4;
  color: #a52d39;
}

.notice-success {
  border-color: #bddcca;
  background: var(--mint);
  color: #246044;
}

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 80px;
    padding-block: 0.8rem;
  }

  .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-block: 1rem;
  }

  .menu-enhanced .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 0.3rem;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0.7rem 1rem;
  }

  .nav-contact {
    justify-content: space-between;
    width: 100%;
  }

  .nav-account {
    padding-inline: 1rem;
  }

  .nav-note {
    display: block;
    padding-inline: 0.25rem;
    color: var(--muted);
    font-size: 0.72rem;
  }
}

@media (max-width: 960px) {
  .section, .page-intro {
    padding-block: 4rem;
  }

  .cta-section {
    padding: 3rem;
    margin-bottom: 4rem;
  }

  .cta-symbol {
    min-width: 100px;
  }

  .cta-symbol > span:first-child {
    font-size: 7rem;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 2.5rem);
  }

  .brand img {
    width: 193px;
  }

  .menu-toggle {
    gap: 0.6rem;
    padding-inline: 0.6rem;
  }

  .section, .page-intro {
    padding-block: 3.5rem;
  }

  .heading-with-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
    margin-top: 0;
    border-radius: 22px;
  }

  .cta-symbol {
    display: none;
  }

  .cta-orbit {
    opacity: 0.4;
  }

  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .site-footer {
    padding-top: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
    padding-bottom: 2.5rem;
  }

  .footer-intro {
    display: block;
    padding-bottom: 2rem;
  }

  .footer-intro p {
    margin-block: 1rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid #ffffff19;
  }

  .footer-links a, .footer-contact a {
    min-height: 44px;
    font-size: 0.75rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 175px;
  }

  .menu-toggle {
    padding-inline: 0.5rem;
  }
}
