:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
  --blue: #075df5;
  --blue-bright: #0d7bff;
  --navy: #071941;
  --navy-soft: #10295c;
  --gold: #ffbf00;
  --cream: #fffaf0;
  --ink: #0b1733;
  --muted: #5d6b86;
  --line: #dbe4f5;
  --page: #f5f8ff;
  --card: rgba(255, 255, 255, 0.88);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(13, 123, 255, 0.2), transparent 34rem),
    radial-gradient(circle at -8% 80%, rgba(255, 191, 0, 0.11), transparent 28rem),
    var(--page);
}

main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  box-shadow: 0 9px 22px rgba(7, 25, 65, 0.2);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 72px;
  min-height: 390px;
  padding: 32px 0 76px;
}

.hero-icon {
  width: 230px;
  height: 230px;
  border-radius: 52px;
  filter: drop-shadow(0 24px 32px rgba(4, 36, 117, 0.27));
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 670px;
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(2.65rem, 7vw, 5.15rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h2 {
  margin: 38px 0 10px;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

p {
  max-width: 720px;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
}

.feature-card,
.content-card {
  border: 1px solid rgba(7, 93, 245, 0.12);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(7, 25, 65, 0.08);
  backdrop-filter: blur(18px);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 34px 38px;
}

.feature-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--blue-bright), var(--gold));
  content: "";
}

.feature-card h2 {
  margin-top: 0;
}

.content-card {
  padding: 42px 48px 48px;
}

.page-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.page-heading img {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 22px;
  box-shadow: 0 15px 28px rgba(4, 36, 117, 0.22);
}

.page-heading h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

code {
  padding: 0.15em 0.38em;
  border: 1px solid #d8e3f8;
  border-radius: 6px;
  color: var(--navy-soft);
  background: #edf3ff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer::after {
  color: var(--blue);
  font-weight: 700;
  content: "SSH shortcuts for macOS";
}

@media (max-width: 700px) {
  main {
    width: min(100% - 28px, 920px);
    padding-top: 18px;
  }

  nav {
    margin-bottom: 42px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 17px;
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 34px;
    padding: 8px 0 52px;
  }

  .hero-icon {
    width: 126px;
    height: 126px;
    border-radius: 29px;
  }

  .content-card,
  .feature-card {
    padding: 28px 24px 32px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading img {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  footer {
    display: block;
  }

  footer::after {
    display: block;
    margin-top: 4px;
  }
}
