/* The pages of liftyoapp.com (home, Privacy Policy, Help & Support): the app's look, as on a share
   link's page (/i/style.css): white cards on #F2F2F7, black on dark, the brand Volt. System fonts
   only: nothing is loaded from anywhere else. */

:root {
  color-scheme: light dark;
  --background: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --secondary: #6c6c70;
  --separator: #d1d1d6;
  --chip: #e5e5ea;
  --volt: #c6f432;
  --on-volt: #0b0b0c;
  --store: #1c1c1e;
  --on-store: #ffffff;
  /* "TYO" and links: the Volt that reads on white (as in the app on light). */
  --tyo: #497706;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --card: #1c1c1e;
    --text: #ffffff;
    --secondary: #aeaeb2;
    --separator: #38383a;
    --chip: #2c2c2e;
    --store: #3a3a3c;
    --tyo: #c6ff3d;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}

.page {
  max-width: 720px;
  margin: 0 auto;
}

a {
  color: var(--tyo);
}

/* The header: the logo (to the home page) and the languages. */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .mark {
  width: 36px;
  height: 36px;
}

.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
}

.lif {
  color: var(--text);
}

.tyo {
  color: var(--tyo);
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.languages a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.languages a[aria-current='true'] {
  background: var(--volt);
  color: var(--on-volt);
}

/* A page's text, on a card. */
.doc {
  background: var(--card);
  border-radius: 20px;
  padding: 28px 22px;
  font-size: 17px;
  line-height: 1.55;
}

.doc h1 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.2;
}

.doc h2 {
  margin: 32px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.doc h3 {
  margin: 24px 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.doc p,
.doc ul {
  margin: 0 0 12px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

.updated {
  color: var(--secondary);
  font-size: 15px;
}

.summary {
  margin-top: 20px !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--background);
}

.contact {
  margin-top: 20px !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--background);
}

/* The home page: the mark, the wordmark, what Liftyo is and the stores. */
.home {
  background: var(--card);
  border-radius: 24px;
  padding: 40px 24px 28px;
  text-align: center;
}

.home .mark {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto 14px;
}

.home .wordmark {
  margin-bottom: 20px;
  font-size: 22px;
}

.home h1 {
  margin: 0 auto 12px;
  max-width: 460px;
  font-size: 24px;
  line-height: 1.3;
}

.lead {
  margin: 0 auto 28px;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--secondary);
}

.stores {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.button {
  display: block;
  padding: 16px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  background: var(--store);
  color: var(--on-store);
}

/* Every page: the other pages and the address. */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 24px 8px 8px;
  font-size: 15px;
}

.footer a {
  color: var(--secondary);
}

[hidden] {
  display: none !important;
}
