/* waku.poko.world: Waku's page. Same visual system as poko.world and wiit.world (Figtree,
   Snow / Black bases, cards, hairlines), with Waku's own colors from its icon: teal and coral.
   No third-party requests. */

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree.woff2') format('woff2-variations'), url('/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAFAFA; --card: #FFFFFF; --card2: #F0F0F0;
  --ink: #111112; --ink-2: #606063; --ink-3: #707074;
  --line: rgba(0, 0, 0, .08);
  --accent: #2E6E80; --accent-2: #255A69; --accent-soft: #E1EFEE;
  --coral: #E87662; --on-coral: #111112;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --frame-shadow: 0 24px 48px -16px rgba(17, 17, 18, .30);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --card: #121316; --card2: #1C1E22;
    --ink: #F5F4F1; --ink-2: #9B9DA1; --ink-3: #85878C;
    --line: rgba(255, 255, 255, .11);
    --accent: #8CC6D6; --accent-2: #6FB0C2; --accent-soft: rgba(140, 198, 214, .14);
    --shadow: none;
    --frame-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink); min-height: 100dvh;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 0 0 14px 0;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* Languages: both are in the page; html[data-lang] shows one. English without JavaScript. */
[data-lang="en"] [lang="es"],
[data-lang="es"] [lang="en"] { display: none !important; }

/* header: Waku's icon and name in the middle, the language switch on the right */
.head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: clamp(18px, 2.8vh, 30px) clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  grid-column: 2; display: flex; align-items: center; gap: 10px;
  font-size: 26px; font-weight: 800; letter-spacing: -.045em; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark img { width: 32px; height: 32px; }
.lang { grid-column: 3; justify-self: end; display: flex; gap: 2px; }
.lang button {
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-3);
  background: none; border: 0; padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }

main { flex: 1; width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); width: 100%; }
section { padding: clamp(40px, 7vh, 84px) 0; }
section + section { border-top: 1px solid var(--line); }

h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: -.038em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.032em; line-height: 1.1; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.flabel { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; display: block; }
h2 + .lede, .flabel + h2 { margin-top: 6px; }
.lede { margin-top: 16px; font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.small { font-size: 13.5px; color: var(--ink-3); }

/* hero: the copy, and a story framed the way Waku frames it */
.hero {
  padding-top: clamp(36px, 6vh, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero h1 { margin-top: 10px; max-width: 16ch; }
.cta {
  display: inline-block; margin-top: 26px;
  background: var(--coral); color: var(--on-coral);
  font-weight: 800; font-size: 15px; padding: 12px 20px; border-radius: 999px;
}
.cta + .small { margin-top: 12px; }
.frame {
  background: #FFFFFF; aspect-ratio: 9 / 16; padding: 7% 7% 0;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--frame-shadow);
}
.frame .caption {
  margin-top: 7%; background: #111112; color: #FFFFFF;
  font-weight: 700; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: -.005em; padding: .45em .9em;
}

/* cards */
.grid { display: grid; gap: 12px; margin-top: clamp(22px, 3.4vh, 32px); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--card); border-radius: 18px; padding: clamp(18px, 2.4vw, 24px);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.card .shot {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 12px; background: #000000; margin-bottom: 16px;
}
.card.pro { background: var(--accent-soft); box-shadow: none; }
.card.pro h3 { color: var(--accent); }
.status {
  display: inline-block; align-self: flex-start; margin-top: 14px; font-size: 12px; font-weight: 700;
  color: var(--accent); background: var(--card); border-radius: 999px; padding: 2px 10px;
}

/* contact */
.shout { background: var(--accent-soft); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.shout .flabel { color: var(--accent); opacity: .8; }
.shout h2 { color: var(--accent); margin-top: 6px; }
.shout p { color: var(--accent); max-width: 58ch; margin-top: 12px; }
.mail { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; }
@media (prefers-color-scheme: dark) { .shout p { color: var(--ink-2); } }

/* text pages: support, privacy, terms */
.page-top { padding-top: clamp(36px, 6vh, 72px); }
.page-top h1 { margin-top: 10px; }
.doc { max-width: 64ch; }
.doc h2 { margin-top: 36px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 26px; }
.doc p, .doc li { margin-top: 10px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .frame { width: min(300px, 78vw); margin: 0 auto; }
  .head { grid-template-columns: auto 1fr; }
  .wordmark { grid-column: 1; }
  .lang { grid-column: 2; }
}
