/* Timeato site. The colors come from the app icon. The site loads no
   fonts or images from other servers. The only script from another server
   is Plausible Analytics. The privacy policy tells about it. */

:root {
  --bg: #fff6e5;
  --card: #ffffff;
  --ink: #3b1e14;
  --ink-soft: #7a4a36;
  --tomato: #e0352b;
  --line: rgba(59, 30, 20, 0.12);
  --shadow: 0 24px 60px -24px rgba(59, 30, 20, 0.45);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c120d;
    --card: #2f1f17;
    --ink: #fbe9d5;
    --ink-soft: #d6b49c;
    --tomato: #ff5a4d;
    --line: rgba(251, 233, 213, 0.14);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* The width and height attributes give the aspect ratio. height: auto
   keeps that ratio when the image is narrower than its width. */
img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: min(960px, 100% - 32px);
  margin-inline: auto;
}

h1, h2 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(40px, 7vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 40px); }

/* Hero */

.hero {
  text-align: center;
  padding-block: 64px 32px;
}

.hero-icon {
  width: 160px;
  margin: 0 auto 12px;
}

.accent { color: var(--tomato); }

.lede {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.4vw, 22px);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary { background: var(--tomato); color: #fff; }

.button.secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.requirements {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.shot {
  margin: 48px auto 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* Support */

.support {
  max-width: 720px;
  padding-block: 48px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: 16px;
}

details p { margin: 0 0 16px; color: var(--ink-soft); }

.contact { color: var(--ink-soft); margin-top: 24px; }

/* Privacy page */

.document {
  max-width: 720px;
  padding-block: 48px 64px;
}

.document h2 { font-size: 26px; margin-top: 36px; }
.document p, .document li { color: var(--ink-soft); }

.document .summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
  text-decoration: none;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.site-footer a { color: inherit; }

@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .hero-icon { width: 120px; }
  .shot { border-radius: 16px; }
}
