:root {
  --bg: #0a0e16;
  --surface: #121826;
  --line: #222b3b;
  --text: #f1f1f1;
  --muted: #9aa3b2;
  --link: #f1f1f1;
  --sign-red: #c8161d;
  --marking: #f2c230;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding: 28px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand svg, .brand img { width: 30px; height: auto; display: block; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* Content */
main.wrap { padding-top: 24px; padding-bottom: 72px; }

h1 {
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 44px 0 10px;
}
h3 {
  font-size: 17px;
  margin: 28px 0 6px;
}
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin: 0 0 8px; }
a { color: var(--link); text-decoration-color: rgba(241, 241, 241, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* Home hero */
.hero { padding: 40px 0 8px; }
.hero .mark { width: 120px; height: auto; display: block; margin-bottom: 36px; color: var(--text); }

/* App card */
.app-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
}
.app-card:hover { border-color: #33405a; }
.app-card img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.app-card h2 { margin: 0 0 2px; font-size: 19px; }
.app-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* App page header */
.app-head { display: flex; gap: 20px; align-items: center; margin: 24px 0 28px; }
.app-head img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.app-head h1 { margin: 0; }
.app-head p { margin: 4px 0 0; color: var(--muted); }

/* FAA hold-short marking as a divider: two solid lines, two dashed */
.hold-short {
  height: 26px;
  margin: 36px 0;
  background:
    linear-gradient(var(--marking), var(--marking)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--marking), var(--marking)) 0 7px / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--marking) 0 22px, transparent 22px 36px) 0 16px / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, var(--marking) 0 22px, transparent 22px 36px) 0 23px / 100% 3px no-repeat;
  opacity: 0.9;
}

.notice {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 24px 0;
}
.notice p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #ffffff; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-header nav { gap: 14px; }
  .app-head img { width: 76px; height: 76px; border-radius: 18px; }
  .app-card { padding: 16px; gap: 16px; }
  .app-card img { width: 60px; height: 60px; border-radius: 14px; }
}
