:root {
  color: #171713;
  background: #f8f7f2;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, #efeee9 0, #efeee9 280px, transparent 280px),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.9), transparent 34%), #f8f7f2;
  color: #171713;
}

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

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.site-header {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 72px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 72px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #20201d;
}

.site-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

.language-link {
  color: #77766f;
  font-size: 13px;
  font-weight: 650;
}

.nav a:hover,
.language-link:hover,
.text-link:hover,
.project-row:hover {
  color: #000000;
}

main {
  width: min(720px, calc(100% - 72px));
  margin: 0 auto;
  padding: 118px 0 0;
}

.hero {
  padding-bottom: 58px;
  border-bottom: 1px solid #c9c8c1;
}

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

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

h1 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-kicker {
  margin-bottom: 36px;
  font-size: 21px;
  line-height: 1.4;
}

.hero-text,
.lead,
.page-heading p,
.page > p,
.section-narrow p {
  color: #262620;
  font-size: 14px;
  line-height: 2;
}

.hero-text {
  max-width: 520px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
  gap: 72px;
  padding: 48px 0 56px;
}

.section,
.page {
  padding: 0 0 88px;
}

.page {
  max-width: 720px;
}

.page-heading {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid #c9c8c1;
}

.page-heading h1,
.page-narrow h1 {
  font-size: 30px;
}

.page-narrow,
.section-narrow {
  max-width: 620px;
}

.section-heading {
  display: block;
  margin-bottom: 22px;
}

.section-heading span {
  display: none;
}

.text-link {
  color: #171713;
  font-size: 13px;
  font-weight: 650;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.inline-link {
  text-decoration: none;
}

.inline-link::after {
  content: " →";
}

.link-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #262620;
}

.link-list li {
  margin-bottom: 8px;
}

.text-link:focus-visible,
.project-row:focus-visible,
.nav a:focus-visible,
.language-link:focus-visible {
  outline: 2px solid #171713;
  outline-offset: 4px;
}

.more-link {
  display: inline-block;
  margin-top: 22px;
}

.project-list {
  border-top: 0;
}

.project-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 104px;
  padding: 18px 0;
  border-bottom: 1px solid #d3d2ca;
  text-decoration: none;
}

.project-row:first-child {
  border-top: 0;
}

.project-icon {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid #88877f;
  background: #f4f3ee;
  color: #55544d;
  font-size: 25px;
  font-weight: 500;
}

.project-summary p {
  margin-bottom: 2px;
  color: #33332d;
  font-size: 13px;
  line-height: 1.7;
}

.project-arrow {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  color: #171713;
  font-size: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.product-meta span {
  color: #77766f;
  font-size: 12px;
}

.about-panel {
  padding-top: 0;
}

.about-panel h2 {
  margin-bottom: 20px;
  font-size: 17px;
}

.about-panel p {
  margin-bottom: 24px;
  color: #262620;
  font-size: 13px;
  line-height: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: #77766f;
  font-size: 13px;
  letter-spacing: 0;
}

.section-narrow {
  margin-top: 42px;
}

.site-footer {
  grid-column: 1 / -1;
  width: min(720px, calc(100% - 72px));
  margin: 0 auto;
  padding: 34px 0 54px;
  border-top: 1px solid #c9c8c1;
  color: #77766f;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  body {
    background: #f8f7f2;
  }

  .site-shell {
    display: block;
  }

  .site-header {
    position: relative;
    min-height: auto;
    width: min(720px, calc(100% - 36px));
    margin: 0 auto;
    padding: 28px 0 34px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .site-logo {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    align-items: flex-end;
    gap: 12px;
  }

  .nav {
    flex-direction: row;
    gap: 18px;
  }

  main {
    width: min(720px, calc(100% - 36px));
    padding-top: 36px;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .site-footer {
    width: min(720px, calc(100% - 36px));
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .header-actions {
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 25px;
  }

  .hero-kicker {
    font-size: 18px;
  }

  .project-row {
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    gap: 16px;
    min-height: 88px;
  }

  .project-icon {
    width: 56px;
    font-size: 20px;
  }
}
