/* Font faces. URLs are rewritten to data URIs by scripts/build-preview.mjs for the standalone preview. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
/* CallHerTonight Design System v3 – "Abendlicht"
   Shared by the Next.js app (src/app/globals.css) and the standalone preview (index.html).
   Principles: white paper, ink type, lavender as a quiet accent. Photography carries the emotion.
   Editorial serif for display, Inter for everything else. Hairlines instead of boxes.
   No gradients, no glow, few icons, radius only where touch targets need it. */
:root {
  --paper: #FFFFFF;
  --paper-2: #F8F7FA;
  --paper-3: #F1EFF5;
  --ink: #1C1A21;
  --ink-2: #58525F;
  --ink-3: #8C8694;
  --line: #ECE9F0;
  --line-2: #DCD8E2;
  --lav: #A78BFA;
  --lav-ink: #6B4FC4;
  --lav-tint: #F3EFFE;
  --lav-soft: #E4DBFD;
  --ok: #2F8F65;
  --warn: #A86A12;
  --bad: #C2475A;
  --night: #141118;

  /* legacy aliases (inline styles in older markup keep working) */
  --c-white: var(--paper); --c-lavender: var(--lav); --c-lavender-soft: var(--lav-tint); --c-lavender-dark: var(--lav-ink);
  --c-text: var(--ink); --c-text-2: var(--ink-2); --c-border: var(--line); --c-surface: var(--paper-2);
  --c-success: var(--ok); --c-warning: var(--warn); --c-danger: var(--bad); --c-night: var(--ink);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --lav-hi: var(--lav-ink);

  --f-text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;

  --r-xs: 2px; --r-sm: 4px; --r: 8px; --r-lg: 12px; --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-float: 0 1px 2px rgba(28,26,33,.04), 0 12px 32px -12px rgba(28,26,33,.18);
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; font-family: var(--f-text); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: 'cv11', 'ss01', 'ss03'; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--lav-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1, h2, .display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.012em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.06; }
h3 { font-size: 1.05rem; letter-spacing: -.005em; line-height: 1.35; }
h1 em, h2 em, .display em { font-style: italic; }
p { margin: 0; }
strong { font-weight: 600; }
.display-it { font-family: var(--f-display); font-style: italic; font-weight: 400; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: .9rem; }
.xs { font-size: .8rem; }
.mono, .num { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: clamp(80px, 11vw, 144px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; position: relative; }
.soft { background: var(--paper-2); }
.surface { background: var(--paper); }
.grid { display: grid; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }
.eyebrow, .kicker { display: inline-block; font-size: .82rem; font-weight: 500; letter-spacing: .01em; color: var(--lav-ink); }
.eyebrow svg { display: none; }
.label { font-size: .8rem; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; }
.label strong { color: var(--ink); font-weight: 600; }

/* section head: title left, text/action right */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .sec-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.sec-head .sec-side p { color: var(--ink-2); max-width: 460px; }
.sec-no { display: none; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 500; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #34303C; }
.btn-accent { background: var(--lav); color: var(--ink); }
.btn-accent:hover { background: #B9A2FB; }
.btn-secondary { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 14px; }
.btn-ghost:hover { background: var(--paper-3); }
.btn-danger { background: transparent; color: var(--bad); border-color: #EBC9CF; }
.btn-danger:hover { border-color: var(--bad); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .38; cursor: not-allowed; }
.link-arrow, .text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; white-space: nowrap; cursor: pointer; }
.link-arrow:hover, .text-link:hover { text-decoration-color: var(--ink); }
.text-link[disabled] { color: var(--ink-3); cursor: default; text-decoration: none; }
.link-arrow svg { display: none; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--pill); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s, color .2s; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn.active { color: var(--bad); }
.icon-btn.active svg { fill: currentColor; }

/* ---------- surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.soft { background: var(--paper-2); border-color: transparent; }
.card-pad { padding: clamp(20px, 2.6vw, 32px); }
.card-hover { transition: border-color .2s; } .card-hover:hover { border-color: var(--line-2); }

/* ---------- small labels, status, chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 500; background: var(--lav-tint); color: var(--lav-ink); white-space: nowrap; }
.badge svg { display: none; }
.badge-ai, .badge-muted { background: var(--paper-3); color: var(--ink-2); }
.badge-dark { background: rgba(255,255,255,.92); color: var(--ink); }
.badge-success { background: #E7F4EE; color: var(--ok); }
.badge-warning { background: #FAF0DF; color: var(--warn); }
.badge-danger { background: #FBECEF; color: var(--bad); }
.dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; display: inline-block; flex: none; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.status-online .dot { background: var(--ok); }
.status-busy .dot { background: #D69A3A; }
.status-offline .dot { background: var(--ink-3); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--paper); font-size: .88rem; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.lang { height: 34px; padding: 0 12px; font-size: .84rem; border-color: transparent; color: var(--ink-2); }
.chip.lang:hover { color: var(--ink); background: var(--paper-3); }
.taglist { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink); font-size: .98rem; }
.taglist, .story-facts > .sf-in { overflow: hidden; }
.taglist { margin-left: -22px; clip-path: inset(0 0 0 22px); }
.taglist > *, .sf-in > * { position: relative; margin-left: 22px; }
.taglist > *::before, .sf-in > *::before { content: '·'; position: absolute; left: -14px; color: var(--ink-3); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > .label { color: var(--ink-2); font-size: .85rem; }
.input, .select, .textarea { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1A21' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input:hover, .select:hover, .textarea:hover { border-color: #C6C0CF; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lav-tint); }
.input[type=color] { padding: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.check input { margin-top: 2px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 1; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; transition: background .25s; }
.switch span::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 99px; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .3s var(--ease-out); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .4; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--fill, 50%), var(--line-2) var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 99px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 6px rgba(28,26,33,.18); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 99px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 6px rgba(28,26,33,.18); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; position: relative; }
.brand { display: flex; align-items: center; flex: none; justify-self: start; }
.brand-word { height: 22px; width: auto; }
.brand-mark { display: none; }
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a { padding: 8px 14px; font-size: .92rem; color: var(--ink-2); border-radius: var(--pill); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); background: var(--paper-3); }
.hdr-right { display: flex; align-items: center; gap: 6px; justify-self: end; flex-wrap: nowrap; }
.hdr-clock { display: none; }
.menu-btn { display: none; border-color: transparent; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; animation: drop .3s var(--ease-out); box-shadow: 0 24px 40px -24px rgba(28,26,33,.25); }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; }
.mobile-nav a:last-child { border-bottom: 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .hdr { grid-template-columns: 1fr auto; } .main-nav { display: none; } .menu-btn { display: inline-flex; } .hide-sm { display: none; } }
@media (max-width: 520px) { .hdr { height: 60px; } .brand-word { height: 18px; } .site-header .hdr-cta { display: none; } }

/* ---------- hero: copy + photo composition ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(72px, 10vw, 128px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 520px; }
.hero h1 { max-width: 10ch; }
.slogan { font-size: .85rem; font-weight: 500; color: var(--lav-ink); letter-spacing: .01em; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 6px; }
.fine { font-size: .82rem; color: var(--ink-3); max-width: 420px; }
.fine svg { display: none; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.ha-main { position: absolute; right: 0; top: 0; width: 70%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3); }
.ha-side { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3); outline: 10px solid var(--paper); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.ha-main img { animation: slowzoom 20s var(--ease) infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.ha-note { border: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; position: absolute; right: 5%; bottom: 6%; background: var(--paper); border-radius: var(--r-lg); padding: 14px 18px 14px 14px; box-shadow: var(--shadow-float); display: flex; align-items: center; gap: 14px; animation: rise 1s .6s var(--ease-out) both; }
.ha-note img { width: 42px; height: 42px; border-radius: 99px; object-fit: cover; }
.ha-note strong { display: block; font-size: .92rem; line-height: 1.3; }
.ha-note small { display: block; font-size: .76rem; color: var(--ink-3); }
.ha-note .eq { margin-left: 10px; }
.ha-quote { position: absolute; left: 0; top: 4%; width: 26%; font-family: var(--f-display); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--ink-2); line-height: 1.25; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 560px; width: 100%; margin: 8px auto 0; } }
@media (max-width: 520px) { .ha-note { right: 0; } .ha-quote { display: none; } .ha-side { outline-width: 6px; } }

/* equalizer (subtle audio animation) */
.eq { display: inline-flex; align-items: center; gap: 3px; height: 18px; flex: none; }
.eq i { width: 2px; height: 100%; border-radius: 2px; background: var(--lav); transform-origin: center; animation: eq 1.3s var(--ease) infinite; }
.eq i:nth-child(2) { animation-delay: -.35s } .eq i:nth-child(3) { animation-delay: -.7s } .eq i:nth-child(4) { animation-delay: -1s } .eq i:nth-child(5) { animation-delay: -.5s }
.eq.off i, .eq.muted i { animation: none; transform: scaleY(.22); }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- persona stories (home): editorial rows ---------- */
.stories { display: flex; flex-direction: column; gap: clamp(80px, 11vw, 136px); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.story:nth-child(even) .story-media { order: 2; justify-self: end; }
.story-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3); max-width: 500px; width: 100%; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.story-media:hover img { transform: scale(1.03); }
.story-body { display: flex; flex-direction: column; gap: 22px; max-width: 460px; }
.story-meta { display: flex; gap: 18px; align-items: center; font-size: .84rem; color: var(--ink-3); flex-wrap: wrap; }
.story h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.015em; }
.quote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.32; color: var(--ink); }
.quote::before { content: '„'; } .quote::after { content: '“'; }
html[lang=en] .quote::before { content: '“'; } html[lang=en] .quote::after { content: '”'; }
.story-facts { font-size: .9rem; color: var(--ink-2); padding-top: 18px; border-top: 1px solid var(--line); overflow: hidden; }
.story-facts > .sf-in { display: flex; flex-wrap: wrap; gap: 6px 0; margin-left: -22px; }
.story-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .story { gap: 40px; } .story h3 { font-size: 2.6rem; } }
@media (max-width: 600px) { .story { grid-template-columns: 1fr; gap: 28px; } .story:nth-child(even) .story-media { order: 0; justify-self: start; } }

/* ---------- persona grid (discover, related) ---------- */
.cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(40px, 4vw, 60px) clamp(18px, 2.4vw, 32px); }
.pcard { display: flex; flex-direction: column; gap: 16px; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-top { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 1; }
.pcard-top .icon-btn { border-color: transparent; background: rgba(255,255,255,.94); width: 36px; height: 36px; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; }
.pcard-body .row.between:first-child { align-items: baseline; flex-wrap: nowrap; gap: 10px; }
.pcard-body h3, .pcard-name { font-family: var(--f-display); font-weight: 400; font-size: 1.85rem; line-height: 1.05; letter-spacing: -.01em; }
.pcard-body > p { color: var(--ink-2); font-size: .93rem; }
.pcard-foot { display: flex; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--ink-3); flex-wrap: wrap; }
.price-tag { font-size: .84rem; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-tag b { color: var(--ink); font-weight: 600; }
.ai-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .72rem; font-weight: 500; padding: 4px 10px; border-radius: var(--pill); z-index: 1; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr 1fr; gap: 36px 14px; } .pcard { gap: 12px; } .pcard-body h3 { font-size: 1.4rem; } .pcard-body > p { font-size: .84rem; line-height: 1.45; } .pcard-body .row.between:first-child { flex-direction: column; align-items: flex-start; gap: 2px; } .ai-tag { left: 8px; bottom: 8px; } }

/* ---------- voices list ---------- */
.vlist { border-top: 1px solid var(--line); }
.vrow { display: grid; grid-template-columns: 64px minmax(0, .8fr) minmax(0, 1.2fr) auto; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; color: var(--ink); }
.vrow img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 24%; border-radius: 99px; }
.vrow strong { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; display: block; }
.vrow .vtext { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--ink-2); line-height: 1.35; }
.vrow .vplay { display: inline-flex; align-items: center; gap: 12px; }
.vrow.on .vplay .icon-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 760px) { .vrow { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; } .vrow img { width: 52px; height: 52px; } .vrow .vtext { display: none; } .vrow strong { font-size: 1.45rem; } }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.voice-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; color: var(--ink-2); }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 16px; }
.wave i { width: 2px; height: 5px; border-radius: 1px; background: currentColor; display: block; }
.wave.playing i { animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .2s } .wave i:nth-child(4) { animation-delay: .3s } .wave i:nth-child(5) { animation-delay: .4s }
@keyframes wave { 0%, 100% { height: 4px } 50% { height: 16px } }

/* ---------- how it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(40px, 8vw, 128px); align-items: center; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.steps > * { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.step-n { font-size: .82rem; color: var(--lav-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* phone mock showing the call screen */
.phone { width: 100%; max-width: 330px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #0C0A0F; padding: 11px; box-shadow: 0 50px 90px -50px rgba(28,26,33,.6); justify-self: center; position: relative; }
.phone > .call-ui { border-radius: 36px; height: 100%; }
.phone .call-portrait { width: 64%; }
.phone .call-name { font-size: 2.1rem; }
.phone .call-btn span.c { width: 54px; height: 54px; }
.phone .call-btn svg { width: 22px; height: 22px; }
.phone .call-controls { padding-bottom: 28px; gap: 34px; }

/* example ticket (number + code) */
.ticket { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.ticket > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ticket > div + div { border-left: 1px solid var(--line); }
.ticket b { font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: .02em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticket a b { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.ticket .code-digits { letter-spacing: .26em; }
.modal .ticket, .narrow .ticket { grid-template-columns: 1fr; }
.modal .ticket > div + div { border-left: 0; border-top: 1px solid var(--line); }
.modal .ticket-foot { grid-column: auto; }
.ticket-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0 !important; flex-direction: row !important; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--ink-3); background: var(--paper-2); gap: 12px !important; flex-wrap: wrap; }

/* ---------- live call screen (immersive) ---------- */
.call-overlay { position: fixed; inset: 0; z-index: 120; background: var(--night); display: flex; align-items: stretch; justify-content: center; animation: fade .35s var(--ease); }
.call-ui { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night); color: #fff; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.call-bg { position: absolute; inset: -12%; z-index: -2; background-size: cover; background-position: center 30%; filter: blur(50px) saturate(1.1); opacity: .5; }
.call-ui::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20,17,24,.38); }
.call-bg.scene { inset: -3%; filter: blur(5px) saturate(1.05) brightness(.62); opacity: 1; background-position: center; }
.call-ui:has(.call-bg.scene)::after { background: linear-gradient(180deg, rgba(20,17,24,.35) 0%, rgba(20,17,24,.15) 40%, rgba(20,17,24,.65) 100%); }
.call-top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: max(18px, env(safe-area-inset-top)) 20px 0; font-size: .78rem; color: rgba(255,255,255,.7); }
.ai-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; font-weight: 500; font-size: .74rem; white-space: nowrap; }
.call-main { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 12px 24px; text-align: center; }
.call-portrait { width: min(62vw, 290px, 34vh); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); margin-bottom: 6px; }
.call-portrait img { width: 100%; height: 100%; object-fit: cover; }
.call-name { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3rem); line-height: 1; }
.call-state { font-size: .95rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 12px; justify-content: center; font-variant-numeric: tabular-nums; min-height: 26px; }
.call-ui .eq { height: 22px; gap: 4px; } .call-ui .eq i { width: 3px; background: #fff; opacity: .9; }
.call-meta { font-size: .82rem; color: rgba(255,255,255,.62); font-variant-numeric: tabular-nums; }
.call-meta b { color: #fff; font-weight: 600; }
.call-warn { font-size: .85rem; color: #FFD38A; min-height: 20px; }
.call-greeting { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.6); max-width: 30ch; }
.call-controls { display: flex; gap: clamp(36px, 10vw, 56px); justify-content: center; align-items: flex-start; padding: 8px 24px max(34px, env(safe-area-inset-bottom)); }
.call-btn { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: .74rem; color: rgba(255,255,255,.82); background: none; border: 0; padding: 0; }
.call-btn span.c { width: 66px; height: 66px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); color: #fff; transition: background .2s, color .2s, transform .15s; }
.call-btn:hover span.c { background: rgba(255,255,255,.26); }
.call-btn:active span.c { transform: scale(.94); }
.call-btn.on span.c { background: #fff; color: var(--night); }
.call-btn.end span.c { background: #EB4B5F; }
.call-btn.end:hover span.c { background: #F2647A; }
.call-btn.end svg { transform: rotate(135deg); }
.call-btn svg { width: 26px; height: 26px; }
@media (min-width: 760px) { .call-overlay { padding: 28px; background: rgba(20,17,24,.94); align-items: center; } .call-overlay > .call-ui { max-width: 420px; height: min(860px, 100%); border-radius: 38px; box-shadow: 0 50px 100px -40px #000; } }

/* ---------- credits + calculator ---------- */
.credit-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
@media (max-width: 860px) { .credit-band { grid-template-columns: 1fr; } }
.calc { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.calc-out { display: flex; align-items: baseline; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.calc-out .kpi-value { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 4.8rem); line-height: .9; letter-spacing: -.02em; margin: 0; color: var(--ink); }

/* ---------- plans & packages ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--paper-3); gap: 2px; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: var(--pill); font-size: .88rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; transition: color .2s, background .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(28,26,33,.12); }
.seg .badge { height: 20px; background: var(--lav-tint); }
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 32px clamp(16px, 2vw, 28px) 8px !important; border-left: 1px solid var(--line); position: relative; background: none; }
.plan:first-child { border-left: 0; padding-left: 0 !important; }
.plan h3 { font-size: 1rem; font-weight: 600; }
.plan.hl::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--lav); }
.price { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 3rem); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; line-height: 1; flex-wrap: wrap; }
.price span, .price .muted { font-family: var(--f-text); font-size: .85rem; letter-spacing: 0; color: var(--ink-3); }
.plan-credits { font-size: .9rem; color: var(--ink-2); }
.feat { list-style: none; padding: 16px 0 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--ink-2); flex: 1; border-top: 1px solid var(--line); }
.feat li { display: flex; gap: 10px; align-items: flex-start; }
.feat svg { display: none; }
.feat li::before { content: ''; width: 5px; height: 5px; border-radius: 99px; background: var(--lav); margin-top: 9px; flex: none; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(3) { border-left: 0; padding-left: 0 !important; } .plan:nth-child(n+3) { border-top: 1px solid var(--line); } .plan { padding-bottom: 32px !important; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; padding-left: 0 !important; padding-right: 0 !important; } .plan + .plan { border-top: 1px solid var(--line); } }
.packs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pack { padding: 28px clamp(14px, 1.6vw, 22px) 8px !important; gap: 8px !important; border-left: 1px solid var(--line); position: relative; background: none; }
.pack:first-child { border-left: 0; padding-left: 0 !important; }
.pack .kpi-value { font-family: var(--f-display); font-weight: 400; font-size: 2.7rem; letter-spacing: -.02em; margin: 0; line-height: 1; }
.pack.hl::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--lav); }
@media (max-width: 1000px) { .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pack:nth-child(odd) { border-left: 0; padding-left: 0 !important; } .pack:nth-child(n+3) { border-top: 1px solid var(--line); } .pack { padding-bottom: 28px !important; } }
@media (max-width: 480px) { .packs { grid-template-columns: 1fr; } .pack { border-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; } .pack + .pack { border-top: 1px solid var(--line); } }

/* ---------- principles (text only) ---------- */
.benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 64px); }
.benefits > * { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.benefits h3 { font-size: 1.05rem; }
.benefits p { color: var(--ink-2); font-size: .94rem; }
.feature-ic { display: none; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; font-weight: 500; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; transition: transform .35s var(--ease-out); }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { padding: 0 52px 26px 0; color: var(--ink-2); max-width: 68ch; animation: rise .4s var(--ease-out); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--paper-2); }
.footer-logo { height: 24px; width: auto; margin-bottom: 10px; align-self: flex-start; }
.footer-slogan { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; line-height: 1.25; color: var(--ink); max-width: 20ch; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid strong { font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.footer-grid a { color: var(--ink-2); width: max-content; font-size: .92rem; transition: color .2s; }
.footer-grid a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); padding-top: 24px; margin-top: 56px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- discover ---------- */
.filters { display: flex; flex-direction: column; gap: 18px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.search { position: relative; max-width: 560px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }
.search .input { padding-left: 48px; height: 52px; border-radius: var(--pill); background: var(--paper-2); border-color: transparent; }
.search .input:focus { background: var(--paper); border-color: var(--ink); }
.filter-row { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
.filter-row .select { width: auto; min-width: 160px; height: 42px; font-size: .9rem; border-radius: var(--pill); }
.filter-row .check { align-items: center; font-size: .9rem; }
.filter-row label.row { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 560px) { .chips-scroll, .filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; -webkit-overflow-scrolling: touch; } .filters .chips::-webkit-scrollbar { display: none; } .filters .chips .chip { flex: none; } }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile > :first-child { position: sticky; top: 92px; }
.profile-media { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--paper-3); }
.profile-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile h1 { font-size: clamp(3rem, 6vw, 4.6rem); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { border: 0; border-radius: var(--r-sm); overflow: hidden; padding: 0; background: none; opacity: .5; transition: opacity .25s; position: relative; }
.thumb.on, .thumb:hover { opacity: 1; }
.thumb.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.thumb img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > * { padding: 18px !important; border-left: 1px solid var(--line); }
.facts > :first-child { border-left: 0; padding-left: 0 !important; }
.facts .kpi-value { font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; line-height: 1; margin-top: 6px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .86rem; color: var(--ink-3); }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--paper-2); border-radius: var(--r); font-size: .9rem; color: var(--ink-2); }
.note svg { display: none; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile > :first-child { position: static; } .facts { grid-template-columns: 1fr 1fr; } .facts > :nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0 !important; } }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 140px); display: flex; align-items: center; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.auth-split .auth { margin: 0; }
.auth-visual { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; } .auth-visual { display: none; } .auth-split .auth { margin: 0 auto; } }

/* ---------- editorial image band + visual strips ---------- */
.band { position: relative; overflow: hidden; background: var(--paper-2); }
.band > img { display: block; width: 100%; height: clamp(420px, 46vw, 680px); object-fit: cover; object-position: 70% 50%; }
.band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 32%, rgba(255,255,255,0) 58%); pointer-events: none; }
.band-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.band-copy .container > div { max-width: 400px; display: flex; flex-direction: column; gap: 20px; pointer-events: auto; }
.band-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.band-copy p { color: var(--ink-2); }
@media (max-width: 860px) { .band { background: var(--paper); } .band::before { display: none; } .band > img { height: auto; aspect-ratio: 4 / 5; object-position: 80% 50%; } .band-copy { position: static; padding: 36px 0 8px; } }
.visual-strip { border-radius: var(--r-sm); overflow: hidden; margin: 0 0 clamp(36px, 5vw, 56px); background: var(--paper-3); }
.visual-strip img { display: block; width: 100%; aspect-ratio: 21 / 5; object-fit: cover; }
@media (max-width: 560px) { .visual-strip img { aspect-ratio: 16 / 7; } }
.auth { max-width: 440px; width: 100%; margin: 0 auto; }
.auth h1, .auth h2 { font-size: clamp(2.3rem, 4vw, 2.9rem); }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .82rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
form.auth { max-width: none; }

/* ---------- page head ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); max-width: 16ch; }
.page-head .lead { margin-top: 18px; }
.page-head .seg { margin-top: 28px; }

/* ---------- prose (legal) ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 24px; }
.prose h2 { font-family: var(--f-text); font-weight: 600; font-size: 1.2rem; margin: 40px 0 12px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 12px 0; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 20px 0; padding: 14px 18px; background: #FAF0DF; color: var(--warn); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 14px 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; text-align: left; vertical-align: top; color: var(--ink-2); }

/* ---------- tables, KPIs, bars ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: .8rem; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.kpis { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis > .card, .kpis > .kpi, .kpis > * { border: 0; border-radius: 0; background: none; box-shadow: inset 1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.kpi { padding: 22px 20px; }
.kpi-label { font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.kpi-value { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.bar { height: 4px; background: var(--paper-3); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; background: var(--lav); border-radius: 99px; }
.code { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 600; letter-spacing: .24em; color: var(--ink); font-variant-numeric: tabular-nums; }
.call-time { font-size: clamp(2.6rem, 8vw, 3.4rem); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- avatars ---------- */
.avatar { width: 40px; height: 40px; border-radius: 99px; object-fit: cover; object-position: 50% 24%; background: var(--paper-3); flex: none; }
.avatar.sm { width: 30px; height: 30px; } .avatar.lg { width: 56px; height: 56px; }
.avatar.xl { width: 120px; height: 120px; }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(28,26,33,.42); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; animation: fade .25s var(--ease); }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(28,26,33,.45); padding: clamp(24px, 3vw, 36px); animation: rise .4s var(--ease-out); position: relative; }
.modal h2, .modal h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: calc(100% - 32px); max-width: 420px; }
.toast { background: var(--ink); color: #fff; padding: 14px 20px; border-radius: var(--r-lg); font-size: .9rem; box-shadow: 0 16px 32px -16px rgba(28,26,33,.5); animation: rise .4s var(--ease-out); text-align: center; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.reveal { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }

/* ---------- app shell (dashboard / admin) ---------- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.sidenav { border-right: 1px solid var(--line); padding: 28px 16px; background: var(--paper); position: sticky; top: 68px; height: calc(100vh - 68px); overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.sidenav a, .sidenav button.navlink { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r); color: var(--ink-2); font-size: .92rem; width: 100%; background: none; border: 0; text-align: left; transition: color .2s, background .2s; }
.sidenav a svg, .sidenav button.navlink svg { width: 17px; height: 17px; color: var(--ink-3); }
.sidenav a:hover, .sidenav button.navlink:hover { color: var(--ink); background: var(--paper-2); }
.sidenav a.active { color: var(--ink); background: var(--paper-3); font-weight: 500; }
.sidenav a.active svg { color: var(--ink); }
.sidenav .group { font-size: .75rem; color: var(--ink-3); padding: 20px 12px 6px; font-weight: 500; }
.sidenav button.navlink { margin-top: auto; }
.main { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.main h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.main h2 { font-family: var(--f-text); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.3; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidenav { position: sticky; top: 60px; z-index: 20; height: auto; flex-direction: row; gap: 4px; overflow-x: auto; padding: 10px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .sidenav::-webkit-scrollbar { display: none; }
  .sidenav .group { display: none; }
  .sidenav a, .sidenav button.navlink { white-space: nowrap; width: auto; margin-top: 0; }
}

/* ---------- misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .three { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.alert { padding: 13px 16px; border-radius: var(--r); font-size: .92rem; }
.alert-error { background: #FBECEF; color: var(--bad); }
.alert-ok { background: #E7F4EE; color: var(--ok); }
.alert-info { background: var(--lav-tint); color: var(--lav-ink); }
.alert-warn { background: #FAF0DF; color: var(--warn); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 99px; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }
.main .table .input { height: 38px; min-width: 80px; }
.hangup { width: 34px; height: 34px; border-radius: 99px; background: #EB4B5F; color: #fff; display: inline-flex; align-items: center; justify-content: center; transform: rotate(135deg); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; color: var(--lav-ink); }
.call-screen .kpi-value { font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- CallHerTonight live additions (browser call) ---------- */
.call-sheet { max-width: 320px; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.call-sheet .call-greeting { color: rgba(255,255,255,.85); }
.call-sheet-fine { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.call-volume { display: flex; align-items: center; gap: 12px; width: min(280px, 80%); color: rgba(255,255,255,.75); }
.call-volume input[type=range]::-webkit-slider-runnable-track { background: rgba(255,255,255,.35); }
.call-volume input[type=range]::-moz-range-track { background: rgba(255,255,255,.35); }
.call-output { height: 34px; max-width: 130px; padding: 0 28px 0 10px; font-size: .78rem; border-radius: var(--pill); background-color: rgba(255,255,255,.14); color: #fff; border: 0; }
.call-output option { color: var(--ink); }
.call-btn.start span.c { background: #2FB36A; }
.call-btn.start:hover span.c { background: #39C577; }
.call-btn[disabled] { opacity: .5; cursor: progress; }
a.call-btn { text-decoration: none; }
.call-warn:empty { display: none; }
[hidden] { display: none !important; }
.vrow[disabled] { cursor: default; }

/* ---------- official logo ---------- */
.brand-logo { height: 38px; width: auto; display: block; }
.footer-logo { height: 44px; width: auto; }
@media (max-width: 520px) { .brand-logo { height: 30px; } }
.nav-count { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--lav-ink); color: #fff; font-size: .7rem; font-weight: 600; align-items: center; justify-content: center; margin-left: 4px; }

/* ---------- splash (loading screen, also used by the installed PWA) ---------- */
.splash { position: fixed; inset: 0; z-index: 300; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity .45s var(--ease), visibility .45s; }
.splash img { width: min(320px, 72vw); height: auto; animation: rise .8s var(--ease-out) both; }
.splash.gone { opacity: 0; visibility: hidden; }

/* ---------- mobile tab bar (Entdecken · Chats · Anrufe · Profil) ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  body.has-tabs .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); padding: 6px 4px max(8px, env(safe-area-inset-bottom)); }
  body.has-tabs { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-tabs .site-footer { display: none; }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; color: var(--ink-3); padding: 4px 0; }
  .tabbar a.on { color: var(--lav-ink); }
  .tabbar a svg { stroke-width: 1.6; }
  .tab-dot { position: absolute; top: 0; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 99px; background: var(--lav-ink); color: #fff; font-size: .64rem; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }
}

/* ---------- app pages (chats, calls) ---------- */
.app-head { padding: clamp(28px, 5vw, 56px) 0 12px; }
.app-head h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.app-body { padding-bottom: clamp(48px, 8vw, 96px); }
.narrow-app { max-width: 760px; }
.sub-h { font-family: var(--f-text); font-size: .85rem; font-weight: 500; color: var(--ink-3); margin: 32px 0 12px; letter-spacing: .01em; }
.clist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.crow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
a.crow:hover .crow-top strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.crow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crow-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.crow-top strong { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.crow-top time { font-size: .78rem; color: var(--ink-3); flex: none; }
.crow-prev { font-size: .92rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-prev.miss { color: var(--bad); }
.crow.unread .crow-prev { color: var(--ink); font-weight: 500; }
.crow.unread .crow-top time { color: var(--lav-ink); }
.crow-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--lav-ink); color: #fff; font-size: .74rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.starter { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.starter::-webkit-scrollbar { display: none; }
.starter-item { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; width: 72px; color: var(--ink); font-size: .85rem; }
.starter-item .avatar.lg { width: 64px; height: 64px; outline: 1px solid var(--line); outline-offset: 3px; transition: outline-color .2s; }
.starter-item:hover .avatar.lg { outline-color: var(--lav); }
.starter-item small { font-size: .7rem; color: var(--lav-ink); display: inline-flex; gap: 4px; align-items: center; }

/* ---------- chat thread ---------- */
.thread { display: flex; flex-direction: column; height: calc(100dvh - 68px); max-width: 820px; margin: 0 auto; background: var(--paper); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.thread-head { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.thread-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.thread-who strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.05; }
.thread-who small { display: block; font-size: .74rem; color: var(--ink-3); }
.icon-btn.ghost { border-color: transparent; }
.icon-btn.ghost:hover { background: var(--paper-3); }
.thread-menu { position: absolute; right: 12px; top: calc(100% + 6px); z-index: 5; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 6px; min-width: 240px; animation: drop .2s var(--ease-out); }
.thread-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; background: none; border-radius: var(--r); text-align: left; font-size: .92rem; color: var(--ink); }
.thread-menu button:hover { background: var(--paper-2); }
.thread-menu button.danger { color: var(--bad); }
.thread-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--paper-2); }
.thread-inner { display: flex; flex-direction: column; gap: 6px; padding: 18px 14px 22px; }
.thread-note { align-self: center; max-width: 440px; text-align: center; font-size: .8rem; color: var(--ink-3); padding: 8px 14px 14px; }
.day-sep { align-self: center; font-size: .74rem; color: var(--ink-3); margin: 10px 0 6px; }
.day-sep span { background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; border-radius: 99px; }
.msg { max-width: min(78%, 520px); padding: 9px 13px 6px; border-radius: 18px; font-size: .97rem; line-height: 1.45; animation: rise .25s var(--ease-out); word-wrap: break-word; }
.msg p { margin: 0; }
.msg time { display: block; text-align: right; font-size: .68rem; margin-top: 2px; opacity: .6; font-variant-numeric: tabular-nums; }
.msg.her { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.failed { opacity: .5; }
.msg.failed time::after { content: ' · nicht gesendet'; }
.msg-call { align-self: center; display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--ink-2); background: var(--lav-tint); padding: 6px 12px; border-radius: 99px; margin: 6px 0; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 99px; background: var(--ink-3); animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.thread-cta { align-self: center; margin-top: 8px; }
.composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--line); background: var(--paper); }
.composer textarea { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 1rem; line-height: 1.4; max-height: 140px; background: var(--paper); color: var(--ink); }
.composer textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lav-tint); }
.composer .send { width: 46px; height: 46px; border-radius: 99px; border: 0; background: var(--lav-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: opacity .2s, transform .15s; }
.composer .send:disabled { opacity: .3; cursor: default; }
.composer .send:not(:disabled):active { transform: scale(.94); }
.composer-note { font-size: .72rem; color: var(--ink-3); text-align: center; padding: 0 12px max(8px, env(safe-area-inset-bottom)); background: var(--paper); margin: 0; }
@media (max-width: 760px) {
  body.in-thread .site-header, body.in-thread .site-footer, body.in-thread .tabbar { display: none !important; }
  body.in-thread { padding-bottom: 0 !important; }
  .thread { height: 100dvh; border: 0; }
  .thread-head { padding-top: max(10px, env(safe-area-inset-top)); }
}
body.in-thread .site-footer { display: none; }
/* larger official logo so the slogan stays legible */
.hdr { height: 78px; }
.brand-logo { height: 48px; }
@media (max-width: 960px) { .brand-logo { height: 40px; } }
@media (max-width: 520px) { .hdr { height: 62px; } .brand-logo { height: 34px; } }
.thread { height: calc(100dvh - 78px); }
.profile > :first-child { top: 102px; }
