@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 450 700;
  font-display: swap;
  src: url("../fonts/familjengrotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 450 700;
  font-display: swap;
  src: url("../fonts/familjengrotesk-lat.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: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/literata-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/literata-lat.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;
}

:root {
  --ground: #e8f2f8;
  --paper: #f7fbfe;
  --ink: #102033;
  --muted: #3a5164;
  --line: #c5d6e4;
  --plate: #0068d4;
  --plate-deep: #0054a8;
  --plate-hover: #1f8ed0;
  --sky: #1c96e4;
  --radius: 0.55rem;
  --dot: #8adcf6;
  --plate-ink: #f4fbff;
  --pick: #e4f4fb;
  --danger: #8d2c2c;
  --wrap: 68rem;
  --measure: 38rem;
  --sans: "Familjen Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Literata", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --pad: clamp(1.25rem, 3vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: #c5e8f6;
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.nav,
.pay-figure,
.deal,
.button,
label,
legend,
.field-error,
.form-status,
.choice,
.footer-meta,
.skip {
  font-family: var(--sans);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 30;
}

.skip:focus {
  top: 0.8rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.prose {
  max-width: var(--measure);
}

.prose + .prose {
  margin-top: 0.9rem;
}

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

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 0.5rem;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 1.45rem;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
  font-size: 1rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-toggle {
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  background: transparent;
  border: 0;
  padding: 0.4rem 0.1rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.4rem 0 1rem;
}

.nav-panel a {
  display: block;
  text-decoration: none;
  padding: 0.7rem 0;
  font-family: var(--sans);
}

.nav-open .nav-panel {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.85rem;
  border-radius: var(--radius);
  background-color: var(--plate);
  background-image: linear-gradient(105deg, var(--plate-hover) 0%, var(--plate-hover) 38%, var(--plate) 62%, var(--plate) 100%);
  background-size: 280% 100%;
  background-position: 100% 50%;
  color: #fff;
  text-decoration: none;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background-position 0.5s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.button:hover:not(.button-quiet) {
  background-position: 0% 50%;
}

.button-icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.5rem;
  flex: none;
}

.button-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:disabled {
  cursor: wait;
  background-image: none;
  background-color: #6a96b5;
}

.text-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  text-underline-offset: 0.2em;
}

.hero {
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 4rem);
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  max-width: 16em;
}

.calc {
  background: #fff;
  border: 1px solid #c3d4e2;
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}

.calc-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.calc-lead {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.calc-field + .calc-field {
  margin-top: 0.85rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.98rem;
}

.calc-label output {
  font-weight: 600;
}

.calc input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.35rem;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--plate-deep) 0%, var(--sky) var(--fill), #d7e6f0 var(--fill), #d7e6f0 100%) center / 100% 0.42rem no-repeat;
  cursor: pointer;
}

.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 0.42rem;
  border-radius: 999px;
  background: transparent;
}

.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: -0.36rem;
  border: 2px solid var(--plate);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.16);
  cursor: pointer;
}

.calc input[type="range"]::-moz-range-track {
  height: 0.42rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--plate-deep) 0%, var(--sky) var(--fill), #d7e6f0 var(--fill), #d7e6f0 100%);
}

.calc input[type="range"]::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--plate);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.16);
  cursor: pointer;
}

.calc-total {
  margin: 1.1rem 0 0;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--plate);
}

.calc-caption {
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.98rem;
}

.calc-split {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.98rem;
}

.calc-split span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.calc-split strong {
  white-space: nowrap;
}

.calc-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.calc .button {
  width: 100%;
  margin-top: 1rem;
}

.kicker {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.05rem, 3.4vw, 3.15rem);
  max-width: 16em;
  line-height: 1.15;
}

.hero-copy .prose {
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.4rem;
  margin-top: 1.6rem;
}

.hero-actions .text-link {
  margin-top: 0;
}

.section {
  padding: clamp(3.2rem, 6vw, 5.4rem) 0;
  scroll-margin-top: 4.6rem;
}

.section h2 {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  max-width: 28ch;
  margin-bottom: 1.1rem;
}

.section h2::before {
  content: "";
  flex: none;
  width: 0.72rem;
  height: 0.72rem;
  margin-top: calc((1lh - 0.72rem) / 2);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #9ed8f4 0%, #1a86c8 46%, var(--plate-deep) 100%);
}

.form-panel h2::before {
  content: none;
}

.section-intro {
  margin-bottom: 2rem;
}

.roles {
  display: grid;
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
}

.role {
  padding: 1.4rem 0 0.2rem;
}

.role h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.steps {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.65;
}

.steps strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pays {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.pays li {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.pays li:last-child {
  border-bottom: 1px solid var(--line);
}

.pay-figure {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--plate);
}

.pays h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.deal-scroll {
  margin-top: 1.8rem;
  overflow-x: auto;
}

.deal {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.deal caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.85rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: var(--measure);
}

.deal th,
.deal td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-weight: 500;
  vertical-align: bottom;
}

.deal thead th {
  font-weight: 600;
  text-align: right;
}

.deal th:first-child,
.deal td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  padding-left: 0;
}

.cell-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.deal thead .pick {
  box-shadow: inset 0 3px 0 var(--plate);
  color: var(--ink);
}

.deal td.pick,
.deal th.pick {
  background: var(--pick);
}

.deal tr.total td {
  font-weight: 700;
  color: var(--ink);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (max-width: 719px) {
  .deal-scroll {
    overflow: visible;
  }

  .deal {
    min-width: 0;
    display: block;
  }

  .deal thead {
    display: none;
  }

  .deal caption {
    display: block;
    width: 100%;
    max-width: none;
  }

  .cell-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    display: inline-block;
    min-width: 6.2rem;
    color: var(--muted);
    font-weight: 500;
    white-space: normal;
  }

  .deal tbody,
  .deal tr,
  .deal th,
  .deal td {
    display: block;
    width: auto;
    text-align: left;
  }

  .deal tr {
    padding: 0.85rem 0 0.35rem;
    border-bottom: 1px solid var(--line);
  }

  .deal td,
  .deal th {
    border-bottom: 0;
    padding: 0.12rem 0;
  }

  .deal th[scope="row"] {
    color: var(--ink);
    font-weight: 600;
    padding-bottom: 0.35rem;
  }

  .deal .pick {
    background: transparent;
    box-shadow: inset 3px 0 0 var(--plate);
    padding-left: 0.55rem;
    font-weight: 700;
  }

  .deal caption {
    display: block;
    width: 100%;
    max-width: none;
    padding-top: 0.35rem;
  }

  .deal tr.total td {
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
  }
}

.aside-note {
  margin-top: 1.6rem;
  width: 100%;
  max-width: none;
  padding-left: 1rem;
  border-left: 2px solid var(--ink);
}

.facts {
  display: grid;
  gap: 1.8rem 2.5rem;
  margin: 2rem 0 0;
}

.facts dt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
}

.fact {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
}

.fact-mark {
  position: relative;
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--plate-deep) 0%, var(--sky) 100%);
}

.fact-mark::after {
  content: "";
  position: absolute;
  right: 0.48rem;
  bottom: 0.48rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--dot);
}

.fact-mark svg {
  width: 2.7rem;
  height: 2.7rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cash-line {
  margin-top: 2rem;
  max-width: var(--measure);
  font-family: var(--sans);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.fit {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.fit li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.42rem 0;
}

.fit li::before {
  content: "";
  flex: none;
  width: 0.46rem;
  height: 0.46rem;
  margin-top: calc((1lh - 0.46rem) / 2);
  border-radius: 50%;
  background: var(--plate);
}

.clauses {
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.3rem;
  max-width: 42rem;
}

.clauses li {
  padding: 0.35rem 0;
}

.clauses li::marker {
  font-family: var(--sans);
  font-weight: 600;
}

.promise {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.act {
  background: transparent;
  border: 0;
}

.form-panel {
  width: min(100%, 58rem);
  margin-inline: auto;
  background: #fff;
  border: 1px solid #c3d4e2;
  border-radius: var(--radius);
  padding: clamp(1.85rem, 3vw, 2.5rem);
}

.form-panel .prose,
.form-panel h2 {
  max-width: none;
}

form {
  margin-top: 1.4rem;
  max-width: none;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
}

.req {
  color: #c62828;
  font-weight: 700;
}

.field-name,
.field-phone,
.field-email,
.field-nip,
.field-firma,
.field-address,
.field-regon,
.field-krs {
  width: 100%;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

label,
legend {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

fieldset {
  margin: 0.3rem 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  font-size: 1rem;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b3c7d6;
  border-radius: var(--radius);
  padding: 0.75rem 0.7rem;
  min-height: 3rem;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--plate);
  width: 1.05rem;
  height: 1.05rem;
}

input.invalid,
.choices.invalid {
  border-color: var(--danger);
}

.choices.invalid {
  border-left: 2px solid var(--danger);
  padding-left: 0.6rem;
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: 0.95rem;
  line-height: 1.35;
}

.field-note {
  min-height: 1.35em;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.35;
}

.consent a {
  color: var(--plate);
  text-underline-offset: 0.14em;
}

.consent {
  display: grid;
  grid-template-columns: 1.05rem 1fr;
  gap: 0.6rem;
  align-items: start;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.2rem;
}

.form-status {
  margin: 0.8rem 0 0;
  max-width: var(--measure);
  min-height: 1.4em;
}

.form-status.error {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 2.8rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  display: block;
  height: 1.45rem;
  width: auto;
  margin: 0.2rem 0 1.2rem;
}

.footer-meta {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-family: var(--sans);
}

.footer-nav a {
  text-decoration: none;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-contact a {
  text-underline-offset: 0.16em;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.footer-base p {
  margin: 0;
}

.footer-base p:last-child {
  text-align: right;
  max-width: 28rem;
}

.split-media {
  display: grid;
  gap: 1.6rem;
  align-items: stretch;
}

.split-copy .prose,
.split-copy .fit,
.split-copy .clauses,
.split-copy .promise {
  max-width: none;
}

.media-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #c9dae6;
  min-height: 18rem;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.thanks {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
  min-height: 55vh;
}

.thanks h1 {
  max-width: 12em;
  font-size: clamp(2.05rem, 3.4vw, 3.15rem);
}

.thanks .prose {
  margin-top: 1.2rem;
}

.thanks .button {
  margin-top: 1.6rem;
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.15rem;
    row-gap: 1rem;
  }

  .field-name { grid-column: span 4; }
  .field-phone { grid-column: span 3; }
  .field-email { grid-column: span 5; }
  .field-nip { grid-column: span 3; }
  .field-firma { grid-column: span 9; }
  .registry-inner .field-address { grid-column: 1 / -1; }
  .registry-inner .field-regon { grid-column: span 6; }
  .registry-inner .field-krs { grid-column: span 6; }

.form-hint,
.field-note,
.field-wide,
fieldset,
.consent,
.form-row,
.form-status,
.registry-fields,
.span-all {
  grid-column: 1 / -1;
}

.follow {
  margin-top: 1.4rem;
}

  .pays li {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 880px) {
  .nav-toggle,
  .nav-panel,
  .nav-open .nav-panel {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(17.5rem, 24rem);
    gap: 2.5rem;
  }

  .roles {
    grid-template-columns: 1fr 1fr;
  }

  .role + .role {
    border-left: 1px solid var(--line);
    padding-left: 1.8rem;
    margin-left: 1.8rem;
  }

  .split-media {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .split-contract {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .media-frame {
    min-height: 100%;
  }

  .media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
}

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

  .hero-copy {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 0.55s ease both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.button-quiet {
  background-image: none;
  background-color: #fff;
  color: var(--ink);
  border: 1px solid #7e9aaf;
}

.button-quiet:hover {
  background-position: 100% 50%;
  background-color: #e4f3fb;
}

.text-button {
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.menu-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  width: fit-content;
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 0.14rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--plate-deep) 0%, var(--plate) 42%, var(--sky) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.menu-link:hover::after,
.menu-link:focus-visible::after {
  transform: scaleX(1);
}

.cookie[hidden],
.cookie-details[hidden] {
  display: none;
}

.cookie {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 0 1rem;
}

.cookie-panel {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
  background: #fff;
  border: 1px solid #c3d4e2;
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.2rem;
}

.cookie-title {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cookie-copy p:last-child {
  max-width: 62rem;
}

.cookie-copy a {
  color: var(--plate);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  align-items: center;
  margin-top: 0.9rem;
}

.cookie-details {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}

.cookie-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-row p {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
}

.cookie-hint {
  font-weight: 400;
  color: var(--muted);
  font-family: var(--serif);
  margin-top: 0.15rem;
}

.cookie-details .button {
  justify-self: start;
}

.policy {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
}

.policy h1 {
  max-width: 16em;
  margin-bottom: 1rem;
}

.policy h2 {
  font-size: 1.45rem;
  margin: 1.8rem 0 0.5rem;
}

.policy p,
.policy li {
  max-width: 42rem;
}

.policy ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.policy li {
  padding: 0.2rem 0;
}

@media (max-width: 719px) {
  .footer-base {
    flex-direction: column;
  }

  .footer-base p:last-child {
    text-align: left;
  }
}

.registry-fields {
  grid-column: 1 / -1;
  min-width: 0;
}

.registry-fields[hidden] {
  display: none;
}

.registry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
}

.registry-fields.is-open {
  animation: registry-in 0.48s cubic-bezier(0.22, 0.7, 0.2, 1);
}

@keyframes registry-in {
  from {
    opacity: 0;
    transform: translateY(-0.65rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .registry-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.15rem;
    row-gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-link::after,
  .button,
  .registry-fields.is-open {
    transition: none;
    animation: none;
  }
}
