/* Voski's house style, as in the apps: flat cool neutrals, hairline panels,
   one orange accent, tracked uppercase captions, heavy titles */
/* The colours are in palette.css, generated from design/palette.json */

/* Voski's asterisk: Roboto Black's five arms, as on Android and in the icons */
@font-face {
  font-family: "Voski Asterisk";
  src: url("fonts/VoskiAsterisk.ttf") format("truetype");
  /* It is the Black weight, so the browser mustn't thicken or thin it */
  font-weight: 900;
  font-display: block;
}

/* Read by screen readers and search engines, not drawn */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.star { font-family: "Voski Asterisk", system-ui, sans-serif; font-synthesis: none; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

/* The name across the full width, as on the app's conversation page */
.banner {
  margin: 0;
  font-size: clamp(64px, 24vw, 168px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
}


.lead {
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 8px;
}
/* Store badges in the house style rather than the stores' artwork; a
   "soon" badge is a span, not a link, until that app is live */
.stores {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.store {
  display: inline-flex;
  flex-direction: column;
  min-width: 168px;
  padding: 9px 16px 10px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-decoration: none;
}

.store small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.store.soon {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
}
/* Until the apps are out */
.soon-tag {
  display: inline-block;
  margin: 18px 0 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accentSoft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 { font-size: 34px; letter-spacing: -0.02em; margin: 8px 0 4px; }

h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
}

section p { margin: 0 0 10px; }
section p:last-child { margin-bottom: 0; }

.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 8px 0; }
.steps li::marker { color: var(--accent); font-weight: 700; }

.platforms { list-style: none; margin: 0 0 12px; padding: 0; }
.platforms li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.platforms li:last-child { border-bottom: 0; }
.platforms span { color: var(--muted); text-align: right; }

.muted { color: var(--muted); }

a { color: var(--accent); }

.home {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

footer { padding: 8px 4px; }
footer p { margin: 4px 0; }

/* The app's conversation screen, recreated rather than pictured, so it
   follows light and dark like the apps */
.screen {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 22px 18px 16px;
  margin: 28px auto;
  max-width: 360px;
  box-shadow: 0 1px 0 var(--line);
}

.screen .name {
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 14px;
  color: var(--text);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
  max-width: 88%;
}

.panel.soft {
  background: var(--accentSoft);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  margin-left: auto;
}

.caption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.confidence::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent);
}

.panel .said { font-size: 13px; color: var(--muted); margin: 4px 0 2px; }
.panel .translated { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

.mic {
  width: 76px;
  height: 76px;
  margin: 18px auto 10px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent);
}

.mic svg { width: 30px; height: 30px; fill: #fff; }

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 40%, transparent); }
.dots span.on { background: var(--accent); }
