:root {
  --navy: #0d1a2d;
  --navy-deep: #081321;
  --orange: #ff851a;
  --orange-soft: #ffae68;
  --white: #ffffff;
  --soft-white: #fafaf7;
  --slate: #6b788b;
  --line-light: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(13, 26, 45, 0.14);
  --page-gutter: clamp(1.25rem, 4vw, 4.75rem);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
p,
ul {
  padding: 0;
}

html {
  min-width: 320px;
  background: var(--navy);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--soft-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: var(--navy);
  background: var(--orange);
}

.home-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.2rem, 3.3vh, 2.4rem) var(--page-gutter)
    clamp(1rem, 2.6vh, 2rem);
  overflow-x: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 48%, rgba(255, 133, 26, 0.1), transparent 27%),
    radial-gradient(circle at 12% 4%, rgba(107, 120, 139, 0.12), transparent 28%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

@media (min-width: 761px) {
  .home-page {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }
}

.home-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: clamp(42px, 5vw, 74px) clamp(42px, 5vw, 74px);
  mask-image: linear-gradient(to right, transparent 4%, black 45%, black 92%, transparent);
}

.home-page::after {
  position: absolute;
  right: -15vw;
  bottom: -40vh;
  z-index: -1;
  width: 60vw;
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 133, 26, 0.055);
  filter: blur(90px);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: clamp(2.8rem, 6vh, 4.2rem);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(10rem, 14vw, 13.5rem);
  height: auto;
}

.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 560;
  letter-spacing: 0.025em;
  transition: color 180ms ease;
}

.header-email:hover,
.header-email:focus-visible {
  color: var(--white);
}

.availability-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0.32rem rgba(255, 133, 26, 0.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 6rem);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vh, 3rem) 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 51rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 clamp(1rem, 2.2vh, 1.6rem);
  color: var(--orange-soft);
  font-size: clamp(0.72rem, 0.85vw, 0.88rem);
  font-weight: 720;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: clamp(1.7rem, 3.2vw, 3.5rem);
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 10.6ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.6rem, 6.45vw, 7.25rem);
  font-weight: 620;
  letter-spacing: -0.063em;
  line-height: 0.91;
  text-wrap: balance;
}

.hero-lead {
  max-width: 38rem;
  margin: clamp(1.35rem, 3vh, 2.2rem) 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(1rem, 1.28vw, 1.24rem);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.15rem, 2.2vw, 2.4rem);
  padding: 0;
  margin: clamp(1.35rem, 2.8vh, 2rem) 0 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding-left: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.72rem, 0.82vw, 0.84rem);
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.signal-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.33rem;
  height: 0.33rem;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  min-height: 3.55rem;
  padding: 0.8rem 1.15rem 0.8rem 1.5rem;
  margin-top: clamp(1.65rem, 3.7vh, 2.7rem);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0.9rem 2.8rem rgba(255, 133, 26, 0.15);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.primary-cta svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: #ff9a43;
  box-shadow: 0 1.1rem 3rem rgba(255, 133, 26, 0.24);
  transform: translateY(-2px);
}

.primary-cta:hover svg,
.primary-cta:focus-visible svg {
  transform: translateX(0.2rem);
}

.signal-visual {
  position: relative;
  justify-self: end;
  width: min(42vw, 40rem);
  aspect-ratio: 1;
  color: var(--orange);
}

.signal-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: rgba(255, 133, 26, 0.12);
  filter: blur(70px);
  animation: breathe 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid transparent;
  border-top-color: rgba(255, 133, 26, 0.35);
  border-right-color: rgba(255, 133, 26, 0.08);
  border-radius: inherit;
}

.orbit-outer {
  width: 92%;
  height: 92%;
  animation: orbit-spin 30s linear infinite;
}

.orbit-inner {
  width: 72%;
  height: 72%;
  border-style: dashed;
  opacity: 0.62;
  animation: orbit-spin-reverse 24s linear infinite;
}

.orbit-node {
  position: absolute;
  width: clamp(0.35rem, 0.7vw, 0.58rem);
  height: clamp(0.35rem, 0.7vw, 0.58rem);
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 1rem rgba(255, 133, 26, 0.5);
}

.orbit-node-a {
  top: 12%;
  left: 18%;
}

.orbit-node-b {
  right: 6%;
  bottom: 28%;
  opacity: 0.5;
}

.orbit-node-c {
  top: 5%;
  right: 29%;
  background: var(--white);
}

.hero-mark {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  overflow: visible;
  filter: drop-shadow(0 1.25rem 2.4rem rgba(255, 133, 26, 0.1));
}

.mark-arc {
  stroke-dasharray: 780;
  stroke-dashoffset: 780;
  animation: draw-mark 1.3s cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}

.mark-point,
.mark-flight {
  fill: currentColor;
}

.mark-point {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation:
    point-arrive 500ms ease 900ms forwards,
    point-pulse 4.5s ease-in-out 1.5s infinite;
}

.mark-flight {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: left center;
  animation: flight-arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) 650ms forwards;
}

.site-footer {
  gap: 1.2rem 2rem;
  min-height: clamp(2.8rem, 6vh, 4rem);
  padding-top: clamp(0.8rem, 1.8vh, 1.25rem);
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(0.68rem, 0.76vw, 0.78rem);
  line-height: 1.4;
  border-top: 1px solid var(--line-light);
}

.site-footer address,
.site-footer p {
  margin: 0;
  font-style: normal;
}

.legal-links {
  display: flex;
  gap: 1.3rem;
  margin-left: auto;
}

.legal-links a,
.legal-footer a {
  transition: color 180ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--white);
}

@keyframes draw-mark {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes point-arrive {
  from {
    opacity: 0;
    transform: scale(0.25);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes point-pulse {
  0%,
  70%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 133, 26, 0));
  }
  82% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 0.8rem rgba(255, 133, 26, 0.55));
  }
}

@keyframes flight-arrive {
  from {
    opacity: 0;
    transform: scaleX(0.05) translateX(-1rem);
  }
  to {
    opacity: 1;
    transform: scaleX(1) translateX(0);
  }
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Legal pages */

.legal-page {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--navy);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 133, 26, 0.1), transparent 25rem),
    var(--soft-white);
}

.legal-header,
.legal-footer,
.legal-main {
  width: min(100% - 2 * var(--page-gutter), 78rem);
  margin-inline: auto;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
  border-bottom: 1px solid var(--line-dark);
}

.legal-header img {
  width: clamp(9.5rem, 13vw, 12rem);
  height: auto;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.back-home svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-home:hover,
.back-home:focus-visible {
  color: var(--orange);
}

.legal-main {
  display: grid;
  grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.legal-intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.legal-eyebrow {
  margin-bottom: 1.2rem;
  color: var(--orange);
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.effective-date {
  margin: 1.35rem 0 0;
  color: var(--slate);
  font-size: 0.8rem;
}

.legal-content {
  max-width: 47rem;
  color: #344154;
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  line-height: 1.78;
}

.legal-content > :first-child {
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  line-height: 1.65;
}

.legal-content h2 {
  margin: 3rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.legal-content p {
  margin: 0.8rem 0;
}

.legal-content ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.legal-content li::marker {
  color: var(--orange);
}

.legal-content a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(255, 133, 26, 0.7);
  text-underline-offset: 0.22em;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 6rem;
  padding-block: 1.2rem;
  color: var(--slate);
  font-size: 0.76rem;
  border-top: 1px solid var(--line-dark);
}

.legal-footer address,
.legal-footer p {
  margin: 0;
  font-style: normal;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--orange);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7vw, 5.4rem);
  }

  .signal-visual {
    width: min(44vw, 31rem);
  }

  .legal-main {
    gap: 4rem;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: clamp(1.15rem, 5.2vw, 2rem);
  }

  .home-page {
    padding-top: 1.15rem;
    padding-bottom: 0.9rem;
  }

  .brand-logo {
    width: clamp(9.2rem, 39vw, 11.2rem);
  }

  .header-email {
    gap: 0.5rem;
    font-size: clamp(0.68rem, 2.8vw, 0.78rem);
  }

  .availability-dot {
    width: 0.38rem;
    height: 0.38rem;
  }

  .hero {
    display: flex;
    align-items: center;
    padding: 1.8rem 0 2rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 38rem;
  }

  .eyebrow {
    margin-bottom: 1.05rem;
    font-size: 0.68rem;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(3.25rem, 14.5vw, 5rem);
    letter-spacing: -0.06em;
    line-height: 0.91;
  }

  .hero-lead {
    max-width: min(82vw, 31rem);
    margin-top: 1.35rem;
    font-size: clamp(0.94rem, 4vw, 1.08rem);
    line-height: 1.55;
  }

  .signal-list {
    max-width: 78vw;
    gap: 0.55rem 1.2rem;
    margin-top: 1.25rem;
  }

  .signal-list li {
    font-size: 0.66rem;
  }

  .primary-cta {
    min-height: 3.35rem;
    margin-top: 1.5rem;
    font-size: 0.86rem;
  }

  .signal-visual {
    position: absolute;
    right: -29vw;
    bottom: -5%;
    z-index: 0;
    width: min(96vw, 29rem);
    opacity: 0.43;
    pointer-events: none;
  }

  .hero-copy::after {
    position: absolute;
    inset: -2rem -1rem;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: radial-gradient(ellipse at 28% 50%, rgba(8, 19, 33, 0.8), transparent 76%);
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
    padding-top: 0.8rem;
  }

  .site-footer address {
    grid-column: 1 / -1;
  }

  .legal-links {
    grid-row: 2;
    grid-column: 1;
    margin-left: 0;
  }

  .site-footer p {
    grid-row: 2;
    grid-column: 2;
  }

  .legal-header {
    min-height: 5.5rem;
  }

  .legal-main {
    display: block;
    padding-block: 3rem 4rem;
  }

  .legal-intro {
    position: static;
    margin-bottom: 3.5rem;
  }

  .legal-intro h1 {
    max-width: 8ch;
  }

  .legal-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.4rem 1rem;
  }

  .legal-footer address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .header-email .availability-dot {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 3.5rem);
  }

  .hero-lead {
    max-width: 88vw;
  }

  .signal-list {
    max-width: 90vw;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .home-page {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .hero {
    padding-block: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 6.4vw, 5.7rem);
  }

  .hero-lead {
    margin-top: 1.25rem;
    line-height: 1.5;
  }

  .signal-list {
    margin-top: 1rem;
  }

  .primary-cta {
    min-height: 3.2rem;
    margin-top: 1.2rem;
  }

  .signal-visual {
    width: min(38vw, 31rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .mark-arc {
    stroke-dashoffset: 0;
  }

  .mark-point,
  .mark-flight {
    opacity: 1;
  }
}

@media print {
  .legal-page {
    background: white;
  }

  .legal-header,
  .legal-footer {
    display: none;
  }

  .legal-main {
    display: block;
    width: 100%;
    padding: 0;
  }

  .legal-intro {
    position: static;
    margin-bottom: 2rem;
  }
}

/* 404 page */

.error-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.2rem, 3.3vh, 2.4rem) var(--page-gutter)
    clamp(1rem, 2.6vh, 2rem);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 133, 26, 0.1), transparent 29%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.error-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: clamp(42px, 5vw, 74px) clamp(42px, 5vw, 74px);
  mask-image: radial-gradient(circle at center, black 18%, transparent 78%);
}

.error-header,
.error-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.error-header img {
  width: clamp(10rem, 14vw, 13.5rem);
  height: auto;
}

.error-content {
  align-self: center;
  max-width: 46rem;
  padding-block: 3rem;
}

.error-code {
  margin: 0 0 1rem;
  color: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.error-content h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 620;
  letter-spacing: -0.063em;
  line-height: 0.91;
}

.error-content > p:not(.error-code) {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.error-footer {
  min-height: 3.5rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  border-top: 1px solid var(--line-light);
}

.error-footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .error-content h1 {
    font-size: clamp(3.8rem, 17vw, 5rem);
  }

  .error-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}
