:root {
  --bg: #ffffff;
  --ink: #172033;
  --muted: #5b6575;
  --line: #d9dee7;
  --soft: #f4f6f9;
  --soft-blue: #edf3f8;
  --navy: #102a43;
  --blue: #265b87;
  --blue-dark: #183e5f;
  --accent: #8a6f3d;
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  text-decoration: underline;
}

svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 240px;
}

.brand:hover {
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark svg path:first-child {
  fill: var(--soft-blue);
  stroke: var(--blue-dark);
  stroke-width: 2;
}

.brand-mark svg path:last-child {
  fill: none;
  stroke: var(--blue-dark);
  stroke-linecap: round;
  stroke-width: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.93rem;
}

.site-nav a {
  color: var(--ink);
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.page-hero {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2)) 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: 3.75rem;
}

h2 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.1rem;
}

.subtitle {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.38rem;
  line-height: 1.45;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--blue-dark);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--blue-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--blue-dark);
}

.button.is-disabled {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}

.fact-list {
  margin: 0;
}

.fact-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.fact-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--max);
  margin: 0 auto 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.trust-strip div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
}

.section.compact {
  padding-top: 56px;
  padding-bottom: 56px;
}

.tinted {
  background: var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
}

.prose {
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process article,
.credibility-grid article,
.person,
.faq-grid article,
.document-list article,
.form-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.process article {
  min-height: 230px;
  padding: 22px;
}

.process span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.process p,
.credibility-grid p,
.person p,
.faq-grid p,
.document-list p {
  color: var(--muted);
}

.credibility-grid,
.faq-grid,
.document-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.credibility-grid article,
.faq-grid article,
.document-list article {
  padding: 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}

.timeline div {
  padding-top: 20px;
}

.timeline time,
.timeline strong,
.timeline span {
  display: block;
}

.timeline time {
  color: var(--blue-dark);
  font-weight: 700;
}

.timeline strong {
  margin-top: 6px;
  color: var(--navy);
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.person {
  grid-column: span 2;
  padding: 20px;
}

.person:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.person:last-child {
  grid-column: 4 / span 2;
}

.person h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.person .role {
  color: var(--ink);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  font-style: normal;
}

.contact-card strong {
  color: var(--navy);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero h1 {
  font-size: 3.3rem;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: start;
}

.check-list {
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 8px;
}

.embedded-form {
  position: sticky;
  top: 108px;
}

.form-placeholder {
  padding: 28px;
}

.form-section {
  padding-top: 0;
}

.primary-form-section {
  padding-top: 56px;
}

.form-section h2 {
  max-width: 760px;
  margin-bottom: 22px;
}

.narrow-prose {
  max-width: 760px;
}

.private-header {
  position: static;
}

.questionnaire-hero {
  padding: 64px max(24px, calc((100vw - var(--max)) / 2)) 28px;
}

.questionnaire-hero h1 {
  margin-bottom: 0;
  font-size: 3.3rem;
}

.questionnaire-form {
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
}

.questionnaire-form iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  border: 0;
}

.questionnaire-information {
  padding: 56px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  border-top: 1px solid var(--line);
}

.questionnaire-notice {
  padding: 24px 26px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}

.questionnaire-notice h2 {
  margin-bottom: 8px;
}

.questionnaire-notice p {
  margin-bottom: 0;
}

.questionnaire-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 56px;
  margin-top: 48px;
}

.questionnaire-details p {
  color: var(--muted);
}

.domain-list {
  columns: 2;
  margin: 24px 0 0;
  padding-left: 28px;
}

.domain-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  padding-left: 6px;
}

.private-footer {
  justify-content: flex-start;
}

.embedded-frame {
  min-height: 620px;
  background: #fff;
  overflow: hidden;
}

.embedded-frame iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 760px;
  border: 0;
}

.embedded-frame.is-empty {
  display: grid;
  place-items: center;
  padding: 36px;
  text-align: center;
}

.embedded-frame.is-empty p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 42, 67, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .two-column,
  .contact-section,
  .registration-layout,
  .questionnaire-details {
    grid-template-columns: 1fr;
  }

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

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

  .person,
  .person:nth-last-child(2),
  .person:last-child {
    grid-column: auto;
  }

  .credibility-grid,
  .faq-grid,
  .document-list,
  .timeline,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .embedded-form {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero,
  .page-hero,
  .section,
  .questionnaire-hero,
  .questionnaire-information {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero,
  .page-hero {
    padding-top: 58px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.12rem;
  }

  .questionnaire-hero h1 {
    font-size: 2rem;
  }

  .questionnaire-form iframe {
    min-height: 1000px;
  }

  .domain-list {
    columns: 1;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 22px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .process article {
    min-height: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    flex-wrap: wrap;
    margin-top: 14px;
  }
}
