/*
 * Copyright 2026 TundraOwl. All rights reserved.
 *
 * Proprietary and confidential. Unauthorized copying, redistribution, or
 * derivative use of this file, via any medium, is strictly prohibited.
 *
 * SPDX-License-Identifier: LicenseRef-TundraOwl-Proprietary
 */

/* Pre-launch holding page for www.tundraowl.com. Standalone: the values below
   mirror the marketing tokens in tundraowl/public/shared/tokens.css so the page
   matches the product without shipping the full token sheet. Theme follows
   prefers-color-scheme only; there is no script on this page. */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  font-synthesis: none;

  --bg: #f1f4fb;
  --surface: #ffffff;
  --surface-sunken: #f8f9fa;
  --text: #0f1a2f;
  --text-mute: #5a6b7b;
  --border: #e1e7ef;
  --brand: #2565a3;
  --brand-hover: #1d4e7e;
  --brand-tint: #eef5ff;
  --brand-fill: #2565a3;
  --brand-fill-hover: #1d4e7e;
  --on-brand: #ffffff;
  --title-hl: #2565a3;
  --dot: #3f84fc;
  --danger: #dc2626;
  --danger-text: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --logo-mark: #0f3377;
  --logo-accent: #0f3377;
  --logo-eye: transparent;
  --shadow-sm: 0 1px 3px rgba(15, 30, 47, .06), 0 1px 2px rgba(15, 30, 47, .04);
  --shadow-lg: 0 12px 32px rgba(15, 30, 47, .16), 0 4px 12px rgba(15, 30, 47, .12);
  --shadow-btn: 0 6px 18px rgba(37, 101, 163, .3);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono',
               Menlo, Consolas, 'Liberation Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --bg: #0d1117;
    --surface: #21262d;
    --surface-sunken: #0d1117;
    --text: #f0f6fc;
    --text-mute: #9198a1;
    --border: #30363d;
    --brand: #4493f8;
    --brand-hover: #58a6ff;
    --brand-tint: #11253f;
    --brand-fill: #1f6feb;
    --brand-fill-hover: #388bfd;
    --title-hl: #6fa8ff;
    --dot: #58a6ff;
    --danger: #f85149;
    --danger-text: #ff7b72;
    --danger-bg: #2a1215;
    --danger-border: #5c1e1e;
    --logo-mark: #ffffff;
    --logo-accent: #ffffff;
    --shadow-sm: 0 1px 3px rgba(1, 4, 9, .55), 0 1px 2px rgba(1, 4, 9, .45);
    --shadow-lg: 0 12px 32px rgba(1, 4, 9, .6), 0 4px 12px rgba(1, 4, 9, .5);
    --shadow-btn: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Logo: same three-part SVG as the app (body / wing accent / eye). */
.ca-logo__mark { fill: var(--logo-mark); }
.ca-logo__accent { fill: var(--logo-accent); }
.ca-logo__eye { fill: var(--logo-eye); }

/* Top bar */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand__logo {
  width: 32px;
  height: 32px;
  display: block;
  margin-bottom: 4px;
}

.brand__text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}

.topbar__link {
  font-size: 15px;
  font-weight: 600;
}

/* Hero */
.hero {
  padding-block: 56px 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-1px);
  background: var(--dot);
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 32;
  text-wrap: balance;
}

.hero__title-hl {
  color: var(--title-hl);
}

.hero__lede {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(17px, 2.1vw, 19px);
  color: var(--text-mute);
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__status-text {
  flex: 1 1 260px;
  font-size: 15px;
  color: var(--text-mute);
}

.hero__cta {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  background: var(--brand-fill);
  color: var(--on-brand);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: background-color .18s ease;
}

.btn:hover {
  background: var(--brand-fill-hover);
  color: var(--on-brand);
  text-decoration: none;
}

/* Example alert card */
.alert-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.alert-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--danger-border);
  background: var(--danger-bg);
}

.alert-card__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--danger-text);
}

.alert-card__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.alert-card__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

.alert-card__body {
  padding: 18px;
}

.alert-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.alert-card__rows {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.alert-card__rows dt {
  color: var(--text-mute);
}

.alert-card__rows dd {
  overflow-wrap: anywhere;
}

.alert-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
  font-size: 13px;
  color: var(--text-mute);
}

.chip {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.alert-card__caption {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: var(--text-mute);
}

/* Sections */
.section {
  padding-block: 0 72px;
}

.section__title {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.section__lede {
  max-width: 680px;
  margin-top: 10px;
  color: var(--text-mute);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card__text {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-mute);
}

.card__list {
  margin-top: 12px;
  font-size: 15px;
}

.card__list li {
  position: relative;
  padding-left: 18px;
}

.card__list li + li {
  margin-top: 6px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
}

.card__detail {
  color: var(--text-mute);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

/* Company */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px 48px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.company__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.company__text {
  margin-top: 8px;
}

.company__text + .company__text {
  color: var(--text-mute);
}

.company__email {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  font-size: 14px;
  color: var(--text-mute);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__logo {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

/* Not-found page */
.notfound {
  padding-block: 96px;
  text-align: center;
}

.notfound__code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.notfound__title {
  margin-top: 12px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.notfound__text {
  margin-top: 14px;
  color: var(--text-mute);
}

.notfound .btn {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero {
    padding-block: 32px 56px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding-block: 0 56px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1120px, 100% - 32px);
  }

  .card,
  .company {
    padding: 20px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

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