/* Theme */

:root {
  color-scheme: light;
  --bg: #fff;
  --text-primary: #2c3e50;
  --text-secondary: var(--text-primary);
  --border: rgba(23, 22, 15, .12);
  --panel-bg: rgba(255, 255, 255, .74);

  /* Typography - Global */
  --font-family-headings: "Inter", sans-serif;
  --font-family-primary: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 800;
  --font-size-base: 1.0625rem;
  --line-height: 1.5;

}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121218;
    --text-primary: #d6dbf4;
    --text-secondary: var(--text-primary);
    --border: rgba(255, 255, 255, .16);
    --panel-bg: rgba(18, 18, 24, .74);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff;
  --text-primary: #2c3e50;
  --text-secondary: var(--text-primary);
  --border: rgba(23, 22, 15, .12);
  --panel-bg: rgba(255, 255, 255, .74);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121218;
  --text-primary: #d6dbf4;
  --text-secondary: var(--text-primary);
  --border: rgba(255, 255, 255, .16);
  --panel-bg: rgba(18, 18, 24, .74);
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 12px;
}

h1 {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 30px;
}

h2 {
  margin: 40px 0;
}

strong {
  font-weight: var(--font-weight-semibold);
}

li {
  margin: 0.5rem 0;
  margin-bottom: 12px;
  color: var(--text-primary);
  opacity: 0.9;
}

/* Base */

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

html,
body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height);
  min-height: 100vh;
  transition: background-color .25s ease, color .25s ease;
  -webkit-font-smoothing: antialiased;
}

/* Page layout */

.card,
.illustration {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.card {
  background-color: var(--panel-bg);
  backdrop-filter: blur(18px) saturate(115%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  z-index: 1;
}

.illustration {
  height: 100vh;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  position: fixed;
  width: 100vw;
  z-index: 0;
}

:root[data-city-flight="off"] .illustration {
  display: none;
}

.city-flight {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 32px 48px;
}

main {
  align-items: flex-start;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  text-align: left;
}

footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px 48px;
}

/* Header and navigation */

.header-actions {
  align-items: center;
  display: flex;
  gap: 40px;
}

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

.wordmark {
  background-color: var(--text-primary);
  display: block;
  height: 32px;
  width: 112px;
  -webkit-mask: url("/wordmark.svg") center / contain no-repeat;
  mask: url("/wordmark.svg") center / contain no-repeat;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a,
.theme-toggle {
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text-primary);
}

.theme-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  padding: 0;
}

.theme-toggle__icon {
  grid-area: 1 / 1;
}

.theme-toggle__icon--sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

/* Main content */

.tagline {
  color: var(--text-primary);
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.25;
  max-width: 560px;
}

.highlight {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: .14em;
  white-space: nowrap;
}

.sub {
  color: var(--text-secondary);
  font-size: 15px;
  letter-spacing: .01em;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 400px;
}

/* Footer */

.footer-copy,
.footer-contact a {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: .02em;
}

.footer-contact a {
  text-decoration: none;
  transition: color .2s;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--text-primary);
}

/* Responsive layout */

@media (max-width: 900px) {
  header {
    padding: 24px;
  }

  .site-nav {
    gap: 16px;
  }

  .header-actions {
    gap: 28px;
  }

  main {
    padding: 40px 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column-reverse;
    padding: 24px;
  }
}
