/* Zilla Translate: clean white, crisp lines, language names front and center. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunken: #f6f6f8;
  --panel: #f2effc;
  --ink: #0a0a0a;
  --ink-2: #4f4f57;
  --ink-3: #66666e;
  --line: #e7e7ec;
  --line-strong: #d4d4dc;
  --btn-radius: 8px;
  --stage-radius: 16px;
  --display-weight: 620;
  --display-tracking: -0.045em;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --cta-bg: #5b17d6;
}
.hero-portrait { border-radius: 14px; top: 64px; }
.step-n { font-family: var(--mono); color: var(--brand); }
.steps li { border-top-width: 1px; }
.spot-label { font-family: var(--mono); font-size: 13px; }

/* Languages */
.langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; }
.langs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; padding: 16px 0 18px; border-top: 1px solid var(--line); min-width: 0; }
.langs .nat { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langs .nat[dir="rtl"] { text-align: left; }
.langs .en { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.langs code { grid-column: 2; grid-row: 1; align-self: center; font: 500 12px/1 var(--mono); color: var(--brand); }
.langs-note { margin-top: 28px; color: var(--ink-2); }
@media (max-width: 980px) { .langs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .langs .nat { font-size: 18px; } }

/* App mockups */
.phone { --app-line: #ececf1; --bubble: #f3f3f6; }
.f2f { flex: 1; display: grid; grid-template-rows: 1fr auto 1fr; min-height: 0; }
.f2f .half { padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.f2f .them { transform: rotate(180deg); background: #f2effc; }
.f2f .lang { font: 600 11px/1 var(--mono); color: var(--brand); }
.f2f .line { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.f2f .line.dim { font-size: 15px; color: var(--app-ink-2); font-weight: 400; }
.f2f .mid { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-top: 1px solid var(--app-line); border-bottom: 1px solid var(--app-line); background: #fff; }
.f2f .pair { font: 600 11.5px/1 var(--mono); color: var(--app-ink-2); }
.f2f .mic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.f2f .mic.alt { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); transform: rotate(180deg); }

.call-head { text-align: center; padding: 6px 18px 12px; }
.call-head .who { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.call-head .s { font-size: 12px; color: var(--app-ink-2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #e9f6ef; color: #14532d; font-size: 11px; font-weight: 600; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.cap { padding: 10px 12px; border-radius: 14px; background: var(--bubble); display: grid; gap: 3px; }
.cap.me { background: #f2effc; }
.cap .who2 { font: 600 10.5px/1.2 var(--mono); color: var(--app-ink-2); }
.cap .o { font-size: 12px; color: var(--app-ink-2); }
.cap .t { font-size: 13.5px; font-weight: 500; }
.call-ctl { flex: none; display: flex; justify-content: center; gap: 22px; padding: 12px 0 26px; }
.call-ctl span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #f1f1f4; color: #3f3f46; }
.call-ctl .end { background: #dc2626; color: #fff; }

.orig { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.08); font-size: 12px; color: var(--app-ink-2); }
.tlink { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--brand); }
.msg.me .tlink { color: #e4dbff; }

.say { padding: 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--app-line); display: grid; gap: 6px; }
.say .q { font-size: 12px; color: var(--app-ink-2); }
.say .big { font-size: 22px; font-weight: 500; letter-spacing: 0; }
.say .rom { font-size: 12.5px; color: var(--app-ink-2); }
.say .row { margin-top: 4px; }
.icon-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--app-line); color: var(--app-ink); }
.icon-btn.on { color: #b45309; }
.starred { display: grid; }
.starred .row { padding: 9px 0; border-top: 1px solid var(--app-line); font-size: 12.5px; }
.starred .t2 { font-size: 12px; color: var(--app-ink-2); }
.lesson { padding: 12px; border-radius: 16px; background: var(--brand); color: #fff; display: flex; align-items: center; gap: 10px; }
.lesson b { display: block; font-size: 13.5px; }
.lesson span { font-size: 11.5px; opacity: .85; }
.lesson .mini-btn { margin-left: auto; background: #fff; color: var(--brand); }
