/* Entry point of the Aurevia design system -> website/static/css/ds.css */

/* Generated by scripts/copy-fonts.js (npm run fonts:copy). Do not edit. */

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/geist/geist-latin-500-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/geist/geist-latin-ext-500-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 600;

  src: url("/static/font/geist/geist-latin-600-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 600;

  src: url("/static/font/geist/geist-latin-ext-600-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 700;

  src: url("/static/font/geist/geist-latin-700-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Geist";

  font-style: normal;

  font-display: swap;

  font-weight: 700;

  src: url("/static/font/geist/geist-latin-ext-700-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 400;

  src: url("/static/font/inter/inter-latin-400-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 400;

  src: url("/static/font/inter/inter-latin-ext-400-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/inter/inter-latin-500-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/inter/inter-latin-ext-500-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 600;

  src: url("/static/font/inter/inter-latin-600-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";

  font-style: normal;

  font-display: swap;

  font-weight: 600;

  src: url("/static/font/inter/inter-latin-ext-600-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";

  font-style: normal;

  font-display: swap;

  font-weight: 400;

  src: url("/static/font/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";

  font-style: normal;

  font-display: swap;

  font-weight: 400;

  src: url("/static/font/jetbrains-mono/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2") format("woff2");

  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";

  font-style: normal;

  font-display: swap;

  font-weight: 500;

  src: url("/static/font/jetbrains-mono/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");

  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/*
 * Aurevia design tokens.
 *
 * Every colour used by the design system is a CSS variable defined here,
 * once per theme. Components and Tailwind utilities (see tailwind.ds.config.js)
 * only ever reference these variables, so switching data-theme on <html>
 * restyles the whole page.
 *
 * Theme: <html data-theme="dark|light">. Dark is the default.
 */

:root {
  /* Typography */
  --font-head: "Geist", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Brand stripes (the three bars from the logo), identical in both themes */
  --stripe-1: #08C076;
  --stripe-2: #11A076;
  --stripe-3: #127B72;
  /* Radii */
  --radius-sm: 8px;
  /* buttons, inputs */
  --radius-md: 10px;
  /* icon buttons */
  --radius-lg: 16px;
  /* grids, small panels */
  --radius-xl: 24px;
  /* cards */
  --radius-2xl: 32px;
  /* CTA banner */
  --radius-pill: 999px;
  /* Layout */
  --wrap-max: 1240px;
  --wrap-gutter: 24px;
  --section-y: 120px;
  --tap-min: 44px;
  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: .2s;
  --dur-base: .3s;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B1322;
  --bg-alt: #0E1828;
  --card: #111C2E;
  --card-hover: #15223A;
  --line: #1E2A40;
  --line-strong: #2A3852;
  --ink: #F2F5FA;
  --body: #AEB9CC;
  --muted: #8D9AB1;
  --accent: #22C98C;
  --accent-text: #3BDDA1;
  --on-accent: #06101A;
  --accent-soft: #12352C;
  --accent-hover-bg: #FFFFFF;
  --accent-hover-ink: #06101A;
  --pattern: #15223A;
  --focus: #06D6A0;
  --cta-bg: var(--accent);
  --cta-line: var(--accent);
  --cta-ink: #06101A;
  --cta-body: #0A2A20;
  --cta-btn: #06101A;
  --cta-btn-ink: #FFFFFF;
  --invert-bg: #111C2E;
  --invert-ink: #F2F5FA;
  --invert-body: #AEB9CC;
  --invert-line: #1E2A40;
  /* Dark "feature" surface (Aplikacje card, dark service card) */
  --feature-bg: #060A12;
  --feature-bg-hover: #080D17;
  --feature-line-hover: #2A3852;
  --feature-ink: #F2F5FA;
  --feature-body: #AEB9CC;
  --feature-link: #3BDDA1;
  --feature-tag-line: #2A3852;
  --soft-line: transparent;
  /* Green surface (Oprogramowanie na zamówienie) */
  --green-bg: #22C98C;
  --green-bg-hover: #2FD699;
  --green-ink: #06101A;
  --green-body: #0A2A20;
  --green-link: #06101A;
  /* Form fields */
  --field-bg: #0B1322;
  --field-border: #4A5B78;
  --danger: #FF9B8F;
  --danger-soft: #3A1C22;
  --success: var(--accent-text);
  --success-soft: var(--accent-soft);
  --card-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: #F4F7F6;
  --card: #FFFFFF;
  --card-hover: #F7FAF9;
  --line: #E3E9E7;
  --line-strong: #C9D4D0;
  --ink: #0F1A17;
  --body: #3E4B47;
  --muted: #5C6B66;
  --accent: #0B6E52;
  --accent-text: #0B6E52;
  --on-accent: #FFFFFF;
  --accent-soft: #DDF3E9;
  --accent-hover-bg: #0B6E52;
  --accent-hover-ink: #FFFFFF;
  --pattern: #E6EEEB;
  --focus: #118AB2;
  --cta-bg: var(--accent);
  --cta-line: var(--accent);
  --cta-ink: #FFFFFF;
  --cta-body: #E0F2EA;
  --cta-btn: #FFFFFF;
  --cta-btn-ink: #0F1A17;
  --invert-bg: #FFFFFF;
  --invert-ink: #0F1A17;
  --invert-body: #3E4B47;
  --invert-line: #E3E9E7;
  --feature-bg: #0F1A17;
  --feature-bg-hover: #18271F;
  --feature-line-hover: transparent;
  --feature-ink: #FFFFFF;
  --feature-body: #C9D3CF;
  --feature-link: #3BDDA1;
  --feature-tag-line: rgba(255, 255, 255, .3);
  --soft-line: transparent;
  --green-bg: #0B6E52;
  --green-bg-hover: #095E46;
  --green-ink: #FFFFFF;
  --green-body: #DDF1E8;
  --green-link: #FFFFFF;
  --field-bg: #FFFFFF;
  --field-border: #7B8594;
  --danger: #C0392B;
  --danger-soft: #FCE8E6;
  --success: var(--accent-text);
  --success-soft: var(--accent-soft);
  --card-shadow: 0 12px 32px rgba(15, 26, 23, .08);
}

/* Centered content column */

.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-gutter);
}

/* Page section: <section class="section section--alt"> */

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

.section--alt {
  background: var(--bg-alt);
}

.section--flush {
  border-top: 0;
}

/* Continues the section above on the same surface: no line, no top padding */

.section--follow {
  padding-top: 0;
  border-top: 0;
}

/* Two columns: header on the left, content on the right (Jak pracujemy) */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 56px 96px;
  align-items: start;
}

/* Bento grid for cards */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bento__big {
  grid-row: span 2;
}

.bento__wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento__big {
    grid-row: auto;
  }

  .bento__wide {
    grid-column: auto;
  }
}

/* "Nie wiesz, czego potrzebujesz? Porozmawiajmy →" under the bento */

.offer-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 40px;
  text-align: center;
}

.offer-more p {
  font-size: 17px;
  color: var(--body);
}

.section--services {
  padding: 96px 0 var(--section-y);
  border-top: 0;
}

.section--contact-form {
  padding: 0 0 var(--section-y);
  border-top: 0;
  scroll-margin-top: 24px;
}

/*
 * Button: .btn + one variant + optional size / shape.
 * Variants: --primary, --ghost (solid card surface), --inverse (on accent backgrounds), --link
 * Sizes:    --sm (44px), default (52px), --lg (56px)
 * Shape:    --pill, --block (full width)
 */

.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter var(--dur-base) ease, background-color var(--dur-base) ease,
                color var(--dur-base) ease, border-color var(--dur-fast) ease;
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform var(--dur-base) ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .6;
}

.btn--sm {
  min-height: var(--tap-min);
  padding: 0 22px;
  font-size: 15px;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
}

.btn--pill {
  border-radius: var(--radius-pill);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover-bg);
  color: var(--accent-hover-ink);
  filter: brightness(1.1);
}

[data-theme="dark"] .btn--primary:hover,
:root:not([data-theme]) .btn--primary:hover {
  filter: none;
}

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--bg-alt);
}

/* For use on --cta-bg (accent) surfaces */

.btn--inverse {
  background: var(--cta-btn);
  color: var(--cta-btn-ink);
}

.btn--inverse:hover {
  filter: brightness(1.15);
}

.btn--link {
  min-height: var(--tap-min);
  padding: 0;
  gap: 8px;
  color: var(--accent-text);
  font-size: 17px;
}

.btn--link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Square icon button (theme toggle, menu) */

.icon-btn {
  display: grid;
  place-items: center;
  width: var(--tap-min);
  height: var(--tap-min);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease;
}

.icon-btn:hover {
  background: var(--bg-alt);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Pill link with icon (Oferta hero) */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease;
}

.chip:hover {
  background: var(--bg-alt);
}

.chip svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-text);
}

/* Spinner shown inside a button while an htmx request is in flight */

.btn .spinner {
  display: none;
}

.htmx-request .btn .spinner,
.btn.htmx-request .spinner {
  display: block;
  animation: spin .8s linear infinite;
}

.htmx-request .btn .spinner ~ svg,
.btn.htmx-request .spinner ~ svg {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Display heading (hero) */

.t-display {
  max-width: 980px;
  font-family: var(--font-head);
  font-weight: 700;
  /* Below ~460px the size follows the viewport (10.5vw), so a long word such
       as "Oprogramowanie" (~7.8em wide) still fits next to the 24px gutters
       down to a 320px screen. */
  font-size: clamp(32px, 10.5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  /* No automatic hyphenation: browsers split words such as "zapro-jektowane"
       even when a whole line fits. The font sizes keep the longest word inside
       the box down to 320px; overflow-wrap is only the last resort. */
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .t-display {
    font-size: clamp(48px, 7.2vw, 104px);
  }
}

/* Section heading (h2) */

.t-h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* Card / item heading (h3) */

.t-h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}

.t-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
}

.t-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

.t-small {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

/* Eyebrow: small uppercase mono label above headings */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow--muted {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Section header: eyebrow + h2 + optional lead */

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 64px;
  margin-bottom: 56px;
}

.section-header__titles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

/* Split header without a lead: wider title, more space below */

.section-header--solo {
  margin-bottom: 64px;
}

.section-header--solo .section-header__titles {
  max-width: 720px;
}

.section-header__lead {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}

.section-header--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

.section-header--stacked .section-header__lead {
  max-width: 440px;
  margin-top: 8px;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 48px;
}

.section-header--center .section-header__titles {
  align-items: center;
}

/* Two columns: titles left, lead right, bottom-aligned (Technologie) */

.section-header--columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 96px;
  align-items: end;
}

.section-header--columns .section-header__titles,
.section-header--columns .section-header__lead {
  max-width: none;
}

.section-header--columns .section-header__lead {
  line-height: 1.7;
}

/* Logo stripes (three bars). Row (footer) by default, .stripes--stack = vertical (eyebrow) */

.stripes {
  display: flex;
  gap: 4px;
  flex: none;
}

.stripes > span {
  display: block;
  width: 20px;
  height: 4px;
}

.stripes > span:nth-child(1) {
  background: var(--stripe-1);
}

.stripes > span:nth-child(2) {
  background: var(--stripe-2);
}

.stripes > span:nth-child(3) {
  background: var(--stripe-3);
}

.stripes--stack {
  flex-direction: column;
  gap: 3px;
}

.stripes--stack > span {
  width: 18px;
  height: 3px;
}

/* Decorative bars under a hero. .hero-bars--sm on subpages */

.hero-bars {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero-bars > span {
  display: block;
  height: 12px;
  border-radius: 2px;
  transform-origin: right center;
  animation: grow 1.1s var(--ease-out) both;
}

.hero-bars > span:nth-child(1) {
  width: 480px;
  max-width: 100%;
  background: var(--stripe-1);
  animation-delay: .5s;
}

.hero-bars > span:nth-child(2) {
  width: 360px;
  max-width: 75%;
  background: var(--stripe-2);
  animation-delay: .62s;
}

.hero-bars > span:nth-child(3) {
  width: 240px;
  max-width: 50%;
  background: var(--stripe-3);
  animation-delay: .74s;
}

.hero-bars--sm {
  gap: 8px;
}

.hero-bars--sm > span {
  height: 8px;
}

.hero-bars--sm > span:nth-child(1) {
  width: 320px;
}

.hero-bars--sm > span:nth-child(2) {
  width: 240px;
}

.hero-bars--sm > span:nth-child(3) {
  width: 160px;
}

/*
 * Striped background pattern fading in from the left. The gaps between dashes are cut out
 * with a mask on ::before (not painted in --bg), so nothing shows when the theme switches
 * and the page background is mid-transition. The fade lives on the parent; nested masks multiply.
 */

.pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%);
  mask-image: linear-gradient(to right, transparent, #000 55%);
  animation: fade 1.6s ease .2s both;
}

.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, var(--pattern) 0 2px, transparent 2px 4px, var(--pattern) 4px 6px,
                                      transparent 6px 8px, var(--pattern) 8px 10px, transparent 10px 24px);
  background-size: 28px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000 0 12px, transparent 12px 28px);
  mask-image: linear-gradient(90deg, #000 0 12px, transparent 12px 28px);
  -webkit-mask-size: 28px 24px;
  mask-size: 28px 24px;
}

/* Logo swaps with theme */

.logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
}

.logo img {
  width: auto;
  height: 28px;
}

.logo__dark {
  display: block;
}

.logo__light {
  display: none;
}

[data-theme="light"] .logo__dark {
  display: none;
}

[data-theme="light"] .logo__light {
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 92px;
  padding-block: 12px;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--body);
  transition: color var(--dur-fast) ease;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__burger {
  display: none;
}

.nav__burger .icon-close,
.nav__burger[aria-expanded="true"] .icon-open {
  display: none;
}

.nav__burger[aria-expanded="true"] .icon-close {
  display: block;
}

.nav__burger svg {
  width: 22px;
  height: 22px;
}

/* Mobile menu panel, toggled by .nav__burger (see ds.js) */

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
}

.nav-menu__links {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 24px;
}

.nav-menu__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-menu__link:hover,
.nav-menu__link[aria-current="page"] {
  color: var(--accent-text);
}

.nav-menu .btn {
  margin-top: 20px;
}

@media (max-width: 860px) {
  .nav__desk {
    display: none !important;
  }

  .nav__burger {
    display: grid;
  }
}

@media (min-width: 861px) {
  .nav-menu {
    display: none !important;
  }
}

/* Theme toggle icons: show the one for the theme you would switch to */

.theme-toggle .icon-sun {
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* Breadcrumbs */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--body);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Header wrapper: keeps the mobile menu above the page content */

.site-header {
  position: relative;
  z-index: 30;
}

/* Language switch: "EN" button (desktop) and PL/EN pair (mobile menu) */

.lang-btn {
  display: inline-grid;
  place-items: center;
  width: var(--tap-min);
  height: var(--tap-min);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease;
}

.lang-btn:hover {
  background: var(--bg-alt);
}

.nav-menu__lang {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.nav-menu__lang a,
.nav-menu__lang span {
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: var(--tap-min);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.nav-menu__lang span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* Homepage hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__header {
  position: relative;
  z-index: 30;
}

.hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 96px;
  padding-bottom: 72px;
}

.hero__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px 48px;
  margin-top: 24px;
}

.hero__lead {
  max-width: 560px;
}

.hero__bars {
  padding-bottom: 72px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/*
 * Subpage hero: .page-hero (Oferta) or .page-hero.page-hero--compact (Kontakt).
 */

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 56px;
}

.page-hero__title {
  max-width: 920px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
  /* No automatic hyphenation: browsers split words such as "zapro-jektowane"
       even when a whole line fits. The font sizes keep the longest word inside
       the box down to 320px; overflow-wrap is only the last resort. */
  overflow-wrap: break-word;
}

/* Phones: the size follows the viewport, so a long word such as
   "oprogramowania" (~7.7em) fits next to the 24px gutters down to 320px. */

@media (max-width: 480px) {
  .page-hero__title {
    font-size: clamp(30px, 10vw, 40px);
  }
}

.page-hero__lead {
  max-width: 620px;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-hero__bars {
  padding-bottom: 56px;
}

.page-hero--compact {
  overflow: visible;
  border-bottom: 0;
}

.page-hero--compact .page-hero__body {
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 40px;
}

.page-hero--compact .page-hero__title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.page-hero--compact .page-hero__lead {
  margin-top: 0;
  font-size: 18px;
}

/*
 * Offer card (bento on the homepage): .card + optional variant.
 *   (default)       card surface, accent icon
 *   .card--green    green surface, large type (Oprogramowanie na zamówienie)
 *   .card--feature  dark surface, horizontal layout (Aplikacje webowe i mobilne)
 * Markup: .card > .card__head > (icon, .card__title, .card__text) [+ .card__cta]
 * Variants only set the --c-* surface tokens; a.card:hover below reads them.
 */

.card {
  --c-bg: var(--card);
  --c-bg-hover: var(--card-hover);
  --c-border: var(--line);
  --c-border-hover: var(--line-strong);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  background: var(--c-bg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease,
                transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.card__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card__icon {
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--accent-text);
}

.card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  color: inherit;
}

.card__text {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-text);
}

.card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-base) ease;
}

a.card:hover {
  border-color: var(--c-border-hover);
  background: var(--c-bg-hover);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

a.card:hover .card__cta svg {
  transform: translateX(3px);
}

/* Green */

.card--green {
  --c-bg: var(--green-bg);
  --c-bg-hover: var(--green-bg-hover);
  --c-border: var(--soft-line);
  --c-border-hover: var(--soft-line);
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  color: var(--green-ink);
  container-type: inline-size;
  /* the title size follows the card width (cqi) */
}

.card--green .card__head {
  gap: 16px;
}

.card--green .card__icon {
  width: 44px;
  height: 44px;
  color: var(--green-link);
}

/* "Oprogramowanie" is ~8.1em wide: 12cqi keeps it on one line in the card's
   content box, from the narrow bento column at ~1024px down to a 320px phone. */

.card--green .card__title {
  font-weight: 700;
  font-size: clamp(20px, 12cqi, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card--green .card__text {
  font-size: 17px;
  color: var(--green-body);
}

.card--green .card__cta {
  color: var(--green-link);
}

/* Phones: the padding follows the viewport, so the title has room. */

@media (max-width: 480px) {
  .card--green {
    padding: clamp(28px, 7.5vw, 40px);
  }
}

.card__title {
  overflow-wrap: break-word;
  /* last resort; no automatic hyphenation (see .t-display) */
}

/* Feature (dark, horizontal) */

.card--feature {
  --c-bg: var(--feature-bg);
  --c-bg-hover: var(--feature-bg-hover);
  --c-border: transparent;
  --c-border-hover: var(--feature-line-hover);
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  padding: 36px;
  color: var(--feature-ink);
}

.card--feature .card__head {
  flex: 1 1 360px;
}

.card--feature .card__icon {
  width: 40px;
  height: 40px;
  color: var(--feature-link);
}

.card--feature .card__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card--feature .card__text {
  font-size: 16px;
  color: var(--feature-body);
}

.card--feature .card__cta {
  color: var(--feature-link);
}

@media (prefers-reduced-motion: reduce) {
  a.card:hover {
    transform: none;
  }
}

/*
 * Service card (Oferta): .service + optional --dark / --green.
 * Two columns: intro (icon, number, title, text, "Dobre, gdy") and the list
 * of what the service includes.
 */

.services {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service {
  --s-bg: var(--card);
  --s-ink: var(--ink);
  --s-body: var(--body);
  --s-acc: var(--accent-text);
  --s-line: var(--line);
  --s-border: var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px 80px;
  padding: clamp(28px, 4.4vw, 64px);
  border: 1px solid var(--s-border);
  border-radius: var(--radius-2xl);
  background: var(--s-bg);
  color: var(--s-ink);
  scroll-margin-top: 24px;
}

.service--dark {
  --s-bg: var(--feature-bg);
  --s-ink: var(--feature-ink);
  --s-body: var(--feature-body);
  --s-acc: var(--feature-link);
  --s-line: rgba(255, 255, 255, .16);
  --s-border: transparent;
}

.service--green {
  --s-bg: var(--green-bg);
  --s-ink: var(--green-ink);
  --s-body: var(--green-body);
  --s-acc: var(--green-link);
  --s-line: color-mix(in srgb, var(--green-ink) 24%, transparent);
  --s-border: transparent;
}

.service__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service__icon {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--s-acc);
}

.service__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--s-acc);
}

.service__title {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--s-ink);
}

/* Phones: "Oprogramowanie" / "oprogramowania" must fit the card at 320px. */

@media (max-width: 480px) {
  .service__title {
    font-size: clamp(24px, 8vw, 28px);
  }
}

.service__title {
  overflow-wrap: break-word;
  /* last resort; no automatic hyphenation (see .t-display) */
}

.service__text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--s-body);
}

.service__fit {
  max-width: 520px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--s-body);
}

.service__fit strong {
  font-weight: 600;
  color: var(--s-ink);
}

/* "What comes next" line at the bottom of the intro (optional) */

.service__next {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  max-width: 520px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--s-line);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--s-ink);
}

.service__next svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--s-acc);
}

.service__includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service__label {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-acc);
}

.service__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service__list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--s-line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--s-ink);
}

.service__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--s-acc);
}

/* "Ask about this service" button under the intro of a service card */

.service__ask {
  margin-top: 16px;
}

/* The accent button would vanish on the green card: invert it there. */

.service--green .service__ask .btn {
  background: var(--green-ink);
  color: var(--green-bg);
}

/* Optional link under the intro of a service card (e.g. the sample table of contents) */

.service__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--s-acc);
  text-decoration: none;
}

.service__more:hover span {
  text-decoration: underline;
}

.service__more svg {
  flex: none;
  width: 16px;
  height: 16px;
}

/* Numbered steps (Jak pracujemy) */

.steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--accent-text);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* What the client gets from a step (the longer steps on /oferta); only rendered when set */

.step__result {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 15px;
  line-height: 1.6;
}

.step__result strong {
  font-weight: 600;
  color: var(--ink);
}

/* The founder's photo above the values (O nas); only rendered when set */

.founder {
  min-width: 0;
  margin: 0 0 48px;
}

.founder__photo {
  display: block;
  width: clamp(160px, 40vw, 320px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Values with a coloured bar on top (O nas) */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value__bar {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--stripe-1);
  transform-origin: left center;
}

.value:nth-child(3n+2) .value__bar {
  background: var(--stripe-2);
}

.value:nth-child(3n+3) .value__bar {
  background: var(--stripe-3);
}

.value__num {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
}

.value__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
}

/* Four values in a row (Jak rozliczamy on /oferta) */

.billing .values {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.billing .value__title {
  font-size: 24px;
}

/* Short items in a grid of tiles (Przykłady systemów) */

.examples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.example__bar {
  display: block;
  width: 32px;
  height: 4px;
  background: var(--stripe-1);
}

.example:nth-child(3n+2) .example__bar {
  background: var(--stripe-2);
}

.example:nth-child(3n+3) .example__bar {
  background: var(--stripe-3);
}

.example__text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Dark panel: heading and a list with check marks (Standardy w każdym projekcie).
   Uses the tokens and the list of the dark service card. */

.check-panel {
  --s-ink: var(--feature-ink);
  --s-acc: var(--feature-link);
  --s-line: rgba(255, 255, 255, .16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px 80px;
  align-items: start;
  padding: clamp(28px, 4.4vw, 64px);
  border-radius: var(--radius-2xl);
  background: var(--feature-bg);
  color: var(--feature-ink);
}

.check-panel__title {
  max-width: 480px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--feature-ink);
}

.check-panel__intro {
  min-width: 0;
}

.check-panel__lead {
  max-width: 480px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--feature-ink);
}

/* Light panel on a card surface (Working with us from abroad, EN only) */

.check-panel--light {
  --s-ink: var(--ink);
  --s-acc: var(--accent-text);
  --s-line: var(--line);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}

.check-panel--light .check-panel__title,
.check-panel--light .check-panel__lead {
  color: var(--ink);
}

.check-panel__list li:first-child {
  padding-top: 0;
  border-top: 0;
}

/* Technology logos row */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.45vw, 21px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--muted);
  transition: color var(--dur-fast) ease;
}

.tech-grid__item:hover {
  color: var(--ink);
}

.tech-grid__item svg {
  flex-shrink: 0;
}

/* Small numbered list in circles (Co dalej?) */

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.next-steps__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent-text);
  border-radius: var(--radius-pill);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.next-steps__text {
  padding-top: 4px;
}

/* On an accent (CTA) surface */

.next-steps--on-accent li {
  color: var(--cta-ink);
}

.next-steps--on-accent .next-steps__num {
  border-color: currentColor;
  color: inherit;
}

/* FAQ accordion (native <details>, one open at a time via name="faq") */

.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
  align-items: flex-start;
}

.faq__intro {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__lead {
  max-width: 380px;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.65;
}

.faq__lead a {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 4px;
}

.faq__list {
  flex: 2 1 560px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.35;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--accent-text);
}

.faq__t {
  transition: color var(--dur-fast) ease;
}

.faq__q:hover .faq__t {
  color: var(--accent-text);
}

.faq__ico {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  justify-self: end;
}

.faq__ico span {
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-base) ease;
}

.faq__ico span:last-child {
  transform: rotate(90deg) scaleX(1);
}

details[open] .faq__ico span:last-child {
  transform: rotate(90deg) scaleX(0);
}

.faq__a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 40px 28px 64px;
  font-size: 16px;
  line-height: 1.7;
}

/* Numbered table of contents (Co dostajesz po analizie), the right column of a
   split section. The numbers are drawn, not part of the copy. */

.toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.toc__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.toc__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
}

.toc__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* CTA banner: text on the left, button on the right (Oferta) */

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px 64px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-2xl);
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.cta__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: inherit;
}

/* A long label ("Tell us about your project") wraps instead of being cut off
   by the box on a 320px screen. */

.cta .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.cta__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cta-body);
}

/* Contact block: accent box with intro + form card (homepage #kontakt) */

.contact-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px 64px;
  align-items: start;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--cta-line);
  border-radius: var(--radius-2xl);
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.contact-cta__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
}

.contact-cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: inherit;
  overflow-wrap: break-word;
}

/* Phones: "Porozmawiajmy." fits the box at 320px. */

@media (max-width: 480px) {
  .contact-cta__title {
    font-size: clamp(26px, 8.5vw, 32px);
  }
}

.contact-cta__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cta-body);
}

.contact-cta__label {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cta-ink);
}

.contact-cta__email {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cta-body);
}

.contact-cta__email a {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--cta-ink);
  text-underline-offset: 4px;
}

.contact-cta__card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

/* Kontakt page: form card + aside */

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.contact-layout__form {
  flex: 999 1 560px;
  min-width: 0;
  padding: clamp(24px, 3.6vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  color: var(--ink);
}

.contact-layout__aside {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-alt);
}

.aside-card--accent {
  gap: 14px;
  border: 0;
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.aside-card--accent svg {
  width: 32px;
  height: 32px;
}

/* The founder's photo in place of the mail icon; only rendered when set */

.aside-card__photo {
  display: block;
  width: 72px;
  height: 72px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

/* Booking card (optional, only with a booking link) */

.aside-card--booking > svg {
  width: 32px;
  height: 32px;
  color: var(--accent-text);
}

.aside-card--booking .aside-card__title {
  color: var(--ink);
}

.aside-card--booking .aside-card__text {
  color: var(--body);
}

.aside-card__btn {
  align-self: flex-start;
}

.aside-card__title {
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: inherit;
}

.aside-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cta-body);
}

.aside-card__email {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--cta-ink);
  text-underline-offset: 5px;
}

.aside-card--note {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.aside-card--note > svg {
  width: 32px;
  height: 32px;
  color: var(--accent-text);
}

.aside-card--note h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
}

.aside-card--note p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}

.form__title--lg {
  font-size: 28px;
  letter-spacing: -0.02em;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.form__note {
  font-size: 13px;
  color: var(--muted);
}

.form__note a {
  color: var(--body);
  text-underline-offset: 3px;
}

/* Field: label + control + error */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
}

.field__optional {
  font-weight: 400;
  color: var(--muted);
}

.field__control {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-md);
  background: var(--field-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field__control::-moz-placeholder {
  color: var(--muted);
  opacity: 1;
}

.field__control::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field__control:hover {
  border-color: var(--ink);
}

.field__control:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--ink);
}

.field__control[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger);
}

textarea.field__control {
  min-height: 140px;
  resize: vertical;
}

select.field__control {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field__hint {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--danger);
}

.field__error svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Checkbox */

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.check a {
  color: var(--accent-text);
  text-decoration: none;
}

.check a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.check + .field__error {
  padding-left: 32px;
}

/* Honeypot: hidden from people and assistive tech */

.hp {
  display: none;
}

/* "Sent" state of the contact form */

.form-sent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
}

.form-sent > svg {
  width: 48px;
  height: 48px;
  color: var(--accent-text);
}

.form-sent h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
}

.form-sent p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}

.form-sent .btn {
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  background: transparent;
  font-size: 15px;
}

/* Alert / status message (design-system docs) */

.alert {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--body);
}

.alert > svg {
  width: 24px;
  height: 24px;
  color: var(--accent-text);
}

.alert__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}

.alert__text {
  margin-top: 4px;
  font-size: 15px;
}

.alert--success {
  border-color: transparent;
  background: var(--success-soft);
}

.alert--error {
  border-color: transparent;
  background: var(--danger-soft);
}

.alert--error > svg {
  color: var(--danger);
}

/* Panel that holds a form (design-system docs) */

.panel {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 40px;
}

.footer__brand,
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__brand {
  gap: 16px;
}

.footer__brand .logo img {
  height: 26px;
}

.footer__tagline {
  max-width: 280px;
  font-size: 15px;
  line-height: 1.6;
}

.footer__company {
  max-width: 280px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
  color: var(--muted);
}

.footer__heading {
  margin-bottom: 4px;
}

.footer__link {
  text-decoration: none;
  color: var(--body);
  transition: color var(--dur-fast) ease;
}

.footer__link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__email {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 4px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer__copy {
  font-size: 13px;
  color: var(--muted);
}

.footer__lang,
.footer__legal {
  font-size: 13px;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal a {
  color: var(--body);
  text-decoration: none;
}

.footer__legal a:hover,
.footer__legal a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__lang span {
  color: var(--ink);
  font-weight: 600;
}

.footer__lang a {
  color: var(--body);
  text-decoration: none;
}

.footer__lang a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Long-form text (privacy policy and other documents) */

.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

.prose > * + *,
.prose__section > * + * {
  margin-top: 16px;
}

/* One numbered section of a document (heading and its text): the unit that
   reveals on scroll (.reveal). */

.prose__section {
  margin-top: 48px;
}

.prose .prose__section > h2 {
  margin-top: 0;
}

.prose h2 {
  margin-top: 48px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose ul {
  padding-left: 1.25em;
  list-style: disc;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--accent-text);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent-text);
}

/*
 * Motion.
 *   .anim-in (+ .anim-d1..3)  entrance on page load
 *   .reveal                   fades/slides in when scrolled into view
 *   .reveal-group             its children reveal one after another
 * Scroll reveal is driven by ds.js (IntersectionObserver), which adds
 * .js-reveal to <html>; without JavaScript everything is simply visible.
 * Everything is disabled under prefers-reduced-motion and when printing.
 */

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.anim-in {
  animation: up .9s var(--ease-out) both;
}

.anim-d1 {
  animation-delay: .1s;
}

.anim-d2 {
  animation-delay: .22s;
}

.anim-d3 {
  animation-delay: .38s;
}

.js-reveal .reveal,
.js-reveal .reveal-group > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out) var(--rv-d, 0s), transform .8s var(--ease-out) var(--rv-d, 0s);
}

.js-reveal .reveal.is-in,
.js-reveal .reveal-group > .is-in {
  opacity: 1;
  transform: none;
}

.js-reveal .value__bar {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out) calc(var(--rv-d, 0s) + .25s);
}

.js-reveal .is-in .value__bar {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .anim-in,
    .hero-bars > span,
    .pattern {
    animation: none !important;
  }

  .js-reveal .reveal,
    .js-reveal .reveal-group > *,
    .js-reveal .value__bar {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn svg {
    transition: none;
  }
}

/* Printing (the privacy policy and the terms promise a printable form): show
   everything, also the sections that were never scrolled into view. */

@media print {
  .js-reveal .reveal,
    .js-reveal .reveal-group > *,
    .js-reveal .value__bar {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Styles used only by the /design-system preview page */

.docs-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.docs-block:first-of-type {
  margin-top: 0;
}

.docs-stage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.docs-stage--accent {
  border-style: solid;
  border-color: transparent;
  background: var(--cta-bg);
}

.docs-stage--block {
  display: block;
}

.docs-code {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
  white-space: pre;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.swatch__chip {
  height: 72px;
  border-bottom: 1px solid var(--line);
}

.swatch__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
}

.swatch__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.radii {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.radii__item {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.docs-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-decoration: none;
  color: var(--body);
}

.docs-toc a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.docs-toc__title {
  margin-bottom: 16px;
}

.docs-display {
  font-size: clamp(40px, 5vw, 72px);
}

.radii__item--sm {
  border-radius: var(--radius-sm);
}

.radii__item--md {
  border-radius: var(--radius-md);
}

.radii__item--lg {
  border-radius: var(--radius-lg);
}

.radii__item--xl {
  border-radius: var(--radius-xl);
}

.radii__item--2xl {
  border-radius: var(--radius-2xl);
}

/* One chip class per token listed in colorSwatches() (internal/web/ds_content.go) */

.swatch__chip--bg {
  background: var(--bg);
}

.swatch__chip--bg-alt {
  background: var(--bg-alt);
}

.swatch__chip--card {
  background: var(--card);
}

.swatch__chip--card-hover {
  background: var(--card-hover);
}

.swatch__chip--line {
  background: var(--line);
}

.swatch__chip--line-strong {
  background: var(--line-strong);
}

.swatch__chip--ink {
  background: var(--ink);
}

.swatch__chip--body {
  background: var(--body);
}

.swatch__chip--muted {
  background: var(--muted);
}

.swatch__chip--accent {
  background: var(--accent);
}

.swatch__chip--accent-text {
  background: var(--accent-text);
}

.swatch__chip--green-bg {
  background: var(--green-bg);
}

.swatch__chip--green-bg-hover {
  background: var(--green-bg-hover);
}

.swatch__chip--feature-bg {
  background: var(--feature-bg);
}

.swatch__chip--feature-bg-hover {
  background: var(--feature-bg-hover);
}

.swatch__chip--field-border {
  background: var(--field-border);
}

.swatch__chip--danger {
  background: var(--danger);
}

.swatch__chip--stripe-1 {
  background: var(--stripe-1);
}

.swatch__chip--stripe-2 {
  background: var(--stripe-2);
}

.swatch__chip--stripe-3 {
  background: var(--stripe-3);
}

/* ! tailwindcss v3.4.6 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: normal;
  /* as in the design; text classes set their own */
  transition: background-color var(--dur-base) ease, color var(--dur-base) ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

::-moz-selection {
  background: var(--accent);
  color: var(--on-accent);
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.block {
  display: block;
}

.\!inline {
  display: inline !important;
}

.inline {
  display: inline;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.border {
  border-width: 1px;
}

.border-line {
  border-color: var(--line);
}

.bg-bg-alt {
  background-color: var(--bg-alt);
}

.lowercase {
  text-transform: lowercase;
}

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