:root {
  --ink: #111513;
  --muted: #5f6862;
  --line: #e3e8ef;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --blue: #0b3a75;
  --blue-2: #082b57;
  --blue-3: #0b2447;
  --gold: #b58a42;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(10, 38, 78, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(10, 38, 78, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
}

.brand img {
  display: block;
  width: 300px;
  height: auto;
}

.main-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: clamp(18px, 5vw, 64px);
  width: min(280px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(5, 25, 56, 0.24);
}

.main-nav.is-open {
  display: grid;
}

.main-nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 4px;
  color: var(--blue);
}

.main-nav a:hover {
  background: var(--soft);
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
}

.menu-toggle[aria-expanded="true"] {
  background: var(--gold);
  border-color: var(--gold);
}

.menu-toggle[aria-expanded="true"] span {
  background: var(--blue-3);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 750;
}

.nav-cta {
  color: var(--white);
  background: var(--blue);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}

.button.ghost {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.78fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  overflow: visible;
  color: var(--ink);
  padding: 144px clamp(18px, 6vw, 82px) 70px;
  background: var(--white);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: auto;
  margin-left: 0;
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

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

.hero-aside {
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-panel-heading {
  display: grid;
  gap: 12px;
  padding: 26px 28px 18px;
}

.hero-panel-heading span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel-heading strong {
  max-width: 440px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 4px 28px 26px;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.hero-aside img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-stat {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-top: 4px solid var(--blue);
}

.hero-stat span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stat strong {
  color: var(--blue);
  font-size: 18px;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.cred-strip div {
  min-height: 126px;
  padding: 30px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

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

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

.cred-strip strong {
  margin-bottom: 8px;
  color: var(--blue);
}

.cred-strip span,
.section p,
.proof-grid span,
.portal-copy p,
.portal-note span,
.contact-section p,
footer {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 6vw, 82px);
}

.page-hero {
  padding: 138px clamp(18px, 6vw, 82px) 58px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero h1,
.portal-copy h1,
.newsletter-section h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow),
.newsletter-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.page-section {
  padding-top: 138px;
}

.preview-section {
  background: var(--soft);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.summary-card {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.summary-card span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.summary-card h3 {
  color: var(--blue);
}

.summary-card p {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  grid-template-columns: minmax(180px, 0.45fr) minmax(320px, 1fr);
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 340px;
  padding: 30px;
  background: var(--white);
}

.service-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.tabs-section {
  background: var(--white);
}

.tab-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.tab-list {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 92px;
}

.info-tab {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 16px;
  color: var(--blue);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.info-tab.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.tab-content {
  min-height: 430px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 52px);
}

.info-panel {
  display: none;
  max-width: 900px;
}

.info-panel.is-active {
  display: block;
}

.info-panel h3 {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.info-panel p {
  max-width: 820px;
  font-size: 17px;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-list div {
  min-height: 210px;
  padding: 22px;
  background: var(--paper);
}

.team-list strong,
.team-list span {
  display: block;
}

.team-list strong {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 20px;
}

.team-list span {
  color: var(--muted);
  line-height: 1.6;
}

.history-section {
  background: var(--white);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.history-grid article {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
}

.history-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.history-grid h3 {
  color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  background: var(--soft);
  color: var(--ink);
}

.split p {
  color: var(--muted);
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline div {
  display: grid;
  grid-template-columns: 48px 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #f5d89a;
  border: 1px solid rgba(181, 138, 66, 0.44);
  font-weight: 800;
}

.timeline strong {
  font-size: 20px;
}

.timeline p {
  margin: 0;
}

.proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  background: var(--white);
}

.quote p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.quote span {
  color: var(--blue);
  font-weight: 800;
}

.proof-grid {
  display: grid;
  gap: 18px;
}

.proof-grid div {
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 21, 19, 0.18);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 19px;
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(70px, 10vw, 128px) clamp(18px, 6vw, 82px);
  background: var(--paper);
}

.portal-copy {
  align-self: start;
  position: sticky;
  top: 96px;
}

.portal-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.portal-note strong,
.portal-note span {
  display: block;
}

.portal-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.step {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.step.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.portal-step {
  display: none;
}

.portal-step.is-active {
  display: grid;
  gap: 16px;
}

legend {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(181, 138, 66, 0.22);
  border-color: var(--gold);
}

.plans {
  display: grid;
  gap: 12px;
}

.plan-card {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.plan-card:has(input:checked) {
  border-color: var(--blue);
  background: #eef4fb;
}

.plan-card input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.plan-card strong,
.plan-card small,
.plan-card b {
  display: block;
}

.plan-card strong {
  color: var(--ink);
  font-size: 18px;
}

.plan-card small {
  margin: 5px 0 14px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.plan-card b {
  color: var(--blue);
  font-size: 22px;
}

.summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--paper);
}

.summary span {
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  padding: clamp(70px, 10vw, 112px) clamp(18px, 6vw, 82px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.newsletter-section p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.newsletter-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(10, 38, 78, 0.08);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px clamp(18px, 6vw, 82px);
  color: var(--white);
  background: var(--blue);
}

.contact-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-section .eyebrow {
  color: #f5d89a;
}

.contact-section .button.primary {
  color: var(--ink);
  background: #f5d89a;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 82px);
  background: #101412;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 124px;
  }

  .section-heading,
  .section-heading.compact,
  .split,
  .proof,
  .portal-section,
  .newsletter-section,
  .tab-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .cred-strip,
  .history-grid,
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-copy {
    position: static;
  }

  .tab-list {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-content {
    min-height: 0;
    border-left: 0;
    padding-left: 0;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
    padding: 6px 8px;
  }

  .brand img {
    width: min(228px, 54vw);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 112px 16px 54px;
  }

  .hero-content {
    width: auto;
    margin: 0;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .cred-strip,
  .service-grid,
  .history-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

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

  .section,
  .portal-section,
  .newsletter-section {
    padding: 58px 16px;
  }

  .page-hero {
    padding: 112px 16px 54px;
  }

  .page-section {
    padding-top: 112px;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 26px;
  }

  .timeline div {
    grid-template-columns: 44px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }

  .portal-panel {
    padding: 18px;
  }

  .steps,
  .field-row,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .contact-section,
  footer {
    display: grid;
  }
}
