/* ==========================================================================
   MeCall Sekretarka: styles.css
   One stylesheet for the public site, onboarding and the owner panel.
   Mobile-first. Design tokens live on :root. Generic UI-kit classes are
   documented in docs/ui-kit.md (backend/admin pages may use them too).

   Design „Granat i karteczka” (D-040): navy ink and the yellow message slip
   (who / what / when to call back) on white and mist; a phone lock screen with
   the missed call and the yellow SMS leads the landing page; signal red only
   for the missed call and unread dots.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts
   Self-hosted (no requests to Google): Figtree (variable 400–800) for text and UI, Bricolage Grotesque (variable,
   optical size 12–96, weight 700–800) for headings, numerals, prices and the clock, JetBrains Mono 700 for dialling
   codes. latin + latin-ext subsets (Polish diacritics live in latin-ext). SIL Open Font License 1.1, see
   static/fonts/OFL-*.txt. */
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/static/fonts/figtree-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/static/fonts/figtree-latin.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: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-stretch: 100%; font-display: swap;
  src: url("/static/fonts/bricolage-grotesque-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-stretch: 100%; font-display: swap;
  src: url("/static/fonts/bricolage-grotesque-latin.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: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/jetbrains-mono-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/jetbrains-mono-700-latin.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;
}

/* --------------------------------------------------------------- tokens */
:root {
  --ink: #16204a;          /* navy ink: text, primary buttons, navy bands */
  --ink-2: #4a5275;        /* secondary text (7.6:1 on white, 6.1:1 on yellow, 6.9:1 on mist) */
  --ink-hover: #26336d;
  --ink-soft: #2c3560;     /* names of messages already called back */
  --note: #ffe680;         /* the yellow slip: SMS, CTAs on navy, active menu item */
  --note-deep: #ffd43b;
  --note-soft: #fff6cf;    /* warnings, the selected option, pending items */
  --paper: #ffffff;
  --mist: #f3f4f8;         /* bands, panel background, soft cards */
  --line: #e3e6ee;         /* hairlines */
  --line-2: #dadde7;       /* card outlines, dashed rules */
  --line-strong: #7f86a3;  /* input borders (3.6:1, meets non-text contrast) */
  --signal: #e5383b;       /* missed-call red: dots and icons only, never text */
  --red: #c8213a;          /* text red: errors, urgent, remove (5.6:1 on white) */
  --red-soft: #fdecee;
  --green: #137a45;        /* success text (4.7:1 on green-soft) */
  --green-ink: #0f5f36;
  --green-soft: #e3f4ea;
  --answer: #1fae50;       /* the phone's "answer" green, dots only */
  --blue-soft: #e9efff;    /* information */
  --lock: #2a3470;         /* the lock screen */
  --lock-deep: #0a0f2c;    /* the phone's bezel */
  --on-ink: #ffffff;       /* text on navy */
  --on-ink-2: #c9cee3;     /* secondary text on navy (10:1) */
  --on-ink-lead: #e4e7f2;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* type scale: 13 / 15 / 17 / 18–21 / 20–22 / 32–56 / 34–56 / 44–92 */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
  --fs-h1: clamp(2.125rem, 1.45rem + 2.6vw, 3.5rem);
  --fs-hero: clamp(2.75rem, 6.4vw, 5.75rem);

  --gutter: 1rem;
  --radius-xs: .75rem;
  --radius-s: .875rem;
  --radius-m: 1.125rem;
  --radius-l: 1.5rem;
  --radius-xl: 2.25rem;
  --shadow-card: 0 12px 26px -22px rgba(22, 32, 74, .6);
  --shadow-float: 0 14px 34px -14px rgba(22, 32, 74, .45);
  --shadow-slip: 0 24px 44px -28px rgba(22, 32, 74, .6);
  --header-h: 4rem;
  --focus: var(--ink);     /* the focus ring; var(--note) on navy (.on-ink) */
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --fs-lead: 1.3125rem; --fs-h3: 1.375rem; }
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
strong, b { font-weight: 700; }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
p, li, dd { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--paper);
  border-radius: 4px;
}
.btn:focus-visible, .copy-btn:focus-visible, .pill:focus-visible, .nav-toggle:focus-visible { border-radius: 999px; }
.icon-btn:focus-visible { border-radius: 50%; }
/* on navy: a yellow ring, no white halo */
.on-ink { --focus: var(--note); }
.on-ink :focus-visible { box-shadow: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1.1rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* ----------------------------------------------------------- typography */
h1, .h1 {
  font-family: var(--display); font-size: var(--fs-h1); line-height: 1.02; font-weight: 800;
  letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word;
}
h2, .h2 {
  font-family: var(--display); font-size: var(--fs-h2); line-height: 1.06; font-weight: 800;
  letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word;
}
h3, .h3 {
  font-family: var(--font); font-size: var(--fs-h3); line-height: 1.25; font-weight: 700;
  letter-spacing: -.005em; overflow-wrap: break-word;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.mono {
  font-family: var(--mono); font-weight: 700; letter-spacing: .01em;
  font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0;
  overflow-wrap: anywhere;
}
.tnum { font-variant-numeric: tabular-nums; }
.hl { color: var(--note); }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 46rem; }
.container-form { max-width: 30rem; }

.stack > * + * { margin-block-start: 1rem; }
.stack-sm > * + * { margin-block-start: .5rem; }
.stack-lg > * + * { margin-block-start: 2rem; }

.grid-2, .grid-3 { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.grid-2 > *, .grid-3 > * { min-width: 0; }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 56rem) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.section { padding-block: 3rem; }
@media (min-width: 60rem) { .section { padding-block: 5rem; } }
.section-mist { background: var(--mist); }
.section-follow { padding-top: 0; }   /* a band that continues the one above it (same background) */
.section-head { margin-bottom: 1.5rem; }
.section-head > h2 { max-width: 22em; }
.section-head > p { margin-top: .75rem; max-width: 40em; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
@media (min-width: 60rem) { .section-head { margin-bottom: 2.75rem; } .section-head > p { font-size: 1.1875rem; } }

/* ================================================================ UI KIT */

/* icons: <span class="i i-phone" aria-hidden="true"></span>, coloured by currentColor */
.i {
  display: inline-block; flex: none; width: 1.25em; height: 1.25em;
  background-color: currentColor; vertical-align: -.22em;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.i-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.i-phone-fill { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.9 16.4l-2.9-.4a1.9 1.9 0 0 0-1.9.6l-1.4 1.4a14.5 14.5 0 0 1-6.7-6.7l1.4-1.4a1.9 1.9 0 0 0 .6-1.9L9.6 5.1A1.9 1.9 0 0 0 7.7 3.5H4.6A1.9 1.9 0 0 0 2.7 5.6a18.6 18.6 0 0 0 15.7 15.7 1.9 1.9 0 0 0 2.1-1.9v-3.1a1.9 1.9 0 0 0 .4-.9z'/%3E%3C/svg%3E"); }
.i-missed { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3Cpath d='M15 3l6 6M21 3l-6 6'/%3E%3C/svg%3E"); }
.i-bubble { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3C6.48 3 2 6.58 2 11c0 2.44 1.37 4.62 3.53 6.09L4.6 20.9a.5.5 0 0 0 .72.55l4.06-2.25c.84.17 1.71.26 2.62.26 5.52 0 10-3.58 10-8S17.52 3 12 3z'/%3E%3C/svg%3E"); }
.i-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.i-copy { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
.i-menu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.i-close { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.i-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.i-mic-off { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l20 20M18.89 13.23A7.12 7.12 0 0 0 19 12v-2M5 10v2a7 7 0 0 0 12 5M15 9.34V5a3 3 0 0 0-5.68-1.33M9 9v3a3 3 0 0 0 5.12 2.12M12 19v3'/%3E%3C/svg%3E"); }
.i-speech { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z'/%3E%3Cpath d='M8 12h.01M12 12h.01M16 12h.01' stroke-width='2.8'/%3E%3C/svg%3E"); }
.i-forward { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2l4 4-4 4M14 6h8'/%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.i-clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.i-back { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E"); }
.i-chevron { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.i-mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.i-share { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51l-6.82 3.98'/%3E%3C/svg%3E"); }
.i-alert { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.i-info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.i-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.i-card { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.i-gift { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.i-sms { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.i-inbox { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
.i-sliders { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E"); }
.i-book { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
.i-robot { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='12' rx='3'/%3E%3Cpath d='M12 8V4M9 13h.01M15 13h.01M9 17h6'/%3E%3C/svg%3E"); }
.i-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5l7 7-7 7M21 12H3'/%3E%3C/svg%3E"); }
.i-doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.i-text { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 10h16M4 14h10M4 18h7'/%3E%3C/svg%3E"); }

/* buttons ---------------------------------------------------------------- */
/* .copy-btn comes first so .btn / .btn-* win when combined on one element */
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 2.75rem; padding: .45rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap;
}
.copy-btn:hover { background: var(--note-soft); }
.copy-btn::before {
  content: ""; width: 1.05em; height: 1.05em; background: currentColor; flex: none;
  -webkit-mask: var(--copy-icon) center / contain no-repeat; mask: var(--copy-icon) center / contain no-repeat;
  --copy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}
.copy-btn.is-copied::before {
  --copy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px;
  border: 2px solid transparent; background: var(--mist); color: var(--ink);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--note-soft); }
.btn-note { background: var(--note); color: var(--ink); border-color: var(--note); }
.btn-note:hover { background: var(--note-deep); border-color: var(--note-deep); }
.btn-ghost { background: transparent; color: var(--on-ink); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-ink); }
.btn-soft { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.btn-soft:hover { background: var(--line); border-color: var(--line); }
.btn-danger { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn-danger:hover { background: #a91a30; border-color: #a91a30; }
.btn-quiet { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: .18em; padding-inline: .5rem; }
.btn-quiet:hover { background: var(--mist); }
.btn-remove { color: var(--red); }
.btn-sm { min-height: 2.75rem; padding: .45rem 1rem; font-size: var(--fs-sm); }
.btn-lg { min-height: 3.5rem; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .i { width: 1.15em; height: 1.15em; }
.btn small { font-family: var(--mono); font-size: .875rem; font-weight: 700; opacity: .85; }
@media (min-width: 48rem) { .btn-lg { min-height: 3.625rem; font-size: 1.125rem; } }

/* round icon buttons (copy / dial in the code rows): 44 px, the label is aria-label or a hidden text */
.icon-btn {
  flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); text-decoration: none;
}
.icon-btn:hover { background: var(--note-soft); }
.icon-btn .i { width: 1.15rem; height: 1.15rem; }
.icon-btn-ink { background: var(--ink); color: var(--paper); }
.icon-btn-ink:hover { background: var(--ink-hover); }
.copy-btn.icon-btn { min-height: 0; padding: 0; border: 0; gap: 0; }
.copy-btn.icon-btn::before { width: 1.15rem; height: 1.15rem; }

/* cards, badges ---------------------------------------------------------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.25rem; }
@media (min-width: 48rem) { .card { padding: 1.75rem; } }
.card-mist { background: var(--mist); border-color: transparent; }
.card-note { background: var(--note); border-color: transparent; }
.card-ink { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.card-ink .muted, .card-ink .help { color: var(--on-ink-2); }

.badge {
  display: inline-flex; align-items: center; gap: .3em; padding: .2em .7em; border-radius: 999px; max-width: 100%;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.35; white-space: nowrap;
  background: var(--mist); color: var(--ink); border: 1px solid transparent;
}
.badge .i { width: 1.05em; height: 1.05em; }
.badge-success { background: var(--green-soft); color: var(--green); }
.badge-warning { background: var(--note-soft); color: var(--ink); border-color: var(--note-deep); }
.badge-danger { background: var(--red-soft); color: var(--red); }
.badge-muted { background: var(--mist); color: var(--ink-2); border-color: var(--line-2); }
.badge-new { background: var(--note); color: var(--ink); }

/* tables: horizontal scroll on small screens; .table-stack turns rows into cards */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--paper); }
.table th, .table td { text-align: left; padding: .75rem .875rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); background: var(--mist); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td .badge { white-space: normal; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius-m); -webkit-overflow-scrolling: touch; }
@media (max-width: 47.99rem) {
  .table:not(.table-stack) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .table-stack td { border: 0; padding: .3rem 0; }
  .table-stack td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
}

/* forms ------------------------------------------------------------------ */
.form-row { display: grid; gap: .4rem; }
.form-row > label, .label { font-weight: 700; line-height: 1.3; }
.label-opt { font-weight: 400; color: var(--ink-2); }
.input {
  display: block; width: 100%; min-height: 3.25rem; padding: .75rem .9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); background: var(--paper);
  font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
  transition: border-color .15s ease;
}
.input::placeholder { color: #6d7492; opacity: 1; }
.input:hover { border-color: var(--ink-2); }
.input:focus, .input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; box-shadow: none; border-color: var(--ink); border-radius: var(--radius-s); }
textarea.input { min-height: 7.5rem; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316204a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 1.15rem no-repeat;
}
.input[aria-invalid="true"] { border-color: var(--red); background-color: #fffafb; }
.input-code { font-family: var(--mono); font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-weight: 700; padding-inline: .5rem; }
.input-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.input-row > .input { flex: 1 1 10rem; min-width: 0; }
.input-row > .btn { flex: 0 0 auto; }
.help { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.error-text { font-size: var(--fs-sm); color: var(--red); font-weight: 700; line-height: 1.4; }
.error-text::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .35em; vertical-align: -.15em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; cursor: pointer; }
.check input[type="checkbox"], .check input[type="radio"] {
  width: 1.375rem; height: 1.375rem; margin: .1rem 0 0; accent-color: var(--ink); cursor: pointer;
}
.check-text { line-height: 1.45; }
.check-box { padding: .9rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-m); background: var(--paper); }
.check-box:has(input:checked) { border-color: var(--ink); background: var(--note-soft); }
.check-box.is-invalid { border-color: var(--red); }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; margin-bottom: .25rem; }
/* a legend that heads a card: out of the border line, a normal heading at the top of the card */
fieldset.form-card > legend { float: left; width: 100%; margin-bottom: .75rem; }
fieldset.form-card > legend + * { clear: left; }

/* alerts ----------------------------------------------------------------- */
.alert {
  display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.05rem;
  border-radius: var(--radius-m); border: 1px solid transparent; background: var(--mist); line-height: 1.45;
}
.alert::before {
  content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; background: currentColor;
  -webkit-mask: var(--alert-icon) center / contain no-repeat; mask: var(--alert-icon) center / contain no-repeat;
  --alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}
.alert-success { background: var(--green-soft); color: var(--green-ink); }
.alert-success::before { --alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.alert-error { background: var(--red-soft); border-color: #f0b3bd; color: #9a1429; }
.alert-error::before { --alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.alert-info { background: var(--blue-soft); color: var(--ink); }
.alert > div > * + * { margin-top: .35rem; }
.alert a { font-weight: 700; }
.alerts { display: grid; gap: .6rem; padding-top: 1rem; }

/* =========================================================== site chrome */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .site-header { border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; gap: .6rem; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-inline-end: auto; color: var(--ink); }
.logo-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.logo-text { display: grid; line-height: 1.05; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.015em; }
.logo-by { font-size: .6875rem; font-weight: 700; color: var(--ink-2); margin-top: .1rem; letter-spacing: .01em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .14em; text-underline-offset: .3em; }
.nav-toggle {
  flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink);
}
.nav-toggle .i { width: 1.25rem; height: 1.25rem; grid-area: 1 / 1; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.header-cta { white-space: nowrap; }
.header-cta .long { display: none; }
@media (max-width: 24.99rem) {
  .header-inner { gap: .5rem; }
  .logo { gap: .5rem; }
  .logo-mark { width: 2rem; height: 2rem; }
  .logo-word { font-size: 1.125rem; }
  .header-cta { padding-inline: .9rem; }
}
@media (max-width: 22.4rem) { .header-cta { display: none; } }
@media (min-width: 25rem) { .header-cta .long { display: inline; } }

/* no-JS: nav shows as a wrapped row; with JS it becomes a drop-down on mobile */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { order: 10; flex-basis: 100%; padding-bottom: .75rem; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.no-js .header-inner { flex-wrap: wrap; }
.js .site-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(22, 32, 74, .35); padding: .25rem var(--gutter) 1.25rem;
}
.js .site-nav.is-open { display: block; }
.js .site-nav li a { display: block; padding: .95rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.js .site-nav .nav-signup { margin-top: 1rem; }
.js .site-nav .nav-signup a { border: 0; padding: .7rem 1.35rem; }

@media (min-width: 60rem) {
  :root { --header-h: 4.75rem; }
  .header-inner { gap: 1.75rem; }
  .logo { gap: .75rem; }
  .logo-mark { width: 2.5rem; height: 2.5rem; }
  .logo-word { font-size: 1.4375rem; }
  .logo-by { font-size: .75rem; }
  .js .site-nav, .no-js .site-nav {
    display: block; position: static; box-shadow: none; border: 0; padding: 0; background: transparent; order: 0; flex-basis: auto;
  }
  .site-nav ul, .no-js .site-nav ul { display: flex; align-items: center; gap: 1.85rem; }
  .js .site-nav li a { display: inline; padding: 0; font-size: 1rem; border: 0; }
  .js .site-nav .nav-signup, .site-nav .nav-signup, .site-nav .nav-mobile { display: none; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav a:hover { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .3em; }
  .header-cta.btn-sm { min-height: 2.875rem; padding-inline: 1.4rem; font-size: 1rem; }
}

.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 2rem; font-size: var(--fs-sm); margin-top: auto; color: var(--ink-2); background: var(--paper); }
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } }
.footer-brand .logo-mark { width: 2rem; height: 2rem; }
.footer-brand p { margin-top: .9rem; max-width: 22rem; }
.footer-title { font-weight: 700; color: var(--ink); margin-bottom: .5rem; font-size: var(--fs-sm); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
@media (min-width: 40rem) { .footer-links { display: grid; gap: .1rem; } }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink-2); text-decoration: underline; text-decoration-thickness: .06em; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; font-size: var(--fs-xs); display: grid; gap: .35rem; }

/* ================================================================ landing */

/* hero: a navy band (full width on phones, an inset rounded card from 48rem) */
.hero { padding: 0; }
.hero-card {
  background: var(--ink); color: var(--on-ink); border-radius: 0 0 1.75rem 1.75rem; overflow: hidden;
  padding: 1.75rem 1.25rem 2rem;
}
@media (min-width: 48rem) {
  .hero { padding: .5rem clamp(.5rem, 2vw, 1.5rem) 0; }
  .hero-card { max-width: 77rem; margin-inline: auto; border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 5.25rem) clamp(1.5rem, 5vw, 4.75rem); }
}
.hero-grid { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
.hero-copy h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.03em; }
.hero-copy .lead { margin-top: 1.1rem; color: var(--on-ink-lead); max-width: 32em; }
.h1-line { display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-size: var(--fs-sm); font-weight: 700; color: var(--on-ink-2); line-height: 1.3;
}
.eyebrow-dot { width: .5625rem; height: .5625rem; border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 4px rgba(229, 56, 59, .25); }
.hero-actions { display: grid; gap: .65rem; }
.hero-actions .btn { width: 100%; }
.hero-number { margin-top: 1rem; font-size: var(--fs-sm); color: var(--on-ink-2); }
.hero-number .mono { color: var(--on-ink); font-weight: 700; }
.hero-note { margin-top: .9rem; font-size: var(--fs-sm); color: var(--on-ink-2); }
.hero-number + .hero-note { margin-top: .25rem; }
.hero-visual { margin: 0; position: relative; }
.hero-caption { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--on-ink-2); text-align: center; max-width: 22.5rem; margin-inline: auto; }
@media (max-width: 59.99rem) {
  .hero-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 40rem) {
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    grid-template-areas: "copy visual" "cta visual";
    column-gap: 3rem; row-gap: 2.25rem; align-items: center;
  }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-visual { grid-area: visual; }
  .hero-cta { grid-area: cta; align-self: start; }
  .eyebrow { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .35rem .9rem .35rem .65rem; margin-bottom: 1.5rem; }
  .hero-copy .lead { margin-top: 1.75rem; font-size: clamp(1.125rem, .9rem + .5vw, 1.3125rem); }
}

/* the phone: on phones only the notifications show; from 60rem the whole lock screen */
.phone { position: relative; }
.lock-time, .phone-home { display: none; }
.notifs { display: grid; gap: .85rem; }
.notif {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start;
  padding: .75rem .9rem; border-radius: 1.375rem; background: rgba(255, 255, 255, .96); color: var(--ink); text-align: left;
}
.notif-icon { width: 2.4rem; height: 2.4rem; border-radius: .7rem; display: grid; place-items: center; margin-top: .05rem; }
.notif-icon .i { width: 1.2rem; height: 1.2rem; }
.notif-icon.is-missed { background: var(--red-soft); color: var(--red); }
.notif-icon.is-sms { background: var(--ink); color: var(--note); }
.notif-head { display: flex; justify-content: space-between; gap: .5rem; font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.3; }
.notif-title { font-weight: 700; font-size: var(--fs-sm); line-height: 1.35; }
.notif-text { font-size: var(--fs-sm); line-height: 1.38; overflow-wrap: anywhere; }
.notif-sms { background: var(--note); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .75); }
.notif-caption { margin-top: .9rem; font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
@media (max-width: 59.99rem) {
  /* the two notifications as a missed-call pill and a yellow slip, slightly tilted */
  .hero .notif-missed { justify-self: start; align-items: center; padding: .6rem 1rem .6rem .6rem; border-radius: 1rem; transform: rotate(1.2deg); }
  .hero .notif-missed .notif-head { display: none; }
  .hero .notif-missed .notif-text { font-size: var(--fs-xs); color: var(--ink-2); }
  .hero .notif-sms { display: block; padding: 1rem 1.15rem 1.15rem; border-radius: 1.25rem; transform: rotate(-1.5deg); box-shadow: none; }
  .hero .notif-sms .notif-icon { display: none; }
  .hero .notif-sms .notif-head { font-weight: 700; color: var(--ink); }
  .hero .notif-sms .notif-head span + span { font-weight: 400; color: var(--ink-2); }
  .hero .notif-sms .notif-title { display: none; }
  .hero .notif-sms .notif-text { margin-top: .75rem; padding-top: .8rem; border-top: 2px dashed rgba(22, 32, 74, .28); font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
}
@media (min-width: 60rem) {
  .hero .phone {
    width: 20.625rem; max-width: 100%; margin-inline: auto; padding: .75rem; border-radius: 3.375rem; background: var(--lock-deep);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1.5px rgba(255, 255, 255, .14); transform: rotate(-2.5deg);
  }
  .hero .phone-screen {
    border-radius: 2.7rem; background: var(--lock); padding: 3.5rem .875rem .875rem; min-height: 32.5rem;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero .lock-time { display: block; text-align: center; color: var(--on-ink); }
  .lock-date { font-size: var(--fs-sm); font-weight: 600; color: #d6daf0; }
  .lock-clock { margin-top: .1rem; font-family: var(--display); font-weight: 700; font-size: 5.125rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .hero .notifs { margin-top: 2.35rem; width: 100%; gap: .625rem; }
  .hero .phone-home { display: block; margin-top: auto; width: 7rem; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); }
}
@media (prefers-reduced-motion: no-preference) {
  .notif-landing { animation: notif-in .6s cubic-bezier(.2, .9, .3, 1.15) .45s both; }
}
@keyframes notif-in {
  from { opacity: 0; translate: 0 -1.25rem; scale: .95; }
  to { opacity: 1; translate: none; scale: none; }
}

/* trust row: 2 × 2 soft cards on phones, a row of four from 60rem */
.trust { padding-block: 1.75rem .5rem; }
.trust-list { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.trust-item { background: var(--mist); border-radius: var(--radius-m); padding: .9rem; display: grid; gap: .5rem; align-content: start; }
.trust-icon { display: grid; place-items: start; }
.trust-icon .i { width: 1.375rem; height: 1.375rem; }
.trust-item strong { display: block; line-height: 1.3; font-size: var(--fs-sm); }
.trust-item span:not(.i):not(.trust-icon) { display: block; font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.4; margin-top: .2rem; }
.trust-item a { font-weight: 700; color: var(--ink); }
@media (max-width: 21.99rem) { .trust-list { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 60rem) {
  .trust { padding-block: 3.5rem .5rem; }
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
  .trust-item { background: none; padding: 0; grid-template-columns: auto minmax(0, 1fr); gap: .875rem; }
  .trust-icon { width: 3rem; height: 3rem; border-radius: 1rem; background: var(--mist); place-items: center; }
  .trust-icon .i { width: 1.5rem; height: 1.5rem; }
  .trust-item strong { font-size: var(--fs-base); }
  .trust-item span:not(.i):not(.trust-icon) { font-size: var(--fs-sm); }
}

/* demo band: the demo number on a yellow card, the browser demo next to it */
.demo-panel { background: var(--mist); border-radius: var(--radius-l); padding: 1.25rem; }
@media (min-width: 48rem) { .demo-panel { padding: 2rem; border-radius: 1.75rem; } }
.demo-grid { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .demo-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; } }
.demo-number-card { background: var(--note); color: var(--ink); border-radius: var(--radius-l); padding: 1.25rem; display: grid; gap: .9rem; align-content: start; }
@media (min-width: 48rem) { .demo-number-card { padding: 1.75rem; } }
.demo-number-label { font-weight: 700; }
.demo-number {
  display: block; font-family: var(--display); font-size: clamp(1.75rem, 8vw, 3.25rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none;
}
.demo-steps { display: grid; gap: .45rem; padding-left: 1.25rem; margin: 0; }
.demo-steps li::marker { font-weight: 800; }
.demo-fine { font-size: var(--fs-sm); color: var(--ink-2); }
.demo-web { background: var(--paper); border-radius: var(--radius-l); padding: 1.25rem; display: grid; gap: .9rem; align-content: start; }
@media (max-width: 39.99rem) { .demo-web .btn { width: 100%; } }
@media (min-width: 48rem) { .demo-web { padding: 1.75rem; } }
.voice-status { font-size: var(--fs-sm); color: var(--green); font-weight: 700; }

/* how it works: three numbered cards (01 / 02 / 03) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; counter-reset: step; }
.step {
  position: relative; counter-increment: step; background: var(--mist); border-radius: 1.25rem;
  padding: 1.1rem 1.1rem 1.15rem 4.25rem; display: flex; flex-direction: column; gap: .3rem;
}
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 1.1rem; top: .95rem;
  font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1.1; letter-spacing: -.04em;
}
.step h3 { font-size: 1.125rem; }
.step p { color: var(--ink-2); font-size: var(--fs-sm); }
.step-artifact { margin-top: .6rem; }
.section-mist .step { background: var(--paper); }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .step { padding: 1.75rem; border-radius: 1.75rem; gap: .75rem; }
  .step::before { position: static; font-size: 3.5rem; line-height: 1; }
  .step h3 { font-size: 1.375rem; margin-top: .5rem; }
  .step p { font-size: var(--fs-base); }
  .step-artifact { margin-top: auto; padding-top: .5rem; }
}
.chip-code {
  display: block; padding: .65rem .8rem; border-radius: var(--radius-xs); background: var(--ink); color: var(--note);
  font-family: var(--mono); font-weight: 700; font-size: 1rem; overflow-wrap: anywhere;
}
.chip-code em { font-style: normal; font-family: var(--font); font-weight: 700; color: var(--on-ink-2); font-size: .9375rem; }
.mini-form { display: grid; gap: .15rem; padding: .85rem 1rem; border-radius: 1.125rem; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.mini-form span { color: var(--ink-2); font-size: var(--fs-xs); font-weight: 700; }
.mini-form b { font-weight: 700; }
.mini-sms { display: block; padding: .85rem 1rem; border-radius: 1.125rem; background: var(--note); font-weight: 700; line-height: 1.4; }
.mini-sms-label { display: block; font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: .2rem; }
@media (min-width: 60rem) { .chip-code { padding: .9rem 1rem; border-radius: 1.125rem; font-size: 1.125rem; } }

/* example: the call as chat bubbles + the resulting SMS slip */
.example-grid { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .example-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: start; } }
.chat-card { background: var(--paper); border-radius: var(--radius-l); padding: 1rem; }
@media (min-width: 48rem) { .chat-card { padding: 1.75rem; border-radius: 1.75rem; } }
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.bubble { max-width: 88%; display: grid; gap: .25rem; }
.bubble .who { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); padding-inline: .25rem; }
.bubble .said { padding: .7rem .95rem; font-size: var(--fs-sm); line-height: 1.45; }
.bubble.is-agent { align-self: flex-start; }
.bubble.is-agent .said { background: var(--mist); border-radius: .3rem 1.25rem 1.25rem 1.25rem; }
.bubble.is-caller { align-self: flex-end; }
.bubble.is-caller .who { text-align: right; }
.bubble.is-caller .said { background: var(--ink); color: var(--on-ink); border-radius: 1.25rem .3rem 1.25rem 1.25rem; }
.section-mist .chat-card .bubble.is-agent .said { background: var(--mist); }
@media (min-width: 48rem) { .bubble .said { font-size: var(--fs-base); padding: .8rem 1.05rem; } }
.example-side { display: grid; gap: 1rem; align-content: start; }
.slip {
  background: var(--note); color: var(--ink); border-radius: 1.25rem; padding: 1rem 1.15rem 1.15rem;
}
.slip-sms { box-shadow: var(--shadow-slip); }
.slip-head { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 700; }
.slip-head .i { width: 1.1rem; height: 1.1rem; }
.slip-text { margin-top: .75rem; padding-top: .85rem; border-top: 2px dashed rgba(22, 32, 74, .28); font-weight: 700; font-size: 1.0625rem; line-height: 1.45; overflow-wrap: anywhere; }
@media (min-width: 60rem) {
  .slip { border-radius: 1.625rem; padding: 1.4rem 1.5rem 1.5rem; }
  .slip-head { font-size: var(--fs-sm); }
  .slip-text { font-size: 1.1875rem; }
}
.notes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.notes-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; }
.notes-list .i { margin-top: .15rem; }
.example-side .notes-list { font-size: var(--fs-sm); color: var(--ink-2); }
.boundaries { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.15rem; border: 1px solid var(--line-2); }
.section-mist .boundaries { border-color: transparent; }
.boundaries strong { display: block; margin-bottom: .25rem; }
.boundaries p { font-size: var(--fs-sm); color: var(--ink-2); }

/* industries: soft pills */
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  display: inline-flex; align-items: center; min-height: 2.875rem; padding: .55rem 1.25rem; border-radius: 999px;
  background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.2;
}
.pill:hover { background: var(--note); }
.section-mist .pill { background: var(--paper); }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); line-height: 1.45; }
.compare thead th, .compare thead td { font-size: 1.0625rem; font-weight: 700; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare tbody th { font-weight: 700; width: 22%; }
.compare .is-us { background: var(--note-soft); }
.compare thead .is-us { background: var(--note); border-radius: var(--radius-m) var(--radius-m) 0 0; }
.compare tbody tr:last-child .is-us { border-radius: 0 0 var(--radius-m) var(--radius-m); }
@media (max-width: 47.99rem) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { width: auto; padding: 0 0 .5rem; border: 0; font-size: 1.0625rem; }
  .compare td { border: 0; padding: .5rem .75rem; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; border-radius: var(--radius-s); }
  .compare td::before { content: attr(data-label); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
  .compare td.is-us::before { color: var(--ink); }
  .compare tbody tr:last-child .is-us { border-radius: var(--radius-s); }
}
@media (max-width: 23.99rem) { .compare td { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }
.fineprint { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-2); }
.fineprint a, .fineprint strong { color: var(--ink); }

/* pricing: the receipt card (netto, VAT, brutto, the free days) */
.price-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .price-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 3rem; align-items: center; } }
.receipt {
  position: relative; background: var(--paper); color: var(--ink); padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius-l); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -28px rgba(22, 32, 74, .5); max-width: 27rem;
}
.section-mist .receipt { box-shadow: 0 30px 60px -36px rgba(22, 32, 74, .55); }
@media (min-width: 48rem) { .receipt { padding: 2rem; border-radius: 2rem; } }
.receipt-title { font-weight: 700; color: var(--ink-2); }
.receipt-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem; margin-top: .5rem; }
.receipt-price .amount { font-family: var(--display); font-size: clamp(3.75rem, 2.9rem + 2.6vw, 4.75rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.receipt-price .per { font-size: var(--fs-sm); color: var(--ink-2); }
.receipt-lines { list-style: none; margin: 1.25rem 0 0; padding: .85rem 0 0; border-top: 2px dashed var(--line-2); display: grid; gap: .4rem; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.receipt-lines li span:last-child { white-space: nowrap; text-align: right; }
.receipt-lines .total { font-weight: 700; color: var(--ink); }
.receipt-lines .free { margin-top: .6rem; padding: .7rem .85rem; border-radius: var(--radius-s); background: var(--note); color: var(--ink); font-weight: 700; }
.receipt .btn { margin-top: 1.5rem; }
.receipt-foot { margin-top: .85rem; font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
.receipt-foot a { color: var(--ink); }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 1.75rem; }
@media (min-width: 40rem) { .price-grid > div > .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.included li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; }
.included .i {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background-color: var(--ink);
  -webkit-mask: none; mask: none; position: relative;
}
.included .i::after {
  content: ""; position: absolute; inset: .4rem; background: var(--paper);
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.included strong { display: block; }
.included span:not(.i) { color: var(--ink-2); font-size: var(--fs-sm); }
.anchor-note { margin-top: 2rem; max-width: 36em; font-size: var(--fs-sm); color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.1rem 3rem 1.1rem 0;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: ""; position: absolute; right: 0; top: .9rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--mist);
}
.faq-item summary::after {
  content: ""; position: absolute; right: .5rem; top: 1.4rem; width: 1rem; height: 1rem;
  background: var(--ink); transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-mist .faq-item summary::before { background: var(--paper); }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.faq-answer { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 42em; }
.faq-answer > * + * { margin-top: .75rem; }

/* closing call to action: a navy card */
.final-cta { padding: 3rem var(--gutter) 1rem; }
.final-card { max-width: 77rem; margin-inline: auto; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-l); padding: 1.75rem 1.4rem; }
@media (min-width: 48rem) {
  .final-cta { padding: 5rem clamp(.5rem, 2vw, 1.5rem) 1rem; }
  .final-card { border-radius: var(--radius-xl); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.75rem); }
}
.final-cta-inner { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .final-cta-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; } }
.final-cta h2 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.03em; }
.final-cta .lead { margin-top: .9rem; color: var(--on-ink-lead); }
.final-actions { display: grid; gap: .75rem; }
@media (min-width: 40rem) and (max-width: 59.99rem) { .final-actions { display: flex; flex-wrap: wrap; } }

/* sticky call-to-action bar on phones (shown by app.js when the hero CTAs are off screen) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: .5rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: var(--paper); box-shadow: 0 -8px 24px -12px rgba(22, 32, 74, .35);
  transform: translateY(110%); transition: transform .25s ease, visibility .25s;
  visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta .btn { flex: 1 1 auto; min-height: 3.25rem; padding-inline: .6rem; gap: .4rem; font-size: .9375rem; }
@media (min-width: 48rem) { .sticky-cta { display: none; } }
body.has-sticky-cta .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
@media (min-width: 48rem) { body.has-sticky-cta .site-footer { padding-bottom: 2rem; } }

/* ============================================================ other pages */
.page-head { padding-block: 2rem 1.25rem; }
@media (min-width: 60rem) { .page-head { padding-block: 3.5rem 1.5rem; } }
.page-head .lead { margin-top: .9rem; color: var(--ink-2); }
.crumbs { font-size: var(--fs-sm); margin-bottom: .75rem; color: var(--ink-2); }
.crumbs a { color: var(--ink); }
.on-ink .crumbs { color: var(--on-ink-2); }
.on-ink .crumbs a { color: var(--on-ink); }

/* a navy head band for the price page (same shape as the landing hero) */
.head-card h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); line-height: 1; letter-spacing: -.03em; max-width: 14em; }
.head-card .lead { margin-top: 1rem; color: var(--on-ink-lead); }
.price-grid.is-receipt-first { align-items: start; }
@media (min-width: 60rem) { .price-grid.is-receipt-first { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); } }
.price-grid h2 + .included { margin-top: 1.25rem; }
/* industry and private-person heroes: longer headings than the landing's */
.hero-copy .ind-title { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.75rem); line-height: 1.02; }
.hero-copy .b2c-title { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem); }
.hero .notif-caption { color: var(--on-ink-2); }
.block-title { margin-bottom: 1rem; }
.block-help { margin-bottom: .75rem; }

.page-title { max-width: 24em; }
.h-sub { font-family: var(--display); font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.card-soft { background: var(--note-soft); border-color: transparent; }
.box-list { display: grid; gap: .5rem; }
.box-list .more-box { background: var(--paper); }
/* the check code next to its buttons (/wylacz step 2) */
.check-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.check-code {
  flex: 1 1 8rem; display: grid; place-items: center; min-height: 3.25rem; padding: .5rem 1rem;
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius-s); font-size: 1.375rem;
}
/* why the forwarding must be turned off: four consequences with icon tiles */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.why-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; font-size: var(--fs-sm); }
.why-list li > span:last-child { padding-top: .45rem; }
.why-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--mist); display: grid; place-items: center; }
.why-icon .i { width: 1.25rem; height: 1.25rem; }
.why-icon.is-missed { background: var(--red-soft); color: var(--red); }
.alert .why-icon { background: var(--paper); }

/* tinted pages (forms, onboarding) */
.page-tinted main { background: var(--mist); }

/* step headings with a round number ("1", "2"): /wylacz, /start */
.step-num {
  flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); font-family: var(--font); font-size: 1rem; font-weight: 700; line-height: 1;
}
.step-title { display: flex; align-items: flex-start; gap: .65rem; }
.step-title .step-num { margin-top: -.05rem; }

/* pricing page: terms in two columns, comparison with our row highlighted */
.terms { display: grid; gap: 0 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.term { border-top: 1px solid var(--line-2); padding: 1.15rem 0 1.5rem; }
.term h3 { margin-bottom: .35rem; }
.term p { color: var(--ink-2); max-width: 34em; }
.compare-3 tbody tr:last-child .is-us { border-radius: 0; }
.compare .is-us-row th { background: var(--note-soft); }
@media (min-width: 48rem) { .compare .is-us-row th { padding-left: 1.1rem; border-radius: var(--radius-m) 0 0 var(--radius-m); } .compare .is-us-row td:last-child { border-radius: 0 var(--radius-m) var(--radius-m) 0; } }

/* industry page */
.ind-visual { display: grid; gap: .85rem; align-content: center; max-width: 26rem; }
.caller-says {
  justify-self: start; background: var(--paper); color: var(--ink); border-radius: 1.25rem 1.25rem 1.25rem .3rem;
  padding: .8rem 1rem; max-width: 22rem;
}
.caller-says span { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); margin-bottom: .15rem; }
.pain-list, .benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pain-list li, .benefit-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; }
.pain-list .i, .benefit-list .i { width: 2.5rem; height: 2.5rem; border-radius: .75rem; -webkit-mask: none; mask: none; position: relative; }
.pain-list .i { background: var(--red-soft); }
.benefit-list .i { background: var(--green-soft); }
.pain-list .i::after, .benefit-list .i::after {
  content: ""; position: absolute; inset: .6rem;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.pain-list .i::after { background: var(--red); }
.benefit-list .i::after { background: var(--green); }
.pain-list li > span:last-child, .benefit-list li > span:last-child { padding-top: .45rem; }

/* forwarding guide + legal + generic long text */
.prose { max-width: 44rem; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.75rem; }
.prose h1 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 0; }
.prose > h2:first-child { margin-top: 0; }
.legal-wrap { padding-block: 2rem 4rem; }
@media (min-width: 60rem) { .legal-wrap { padding-block: 3rem 5.5rem; } }
.legal-content > h1:first-child, .legal-content > :first-child h1 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose a { font-weight: 700; }
.prose code, .prose kbd { font-family: var(--mono); font-weight: 700; font-size: .95em; background: var(--mist); padding: .1em .35em; border-radius: .35rem; overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.no-js .prose table { display: block; overflow-x: auto; }
/* app.js wraps every .prose table so wide tables (e.g. 6-column sub-processor list) scroll sideways on phones */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-s); }
.table-scroll > table { min-width: 40rem; margin: 0; }
.table-scroll:focus-visible { outline-offset: 2px; }
.table-hint { font-size: var(--fs-xs); color: var(--ink-2); margin-top: .35rem; }
@media (min-width: 48rem) { .table-hint { display: none; } }
.prose th, .prose td { border: 1px solid var(--line-2); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.prose blockquote { border-left: 3px solid var(--ink); padding-left: 1rem; color: var(--ink-2); }
.legal-docs { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
.guide-layout { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .guide-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; align-items: start; } .guide-aside { position: sticky; top: 1.5rem; } }
.code-table { width: 100%; border-collapse: collapse; }
.code-table th, .code-table td { text-align: left; padding: .8rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.code-table thead th { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 700; border-bottom: 2px solid var(--ink); }
.code-table td:first-child { white-space: nowrap; }
.code-table .mono { font-size: 1.0625rem; }
@media (max-width: 39.99rem) {
  .code-table, .code-table tbody, .code-table tr, .code-table td { display: block; width: 100%; }
  .code-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .code-table tr { padding: .8rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; align-items: center; }
  .code-table td { border: 0; padding: 0; }
  .code-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--ink-2); }
}
.toc { background: var(--mist); border-radius: var(--radius-m); padding: 1rem 1.15rem; }
.toc ol { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; }

/* signup / login / contact */
.form-layout { display: grid; gap: 1.5rem; padding-block: 1.5rem 3rem; }
@media (min-width: 60rem) { .form-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: start; padding-block: 3rem 5rem; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.25rem 1.1rem 1.4rem; }
@media (min-width: 48rem) { .form-card { padding: 2rem; } }
.form-card .form-row + .form-row, .form-card .form-row + fieldset, .form-card fieldset + .form-row, .form-card fieldset + fieldset { margin-top: 1.25rem; }
.form-actions { margin-top: 1.5rem; display: grid; gap: .75rem; }
.optional-box { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); padding: .2rem 1rem; margin-top: 1.5rem; }
.optional-box > summary { cursor: pointer; padding: .8rem 0; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.optional-box > summary::-webkit-details-marker { display: none; }
.optional-box > summary::after, .more-box > summary::after {
  content: ""; width: 1.25rem; height: 1.25rem; background: currentColor; flex: none; transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.optional-box[open] > summary::after, .more-box[open] > summary::after { transform: rotate(180deg); }
.optional-box > .stack { padding-bottom: 1rem; }
.optional-box .form-row + .form-row { margin-top: 1.1rem; }
/* a bordered disclosure box (/wylacz: separate codes, /start and /wlacz: the three fallback codes) */
.more-box { border: 1.5px solid var(--line-2); border-radius: var(--radius-m); padding: .2rem 1rem; }
.more-box.is-dashed { border-style: dashed; border-color: var(--line-strong); }
.more-box > summary { cursor: pointer; padding: .75rem 0; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.more-box > summary::-webkit-details-marker { display: none; }
.more-box > summary strong { font-weight: 700; }
.more-box[open] { padding-bottom: 1rem; }
.more-box > :not(summary) + * { margin-top: .6rem; }
.error-summary { border: 2px solid var(--red); border-radius: var(--radius-m); padding: 1rem 1.15rem; background: var(--red-soft); margin-bottom: 1.5rem; }
.error-summary:focus-visible { outline-offset: 3px; }
.error-summary h2 { font-family: var(--font); font-size: 1.125rem; color: #9a1429; letter-spacing: 0; }
.error-summary ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.error-summary a { color: #9a1429; font-weight: 700; }
/* signup: account type switch ("firma" | "prywatny") */
.type-switch { margin-bottom: 1.25rem; }
.type-options { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); margin-top: .6rem; }
@media (min-width: 36rem) { .type-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.type-option {
  position: relative; display: grid; gap: .15rem; padding: .9rem 1rem .95rem 3rem; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-m); background: var(--paper);
}
.type-option input { position: absolute; left: 1rem; top: 1.05rem; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--ink); }
.type-option:has(input:checked) { border-color: var(--ink); background: var(--note-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.type-name { font-weight: 700; }
.type-desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
@supports selector(:has(*)) {
  .form-layout:has(input[name="account_type"][value="firma"]:checked) .personal-only,
  .form-layout:has(input[name="account_type"][value="prywatny"]:checked) .biz-only { display: none; }
}
@supports not selector(:has(*)) {
  [data-acc="firma"] .personal-only, [data-acc="prywatny"] .biz-only { display: none; }
}

.page-intro { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.form-layout .ref-banner { margin-bottom: 1.25rem; }
.type-switch .error-text { margin-top: .5rem; }
.form-tip { margin-top: 1.5rem; }
.consents { margin-top: 1.25rem; }
.after-form { margin-top: 1.25rem; }
@media (min-width: 60rem) { .signup-aside { position: sticky; top: 1.5rem; } }
.side-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: side; }
.side-steps li { position: relative; padding-left: 2.75rem; counter-increment: side; }
.side-steps li::before {
  content: counter(side); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--note); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.side-steps strong { display: block; }
.side-steps span { color: var(--ink-2); font-size: var(--fs-sm); }
.card-ink .side-steps span { color: var(--on-ink-2); }
.card-ink .notes-list { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1rem; font-size: var(--fs-sm); color: var(--on-ink-lead); }
.ref-banner { background: var(--note-soft); border: 1.5px solid var(--note-deep); border-radius: var(--radius-m); padding: .9rem 1rem; display: flex; gap: .7rem; align-items: flex-start; }
.ref-banner .i { margin-top: .15rem; }
.auth-wrap { padding-block: 2rem 4rem; }
@media (min-width: 48rem) { .auth-wrap { padding-block: 4.5rem 6rem; } }
.auth-card { max-width: 28rem; margin-inline: auto; }
.auth-card h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }

/* onboarding */
.onb { padding-block: 1.5rem 3rem; }
@media (min-width: 60rem) { .onb { padding-block: 3rem 5rem; } }
.onb-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .onb-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 3rem; align-items: start; } }
.onb-lead { margin-top: .6rem; }
.onb-status { margin-top: 1rem; display: grid; gap: .6rem; }
.onb-help { padding-inline: .25rem; }
.onb-progress { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.onb-progress li { display: grid; gap: .4rem; }
.onb-progress li::before { content: ""; height: 6px; border-radius: 3px; background: var(--line-2); }
.onb-progress li.is-current, .onb-progress li.is-done { color: var(--ink); }
.onb-progress li.is-current::before { background: var(--ink); }
.onb-progress li.is-done::before { background: var(--green); }
.status-banner {
  display: flex; gap: .85rem; align-items: center; padding: .9rem 1.05rem; border-radius: var(--radius-m);
  background: var(--paper); border: 1px solid var(--line); font-weight: 700; line-height: 1.35;
}
.status-banner .status-sub { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--fs-sm); margin-top: .15rem; }
.status-banner.is-success { background: var(--green-soft); border-color: transparent; color: var(--green-ink); }
.status-banner.is-success .status-sub { color: var(--green-ink); }
.status-banner.is-waiting { background: transparent; border: 2px dashed var(--line-2); font-weight: 400; color: var(--ink-2); }
.status-dot { width: .75rem; height: .75rem; border-radius: 50%; background: var(--answer); flex: none; box-shadow: 0 0 0 5px var(--green-soft); }
.status-dot.is-waiting { background: var(--note-deep); box-shadow: none; }
.spinner { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--ink); flex: none; }
.status-check { width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.status-check .i { width: 1rem; height: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .status-dot:not(.is-waiting) { animation: pulse 1.8s ease-out infinite; }
  .spinner { animation: spin .9s linear infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 80, .55); } 80%, 100% { box-shadow: 0 0 0 .7rem rgba(31, 174, 80, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.onb-steps { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .9rem; }
.onb-step { position: relative; background: var(--paper); border-radius: var(--radius-l); padding: 1.25rem 1.1rem 1.35rem; }
@media (min-width: 48rem) { .onb-step { padding: 1.75rem 2rem 1.9rem; } }
.onb-step-head { display: flex; align-items: flex-start; gap: .65rem; }
.onb-step-num {
  flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--line-2); color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1;
}
.onb-step:first-child .onb-step-num { background: var(--note); }
.onb-step.is-done .onb-step-num { background: var(--green); color: #fff; }
.onb-step h2 { font-family: var(--font); font-size: 1.1875rem; line-height: 1.3; font-weight: 700; letter-spacing: 0; padding-top: .2rem; }
@media (min-width: 48rem) { .onb-step h2 { font-size: 1.375rem; padding-top: .05rem; } }
.onb-step > * + * { margin-top: .9rem; }

/* THE code: very prominent and copyable, yellow on navy */
.code-panel { display: grid; gap: .75rem; container-type: inline-size; }
.code-label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.code-value {
  display: block; background: var(--ink); color: var(--note); border-radius: var(--radius-m);
  padding: 1rem .75rem; text-align: center;
  font-family: var(--mono); font-weight: 700; font-size: clamp(1rem, 5.2vw, 2.4rem); line-height: 1.15;
  letter-spacing: .02em; font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0;
  white-space: nowrap; overflow-x: auto; user-select: all; -webkit-user-select: all;
}
/* the whole **004*+48XXXXXXXXX# (19 characters) always fits on one line of its box */
@supports (font-size: 1cqi) {
  .code-value { font-size: clamp(1rem, calc((100cqi - 2rem) / 11.8), 2.4rem); }
}
.code-value .code-fix { color: var(--on-ink-2); }
.code-value.is-short { font-size: clamp(1.75rem, 8vw, 2.25rem); letter-spacing: .06em; }
.code-value.is-pending { color: var(--on-ink-2); }
.code-actions { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 22rem) { .code-actions { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; } }
.code-actions .btn { width: 100%; padding-inline: .75rem; }
.code-actions.is-stacked { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .code-actions.is-stacked { grid-auto-flow: column; grid-template-columns: none; } }
/* iPhone: the dial link is hidden, so copying is the one action and gets the yellow */
.code-actions:has(> [data-not-ios][hidden]) .copy-btn { background: var(--note); border-color: var(--note); }
.code-hint { font-size: var(--fs-sm); line-height: 1.45; }
.os-tip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.os-tip .i { margin-top: .1rem; color: var(--ink); }
.os-tip.is-box { background: var(--mist); border-radius: var(--radius-xs); padding: .7rem .85rem; color: var(--ink); }
/* fallback: three separate conditional-forwarding codes when **004* is rejected */
.fallback-codes { font-size: var(--fs-sm); }
.fallback-codes > summary { font-weight: 400; }
.fallback-list { list-style: none; margin: 0; padding: 0; counter-reset: fb; }
.fallback-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding: .55rem 0; border-top: 1px dashed var(--line-strong); counter-increment: fb; }
.fallback-list li::before { content: counter(fb) "."; font-weight: 700; min-width: 1.1rem; }
.fallback-list .mono { font-size: 1rem; white-space: nowrap; margin-right: auto; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.number-line { font-size: var(--fs-sm); color: var(--ink-2); }
.number-line strong { color: var(--ink); white-space: nowrap; }
.inline-code { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.inline-code .mono { font-size: 1.125rem; background: var(--mist); padding: .25rem .6rem; border-radius: .5rem; }
.card-ink .inline-code .mono { background: transparent; color: var(--note); padding: 0; font-size: 1.375rem; }
.card-ink .copy-btn { background: transparent; color: var(--on-ink); border-color: rgba(255, 255, 255, .55); }
.card-ink .copy-btn:hover { background: rgba(255, 255, 255, .1); }
.card-ink a { color: var(--on-ink); }
.turn-off-note { font-size: var(--fs-sm); }
.turn-off-note .mono { color: var(--note); }
.last-call { background: var(--green-soft); border-radius: var(--radius-m); padding: .9rem 1rem; }
.ops { border-top: 1px solid var(--line-2); }
.ops .faq-item summary { font-size: 1rem; }

/* contact, error */
.contact-aside > * + * { margin-top: 1rem; }
.form-alert { margin-bottom: 1.25rem; }
.error-body { max-width: 38rem; }
.error-wrap { padding-block: 3rem 5rem; }
.error-code { font-weight: 700; color: var(--ink-2); }
.error-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.error-wrap .notif { max-width: 24rem; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-float); }

/* ================================================================= panel */
body.page-panel { background: var(--mist); }
.panel-header .container { max-width: 80rem; }
.panel-header .header-inner { gap: .65rem; min-height: 3.75rem; }
.panel-header .logo { margin-inline-end: 0; }
.panel-header .logo-mark { width: 2.125rem; height: 2.125rem; }
.panel-id { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; }
.panel-name { font-weight: 700; font-size: 1rem; line-height: 1.25; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.panel-number { display: none; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.panel-number .nowrap { color: var(--ink); font-weight: 700; }
@media (min-width: 60rem) {
  .panel-header .header-inner { min-height: 4.25rem; gap: 1.5rem; }
  .panel-header .logo-mark { width: 2.375rem; height: 2.375rem; }
  .panel-name { font-size: 1.125rem; }
  .panel-number { display: block; }
  .panel-header .site-nav .nav-public { display: none; }
  .panel-header .site-nav a { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
}

.panel-layout { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); flex: 1 0 auto; }
.panel-layout > main { min-width: 0; }
@media (min-width: 60rem) {
  .panel-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 1.75rem; align-items: start; padding-top: 1.5rem; }
}

/* the Panel menu: a floating bar at the bottom on phones, a side menu from 60rem */
.panel-nav {
  position: fixed; z-index: 30; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: .375rem .25rem;
  background: var(--paper); border-radius: 1.5rem; box-shadow: 0 14px 34px -14px rgba(22, 32, 74, .45), 0 0 0 1px var(--line);
}
.panel-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .125rem;
  min-height: 3.5rem; padding: .125rem; border-radius: 1rem; text-decoration: none;
  font-size: .6875rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); text-align: center;
}
.panel-nav-icon { display: grid; place-items: center; width: 3.25rem; height: 1.875rem; border-radius: 999px; }
.panel-nav-icon .i { width: 1.375rem; height: 1.375rem; }
.panel-nav-label { white-space: nowrap; }
.panel-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.panel-nav a[aria-current="page"] .panel-nav-icon { background: var(--note); }
.panel-nav a:hover { color: var(--ink); }
.panel-nav a:focus-visible { border-radius: 1rem; }
.panel-nav-count {
  position: absolute; top: .2rem; left: calc(50% + .45rem); min-width: 1.125rem; height: 1.125rem; padding: 0 .25rem;
  border-radius: 999px; background: var(--red); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 1.125rem; text-align: center;
}
@media (max-width: 22.49rem) {
  .panel-nav { left: .375rem; right: .375rem; padding-inline: .125rem; }
  .panel-nav a { padding-inline: 0; font-size: .625rem; letter-spacing: -.01em; }
  .panel-nav-icon { width: 2.75rem; }
}
@media (max-width: 59.99rem) {
  body.page-panel { padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 36rem) and (max-width: 59.99rem) {
  .panel-nav { left: 50%; right: auto; width: 32rem; transform: translateX(-50%); }
}
@media (min-width: 60rem) {
  .panel-nav {
    position: sticky; top: 1.5rem; left: auto; right: auto; bottom: auto; z-index: 1;
    display: flex; flex-direction: column; gap: .25rem; padding: 0; background: none; border-radius: 0; box-shadow: none;
  }
  .panel-nav a {
    flex-direction: row; justify-content: flex-start; gap: .75rem; min-height: 3rem; padding: 0 .875rem; border-radius: .875rem;
    font-size: 1rem; font-weight: 700; color: var(--ink); text-align: left;
  }
  .panel-nav-icon { width: auto; height: auto; border-radius: 0; background: none !important; }
  .panel-nav-icon .i { width: 1.25rem; height: 1.25rem; }
  .panel-nav a:hover { background: var(--paper); }
  .panel-nav a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
  .panel-nav a[aria-current="page"]:focus-visible { outline-color: var(--ink); }
  .panel-nav-count { position: static; margin-left: auto; min-width: 1.375rem; height: 1.375rem; line-height: 1.375rem; background: var(--note); color: var(--ink); font-size: var(--fs-xs); }
}

/* account notices at the top of Panel pages: the trial on navy, others soft */
.panel-notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem;
  padding: .75rem .75rem .75rem 1rem; border-radius: var(--radius-m); background: var(--note-soft); font-size: var(--fs-sm); line-height: 1.45;
}
.panel-notice p { flex: 1 1 11rem; }
.panel-notice.is-trial { background: var(--ink); color: var(--on-ink); }
.panel-notice.is-trial strong { color: var(--note); }
.panel-notice.is-danger { background: var(--red-soft); border: 1px solid #f2c1c9; }
@media (min-width: 60rem) { .panel-notice { margin-top: 0; padding: .75rem .75rem .75rem 1.25rem; font-size: var(--fs-base); } }
.panel-content > .alerts { padding-top: 1rem; }
@media (min-width: 60rem) { .panel-content > .alerts:first-child { padding-top: 0; } }

.panel-main { padding-block: 1.25rem 2rem; }
@media (min-width: 60rem) { .panel-main { padding-block: 1.25rem 4rem; } .panel-content > .panel-main:first-child { padding-top: 0; } }
.panel-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1.5rem; margin-bottom: 1rem; }
.panel-title h1 { font-size: clamp(2.25rem, 1.95rem + .9vw, 2.5rem); line-height: 1.02; }
.usage { display: grid; gap: .45rem; font-size: var(--fs-sm); }
.usage-panel { max-width: 48rem; margin-bottom: 1rem; background: var(--paper); border-radius: var(--radius-m); padding: .8rem 1rem; }
.usage-head { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.usage-head strong { color: var(--ink); }
.usage-bar { height: .5rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.usage-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.usage-bar.is-high > span { background: var(--red); }
.stats { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--ink-2); font-size: var(--fs-sm); }
.stats strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.notice { max-width: 48rem; margin-bottom: 1rem; }
.notice-text { white-space: pre-line; }
.settings-alert { margin-bottom: 1rem; }
.pending-card { margin-bottom: 1rem; max-width: 48rem; }
.legend-help { margin-bottom: 1.25rem; }
.notify-group { margin-top: 1.25rem; }
.forwarded-help { display: block; }

/* message cards: an unread dot, chips, one row of actions */
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-width: 48rem; }
.msg { position: relative; min-width: 0; background: var(--paper); border-radius: 1.375rem; padding: 1rem; display: grid; gap: .3rem; }
.msg.is-new { box-shadow: var(--shadow-card); }
@media (min-width: 48rem) { .msg { padding: 1.15rem 1.35rem; } }
.msg-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; min-width: 0; }
.msg-name { font-weight: 700; font-size: 1.125rem; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.msg.is-done .msg-name { font-weight: 600; color: var(--ink-soft); }
.msg-name a { text-decoration: none; display: flex; align-items: center; gap: .5rem; min-width: 0; }
.msg-name a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.msg-name a::after { content: ""; position: absolute; inset: 0; border-radius: 1.375rem; }
.msg-name a:hover { text-decoration: underline; }
.msg-name a:focus-visible { outline: none; box-shadow: none; }
.msg-name a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 2px; }
.unread-dot { flex: none; width: .5625rem; height: .5625rem; border-radius: 50%; background: var(--signal); align-self: center; }
.msg-time { flex: none; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.msg-number { font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.msg.is-new .msg-number { padding-left: 1.0625rem; }
.msg-reason { margin-top: .4rem; line-height: 1.45; }
.msg.is-new .msg-reason { font-weight: 600; }
.msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-size: var(--fs-sm); }
.msg-callback { display: inline-flex; align-items: center; gap: .35rem; }
.msg.is-done .msg-callback { color: var(--ink-2); }
.msg-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
/* the call button takes the spare width; on a narrow phone the second button drops below at full width */
.msg-actions form { margin: 0; display: flex; flex: 1 1 auto; }
.msg-actions form .btn { flex: 1 1 auto; }
.msg-actions .btn { min-height: 3.125rem; padding-inline: .95rem; font-size: 1rem; }
.msg-actions .msg-call { flex: 999 1 auto; }
.msg-actions form .btn { white-space: nowrap; }
.msg-actions .btn .i-check { width: 1rem; height: 1rem; }
@media (min-width: 48rem) { .msg-actions .msg-call { flex: 0 1 12rem; } .msg-actions form { flex: 0 1 auto; } }
/* Desktop: one content width for the whole Panel column (banner, titles, lists, settings), and message cards in two
   columns — the message on the left, the actions in one fixed column on the right, so every card's buttons line up */
@media (min-width: 60rem) {
  .panel-layout > main { max-width: 60rem; }
  .msg-list, .usage-panel, .notice, .pending-card, .empty { max-width: none; }
  .msg { grid-template-columns: minmax(0, 1fr) 13.5rem; column-gap: 1.75rem; }
  .msg > * { grid-column: 1; }
  .msg > .msg-actions { grid-column: 2; grid-row: 1 / span 6; align-self: center; flex-direction: column; flex-wrap: nowrap; margin-top: 0; }
  .msg-actions .msg-call, .msg-actions form { flex: 0 0 auto; width: 100%; }
}
.empty { background: var(--paper); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-l); padding: 1.5rem 1.25rem; display: grid; gap: 1rem; max-width: 48rem; }
@media (min-width: 48rem) { .empty { padding: 2.25rem; } }
.empty h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }

/* message detail: the call button, the yellow slip, the summary and the call as chat bubbles */
.detail-grid { display: grid; gap: 1rem; }
@media (min-width: 64rem) { .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; } }
.detail-main > * + * { margin-top: .75rem; }
.detail-main h1 { font-size: clamp(2.125rem, 1.8rem + 1vw, 2.5rem); line-height: 1.05; }
.detail-when { font-size: var(--fs-sm); color: var(--ink-2); }
.detail-when dt { display: inline; }
.detail-when dd { display: inline; margin-left: .25rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-weight: 700; text-decoration: none; margin-bottom: .25rem; }
.back-link:hover { text-decoration: underline; }
.call-actions { display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr); padding-top: .25rem; }
@media (min-width: 22.5rem) { .call-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.call-actions > * { min-width: 0; }
.call-actions .call-main { grid-column: 1 / -1; min-height: 3.625rem; font-size: 1.125rem; }
.call-actions form { margin: 0; display: grid; }
.call-actions > form:only-child, .call-actions > form:first-child { grid-column: 1 / -1; }
.call-actions .btn { width: 100%; padding-inline: .75rem; }
.facts { display: grid; gap: .75rem; }
.facts dt { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.facts dd { font-size: 1.0625rem; line-height: 1.45; }
.slip.facts { padding: 1.1rem 1.15rem 1.2rem; border-radius: 1.375rem; }
.slip.facts > div + div { border-top: 2px dashed rgba(22, 32, 74, .25); padding-top: .75rem; }
.slip.facts dd { font-weight: 700; font-size: 1.125rem; margin-top: .1rem; }
.slip.facts dd .help, .slip.facts dd .muted { font-weight: 400; font-size: var(--fs-sm); }
.slip.facts dd a { text-decoration-thickness: .08em; }
.summary-card h2 { font-family: var(--font); font-size: var(--fs-sm); color: var(--ink-2); letter-spacing: 0; line-height: 1.4; }
.summary-card p { margin-top: .3rem; }
.panel-main .card { border-color: transparent; border-radius: 1.25rem; padding: 1rem 1.1rem 1.15rem; }
@media (min-width: 48rem) { .panel-main .card { padding: 1.35rem 1.5rem 1.5rem; } }
.transcript-card .chat { margin-top: .25rem; }
.transcript-card .bubble .said { font-size: var(--fs-sm); }

/* message detail on desktop (D-040): the list of /panel on the left — its rows in their own scroll under the heading,
   the open message ringed — and the open message on the right as one white card. Phones keep the message alone with
   its back link. */
.inbox { display: none; }
@media (min-width: 60rem) {
  .panel-main.has-inbox { display: grid; grid-template-columns: minmax(16rem, 2fr) minmax(0, 3fr); grid-template-areas: "inbox detail"; gap: 1.25rem; align-items: start; }
  .panel-main.has-inbox > .back-link { display: none; }
  .panel-main.has-inbox > .detail-grid { grid-area: detail; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; background: var(--paper); border-radius: var(--radius-l); padding: 1.5rem 1.5rem 1.75rem; }
  .panel-main.has-inbox .detail-main h1 { font-size: 1.875rem; line-height: 1.1; }
  .panel-main.has-inbox .card { padding: 0; border-radius: 0; }  /* the summary and the transcript sit inside the white card */
  .inbox { grid-area: inbox; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); min-width: 0; }
  .inbox-head { flex: none; display: grid; gap: .35rem; }
  .inbox-head h2 { font-size: clamp(2.25rem, 1.95rem + .9vw, 2.5rem); line-height: 1.02; }
  .inbox-scroll {
    flex: 0 1 auto; min-height: 0; display: grid; gap: .75rem; align-content: start;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: .375rem; margin: -.375rem;  /* room for focus rings */
  }
  .inbox-list { display: grid; gap: .625rem; }
  .inbox-item { display: grid; gap: .2rem; padding: .85rem 1rem .9rem; background: var(--paper); border-radius: 1.125rem; text-decoration: none; box-shadow: 0 0 0 1px var(--line-2); }
  .inbox-item:hover { box-shadow: 0 0 0 1.5px var(--line-strong); }
  .inbox-item[aria-current="page"] { box-shadow: 0 0 0 2.5px var(--ink); }
  .inbox-item:focus-visible { border-radius: 1.125rem; }
  .inbox-top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; min-width: 0; }
  .inbox-name { display: flex; align-items: center; gap: .45rem; min-width: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; overflow-wrap: anywhere; }
  .inbox-item.is-done .inbox-name { font-weight: 600; color: var(--ink-soft); }
  .inbox-time { flex: none; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .inbox-reason { font-size: var(--fs-sm); line-height: 1.4; overflow-wrap: anywhere; }
  .inbox-item.is-new .inbox-reason { font-weight: 600; }
  .inbox-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin-top: .3rem; font-size: var(--fs-sm); }
  .inbox-callback { color: var(--ink-2); }
  .inbox .fineprint { margin-top: 0; padding-inline: .25rem; }
}

/* settings: the Przekierowanie card first, then the other phones and the form */
.settings-grid { display: grid; gap: 1rem; }
@media (min-width: 64rem) { .settings-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 1.5rem; align-items: start; } }
.settings-side > * + * { margin-top: 1rem; }
.settings-form .form-card { border-color: transparent; }
.settings-form .form-card + .form-card { margin-top: 1rem; }
.save-bar { position: sticky; bottom: calc(5.5rem + env(safe-area-inset-bottom)); z-index: 5; margin-top: 1rem; padding: .75rem 0; background: linear-gradient(to top, var(--mist) 70%, rgba(243, 244, 248, 0)); }
@media (min-width: 60rem) { .save-bar { bottom: 0; padding-bottom: calc(.75rem + env(safe-area-inset-bottom)); } }
.kv-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: var(--fs-sm); }
.kv-row dt { color: var(--ink-2); }
.kv-row dd { font-weight: 700; }
.code-rows { background: var(--mist); border-radius: var(--radius-m); }
.code-row { display: grid; gap: .1rem; padding: .7rem .6rem .7rem .9rem; }
.code-row + .code-row { border-top: 1.5px solid var(--paper); }
.code-row dt { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.code-row dd { display: flex; align-items: center; gap: .5rem; }
.code-row .mono { flex: 1 1 auto; min-width: 0; font-size: .9375rem; }
.greeting { background: var(--mist); border-radius: .3rem 1.25rem 1.25rem 1.25rem; padding: .75rem 1rem; }
.fwd-phones { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fwd-phone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; background: var(--mist); border-radius: var(--radius-m); padding: .6rem .6rem .6rem .9rem; }
.fwd-phone.is-pending { display: block; background: var(--note-soft); padding: .8rem .9rem .5rem; }
.fwd-phone-id { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .75rem; }
.fwd-phone:not(.is-pending) .fwd-phone-id { display: grid; justify-content: start; gap: 0; }
.fwd-state { display: inline-flex; align-items: center; gap: .25rem; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.fwd-state.is-confirmed { color: var(--green); }
.fwd-state .i { width: .875rem; height: .875rem; }
.fwd-confirm { margin-top: .75rem; display: grid; gap: .4rem; }
.fwd-confirm .input-code { font-size: 1.125rem; letter-spacing: .2em; text-align: left; padding-inline: .8rem; }
.fwd-phone-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.fwd-phone-actions form { margin: 0; }
.fwd-phone:not(.is-pending) .btn-remove { background: var(--paper); text-decoration: none; padding-inline: 1rem; }
.fwd-phone.is-pending .fwd-phone-actions .btn { padding-inline: 0; }

.rule { margin: .5rem 0; border-top-color: var(--line); }
.how-title { margin-top: 1rem; }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.plan-price { font-family: var(--display); font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.plan-price small { font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.ref-link { display: grid; gap: .6rem; }
.ref-url { font-family: var(--mono); font-weight: 700; font-size: clamp(.95rem, .85rem + .6vw, 1.125rem); background: var(--ink); color: var(--note); border-radius: var(--radius-m); padding: .85rem 1rem; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.ref-message { background: var(--note); border-radius: 1.25rem 1.25rem 1.25rem .3rem; padding: .85rem 1rem; line-height: 1.45; }

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

/* ================================================================= print */
@media print {
  .site-header, .site-footer, .sticky-cta, .panel-nav, .msg-actions, .call-actions, .nav-toggle, .save-bar, .inbox { display: none !important; }
  body { font-size: 11pt; background: #fff !important; padding: 0 !important; }
  .hero-card, .final-card, .card-ink, .code-value { background: none !important; color: #000 !important; }
}
