/* Taste Amigo holding site. Neutral and typographic on purpose: the brand is still being designed. */
:root {
  --bg: #fbfaf8;
  --text: #1c1b1a;
  --muted: #6b6864;
  --rule: #e4e1dc;
  --link: #1c1b1a;
  --link-line: #b9b4ad;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --text: #ecebe8;
    --muted: #a19d97;
    --rule: #2c2b29;
    --link: #ecebe8;
    --link-line: #5d5a56;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.wrap { max-width: 40rem; margin: 0 auto; padding: 0 20px; }

/* Homepage */
.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.home main { flex: 1; display: flex; align-items: center; }
.home main > .wrap { width: 100%; }
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 11vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.hero .lede { font-size: clamp(1.15rem, 4.2vw, 1.35rem); line-height: 1.5; margin: 0 0 20px; max-width: 32rem; }
.hero .detail { color: var(--muted); margin: 0 0 32px; max-width: 32rem; }
.soon {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin: 0;
}

/* Document pages */
.top { padding: 28px 0 0; }
.top a { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.doc { padding-top: 40px; padding-bottom: 24px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; font-size: 0.95rem; }
.doc h2 { font-size: 1.1rem; margin: 40px 0 8px; line-height: 1.35; }
.doc p, .doc ul { margin: 0 0 16px; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: 8px; }
.doc .summary { border-left: 2px solid var(--rule); padding-left: 16px; }

/* Footer */
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
footer a { color: var(--muted); }
footer .copy { margin-left: auto; }
@media (max-width: 480px) { footer .copy { margin-left: 0; width: 100%; } }
