:root {
  --background: #ffffff;
  --foreground: #111111;
  --muted: #707070;
  --soft: #f5f5f5;
  --line: #e8e8e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.home-shell {
  display: grid;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  padding: 52px 24px 28px;
}

.hero-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 68px;
}

.app-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 50px;
  border-radius: 14px;
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--foreground);
  font-size: clamp(40px, 5.8vw, 74px);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 1.15;
}

h1[data-language="en"],
h1[data-language="es"],
h1[data-language="fr"],
html:lang(en) h1,
html:lang(es) h1,
html:lang(fr) h1 {
  font-weight: 680;
  letter-spacing: -0.065em;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  min-height: 48px;
  margin-top: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.apple-mark {
  font-size: 18px;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 980px);
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.language-list,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.language-list button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 7px 9px;
}

.language-list button.active {
  background: var(--soft);
  color: var(--foreground);
}

.site-footer nav {
  gap: 14px;
  font-weight: 400;
}

.legal-shell {
  width: min(720px, calc(100% - 44px));
  margin: 0 auto;
  padding: 76px 0 44px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.legal-shell h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.legal-date {
  margin: 0 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  padding: 26px 0;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.legal-section p {
  margin: 0;
  color: #444444;
  font-size: 16px;
  line-height: 1.72;
}

@media (max-width: 680px) {
  .home-shell {
    padding: 38px 18px 24px;
  }

  .hero-minimal {
    padding-bottom: 48px;
  }

  .app-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 52px);
    letter-spacing: -0.06em;
    line-height: 1.14;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
  }

  .language-list {
    justify-content: center;
  }
}
