/* blokino.appn.app: the app's warm plaster by day and lamp-lit plaster at night, in Bricolage Grotesque and
   Hanken Grotesk (DESIGN.md tokens). One column of prose under a kitabe band: firuze glass with a gold rule. */

/* Bricolage Grotesque (Ateliers Grotesques, OFL 1.1) and Hanken Grotesk (Hanken Design Co., OFL 1.1), subset files from Google Fonts, bundled for the site. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/bricolage-grotesque-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/bricolage-grotesque-800-latin.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; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/hanken-grotesk-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/hanken-grotesk-500-latin.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; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-600-latin.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; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/hanken-grotesk-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/hanken-grotesk-700-latin.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 {
  --page: #f2ebdc;
  --paper: #fcf8ef;
  --ink: #2b2620;
  --ink2: #433b31;
  --ink3: #564e43;
  --rule: #d2c7b1;
  --kb-top: #145e66;
  --kb-bottom: #0a3b41;
  --kb-on: #fcf8ef;
  --kb-on2: #d6ebe8;
  --gold: rgb(210 173 94 / .75);
  --link: #0a5c64;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --ui: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #2a231c;
    --paper: #352c23;
    --ink: #f4ecdd;
    --ink2: #e2d7c4;
    --ink3: #cbbfaa;
    --rule: #4d4134;
    --kb-top: #0f4c53;
    --kb-bottom: #082d33;
    --link: #8fd8d9;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 500 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.cover :focus-visible { outline-color: var(--kb-on); }
strong, b { font-weight: 700; }

/* the kitabe band: backlit firuze glass, a gold rule at the foot, plaster-white letters */
.cover {
  background: linear-gradient(var(--kb-top), var(--kb-bottom));
  color: var(--kb-on);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 1px 0 var(--ink);
}
.cover .in { max-width: 720px; margin: 0 auto; padding: 20px 20px 28px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang { color: inherit; font-weight: 700; font-size: 15px; }

/* the logotype: "Blokino" whose first "o" is the app icon (the small master below 40px) */
.wm { display: inline-flex; align-items: baseline; color: inherit; text-decoration: none; font: 800 24px/1 var(--display); letter-spacing: -0.02em; }
.wm img { width: .74em; height: .74em; margin: 0 .02em; align-self: baseline; transform: translateY(.04em); }

.cover h1 { margin: 34px 0 6px; font: 800 42px/1.05 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.cover p { margin: 0; font-size: 18px; font-weight: 600; color: var(--kb-on2); text-wrap: pretty; }

main { max-width: 720px; margin: 0 auto; padding: 8px 20px 48px; }
main h2 { margin: 38px 0 8px; font: 800 23px/1.2 var(--display); letter-spacing: -0.01em; }
main h3 { margin: 32px 0 6px; font: 800 19px/1.3 var(--display); letter-spacing: -0.005em; }
main p, main li { text-wrap: pretty; }
main ul { padding-left: 22px; }
main li { margin: 5px 0; }
.lead { color: var(--ink2); font-size: 19px; margin-top: 26px; }
.meta { color: var(--ink3); font-size: 15px; }
.box { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.box p { margin: 6px 0; }
.note { color: var(--ink3); font-size: 15px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; color: var(--ink2); }
.links { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--rule); }
.links li { margin: 0; border-bottom: 1px solid var(--rule); }
.links a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.links a span { display: block; color: var(--ink3); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--link); }
footer { max-width: 720px; margin: 0 auto; padding: 18px 20px 40px; border-top: 1px solid var(--rule); color: var(--ink3); font-size: 14px; }
footer a { color: var(--ink2); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the share landing: plaster, the ink logotype large with the real icon as its "o", the game as it draws itself */
.hero { background: var(--page); color: var(--ink); border-bottom: 1px solid var(--rule); box-shadow: none; }
.hero .in { padding-bottom: 30px; }
.hero h1 { margin: 30px 0 10px; font-size: 64px; line-height: 1; }
.hero h1 img { width: .78em; height: .78em; transform: translateY(.06em); }
.hero p { color: var(--ink2); font-size: 20px; }
.hero .lang { color: var(--link); }
.shot { margin: 28px auto 6px; max-width: 360px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 1px 1px rgb(50 43 36 / .14), 0 12px 24px -14px rgb(50 43 36 / .5); }
.claims { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.claims li { margin: 0; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; }
.claims b { display: block; font: 800 18px/1.3 var(--display); }
.claims span { color: var(--ink2); font-size: 16px; }
.stores { margin: 22px 0 6px; font-weight: 700; }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .cover h1 { font-size: 34px; margin-top: 28px; }
  .hero h1 { font-size: 54px; margin-top: 24px; }
  .hero p { font-size: 18px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  td:first-child { font-weight: 700; }
}
