/* EDCT site: the app's look (iOS grouped background, indigo tint, mono for flight data) */
:root {
  --bg: #f2f2f7;
  --card: #fff;
  --label: #111114;
  --secondary: #5b5b66;
  --tertiary: #8e8e93;
  --separator: #d8d8de;
  --tint: #5856d6;
  --late: #ff9500;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --card: #1c1c1e;
    --label: #f5f5f7;
    --secondary: #a1a1aa;
    --tertiary: #6e6e73;
    --separator: #38383a;
    --tint: #8e8cf5;
    --late: #ff9f0a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.55 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--tint); text-underline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header */
header { padding: 28px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--secondary); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--label); }

/* Landing */
.hero { display: grid; grid-template-columns: 1fr 300px; gap: 72px; align-items: center; padding: 40px 0 80px; }
.eyebrow { font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tint); }
h1 { font-size: clamp(40px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; margin: 18px 0 20px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--tint); }
.lede { font-size: 20px; color: var(--secondary); margin: 0 0 32px; max-width: 34em; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: var(--label); color: var(--bg); font-weight: 600; text-decoration: none; }
.note { margin-top: 14px; font-size: 14px; color: var(--tertiary); }
.phone { width: 100%; height: auto; border-radius: 44px; border: 10px solid #0b0b0d; box-shadow: 0 0 0 2px #6e6e73, 0 40px 80px rgba(20, 14, 80, .22); display: block; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 80px; }
.feature { background: var(--card); border-radius: 18px; padding: 24px; }
.feature h2 { font-size: 18px; margin: 0 0 6px; font-weight: 600; }
.feature p { margin: 0; color: var(--secondary); font-size: 16px; }
.strip { display: inline-flex; gap: 10px; align-items: baseline; font: 600 15px/1 var(--mono); margin-bottom: 14px; }
.strip span { color: var(--tertiary); font-weight: 500; }
.pill { color: var(--late); background: color-mix(in srgb, var(--late) 15%, transparent); padding: 3px 7px; border-radius: 7px; font: 600 13px/1.2 -apple-system, sans-serif; }

/* Legal and support pages */
.doc { padding-top: 24px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 44px); margin-top: 8px; }
.doc .updated { color: var(--tertiary); font-size: 15px; margin-top: -8px; }
.doc h2 { font-size: 22px; margin: 40px 0 8px; font-weight: 600; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; font-weight: 600; }
.doc p, .doc li { color: var(--secondary); }
.doc strong { color: var(--label); font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.card { background: var(--card); border-radius: 18px; padding: 8px 24px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--separator); }
th { color: var(--label); font-weight: 600; padding-right: 16px; width: 32%; }
td { color: var(--secondary); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

footer { border-top: 1px solid var(--separator); padding: 28px 0 40px; font-size: 14px; color: var(--tertiary); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { gap: 18px; font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .hero figure { max-width: 280px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  header nav { gap: 14px; }
  th { width: auto; display: block; padding-bottom: 0; border: 0; }
  td { display: block; padding-top: 4px; }
}
