:root {
  --navy: #11283b;
  --navy-deep: #0b1c2a;
  --blue: #1f4468;
  --blue-soft: #eaf0f5;
  --orange: #e7731f;
  --orange-dark: #bd5005;
  --ink: #15293b;
  --muted: #5d6f80;
  --line: #d8e1e8;
  --paper: #f7f8fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 40, 59, 0.14);
  --radius: 20px;
  --wrap: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.055em;
}

.brand-subtitle {
  margin-top: 7px;
  color: var(--orange-dark);
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  gap: 26px;
}

.site-nav a,
.site-footer a {
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--orange-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  min-height: 680px;
  padding-block: 70px 100px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.75rem, 5.8vw, 5.4rem);
  font-weight: 780;
  line-height: 1.01;
  letter-spacing: -0.057em;
}

.hero-lead {
  max-width: 740px;
  margin: 30px 0 0;
  color: #344b5f;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.status-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  max-width: 730px;
  margin-top: 28px;
  padding: 19px 22px;
  color: #31485c;
  background: var(--blue-soft);
  border: 1px solid #dce6ee;
  border-radius: 14px;
}

.status-note p {
  margin: 0;
}

.status-dot {
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(231, 115, 31, 0.14);
}

.hero-actions,
.section-actions,
.mobile-deck-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--orange-dark);
  box-shadow: 0 10px 24px rgba(198, 87, 11, 0.19);
}

.button-primary:hover {
  background: #ad4b09;
  box-shadow: 0 13px 28px rgba(198, 87, 11, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: #aebcc7;
}

.button-secondary:hover {
  background: var(--white);
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 50px);
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-card::before {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: -130px;
  background: rgba(231, 115, 31, 0.1);
  border: 1px solid rgba(231, 115, 31, 0.25);
  border-radius: 50%;
  content: "";
}

.process-kicker {
  margin: 0 0 29px;
  color: #ff943f;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-list {
  position: relative;
  display: grid;
  gap: 27px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 17px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: start;
  gap: 17px;
}

.step-number {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  background: var(--orange);
  font-weight: 800;
}

.process-list strong,
.process-list small {
  display: block;
}

.process-list strong {
  margin-top: 1px;
  font-size: 1.04rem;
}

.process-list small {
  margin-top: 2px;
  color: #b9c7d4;
  font-size: 0.83rem;
  line-height: 1.45;
}

.proof-strip {
  color: var(--white);
  background: var(--navy);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 38px;
}

.proof-grid article {
  min-height: 100px;
  padding: 9px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-grid article:first-child {
  padding-left: 0;
}

.proof-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-value {
  display: block;
  color: #ff8b36;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 790;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.proof-grid p {
  max-width: 260px;
  margin: 7px 0 0;
  color: #cfdae3;
  font-size: 0.94rem;
  line-height: 1.45;
}

.deck-section {
  padding-block: 110px 120px;
  scroll-margin-top: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.text-link {
  color: var(--blue);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.deck-frame {
  overflow: hidden;
  padding: 10px;
  background: var(--navy-deep);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.deck-object {
  width: 100%;
  height: min(78vh, 850px);
  min-height: 620px;
  background: #e8edf1;
  border: 0;
  border-radius: 10px;
}

.viewer-fallback {
  display: grid;
  min-height: 520px;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 30px;
  text-align: center;
}

.mobile-deck-fallback {
  display: none;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 80px;
  padding: clamp(34px, 5vw, 64px);
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
}

.contact-section h2 {
  max-width: 760px;
  color: var(--white);
}

.eyebrow-light {
  color: #ff9a50;
}

.button-light {
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(3, 17, 27, 0.18);
}

.button-light:hover {
  background: #fff5ed;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 28px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

/* Legal and error pages */
.simple-main {
  min-height: calc(100vh - 190px);
  padding-block: 70px 110px;
}

.legal-document {
  max-width: 780px;
}

.legal-document h1,
.error-page h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-document h2 {
  margin: 48px 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.3;
}

.legal-document h3 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.legal-document p,
.legal-document address,
.legal-document ul {
  margin: 0 0 18px;
  color: #43586a;
}

.legal-document address {
  font-style: normal;
}

.legal-document a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.legal-document .updated {
  margin-top: 52px;
  color: var(--muted);
  font-size: 0.88rem;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 210px);
  place-content: center;
  justify-items: start;
}

.error-code {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.error-page p:not(.error-code) {
  max-width: 580px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 55px 80px;
  }

  .process-card {
    max-width: 680px;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  :root {
    --wrap: min(680px, calc(100% - 32px));
  }

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

  .proof-grid article,
  .proof-grid article:first-child,
  .proof-grid article:last-child {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .proof-grid p {
    max-width: none;
  }

  .deck-section {
    padding-block: 82px 90px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .deck-frame {
    padding: 7px;
  }

  .deck-object {
    display: none;
  }

  .mobile-deck-fallback {
    display: block;
    overflow: hidden;
    background: var(--white);
    border-radius: 11px;
  }

  .mobile-deck-fallback img {
    width: 100%;
    height: auto;
  }

  .mobile-deck-actions {
    padding: 24px;
  }

  .mobile-deck-actions p {
    flex: 0 0 100%;
    margin: 0 0 4px;
    color: var(--muted);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-block: 22px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-block: 42px 65px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .status-note {
    padding: 17px;
  }

  .hero-actions,
  .mobile-deck-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .mobile-deck-actions .button {
    width: 100%;
  }

  .process-card {
    padding: 27px 22px;
  }

  .process-list {
    gap: 23px;
  }

  .section-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-section {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }

  .button-light {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-main {
    padding-block: 48px 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
