:root {
  color-scheme: light dark;
  --bg: #f5f7f8;
  --ink: #11181c;
  --muted: #53616a;
  --line: #d8e0e4;
  --panel: #ffffff;
  --panel-strong: #e7f2f1;
  --accent: #0b6b72;
  --accent-strong: #074f57;
  --accent-soft: #d9eef0;
  --secondary: #2f5f9f;
  --warning: #8c5a00;
  --shadow: 0 24px 70px rgb(18 28 36 / 18%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-header,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: white;
  background: var(--accent-strong);
  border-radius: 8px;
  font-size: 0.9rem;
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.changelog a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100vh - 170px);
  align-items: center;
  overflow: hidden;
  padding: 72px max(20px, calc((100% - 1120px) / 2)) 80px;
  background:
    linear-gradient(90deg, rgb(245 247 248 / 96%) 0%, rgb(245 247 248 / 90%) 42%, rgb(245 247 248 / 30%) 100%),
    url("assets/harbor-preview.png") right 12% center / min(760px, 62vw) auto no-repeat,
    var(--bg);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 5.6rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-strong);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--secondary);
  background: rgb(255 255 255 / 52%);
  border-color: var(--secondary);
}

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

.release-note {
  max-width: 540px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgb(255 255 255 / 58%);
}

.feature-grid p,
.trust-list p,
.changelog li,
.pro-features p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid p,
.trust-list p {
  margin-bottom: 0;
}

.pro-price {
  margin: 18px 0 16px;
  font-size: 1.05rem;
}

.pro-price strong {
  font-size: 1.4rem;
}

.pro-note {
  max-width: 460px;
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pro-features {
  display: grid;
  gap: 16px;
}

.pro-features article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
  background: rgb(255 255 255 / 58%);
}

.pro-features p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
}

.trust-list,
.changelog {
  display: grid;
  gap: 18px;
}

.trust-list p,
.changelog {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.changelog h3 {
  margin-bottom: 0;
}

.changelog ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.changelog a {
  color: var(--accent-strong);
  font-weight: 760;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

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

  .hero {
    min-height: 620px;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgb(245 247 248 / 98%) 0%, rgb(245 247 248 / 84%) 58%, rgb(245 247 248 / 46%) 100%),
      url("assets/harbor-preview.png") center bottom 28px / min(620px, 92vw) auto no-repeat,
      var(--bg);
  }

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

  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 28px), 1120px);
  }

  .hero {
    min-height: 660px;
    padding: 36px 14px 48px;
    background:
      linear-gradient(180deg, rgb(245 247 248 / 98%) 0%, rgb(245 247 248 / 88%) 58%, rgb(245 247 248 / 48%) 100%),
      url("assets/harbor-preview.png") center bottom 24px / 430px auto no-repeat,
      var(--bg);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .download-actions,
  .button {
    width: 100%;
  }

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

  .feature-grid article {
    min-height: auto;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121516;
    --ink: #f4f2ec;
    --muted: #b4bab9;
    --line: #2c3535;
    --panel: #171d1e;
    --panel-strong: #19312f;
    --accent: #56b9ad;
    --accent-strong: #83d8cd;
    --accent-soft: #173332;
    --shadow: 0 24px 70px rgb(0 0 0 / 34%);
  }

  body {
    background: var(--bg);
  }

  .hero {
    background:
      linear-gradient(90deg, rgb(18 21 22 / 98%) 0%, rgb(18 21 22 / 86%) 46%, rgb(18 21 22 / 34%) 100%),
      url("assets/harbor-preview.png") right 12% center / min(760px, 62vw) auto no-repeat,
      var(--bg);
  }

  .brand-mark,
  .button.primary {
    color: #0b1515;
    background: var(--accent-strong);
  }

  .button.secondary,
  .feature-grid article,
  .pro-features article {
    background: rgb(255 255 255 / 5%);
  }

  @media (max-width: 880px) {
    .hero {
      background:
        linear-gradient(180deg, rgb(18 21 22 / 98%) 0%, rgb(18 21 22 / 86%) 58%, rgb(18 21 22 / 48%) 100%),
        url("assets/harbor-preview.png") center bottom 28px / min(620px, 92vw) auto no-repeat,
        var(--bg);
    }
  }

  @media (max-width: 620px) {
    .hero {
      background:
        linear-gradient(180deg, rgb(18 21 22 / 98%) 0%, rgb(18 21 22 / 88%) 58%, rgb(18 21 22 / 48%) 100%),
        url("assets/harbor-preview.png") center bottom 24px / 430px auto no-repeat,
        var(--bg);
    }
  }
}
