/* Lieu on the web: the app's palette and voice. Forest for the brand,
   paper for reading, one rosé dot. */
:root {
  --forest: #122E24;
  --paper: #F3EFE6;
  --surface: #FBF9F4;
  --ink: #15201B;
  --ink2: #5E665F;
  --ink3: #9A9F98;
  --hairline: rgba(21, 32, 27, 0.1);
  --moss: #0F3D2E;
  --moss-ink: #0F3D2E;
  --moss-wash: rgba(15, 61, 46, 0.08);
  --rose: #F07A9C;
  /* Text on forest: fixed, never flips with the colour scheme. */
  --on-brand: #F3EFE6;
  --serif: "Bodoni Moda", "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1210;
    --surface: #151C19;
    --ink: #EEEAE1;
    --ink2: #A3A9A2;
    --ink3: #6C736D;
    --hairline: rgba(238, 234, 225, 0.1);
    --moss-ink: #8CC2A3;
    --moss-wash: rgba(140, 194, 163, 0.1);
  }
}
:root[data-theme="dark"] {
  --paper: #0C1210;
  --surface: #151C19;
  --ink: #EEEAE1;
  --ink2: #A3A9A2;
  --ink3: #6C736D;
  --hairline: rgba(238, 234, 225, 0.1);
  --moss-ink: #8CC2A3;
  --moss-wash: rgba(140, 194, 163, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

/* Landing: one forest screen, the wordmark, two sentences. */
body.landing {
  background: var(--forest);
  color: var(--on-brand);
  color-scheme: dark;
}
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.hero img { width: min(260px, 62vw); height: auto; margin-bottom: 8px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 18em;
  letter-spacing: -0.01em;
}
.hero p {
  color: rgba(243, 239, 230, 0.66);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 30em;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 230, 0.24);
  font-size: 15px;
  color: var(--on-brand);
  text-decoration: none;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
footer {
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 13px;
  color: rgba(243, 239, 230, 0.4);
}

/* Share pages: paper to read on, the wordmark on a forest band. */
body.share header {
  background: var(--forest);
  display: flex;
  justify-content: center;
  padding: 12px 16px 4px;
}
body.share header img { display: block; }
body.share main {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}
.kicker { color: var(--ink3); font-size: 13px; margin: 0 0 8px; }
body.share h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.lead { font-size: 18px; line-height: 1.55; color: var(--ink2); margin: 0 0 24px; }
dl { margin: 0 0 32px; border-top: 1px solid var(--hairline); }
dl div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
dt { color: var(--ink3); font-size: 15px; }
dd { margin: 0; font-size: 15px; line-height: 1.5; }
.note {
  display: inline-block;
  font-size: 15px;
  color: var(--moss-ink);
  background: var(--moss-wash);
  padding: 12px 16px;
  border-radius: 14px;
}
@media (max-width: 420px) {
  dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* Showcase: the app itself, on paper, with three concrete promises. */
.showcase {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light dark;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 440px);
  justify-content: center;
  align-items: center;
  gap: 72px;
  padding: 96px 24px;
}
.device {
  margin: 0;
  border-radius: 54px;
  padding: 10px;
  background: #0B0F0D;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 44px;
}
.eyebrow { color: var(--ink3); font-size: 14px; margin: 0 0 12px; }
.showcase h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.15;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.showcase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.showcase li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.glyph { color: var(--c); font-size: 14px; line-height: 24px; }
.showcase h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.showcase li p { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.55; }
.showcase li p strong { color: var(--ink); font-weight: 600; }
body.landing footer { background: var(--paper); color: var(--ink3); }

@media (max-width: 860px) {
  .showcase { grid-template-columns: minmax(0, 340px); gap: 48px; padding: 64px 16px 72px; }
  .device { max-width: 300px; justify-self: center; border-radius: 46px; padding: 8px; }
  .device img { border-radius: 38px; }
}
