* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --bg-soft: #eefaf5;
  --surface: #ffffff;
  --text: #242724;
  --muted: #66716b;
  --line: #e8e6df;
  --brand: #1d9e75;
  --brand-dark: #085041;
  --brand-soft: #e1f5ee;
  --amber: #ef9f27;
  --shadow: 0 18px 44px rgba(35, 55, 48, 0.1);
  --wide: min(1180px, calc(100% - 40px));
  --narrow: min(920px, calc(100% - 40px));
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 14%, rgba(29, 158, 117, 0.1), transparent 28rem),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 48%, #f4fbf8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer,
.hero,
.features,
.support {
  width: var(--wide);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand:hover,
.footer-brand:hover {
  text-decoration: none;
}

.brand-icon,
.footer-brand img {
  border-radius: 22%;
  box-shadow: 0 10px 26px rgba(29, 158, 117, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:not(.store-link) {
  color: #4d5651;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 82px;
  line-height: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.app-store-badge:hover {
  transform: translateY(-1px);
  text-decoration: none;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.18));
}

.app-store-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-store-badge--small {
  width: 132px;
  height: 48px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #050505;
  border-radius: 14px;
  padding: 0 22px;
  color: #fff;
  background: #050505;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.store-link:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: start;
  gap: 18px;
  padding: 74px 0 76px;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: 0em;
  line-height: 1.2;
}

h1 span {
  display: block;
}

.lead {
  max-width: 520px;
  margin-bottom: 28px;
  color: #4f5a54;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 600;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.hero__visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
}

.hero__visual::before {
  position: absolute;
  inset: 12% 2% 0 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.18), transparent 68%);
  content: "";
  filter: blur(14px);
}

.hero__visual img {
  width: min(760px, 60vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(8, 80, 65, 0.16));
}

.features {
  padding: 48px 0 34px;
}

.support {
  padding: 42px 0 56px;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.document h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
}

.section-heading::after {
  display: block;
  width: 44px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-rows: 230px auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(232, 230, 223, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(35, 55, 48, 0.07);
}

.feature-content {
  grid-row: 2;
  padding: 14px 18px 18px;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.65;
}

.feature-visual {
  display: flex;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 18px 12px 0;
  background: linear-gradient(180deg, rgba(225, 245, 238, 0.55), rgba(255, 255, 255, 0));
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 14px 18px rgba(35, 55, 48, 0.12));
}

.support-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.support-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.support-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.footer-brand {
  font-size: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-main {
  width: var(--narrow);
  margin: 0 auto;
}

.document,
.not-found {
  margin: 36px 0 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.document h2 {
  margin: 40px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.4;
}

.document h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.document p,
.document li,
.not-found p {
  color: #3f4843;
}

.document ul {
  margin: 0 0 18px;
  padding-left: 1.35em;
}

.document li {
  margin: 5px 0;
}

.meta,
.note {
  color: var(--muted);
  font-size: 14px;
}

.not-found .store-link {
  margin-top: 10px;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 36px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__visual img {
    width: min(760px, 100%);
    margin: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-template-rows: 300px auto;
  }
}

@media (max-width: 760px) {
  :root {
    --wide: min(100% - 28px, 1180px);
    --narrow: min(100% - 28px, 920px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .store-link--small {
    display: none;
  }

  .hero {
    padding: 28px 0 40px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero__actions,
  .hero__actions .store-link {
    width: 100%;
  }

  .hero__visual img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

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

  .feature-card {
    grid-template-rows: 330px auto;
  }

  .feature-content {
    padding: 16px 18px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}
