:root {
  --text: #25272a;
  --muted: #555b63;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

a { color: inherit; }

.home-page .site-header::before {
  content: "";
  width: 70px;
  height: 70px;
}

.site-header {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 0;
  display: flex;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 17px;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

main {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.home {
  text-align: center;
  padding-top: 20px;
}

.company-logo {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 24px;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 350;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 18px 0 0;
  font-size: 21px;
}

.owner {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.app-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 48px;
}

.app-link {
  width: 130px;
  text-align: center;
  text-decoration: none;
}

.app-link img {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto 10px;
  border-radius: 23%;
}

.app-name {
  display: block;
  font-size: 15px;
  font-weight: 550;
}

.content-page {
  padding-top: 70px;
}

.content-page h1 {
  text-align: center;
  margin-bottom: 45px;
}

.content {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

.content p {
  margin: 0 0 24px;
}

.home-divider {
  width: 100%;
  height: 1px;
  margin: 48px auto 0;
  background: #c8c8c8;
}

.product-screenshots {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin: 36px 0;
}

.product-screenshots img {
  width: min(220px, 100%);
  height: auto;
  border: 1px solid #333;
  border-radius: 18px;
}

@media (max-width: 800px) {
  .product-screenshots {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .product-screenshots img {
    width: min(280px, 80vw);
  }
}

.product-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 27px;
  color: var(--muted);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 45px 0 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

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

.site-footer a:hover,
.site-footer a:focus-visible,
.app-link:hover .app-name,
.app-link:focus-visible .app-name {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 32px);
    padding-top: 24px;
    justify-content: center;
  }

  .site-nav {
    gap: 18px;
    font-size: 16px;
  }

  main { width: calc(100% - 36px); }

  .home { padding-top: 58px; }

  .company-logo {
    width: 125px;
    height: 125px;
    margin-bottom: 20px;
  }

  .tagline { font-size: 19px; }

  .app-grid { margin-top: 55px; }

  .content-page { padding-top: 85px; }

  .content-page h1 { margin-bottom: 35px; }

  .content { font-size: 17px; }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  margin-left: max(0px, calc((100% - 850px) / 2));
}

.header-logo img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}