:root {
  color-scheme: light;
  --background: #fafaf7;
  --paper: #ffffff;
  --text: #18202a;
  --muted: #626b75;
  --line: #d9dde1;
  --soft: #eff1f3;
  --accent: #2154c5;
  --max-width: 1060px;
  --reading-width: 730px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
}

.site-name {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

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

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

.home-intro {
  max-width: 790px;
  padding-block: 110px 120px;
}

.label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.home-intro h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0;
}

.home-intro .intro {
  color: var(--muted);
  font-size: 1.22rem;
  margin: 30px 0 0;
  max-width: 650px;
}

.text-link {
  display: inline-block;
  font-weight: 650;
  margin-top: 25px;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

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

.section-title {
  align-items: baseline;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-title h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

.project-summary {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 1.45fr;
}

.project-copy {
  align-self: start;
  padding-top: 8px;
}

.project-identity {
  align-items: center;
  display: flex;
  gap: 16px;
}

.project-icon {
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.project-copy h3 {
  font-size: 2rem;
  letter-spacing: -0.035em;
  margin: 0;
}

.project-copy p {
  color: var(--muted);
  margin: 24px 0 0;
}

.project-image {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 28px 28px 0;
}

.project-image img {
  margin: 0 auto;
}

.about-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 2fr;
}

.about-grid h2 {
  font-size: 1rem;
  margin: 0;
}

.about-grid p {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 640px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  padding-block: 30px;
}

.footer-row {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: inherit;
}

.product-intro {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 86px minmax(0, 1fr);
  max-width: 850px;
  padding-block: 95px 80px;
}

.product-intro img {
  height: 78px;
  object-fit: contain;
  width: 78px;
}

.product-status {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.product-intro h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.product-intro .intro {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 24px 0 0;
  max-width: 690px;
}

.meta-list,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
}

.meta-list {
  color: var(--muted);
  font-size: 0.83rem;
}

.inline-links a {
  font-weight: 650;
}

.hero-screenshot {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding-block: 50px;
}

.hero-screenshot img {
  margin: 0 auto;
  max-width: 850px;
  width: 100%;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding-block: 30px;
}

.feature-row h3 {
  font-size: 1rem;
  margin: 0;
}

.feature-row p {
  color: var(--muted);
  margin: 0;
  max-width: 670px;
}

.screenshots {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.screenshots figure {
  background: var(--soft);
  border: 1px solid var(--line);
  margin: 0;
  padding: 28px 28px 0;
}

.screenshots figure:first-child {
  grid-column: 1 / -1;
}

.screenshots img {
  margin: 0 auto;
}

.project-details {
  display: grid;
  gap: 45px;
  grid-template-columns: 1fr 2fr;
}

.project-details h2 {
  font-size: 1rem;
  margin: 0;
}

.project-details p,
.project-details li {
  color: var(--muted);
}

.project-details p:first-child {
  margin-top: 0;
}

.project-details ul {
  padding-left: 1.2rem;
}

.privacy-wrap {
  padding-block: 80px 110px;
}

.policy {
  max-width: var(--reading-width);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 34px;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.policy h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.updated {
  color: var(--muted);
  margin-bottom: 50px;
}

.policy h2 {
  font-size: 1.22rem;
  margin: 38px 0 8px;
}

.policy p,
.policy li {
  color: #404954;
}

.not-found {
  min-height: calc(100vh - 73px);
  padding-block: 110px;
}

.not-found h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 20px;
}

.not-found p {
  color: var(--muted);
  max-width: 520px;
}

@media (max-width: 760px) {
  .container {
    padding-inline: 20px;
  }

  .home-intro {
    padding-block: 75px 85px;
  }

  .section {
    padding-block: 55px;
  }

  .section-title,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-summary,
  .about-grid,
  .project-details {
    grid-template-columns: 1fr;
  }

  .product-intro {
    gap: 20px;
    grid-template-columns: 1fr;
    padding-block: 68px 60px;
  }

  .product-intro img {
    height: 64px;
    width: 64px;
  }

  .feature-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

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

  .screenshots figure:first-child {
    grid-column: auto;
  }

  .privacy-wrap {
    padding-block: 58px 80px;
  }
}

@media (max-width: 480px) {
  .site-nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .home-intro h1 {
    font-size: 2.75rem;
  }

  .project-image,
  .screenshots figure {
    padding: 16px 16px 0;
  }

  .footer-row {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
