/* expedition-suite.com until the release: the page that says Expedition
   Suite is coming, in the colors and type of the product site (style.css). */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --surface: #ffffff;
  --text: #1a1f27;
  /* The colors of the suite's icon: anthracite, white and amber. */
  --amber: #f2b544;
  --amber-text: #8a5a00;
  --on-amber: #1a1f27;
  --muted: #5a6170;
  --border: #dde1e8;
  /* The colors of the icons (round 8), darker where they are text. */
  --aila: #1a6dc7;
  --aila-soft: #e8f1fc;
  --sherpa: #946000;
  --sherpa-soft: #fdf3dc;
  --syntia: #0d7a6b;
  --syntia-soft: #e1f3ef;
  --vita: #c0303f;
  --vita-soft: #fdecee;
  --suite: #3b4252;
  --suite-soft: #e8ebf0;
  --on-accent: #ffffff;
  --code-bg: #1e1f26;
  --code-text: #d8dae0;
  --code-gutter: #5d6270;
  --code-line: #2a2c35;
  --kbd-bg: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --radius: 12px;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1f27;
    --bg-alt: #151920;
    --surface: #222833;
    --text: #f4f7fb;
    --amber-text: #f2b544;
    --muted: #9aa1b0;
    --border: #323a47;
    --aila: #5aa8f5;
    --aila-soft: #14223a;
    --sherpa: #f2b544;
    --sherpa-soft: #2b2312;
    --syntia: #34c3ad;
    --syntia-soft: #11291f;
    --vita: #f0727f;
    --vita-soft: #2e171b;
    --suite: #c7cdd8;
    --suite-soft: #232733;
    --on-accent: #111318;
    --kbd-bg: #232733;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #1a1f27;
  --bg-alt: #151920;
  --surface: #222833;
  --text: #f4f7fb;
  --amber-text: #f2b544;
  --muted: #9aa1b0;
  --border: #323a47;
  --aila: #5aa8f5;
  --aila-soft: #14223a;
  --sherpa: #f2b544;
  --sherpa-soft: #2b2312;
  --syntia: #34c3ad;
  --syntia-soft: #11291f;
  --vita: #f0727f;
  --vita-soft: #2e171b;
  --suite: #c7cdd8;
  --suite-soft: #232733;
  --on-accent: #111318;
  --kbd-bg: #232733;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }


.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark { width: 28px; height: 28px; flex: none; }

.nav-links { display: flex; gap: 20px; margin-left: auto; }

.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { font-weight: 600; }

.nav .theme-toggle { margin-left: auto; }

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex: none;
}

/* Hero */

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}

h1 .aila { color: var(--aila); }
h1 .sherpa { color: var(--sherpa); }
h1 .amber { color: var(--amber-text); }

.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.facts span::before { content: "✓ "; color: var(--amber-text); font-weight: 700; }

/* Icons in a light and a dark variant follow the theme like the colors. */

.for-dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .for-light { display: none; }
  :root:not([data-theme="light"]) .for-dark { display: block; }
}

:root[data-theme="dark"] .for-light { display: none; }
:root[data-theme="dark"] .for-dark { display: block; }

footer { padding: 40px 0; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); }
footer .wrap { display: grid; gap: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* The coming page: the words, then the team, each with what it does */
.soon { padding: 96px 0 80px; }
.soon .lead { font-size: 1.35rem; color: var(--text); font-weight: 600; }
.crew { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.crew li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.crew img { width: 48px; height: 48px; margin-bottom: 12px; }
.crew h3 { margin: 0 0 4px; font-size: 1.1rem; }
.crew p { margin: 0; color: var(--muted); font-size: .95rem; }
.crew .sherpa h3 { color: var(--sherpa); }
.crew .syntia h3 { color: var(--syntia); }
.crew .aila h3 { color: var(--aila); }
.crew .vita h3 { color: var(--vita); }

/* Privacy and the page that does not exist */
.page { max-width: 46em; margin: 0 auto; padding: 56px 16px 72px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.25rem; margin: 36px 0 8px; }
.page p { margin: 0 0 12px; }
.page .lead { font-size: 1.05rem; }

@media (max-width: 860px) {
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .soon { padding: 56px 0 48px; }
  .crew { grid-template-columns: minmax(0, 1fr); }
}

/* The e-mail address, held reversed in the page against harvesting bots,
   shown the right way round (setupEmail makes it a link). */
.email-text { unicode-bidi: bidi-override; direction: rtl; }
