:root {
  --paper: #f5efe4;
  --surface: #fffaf1;
  --ink: #141310;
  --muted: #5f5a51;
  --line: rgba(48, 43, 35, 0.16);
  --soft-line: rgba(48, 43, 35, 0.1);
  --deep-green: #315f42;
  --button-dark: #171716;
  --button-dark-hover: #050505;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.94) 0%, rgba(245, 239, 228, 0.84) 48%, rgba(245, 239, 228, 0.34) 100%),
    url("assets/hero-bg-v1.png") center / cover no-repeat,
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
}

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

.site-header {
  position: relative;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  width: min(1410px, calc(100% - 96px));
  margin: 0 auto;
  padding: 32px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.hero {
  width: min(1410px, calc(100% - 96px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.62fr) minmax(640px, 1.38fr);
  gap: 28px 72px;
  align-items: center;
  align-content: start;
  min-height: calc(100vh - 72px);
  padding: 10px 0 28px;
}

.hero-copy {
  padding: 22px 0 10px;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(76px, 7.7vw, 128px);
  line-height: 0.92;
}

.hero-tagline {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-lede {
  max-width: 510px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.download-panel {
  max-width: 330px;
}

.platform-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(48, 43, 35, 0.22);
  border-radius: 7px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 6px 20px rgba(43, 38, 30, 0.04);
}

.download-card-primary {
  border-color: rgba(0, 0, 0, 0.88);
  background: linear-gradient(180deg, #1f1f1e 0%, var(--button-dark) 100%);
  color: var(--surface);
}

.download-card-android {
  border-color: rgba(49, 95, 66, 0.86);
  background: linear-gradient(180deg, #3a704e 0%, var(--deep-green) 100%);
  color: var(--surface);
}

.download-card:hover {
  border-color: rgba(49, 95, 66, 0.58);
  background: rgba(255, 250, 241, 0.95);
}

.download-card-primary:hover {
  border-color: rgba(0, 0, 0, 0.88);
  background: var(--button-dark-hover);
}

.download-card-android:hover {
  border-color: rgba(49, 95, 66, 0.96);
  background: #274f37;
}

.download-card-muted {
  color: var(--muted);
}

.download-card-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.platform-symbol {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--deep-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.download-card-android .platform-symbol {
  stroke: currentColor;
}

.download-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 13px 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.36);
}

.release-meta div {
  padding: 10px 10px 0 0;
}

.release-meta dt {
  margin-bottom: 5px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 12px;
}

.release-meta dd {
  margin: 0;
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
}

.product-shot {
  margin: 0;
  transform: translateY(-4px);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 28, 23, 0.24);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(38, 32, 24, 0.24);
}

.product-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.feature-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 250, 241, 0.48);
  backdrop-filter: blur(2px);
}

.feature-strip article {
  position: relative;
  min-height: 86px;
  padding: 2px 28px 2px 82px;
  border-right: 1px solid var(--soft-line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 22px;
  font-weight: 760;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.feature-strip svg {
  position: absolute;
  left: 24px;
  top: 4px;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--deep-green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding-top: 34px;
  }

  .product-shot figcaption {
    text-align: left;
  }

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

  .download-panel {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(rgba(245, 239, 228, 0.9), rgba(245, 239, 228, 0.92)),
      url("assets/hero-bg-v1.png") right center / cover no-repeat,
      var(--paper);
  }

  .site-header {
    width: min(100% - 34px, 1180px);
    padding: 24px 0 6px;
  }

  .hero {
    width: min(100% - 34px, 1180px);
  }

  h1 {
    margin-bottom: 18px;
    font-size: 64px;
  }

  .hero-tagline {
    margin-bottom: 16px;
    font-size: clamp(24px, 7vw, 29px);
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .download-panel {
    max-width: none;
  }

  .platform-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .download-card {
    min-height: 50px;
    padding: 12px 14px;
  }

  .download-card-title {
    font-size: 17px;
  }

  .release-meta {
    margin-top: 11px;
  }

  .download-note {
    margin-bottom: 0;
    font-size: 13px;
  }

  .hero {
    gap: 18px;
    align-content: start;
    min-height: calc(100vh - 83px);
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .hero-copy {
    padding: 0;
  }

  .product-shot img {
    max-height: 176px;
    object-fit: cover;
    object-position: top;
  }

  .product-shot figcaption {
    display: none;
  }

  .product-shot {
    display: none;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 8px;
    padding: 18px 0;
  }

  .feature-strip article {
    min-height: 104px;
    padding: 0 12px 18px 48px;
  }

  .feature-strip article:nth-child(2n) {
    border-right: 0;
  }

  .feature-strip article:nth-child(n + 3) {
    border-top: 1px solid rgba(228, 224, 214, 0.78);
  }

  .feature-strip span {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .feature-strip p {
    font-size: 13px;
    line-height: 1.45;
  }

  .feature-strip svg {
    left: 4px;
    top: 1px;
    width: 34px;
    height: 34px;
  }
}
