:root {
  --paper: #efefef;
  --blue: #bcd5e7;
  --blue-soft: #d2dbe2;
  --ink: #25324a;
  --muted: #55657e;
  --deep: #2e3c5a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  text-transform: uppercase;
}

h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
}

p {
  margin: 0 0 0.85rem;
}

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

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

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 860px;
}

.content-page {
  min-height: 50vh;
}

.page-content-entry > *:first-child {
  margin-top: 0;
}

.page-content-entry .wp-block {
  max-width: 100%;
}

.page-content-entry .alignwide {
  width: min(1080px, 100%);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.page-content-entry .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.page-content-entry img {
  height: auto;
}

.section-blue {
  background: var(--blue);
}

.section-muted {
  background: var(--blue-soft);
  padding: 3.4rem 0;
}

.section-light {
  background: var(--paper);
  padding: 3.6rem 0;
}

.topbar {
  border-bottom: 1px solid rgba(37, 50, 74, 0.16);
  background: var(--paper);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.55rem 0;
}

.top-logo {
  display: inline-flex;
  align-items: center;
  max-width: min(240px, 42vw);
  padding: 0.25rem 0.2rem 0.25rem 0;
  flex-shrink: 0;
}

.top-logo img {
  width: 100%;
}

.top-nav {
  display: flex;
  align-items: center;
}

.top-nav-list {
  display: flex;
  gap: 1rem;
  font-size: 0.66rem;
  color: #7f8ea4;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav-list a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(37, 50, 74, 0.2);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.hero {
  padding: 2.8rem 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: stretch;
}

.hero-copy {
  max-width: 560px;
  align-self: center;
}

.hero-sub {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy p {
  color: #3f506a;
  font-size: 0.82rem;
  max-width: 66ch;
}

.hero-visual {
  justify-self: center;
  width: min(440px, 100%);
  align-self: end;
}

.hero-visual img {
  width: 100%;
}

.btn-dark,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.3rem 0.95rem;
  border-radius: 4px;
  font-size: 0.67rem;
  font-weight: 700;
}

.btn-dark {
  background: var(--deep);
  color: var(--white);
}

.btn-light {
  border: 1px solid rgba(37, 50, 74, 0.22);
  background: rgba(255, 255, 255, 0.5);
  color: #536381;
}

.intro p {
  color: #5e6d85;
  font-size: 0.82rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.55rem;
  color: #4d5f78;
  font-size: 0.82rem;
}

.tick-list li::before {
  content: "◌";
  position: absolute;
  left: 0;
  top: 0;
  color: #7f93ad;
}

.quote-box {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 0.55rem 0.7rem;
  font-size: 0.76rem;
  color: #60728b;
  border: 1px solid rgba(37, 50, 74, 0.1);
  max-width: 500px;
}

.visual-wrap {
  justify-self: center;
  width: min(370px, 100%);
}

.process .cards-3 {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-card {
  background: #f8f9fb;
  border: 1px solid rgba(37, 50, 74, 0.12);
  border-radius: 8px;
  padding: 0.95rem;
}

.step-card p {
  margin: 0;
  font-size: 0.76rem;
  color: #5f7089;
}

.icon-chip {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #c0d6e7;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  color: #2f3e5f;
  margin-bottom: 0.5rem;
}

.button-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.profile-grid {
  align-items: center;
}

.seal-wrap {
  display: flex;
  justify-content: center;
}

.seal {
  width: min(260px, 72vw);
}

.profile p {
  color: #586981;
  font-size: 0.82rem;
}

.standards .pill-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.pill {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 50, 74, 0.1);
  color: #61728b;
  border-radius: 4px;
  padding: 0.28rem 0.55rem;
  font-size: 0.74rem;
  text-align: left;
}

.join-footer {
  padding-top: 2.2rem;
}

.footer-cta {
  align-items: center;
}

.join-visual {
  justify-self: center;
  width: min(240px, 100%);
}

.deep-footer {
  margin-top: 1.2rem;
  background: #253654;
  color: #ccdae8;
}

.deep-footer-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  font-size: 0.74rem;
}

.section-focus {
  animation: sectionFocus 700ms ease-out;
}

@keyframes sectionFocus {
  0% {
    box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.22);
  }
  100% {
    box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0);
  }
}

@media (max-width: 850px) {
  .top-logo {
    max-width: min(190px, 56vw);
    padding: 0.2rem 0.15rem 0.2rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .top-nav {
    position: relative;
  }

  .top-nav-list {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 52px;
    display: none;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid rgba(37, 50, 74, 0.16);
    border-radius: 8px;
    padding: 0.6rem;
    z-index: 20;
  }

  .top-nav-list.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .process .cards-3,
  .standards .pill-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin: 0 auto;
  }
}
