:root {
  --night: #14202B;
  --slate: #23384A;
  --mist: #F3F1EC;
  --paper: #FBFAF7;
  --ink: #17232E;
  --muted: #5B6B78;
  --line: #DDD8CE;
  --summit: #E8491F;
  --sky: #9FC3D6;
  /* System fonts only: nothing is loaded from other sites. */
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Bitstream Charter", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --mist: #18242E;
    --paper: #111B23;
    --ink: #E9EEF1;
    --muted: #9AAAB6;
    --line: #2A3A47;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--summit); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Hero: night sky over a ridge, with a route to a beacon on the summit. */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 70% 0%, var(--slate) 0%, var(--night) 60%);
  color: #F4F1EA;
  padding-bottom: 150px;
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.brand svg { width: 28px; height: 28px; fill: var(--summit); }
.nav-link { font-weight: 600; text-decoration: none; opacity: .9; }
.nav-link:hover { opacity: 1; text-decoration: underline; }
.hero-copy { padding: 64px 0 24px; max-width: 760px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); margin-bottom: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--sky); margin-bottom: .75rem; }
.lede { font-size: clamp(1.08rem, 2vw, 1.25rem); color: #D7DEE3; max-width: 620px; }

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 190px; }
.ridge-back { fill: #1C2D3B; }
.ridge-front { fill: var(--paper); }
.route { fill: none; stroke: var(--summit); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; }
.beacon { fill: var(--summit); filter: drop-shadow(0 0 8px rgba(232, 73, 31, .8)); }
@media (prefers-reduced-motion: no-preference) {
  .beacon { animation: pulse 2.4s ease-in-out infinite; transform-origin: 600px 138px; }
  @keyframes pulse { 50% { transform: scale(1.35); opacity: .75; } }
}

/* Product */
.product { margin-top: -40px; position: relative; }
.product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.product .eyebrow { color: var(--muted); }
.product h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.product p { max-width: 640px; }
.app-icon { border-radius: 22px; box-shadow: 0 8px 24px rgba(20, 32, 43, .25); }
.status { color: var(--muted); font-size: .95rem; }
.button {
  display: inline-block;
  background: var(--summit);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
}
.button:hover { filter: brightness(1.06); }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 72px 0 24px;
}
.principles h3 { font-size: 1.3rem; }
.principles h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--summit); border-radius: 2px; margin-bottom: 14px; }
.principles p { color: var(--muted); }

/* Contact and footer */
.contact { padding: 48px 0 56px; border-top: 1px solid var(--line); margin-top: 48px; }
.contact h2 { font-size: 1.8rem; }
.contact a { font-weight: 600; }
.muted { color: var(--muted); }
.footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 48px 16px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }

@media (max-width: 720px) {
  .hero { padding-bottom: 110px; }
  .hero-copy { padding-top: 32px; }
  .ridge { height: 120px; }
  .product-card { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .app-icon { width: 72px; height: 72px; border-radius: 17px; }
  .principles { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }
}
