/* dodaily.ai: the same palette as the app (src/theme/tokens.ts). Light only. */

/* Inter, self-hosted (variable weight, OFL 1.1, from @fontsource-variable/inter 5.3.0). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #f4f4f4;
  --surface: #fefefe;
  --ink: #1d2127;
  --ink-2: #8c8c87;
  --border: #e5e3de;
  --gold: #ffd43d;
  --gold-text: #805e0d;
  --gold-soft: #f6ecc7;
  --shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  --radius-card: 16px;
  --radius-pill: 9999px;
  --font: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  display: grid;
  gap: 32px;
}

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

.mark .cut {
  fill: none;
  stroke: #000;
  stroke-width: 7.22;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
}

.hero {
  display: grid;
  gap: 20px;
}

h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0;
  font-size: 20px;
  color: var(--ink-2);
}

.store {
  margin-top: 8px;
}

.button,
.store-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 20px;
  font-weight: 600;
}

.button {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(0.97);
}

.button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Not a link yet: a quiet pill until the app is in the App Store. */
.store-soon {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
}

.platforms {
  margin: 0;
  font-size: 18px;
  color: var(--ink-2);
}

.platforms strong {
  color: var(--ink);
}

.phone {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
  border-radius: 36px;
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.phone .screen,
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* Only text without its own colour: the avatar letters and the trophy count keep theirs. */
.screen text:not([fill]) {
  fill: var(--ink);
}

.screen text {
  font-family: var(--font);
}

.screen .t-reg {
  font-weight: 400;
}

.screen .t-med {
  font-weight: 500;
}

.screen .t-semi {
  font-weight: 600;
}

.screen .t-bold {
  font-weight: 700;
}

.footer {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  color: var(--ink-2);
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  display: inline-block;
}

.footer a:hover {
  text-decoration: underline;
}

.v1 a {
  text-decoration: underline;
  padding: 0;
}

@media (min-width: 900px) {
  .page {
    padding: 40px 32px 56px;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    align-items: center;
  }

  .brand,
  .footer {
    grid-column: 1 / -1;
  }

  h1 {
    font-size: 56px;
  }

  .hero {
    max-width: 480px;
  }
}

/* Legal and help pages. */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: grid;
  gap: 24px;
}

.doc h1 {
  font-size: 32px;
}

.doc h2 {
  font-size: 22px;
  margin: 24px 0 0;
}

.doc p,
.doc li {
  margin: 0;
  font-size: 18px;
}

.doc ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.doc .updated {
  color: var(--ink-2);
  font-size: 16px;
}

.doc .todo {
  padding: 14px 18px;
  background: var(--gold-soft);
  border-radius: var(--radius-card);
  color: var(--gold-text);
  font-size: 16px;
}
