:root {
  --ink: #081d41;
  --ink-soft: #476180;
  --paper: #f6f9ff;
  --paper-deep: #e9f1ff;
  --white: #ffffff;
  --line: #d3e1f5;
  --teal: #2563eb;
  --teal-deep: #123f9d;
  --gold: #38bdf8;
  --gold-soft: #cbeaff;
  --max-width: 1160px;
  --narrow-width: 760px;
  --shadow: 0 20px 60px rgba(8, 29, 65, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 6px;
  transform: translateY(-150%);
}

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

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(var(--narrow-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid rgba(16, 44, 56, 0.1);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-wrap {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 4px;
  width: 24px;
  height: 24px;
  padding: 2px;
  transform: rotate(-8deg);
}

.brand-mark i {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  background: var(--gold);
}

.brand-mark i:nth-child(4) {
  background: linear-gradient(135deg, #071a3b 0%, #0b3b91 58%, #176dd5 100%);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(203, 234, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -190px;
  right: 3%;
}

.hero::after {
  right: -100px;
  bottom: -245px;
  width: 500px;
  height: 500px;
  border-color: rgba(94, 210, 255, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  min-height: 620px;
  padding-top: 92px;
  padding-bottom: 108px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--gold-soft);
}

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

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

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

.lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 253, 250, 0.78);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover {
  background: #e9af61;
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 253, 250, 0.3);
}

.button-quiet:hover {
  background: rgba(255, 253, 250, 0.1);
}

.quiet-note {
  margin: 34px 0 0;
  color: rgba(255, 253, 250, 0.5);
  font-size: 0.78rem;
}

.hero-card {
  position: relative;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.card-top,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.card-top {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.card-label,
.card-index,
.card-footer {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal {
  position: relative;
  height: 190px;
  margin: 20px 0 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #123f9d, #1c64d8);
}

.signal::before,
.signal::after {
  position: absolute;
  content: "";
}

.signal::before {
  inset: 24px;
  border: 1px solid rgba(255, 253, 250, 0.22);
}

.signal::after {
  right: 22%;
  bottom: 17%;
  width: 44%;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 -58px 0 rgba(203, 234, 255, 0.58), 0 29px 0 rgba(203, 234, 255, 0.38);
  transform: rotate(-28deg);
  transform-origin: right center;
}

.signal-ring {
  position: absolute;
  top: 28px;
  left: 26px;
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
}

.signal-dot {
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.signal-dot-one { top: 65px; left: 63px; }
.signal-dot-two { right: 22%; bottom: 27%; background: var(--paper); }
.signal-dot-three { top: 25%; right: 16%; width: 7px; height: 7px; background: #8ce5ff; }

.hero-card h2 {
  max-width: 320px;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.hero-card p {
  max-width: 300px;
  margin-bottom: 34px;
  color: var(--ink-soft);
}

.card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card-arrow {
  color: var(--teal);
  font-size: 1.2rem;
}

.section {
  padding: clamp(84px, 11vw, 150px) 0;
}

.split-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 10vw, 150px);
}

.section-heading h2,
.section-intro h2,
.principles-grid h2,
.contact-panel h2 {
  max-width: 520px;
}

.section-copy {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-copy p + p {
  margin-top: 22px;
}

.detail-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.detail-line,
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.detail-label {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-tinted {
  background: var(--paper-deep);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.section-intro p:last-child {
  max-width: 360px;
  margin: 0 0 5px auto;
  color: var(--ink-soft);
}

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

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

.service-number {
  display: block;
  margin-bottom: 74px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-card p {
  max-width: 280px;
  margin: 0;
  color: var(--ink-soft);
}

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

.section-dark .eyebrow,
.section-dark .eyebrow-light {
  color: var(--gold-soft);
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 10vw, 150px);
  align-items: start;
}

.principles-list {
  border-top: 1px solid rgba(255, 253, 250, 0.25);
}

.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 250, 0.25);
}

.principle span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.principle p {
  margin: 0;
  font-size: 1.1rem;
}

.section-copy-short {
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-card {
  align-self: end;
  padding: 20px 24px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(16, 44, 56, 0.08);
  font-style: normal;
}

.contact-row:first-child {
  padding-top: 5px;
}

.contact-row:last-child {
  padding-bottom: 5px;
  border-bottom: 0;
}

.contact-row a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.placeholder {
  color: var(--ink-soft);
  font-style: italic;
  text-align: right;
}

.site-footer {
  padding: 28px 0;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer nav {
  gap: 20px;
}

.legal-hero {
  padding: 92px 0 68px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal-hero > .narrow > p:last-child {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

.legal-content {
  color: var(--ink-soft);
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--teal-deep);
  font-weight: 650;
  text-underline-offset: 4px;
}

.placeholder-note {
  padding: 16px 18px;
  color: var(--ink);
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
}

.not-found {
  min-height: 62vh;
  display: grid;
  align-items: center;
}

.not-found h1 {
  font-size: clamp(3.3rem, 8vw, 6rem);
}

.not-found p:not(.eyebrow) {
  max-width: 460px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.not-found .button-primary {
  color: var(--white);
  background: var(--teal-deep);
}

.not-found .button-primary:hover {
  background: var(--teal);
}

@media (max-width: 820px) {
  .hero-grid,
  .split-grid,
  .contact-panel,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
    padding-top: 76px;
  }

  .hero-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-intro p:last-child {
    margin: 0;
  }

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

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

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

  .contact-card {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 86px;
  }

  .hero-card {
    padding: 20px;
    transform: none;
  }

  .detail-line,
  .contact-row {
    display: grid;
    gap: 6px;
  }

  .placeholder {
    text-align: left;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .legal-hero {
    padding: 70px 0 50px;
  }
}

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

  .button {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button,
  .skip-link {
    display: none;
  }

  .legal-hero,
  .legal-section {
    background: #fff;
  }
}
