/* Yucan's site. No web fonts and nothing from another host: /auth shows a
   login code, and anything loaded from elsewhere could read it. */

:root {
  --green: #75bd4e;   /* the launcher icon's ground, `adaptive_icon_background` */
  --yellow: #f9bf1f;  /* the toucan's beak */
  --ink: #111511;
  --ink-soft: #2c3a26;
  --card: #ffffff;
  --gutter: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--green);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter);
  text-align: center;
}

a { color: inherit; }

/* The mark: one image, the toucan already behind the lettering, so no window
   size can move it relative to the text (assets/logo.png, see README). */
.mark {
  width: min(640px, 84%);
  margin: 0 auto;
}
/* ⚠️ Shifted by half the bird's overhang (142 of 851 px), so the lettering,
   not the lettering plus bird, is what sits centred over the tagline. */
.mark img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(8.3%);
}

.tagline {
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 3.6vw, 2rem);
  font-weight: 450;
  letter-spacing: 0.01em;
}
.tagline em { font-weight: 700; }

footer {
  padding: 20px var(--gutter) 28px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
footer a { margin: 0 10px; }

/* /auth and /privacy: one card on the green. */
.card {
  width: min(440px, 100%);
  background: var(--card);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 32px rgba(17, 21, 17, 0.18);
}
.card .bird { width: 96px; height: auto; margin: -8px auto 8px; display: block; }
.card h1 { font-size: 1.5rem; margin: 0 0 8px; }
.card p { margin: 0 0 16px; color: var(--ink-soft); }

.code {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: clamp(2rem, 11vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 8px 0 20px;
  padding: 14px 8px;
  border-radius: 14px;
  background: #f3f8ef;
  color: var(--ink);
  user-select: all;
  font-variant-numeric: tabular-nums;
}
.code .gap { display: inline-block; width: 0.45em; }

button {
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}
button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.small { font-size: 0.9rem; }
[hidden] { display: none !important; }
