/* honestludo.app — one stylesheet, no framework, no fonts fetched.
   Colours are the apps' own: the Table set (night wood, cream) and the four Okabe–Ito seat paints. */
:root {
  --night: #1c1611;
  --night-raised: #2a2119;
  --night-high: #3a2e23;
  --wood: #9c754c;
  --wood-deep: #6b4c30;
  --wood-mid: #7f5c3b;
  --cream: #f5ebd4;
  --ivory: #f0e8d6;
  --cream-safe: #e0d1b0;
  --ink: #2b2118;
  --mute: #c9b99a;
  --line: #4a3a2b;
  --red: #d55e00;
  --green: #009e73;
  --blue: #0072b2;
  --gold: #e69f00;
  --measure: 68rem;
  --text: 1.0625rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-size: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--cream); text-decoration-color: var(--wood); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--gold); }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 0.5em; color: var(--ivory); }
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.75rem; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--mute); max-width: 38em; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3rem, 7vw, 6rem) 0; }
section + section { border-top: 1px solid var(--line); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--night) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; min-height: 3.75rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.mark svg { width: 1.6rem; height: 1.6rem; }
.mark img { width: 1.75rem; height: 1.75rem; border-radius: 22%; display: block; }
nav.menu { display: flex; flex-wrap: wrap; gap: 0 clamp(0.5rem, 2vw, 1.5rem); font-size: 0.95rem; }
nav.menu a { text-decoration: none; color: var(--mute); padding: 0.35rem 0; border-bottom: 2px solid transparent; }
nav.menu a:hover, nav.menu a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }
nav.menu a.get { color: var(--ink); background: var(--cream); border: 0; border-radius: 999px; padding: 0.35rem 0.9rem; font-weight: 600; white-space: nowrap; }
nav.menu a.get:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 52rem) { nav.menu a.get { display: none; } }
@media (max-width: 40rem) { nav.menu a.quiet { display: none; } nav.menu { font-size: 0.85rem; gap: 0.7rem; } .mark { white-space: nowrap; font-size: 0.95rem; } }

/* hero */
.hero { padding: clamp(3rem, 9vw, 8rem) 0 clamp(2rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn { display: inline-block; padding: 0.8rem 1.3rem; border-radius: 999px; text-decoration: none; font-weight: 600; border: 1px solid var(--wood); color: var(--cream); background: transparent; transition: background 0.2s, border-color 0.2s; }
.btn.solid { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn:hover { border-color: var(--gold); }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); }
.board { width: min(100%, 24rem); margin: 0 auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }

/* strips of names */
.names { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.names li { font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--ivory); }
.names li small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--mute); letter-spacing: 0.02em; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 1rem; margin-top: 2rem; }
.card { display: block; text-decoration: none; background: var(--night-raised); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-2px); border-color: var(--wood); }
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--mute); margin: 0; }
.card .n { font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.swatch { width: 2.2rem; height: 2.2rem; border-radius: 0.5rem; }
.swatch.red { background: var(--red); } .swatch.green { background: var(--green); } .swatch.blue { background: var(--blue); } .swatch.gold { background: var(--gold); }

/* text layout */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 2rem 3rem; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 0; }
blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); font-size: 1.3rem; color: var(--ivory); font-weight: 500; line-height: 1.35; }
blockquote cite { display: block; font-size: 0.9rem; color: var(--mute); font-style: normal; margin-top: 0.5rem; }
.note { font-size: 0.9rem; color: var(--mute); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* timeline */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.2rem; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 6rem 1fr; gap: 2.5rem; padding: 1.25rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 6.85rem; top: 1.75rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--wood); border: 2px solid var(--night); }
.timeline li.red::before { background: var(--red); } .timeline li.green::before { background: var(--green); } .timeline li.blue::before { background: var(--blue); } .timeline li.gold::before { background: var(--gold); }
.timeline time { font-weight: 700; color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.timeline h3 { margin: 0 0 0.3rem; }
.timeline p { margin: 0; color: var(--mute); }
@media (max-width: 40rem) {
  .timeline::before { left: 0.35rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.25rem; padding-left: 1.5rem; }
  .timeline li::before { left: 0; top: 1.6rem; }
  .timeline time { text-align: left; }
}

/* map */
.mapwrap { background: var(--night-raised); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(0.5rem, 2vw, 1.5rem); margin: 2rem 0; }
.map { width: 100%; height: auto; display: block; }
.map .grat { stroke: var(--line); stroke-width: 0.6; }
.map .land polygon { fill: var(--night-high); stroke: var(--wood-deep); stroke-width: 0.8; stroke-linejoin: round; }
.map .sea polygon { fill: var(--night-raised); stroke: var(--wood-deep); stroke-width: 0.6; }
.map .grat.eq { stroke: var(--wood-deep); }
.map .dot { fill: var(--gold); opacity: 0.92; }
.map .dot.s2 { fill: var(--red); }
.map .dot.s3 { fill: var(--cream); }
.map .dot:hover { opacity: 1; stroke: var(--cream); stroke-width: 1.5; }
.map .lbl { fill: var(--mute); font-size: 9.5px; font-family: inherit; }
.legend { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.9rem; color: var(--mute); margin-top: 0.75rem; }
.legend span::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: -0.05em; }
.legend .l3::before { background: var(--cream); width: 0.9rem; height: 0.9rem; }
.legend .l2::before { background: var(--red); }
.legend .l1::before { background: var(--gold); width: 0.5rem; height: 0.5rem; }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.98rem; }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mute); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
td.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
td strong { color: var(--ivory); }
@media (max-width: 40rem) { table { display: block; overflow-x: auto; } }

/* bars */
.bars { display: grid; gap: 0.6rem; margin: 1.5rem 0; }
.bar { display: grid; grid-template-columns: 7rem 1fr 4.5rem; align-items: center; gap: 0.75rem; font-variant-numeric: tabular-nums; }
.bar .lab { color: var(--mute); font-size: 0.95rem; }
.bar .track { height: 0.9rem; background: var(--night-high); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--gold); border-radius: 999px; }
.bar .fill.red { background: var(--red); } .bar .fill.blue { background: var(--blue); } .bar .fill.green { background: var(--green); }
.bar .val { text-align: right; font-weight: 600; }
@media (max-width: 22rem) { .bar { grid-template-columns: 4.5rem minmax(0, 1fr) 3.25rem; gap: 0.5rem; } }

/* big figures */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 1rem; margin: 2rem 0; }
.fig { background: var(--night-raised); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.fig b { display: block; font-size: 2.4rem; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; line-height: 1.05; }
.fig span { color: var(--mute); font-size: 0.95rem; }

/* the die */
.die { width: 5.5rem; height: 5.5rem; cursor: pointer; user-select: none; display: inline-block; vertical-align: middle; transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3); }
.die.rolling { transform: rotate(540deg) scale(0.9); }
.die:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 1rem; }
.diebox { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.diebox p { margin: 0; color: var(--mute); flex: 1 1 14rem; }

/* slider */
.ctl { display: grid; gap: 0.5rem; margin: 1.5rem 0; max-width: 32rem; }
.ctl input[type=range] { width: 100%; accent-color: var(--gold); }
.ctl output { font-size: 1.6rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--mute); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
footer a { color: var(--mute); text-decoration: none; }
footer a:hover { color: var(--cream); }
footer .wrap > span { overflow-wrap: anywhere; }
details { margin-top: 1.5rem; color: var(--mute); font-size: 0.9rem; }
details summary { cursor: pointer; color: var(--cream); }
details ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.soon { display: inline-block; border: 1px dashed var(--wood); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.85rem; color: var(--mute); }

/* the app: screenshots, the store button, the sound button, feature rows, free and Pro */
figure { margin: 0; }
figcaption { font-size: 0.88rem; color: var(--mute); margin-top: 0.75rem; text-align: center; }
.shot { display: block; width: 100%; height: auto; border-radius: 1.4rem; border: 1px solid var(--wood-deep); background: var(--cream); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
.phone { position: relative; width: min(100%, 17.5rem); margin: 0 auto; }
.phone .appicon { position: absolute; left: -1.6rem; bottom: 2.5rem; width: 4.75rem; height: 4.75rem; border-radius: 22%; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55); }
@media (max-width: 52rem) { .phone { width: min(78%, 16rem); margin-top: 1rem; } .phone .appicon { left: -1.25rem; width: 4rem; height: 4rem; } }
.small { font-size: 0.92rem; color: var(--mute); margin: 1rem 0 0; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.btn.sound { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.1rem; }
.btn.sound svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn.sound[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.listen { display: flex; align-items: center; gap: 0.9rem 1.1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.listen p { margin: 0; color: var(--mute); font-size: 0.92rem; flex: 1 1 14rem; }
.glance { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.glance .figs { margin: 0; }
@media (max-width: 40rem) { .glance .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } .glance .fig { padding: 1rem; } .glance .fig b { font-size: 2rem; } .glance .fig span { font-size: 0.88rem; } }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 30rem; margin: 0 auto; align-self: center; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 15rem minmax(0, 1fr); }
.feature.flip figure { order: -1; }
.feature h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 0.6em; }
.feature p { color: var(--mute); max-width: 38em; }
.feature p a { color: var(--cream); }
@media (max-width: 44rem) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .feature figure, .feature.flip figure { order: 1; width: min(72%, 15rem); margin: 0 auto; }
}
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.plan { background: var(--night-raised); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem 1.4rem; }
.plan.pro { border-color: var(--wood); }
.plan ul { margin: 0; padding-left: 1.1rem; color: var(--mute); }
.plan li { margin: 0.3rem 0; }
.wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.5rem; margin: 2rem 0 2.5rem; }
.wide .shot { border-radius: 1rem; }
.tableboard .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.tableboard h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.tableboard h2 em { font-style: normal; color: var(--gold); }
.tableboard .board { width: 100%; max-width: 34rem; }
@media (max-width: 52rem) { .tableboard .wrap { grid-template-columns: minmax(0, 1fr); } .tableboard .board { max-width: 30rem; } }
.sig { margin: 2rem 0 0; color: var(--ivory); font-weight: 600; font-size: 1.05rem; }
.getit { background: var(--night-raised); }
.getit .wrap { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.getit img { width: 5.5rem; height: 5.5rem; border-radius: 22%; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); flex: none; }
.getit .wrap > div { flex: 1 1 18rem; }
.getit h2 { margin-bottom: 0.3em; }
.getit p { margin: 0; color: var(--mute); }
footer nav a:first-child { color: var(--cream); }
/* the fairness page: commit, salt, roll — as words that scale with the text and wrap on a phone */
.fairness h2 { margin-top: 2.75rem; }
.fairness h2:first-child { margin-top: 0; }
.fairness blockquote { margin: 1.25rem 0; }
.fairness .note { margin-top: 1.25rem; font-size: 1rem; }
.flow { list-style: none; margin: 2.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; align-items: center; }
.flow li { position: relative; display: grid; gap: 0.75rem; }
.flow li + li::before { content: "→"; position: absolute; left: -1.85rem; top: 50%; transform: translateY(-50%); color: var(--wood); font-size: 1.25rem; line-height: 1; }
.flow .node { background: var(--night-raised); border: 1px solid var(--wood-deep); border-radius: 0.75rem; padding: 0.75rem 1rem; text-align: center; }
.flow .node b { display: block; color: var(--ivory); font-weight: 600; }
.flow .node span { display: block; color: var(--mute); font-size: 0.92rem; }
@media (max-width: 40rem) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .flow li + li::before { content: "↓"; left: 50%; top: -1.75rem; transform: translateX(-50%); }
}

/* print: dark ink on white paper, whatever the screen theme; nothing to tap */
@media print {
  :root { --night: #fff; --night-raised: #fff; --night-high: #eee; --cream: #000; --ivory: #000; --mute: #333;
          --line: #bbb; --wood: #777; --wood-deep: #999; --gold: #7a4f00; color-scheme: light; }
  .top, nav, .cta, .listen, .btn { display: none !important; }
  section { padding: 1.25rem 0; }
  .shot, .board, .phone .appicon, .getit img { box-shadow: none; filter: none; }
  a { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) { .die, .card { transition: none; } html { scroll-behavior: auto; } }


/* The wallpapers page, the film on the home page and the press page's lists (15 Nov 2026). */
.papers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.25rem; margin: 2rem 0; }
.paper { background: var(--night-raised); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.paper .views { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.paper .views img { display: block; height: min(10rem, 36vw); width: auto; border-radius: 0.6rem; border: 1px solid var(--wood-deep); }
.paper h3 { margin: 1rem 0 0.25rem; }
.paper p { margin: 0; color: var(--mute); }
.paper p.get { margin-top: 0.75rem; }
.film { display: block; width: 100%; max-width: 60rem; height: auto; margin: 2rem 0 1rem; border-radius: 1rem; border: 1px solid var(--wood-deep); background: #000; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
.files { list-style: none; padding: 0; margin: 1rem 0 2rem; }
.files li { padding: 0.5rem 0; border-top: 1px solid var(--line); }
