/* Graphical profile of the Vårdat språk app. Values mirror design/system/tokens.css in the app repo. */
:root {
  --primary: #1A5B92;
  --primary-pressed: #134773;
  --primary-container: #E7F0F8;
  --surface-muted: #F2F5F8;
  --ink: #12395C;
  --ink-muted: #4F6A85;
  --outline: #C9D7E4;
  --recording: #C62828;
  --bg: #FFFFFF;
  --radius-bubble: 20px;
  --radius-tail: 4px;
  --radius-button: 24px;
  --font: "Noto Sans", Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); }
a { color: var(--primary); text-underline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 16px 0; border-bottom: 1px solid var(--outline); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.site .brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; color: var(--primary); text-decoration: none; }
header.site .brand img { width: 40px; height: 40px; }
header.site .back { font-size: 15px; color: var(--ink-muted); }
.hero { padding: 56px 0 32px; display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.hero h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.15; margin: 0 0 16px; font-weight: 700; color: var(--primary); }
.hero p.lead { font-size: 20px; color: var(--ink-muted); margin: 0 0 20px; }
.badge { display: inline-block; font: 600 13px/16px var(--font); padding: 8px 14px; border-radius: 999px; background: var(--primary-container); color: var(--primary); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: var(--radius-bubble); }
.bubble small { display: block; font: 600 13px/16px var(--font); margin-bottom: 4px; opacity: .85; }
.bubble.staff-t { align-self: flex-end; background: var(--primary-container); font-size: 17px; border-top-right-radius: var(--radius-tail); }
.bubble.staff-x { align-self: flex-end; background: var(--primary); color: #fff; font-size: 20px; font-weight: 500; border-top-right-radius: var(--radius-tail); }
.bubble.pat-t { align-self: flex-start; background: #fff; border: 1px solid var(--outline); font-size: 17px; border-top-left-radius: var(--radius-tail); }
.bubble.pat-x { align-self: flex-start; background: var(--surface-muted); font-size: 20px; font-weight: 500; border-top-left-radius: var(--radius-tail); }
.bubble .term { text-decoration: underline; }
[dir=rtl] { direction: rtl; }
h2 { font-size: 24px; margin: 0 0 16px; font-weight: 600; color: var(--primary); }
section { padding: 32px 0; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface-muted); border-radius: var(--radius-bubble); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--ink-muted); font-size: 16px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.langs li { padding: 8px 14px; border: 1px solid var(--outline); border-radius: 999px; font-weight: 500; }
.langs li.exp { border-style: dashed; color: var(--ink-muted); }
.notice { border-left: 4px solid var(--recording); background: var(--surface-muted); padding: 16px 20px; border-radius: 0 var(--radius-bubble) var(--radius-bubble) 0; }
.notice strong { color: var(--recording); }
ul.plain { padding-left: 20px; margin: 0; } ul.plain li { margin-bottom: 8px; }
footer { margin-top: 32px; padding: 24px 0 40px; border-top: 1px solid var(--outline); color: var(--ink-muted); font-size: 14px; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } }
section h3 { font-size: 18px; font-weight: 600; margin: 20px 0 0; }
/* Legal pages (terms, privacy). */
main.legal { padding-top: 40px; }
main.legal h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 8px; color: var(--primary); }
main.legal .updated { color: var(--ink-muted); margin: 0 0 8px; font-size: 15px; }
main.legal section { padding: 20px 0; }
main.legal p { margin: 0 0 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; margin: 12px 0 0; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--outline); }
table.data th { background: var(--surface-muted); font-weight: 600; }
@media (max-width: 720px) { table.data { display: block; overflow-x: auto; } }
