@font-face {
  font-family: "Bespoke Sans";
  src: url("/fonts/BespokeSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/fonts/Switzer-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/fonts/Switzer-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/fonts/Switzer-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #eff8fb;
  --panel: #ffffff;
  --panel-2: #f7fbfc;
  --ink: #08191c;
  --muted: #3f5154;
  --line: #aacfd6;
  --accent: #117684;
  --accent-hover: #0e6570;
  --accent-soft: #dceff3;
  --accent-wash: #f3fafc;
  --border-soft: #c9e0e6;
  --pale-blue: #aacfd6;
  --accent-2: #117684;
  --danger: #a13c35;
  --success: #276749;
  --success-surface: #e5f1ea;
  --warning: #7a5600;
  --warning-surface: #f7ebcb;
  --error-surface: #f8e6e4;
  --shadow: 0 16px 50px rgb(39 50 43 / 10%);
  --coral: #e5695d;
  --font-display: "Bespoke Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-ui: "Switzer", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.5;
}

.landing {
  min-height: 100svh;
  background: var(--pale-blue);
}

.landing a:hover {
  color: var(--ink);
}

.landing a:focus-visible {
  outline-color: var(--ink);
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

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

.shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

header {
  border-bottom: 1px solid var(--border-soft);
}

.landing-header {
  border-color: var(--muted);
}

.mast {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.brand i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  background: var(--coral);
  border-radius: 50%;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
}

.hero {
  min-height: calc(100svh - 188px);
  padding-block: clamp(44px, 7.25vh, 78px) clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(48px, 7vw, 94px);
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 25px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.75rem, 6.4vw, 6.55rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.lede {
  max-width: 570px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.56;
}

.pilot-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.9;
  text-decoration: none;
}

.pilot-link span {
  font-size: 1.2em;
  transition: transform 180ms ease;
}

.pilot-link:hover span {
  transform: translateX(4px);
}

.hero-visual {
  margin: 0;
  align-self: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  aspect-ratio: 4 / 5;
  background: var(--accent-soft);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background: var(--pale-blue);
  content: "";
  mix-blend-mode: color;
  opacity: 0.5;
  pointer-events: none;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  filter: saturate(0.48) contrast(0.94);
}

.landing-footer {
  border: 0;
  background: var(--pale-blue);
  color: var(--muted);
}

.landing-footer-in {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  font-size: 0.78rem;
}

.landing-footer p {
  margin: 0;
}

.calendar-note {
  max-width: 760px;
  font-size: 0.68rem;
  line-height: 1.45;
}

.photo-credit {
  display: inline-block;
  white-space: nowrap;
}

.landing-footer-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
}

.landing-footer a {
  text-decoration-color: var(--muted);
}

/* Legal pages share the approved product system without changing their content. */
.legal {
  width: min(800px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal h1 {
  margin: 12px 0 28px;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.legal h2 {
  margin: 44px 0 10px;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 22px;
}

.legal code {
  overflow-wrap: anywhere;
}

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

body:not(.landing) footer {
  background: var(--ink);
  color: var(--accent-soft);
  padding: 32px 0;
  font-size: 0.88rem;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.footer-in p {
  margin: 8px 0 0;
}

body:not(.landing) footer a {
  color: var(--panel);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.78fr);
    gap: 42px;
  }

  h1 {
    font-size: clamp(3.55rem, 7.6vw, 5.4rem);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 36px, 1180px);
  }

  .mast {
    min-height: 70px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 54px 48px;
  }

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

  h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .lede {
    margin-block: 25px 29px;
  }

  .hero-visual {
    width: 100%;
  }

  .image-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .image-frame img {
    object-position: 55% 53%;
  }

  .landing-footer-in {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 20px;
  }

  .landing-footer-meta {
    justify-content: space-between;
  }

  .photo-credit {
    display: inline;
    white-space: normal;
  }

  .legal {
    width: min(100% - 36px, 800px);
    padding-block: 54px 68px;
  }

  .footer-in {
    display: block;
  }

  .footer-in > p {
    margin-top: 20px;
  }
}

@media (max-width: 390px) {
  .shell,
  .legal {
    width: calc(100% - 28px);
  }

  .hero {
    padding-top: 45px;
  }

  h1 {
    font-size: 3.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pilot-link span {
    transition: none;
  }
}
