:root {
  --background: #f3e8db;
  --text: #372b24;
  --muted: #715f54;
  --line: rgba(55, 43, 36, 0.16);
  --button: #372b24;
  --button-text: #fff8f0;
  --card: rgba(255, 248, 240, 0.36);
}

@font-face {
  font-family: "Noto Sans";
  src: url("fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

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

h1,
h2,
h3,
a,
button,
input,
textarea {
  font-family: inherit;
}

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

a:hover {
  opacity: 0.72;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding-top: 28px;
}

.brand,
.app-store-button,
.support-button {
  display: inline-flex;
}

.brand-logo {
  width: 112px;
  height: auto;
  display: block;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  width: min(920px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 80px 0 72px;
  text-align: center;
}

.hero-inner {
  width: min(660px, 100%);
}

.hero-logo {
  width: min(210px, 54vw);
  height: auto;
  display: block;
  margin: 0 auto 34px;
}

.intro {
  max-width: 570px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.app-store-button {
  width: fit-content;
  margin: 34px auto 0;
  padding: 11px 22px 12px;
  border-radius: 16px;
  background: var(--button);
  color: var(--button-text);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(55, 43, 36, 0.12);
  transition: transform 160ms ease, opacity 160ms ease;
}

.app-store-button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.app-store-button .small {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.app-store-button .large {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.site-footer {
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 90px;
}

.page h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.page h2 {
  margin: 36px 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.page p,
.page li {
  color: var(--muted);
  font-size: 17px;
}

.page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.support-button {
  margin-top: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .page {
    width: calc(100% - 28px);
  }

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

  .brand-logo {
    width: 96px;
  }

  .nav,
  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .nav {
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 64px;
  }

  .hero-logo {
    width: min(170px, 50vw);
    margin-bottom: 30px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
