/* Tabiya's site: the app's paper and cobalt, Mona Sans (self-hosted, OFL: OFL.txt), no third-party requests. */
@font-face {
  font-family: "Mona Sans";
  src: url("mona-sans.ttf") format("truetype");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --paper: #EEF1FB;
  --ink: #0B133D;
  --ink2: #3D4A7A;
  --ink3: #525E8B;
  --rule: rgba(11, 19, 61, .12);
  --cobalt: #2443C4;
  --cobalt-lip: #14278A;
  --on-cobalt: #FFFFFF;
  --link: #2443C4;
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0B1130; --ink: #E9EDFB; --ink2: #B7C1E6; --ink3: #8C97C4; --rule: rgba(255, 255, 255, .12); --link: #9DB0F5; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 720px; margin: 0 auto; padding-inline: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang { font-size: 15px; }

/* Home */
.hero { background: var(--cobalt); color: var(--on-cobalt); }
.hero .wrap { padding-block: 48px 56px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.hero h1 { font-weight: 900; font-stretch: 125%; font-size: clamp(36px, 7vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.hero p { margin: 16px 0 0; font-size: 19px; max-width: 34ch; opacity: .92; }
.hero img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 6px 0 var(--cobalt-lip); }
.hero .top { padding-block: 0 8px; }
.hero .top a { color: var(--on-cobalt); }
.soon { display: inline-block; margin-top: 24px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 650; font-size: 15px; }
@media (max-width: 560px) { .hero .wrap { grid-template-columns: 1fr; } .hero img { width: 96px; height: 96px; border-radius: 22px; order: -1; } }

.features { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding-block: 48px; }
.features h2 { font-weight: 800; font-stretch: 112%; font-size: 20px; line-height: 1.2; margin: 0; }
.features p { margin: 8px 0 0; color: var(--ink2); }

/* Text pages */
.page { padding-block: 16px 56px; }
.page h1 { font-weight: 900; font-stretch: 125%; font-size: clamp(32px, 6vw, 44px); line-height: 1.05; letter-spacing: -.015em; margin: 8px 0 0; }
.page .updated { color: var(--ink3); font-size: 15px; margin: 8px 0 0; }
.page .lede { font-size: 19px; color: var(--ink2); }
.page h2 { font-weight: 800; font-stretch: 112%; font-size: 22px; line-height: 1.2; margin: 40px 0 0; }
.page h3 { font-weight: 750; font-size: 18px; margin: 28px 0 0; }
.page p, .page ul { margin: 12px 0 0; }
.page li + li { margin-top: 8px; }
.page strong { font-weight: 700; }
.mail { font-weight: 700; }

footer { border-top: 1px solid var(--rule); color: var(--ink3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 24px 40px; }
footer a { color: inherit; }
