:root {
  font-family: var(--nearer-font-base);
  color: #283044;
  background: #f1f6f9;
  font-synthesis: none;
  --muted: #52616b;
  --line: #bdced9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #365d76;
  text-underline-offset: 4px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #365d76;
  outline-offset: 4px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--nearer-font-feature);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(32px, 4vw, 54px);
  margin: 14px 0 22px;
  max-width: 780px;
}
h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
p,
li {
  line-height: 1.7;
}
p {
  margin: 0 0 18px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
}
.site-logo {
  width: 160px;
  height: 50px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.site-nav a {
  text-decoration: none;
}
.site-nav .cta,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #283044;
  color: #ebf5ee;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}
.hero {
  padding: 64px 0 50px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;
}
.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 650px;
}
.release {
  font-size: 12px;
  color: #365d76;
  background: #dce9f0;
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-block;
}
.hero-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 50px #28304414;
}
.section {
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.screenshot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--line);
}
.screenshot figcaption {
  padding: 22px;
}
.screenshot p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.screenshot a {
  font-size: 12px;
}
.section-intro {
  color: var(--muted);
  max-width: 800px;
}
.site-footer {
  background: #e6eff4;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.legal {
  max-width: 850px;
  padding: 48px 0 64px;
}
.legal h1 {
  font-size: 38px;
}
.legal h2 {
  font-size: 22px;
  margin-top: 32px;
}
.legal p,
.legal li {
  font-size: 14px;
}
.draft {
  background: #dce9f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 22px 0;
}
.legal dl {
  font-size: 14px;
}
.legal dt {
  font-weight: 600;
  margin-top: 12px;
}
.legal dd {
  margin: 4px 0 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.public404 {
  padding: 100px 0;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
  .site-nav {
    gap: 14px;
  }
  .screenshots {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .header-inner {
    padding: 10px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }
  .site-nav .cta {
    padding: 9px 13px;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 32px 0;
  }
  .legal h1 {
    font-size: 30px;
  }
  .legal {
    padding-top: 30px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 15px;
  }
}
#screenshot-viewer {
  width: min(1320px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #283044;
  box-shadow: 0 24px 80px #28304440;
  overflow: auto;
}
#screenshot-viewer::backdrop {
  background: #283044b8;
  backdrop-filter: blur(3px);
}
.gallery-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.gallery-header > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.gallery-header h2 {
  font-size: 20px;
  margin: 0;
}
#gallery-count {
  font-size: 12px;
  color: var(--muted);
}
.gallery-close,
.gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f6f9;
  color: #283044;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}
.gallery-close {
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.gallery-close span {
  font-size: 22px;
}
.gallery-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}
#gallery-image {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f1f6f9;
}
.gallery-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-arrow:hover,
.gallery-close:hover {
  background: #dce9f0;
}
.gallery-arrow:focus-visible,
.gallery-close:focus-visible {
  outline: 3px solid #365d76;
  outline-offset: 3px;
}
#gallery-description {
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 56px 0;
  color: var(--muted);
}
@media (max-width: 600px) {
  #screenshot-viewer {
    padding: 12px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
  .gallery-stage {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-stage img {
    grid-row: 1;
    grid-column: 1/-1;
  }
  .gallery-arrow {
    grid-row: 2;
    width: 60px;
  }
  .gallery-arrow:last-child {
    justify-self: end;
  }
  .gallery-header h2 {
    font-size: 17px;
  }
  #gallery-description {
    margin: 12px 0 0;
  }
  #gallery-image {
    max-height: calc(100dvh - 240px);
  }
}
