:root {
  --bg: #0a0f1a;
  --bg-elevated: #0d1420;
  --card: #121b2c;
  --card-border: #21304a;
  --text: #e7edf5;
  --text-muted: #93a3ba;
  --primary: #07b6d5;
  --primary-bright: #22d3ee;
  --primary-dark: #0891b2;
  --amber: #f59e0b;
  --green: #34d399;
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, var(--primary-bright), var(--primary-dark));
  color: #04222b;
}

.button--ghost {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}

.button--large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.button) {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 88px 0 96px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--primary-bright);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 3rem;
  margin: 0 0 20px;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero mockup */

.mock-window {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 30px 80px -20px rgba(7, 182, 213, 0.25);
}

.mock-window__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mock-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mock-stat {
  background: var(--bg-elevated);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
}

.mock-stat--amber {
  border-left-color: var(--amber);
}

.mock-stat--green {
  border-left-color: var(--green);
}

.mock-stat__label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-stat__value {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 4px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.mock-day {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
}

.mock-day--off {
  background: transparent;
  border-style: dashed;
  opacity: 0.5;
}

.mock-day--vacation {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--amber);
}

/* Features */

.features {
  padding: 88px 0;
  border-top: 1px solid var(--card-border);
}

.features h2,
.downloads h2 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Downloads */

.downloads {
  padding: 88px 0 104px;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.downloads__subtitle {
  color: var(--text-muted);
  margin: -24px 0 40px;
}

.downloads__subtitle strong {
  color: var(--text);
}

.downloads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.download-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.download-card.is-highlighted {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(7, 182, 213, 0.12), transparent);
}

.download-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.download-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.downloads__all {
  margin-top: 32px;
  color: var(--text-muted);
}

.downloads__all a {
  color: var(--primary-bright);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer__inner a {
  text-decoration: none;
}

.site-footer__inner a:hover {
  color: var(--text);
}

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

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .site-nav {
    gap: 16px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .downloads__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-nav a:not(.button) {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }
}
