/* ==========================================================================
   GranitLab – sekcje strony głównej
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
  min-height: max(640px, 100svh);
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 72px));
  padding-bottom: clamp(56px, 9vh, 104px);
  background:
    radial-gradient(52% 58% at 78% 36%, var(--glow), transparent 72%),
    radial-gradient(38% 42% at 96% 92%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 70%);
}

/* Siatka w CSS: stan bez JS / zanim canvas narysuje pierwszą klatkę */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle at 1px 1px, var(--field-dot) 1.1px, transparent 1.6px);
  background-size: 28px 28px;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.22) 0%, rgb(0 0 0 / 0.22) 34%, #000 72%);
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.22) 0%, rgb(0 0 0 / 0.22) 34%, #000 72%);
}

.has-field .hero::before {
  display: none;
}

.hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.24) 0%, rgb(0 0 0 / 0.24) 34%, #000 74%);
  mask-image:
    linear-gradient(90deg, rgb(0 0 0 / 0.24) 0%, rgb(0 0 0 / 0.24) 34%, #000 74%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 767px) {
  .hero::before,
  .hero__field {
    -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.3) 45%, rgb(0 0 0 / 0.6) 80%, transparent 100%);
    mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.3) 45%, rgb(0 0 0 / 0.6) 80%, transparent 100%);
  }
}

.hero__inner {
  display: grid;
  justify-items: start;
  gap: clamp(20px, 2.6vw, 28px);
}

.hero__title {
  /* Każde zdanie w jednej linii także na telefonie. Najdłuższa linia („Zautomatyzuj rutynę.”) ma ok. 9,4 em
     przy małym rozmiarze fontu (oś optyczna poszerza litery), więc dzielimy szerokość z zapasem. */
  --hero-fit: 9.8;
  font-size: min(var(--fs-h1), calc((100vw - 2 * var(--gutter)) / var(--hero-fit)));
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: initial;
}

/* EN: „Improve your business.” ma ok. 10,2 em */
:lang(en) .hero__title {
  --hero-fit: 10.6;
}

.hero__line {
  display: block;
}

.hl {
  position: relative;
  color: var(--accent-text);
  white-space: nowrap;
}

.hl::after {
  content: '';
  position: absolute;
  left: 0.03em;
  right: 0.02em;
  bottom: -0.02em;
  height: 0.085em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal-2));
  opacity: 0.55;
  transform-origin: left center;
  animation: gl-bar var(--dur-3) var(--ease-out) 350ms both;
}

.hero__lead {
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 575px) {
  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--text-3);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__trust li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--border-strong);
}

.hero__trust li.is-status::before {
  display: none;
}

.hero__readout {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: clamp(28px, 6vh, 56px);
  display: none;
  gap: 6px;
  min-width: 200px;
  margin: 0;
  color: var(--text-3);
  font-size: 0.7rem;
}

.hero__readout > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.hero__readout dd {
  margin: 0;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1200px) and (min-height: 700px) {
  .js .hero__readout {
    display: grid;
  }
}

/* ---------- PASEK FAKTÓW ---------- */
.strip {
  position: relative;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 30%, var(--bg));
}

.strip .container {
  position: relative;
}

.strip__grid {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--border);
  border-inline: 1px solid var(--border);
}

/* Znaczniki rejestracyjne „+” w narożnikach – jak na arkuszu z próbkami w laboratorium */
.strip__grid::before,
.strip__grid::after,
.strip .container::before,
.strip .container::after {
  content: '+';
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  font: 400 14px/1 var(--font-mono);
  color: var(--text-3);
  pointer-events: none;
}

.strip__grid::before {
  top: -8px;
  left: -8px;
}

.strip__grid::after {
  top: -8px;
  right: -8px;
}

.strip .container::before {
  bottom: -8px;
  left: calc(var(--gutter) - 8px);
}

.strip .container::after {
  bottom: -8px;
  right: calc(var(--gutter) - 8px);
}

@media (min-width: 640px) {
  .strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.strip__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 30px);
  background: color-mix(in srgb, var(--surface) 30%, var(--bg));
}

.strip__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 10px;
  color: var(--link);
  border: 1px solid var(--border-strong);
}

.strip__icon .icon {
  width: 18px;
  height: 18px;
}

.strip__title {
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.strip__item p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- 01 CO BUDUJEMY ---------- */
.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .card--a,
  .card--d {
    grid-column: span 7;
  }

  .card--b,
  .card--c {
    grid-column: span 5;
  }
}

/* Mini-ticker: wejście → wynik */
.ticker {
  margin: 0;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.ticker__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text-3);
  animation: gl-tick 10s var(--ease) infinite;
}

.ticker__list li:nth-child(2) {
  animation-delay: 2.5s;
}

.ticker__list li:nth-child(3) {
  animation-delay: 5s;
}

.ticker__list li:nth-child(4) {
  animation-delay: 7.5s;
}

.ticker__arrow {
  width: 16px;
  height: 16px;
  opacity: 0.55;
}

.ticker__out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker__out::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.45;
}

/* Schemat integracji */
.diagram {
  margin: 0;
}

.diagram svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.diagram__links path {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.4;
  stroke-dasharray: 3 5;
}

.diagram__node rect {
  fill: color-mix(in srgb, var(--bg) 65%, transparent);
  stroke: var(--border-strong);
}

.diagram__core rect {
  fill: color-mix(in srgb, var(--brand) 14%, var(--surface));
  stroke: color-mix(in srgb, var(--brand) 60%, transparent);
}

.diagram text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  fill: var(--text-2);
  text-anchor: middle;
}

.diagram__core text {
  fill: var(--text);
  font-size: 11.5px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card:hover .diagram__links path {
    stroke: color-mix(in srgb, var(--brand) 80%, transparent);
    animation: gl-dash 0.9s linear infinite;
  }
}

/* Wyszukiwanie semantyczne */
.search-demo {
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  overflow: hidden;
}

.search-demo__query {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
}

.search-demo__query .icon {
  width: 16px;
  height: 16px;
  color: var(--link);
}

.search-demo__results {
  padding: 6px 0;
}

.search-demo__results li {
  --score: 0.9;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 34px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  color: var(--text-2);
  font-size: 0.84rem;
}

.search-demo__results li:nth-child(1) {
  --score: 0.94;
  color: var(--text);
}

.search-demo__results li:nth-child(2) {
  --score: 0.89;
}

.search-demo__results li:nth-child(3) {
  --score: 0.81;
}

.search-demo__doc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-demo__bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
}

.search-demo__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--teal-2));
  transform-origin: left center;
  transform: scaleX(var(--score));
}

.search-demo__score {
  color: var(--text-3);
  text-align: right;
  font-size: 0.72rem;
}

/* Lista „co dostajesz” */
.deliverables {
  display: grid;
  gap: 10px;
}

@media (min-width: 560px) {
  .deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.deliverables li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  row-gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}

.deliverables .icon {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 7px;
  color: var(--check);
  background: color-mix(in srgb, var(--check) 12%, transparent);
  stroke-width: 2.2;
}

.deliverables strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.deliverables span {
  color: var(--text-3);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ---------- 02 NA START ---------- */
.offer__panel {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  padding: clamp(28px, 5.5vw, 72px);
  border-radius: var(--radius-surface);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--panel-glow), transparent 58%),
    radial-gradient(60% 80% at 0% 100%, var(--panel-glow-soft), transparent 60%),
    var(--surface);
  overflow: hidden;
}

.offer__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, var(--field-dot) 1.1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%);
}

@media (min-width: 992px) {
  .offer__panel {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.offer__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.offer__copy h2 {
  max-width: 13ch;
}

.offer__copy .btn {
  margin-top: 8px;
}

.timeline {
  position: relative;
  isolation: isolate;
  display: grid;
}

.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 6px;
  top: 12px;
  bottom: 44px;
  width: 1px;
  background: var(--border-strong);
}

.timeline::after {
  background: linear-gradient(180deg, var(--brand), var(--teal-2));
  transform-origin: top center;
}

.timeline__step {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 30px 40px;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 2px solid var(--brand);
  background: var(--surface);
}

.timeline__step:last-child::before {
  background: var(--brand);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 22%, transparent);
}

.timeline__when {
  justify-self: start;
  margin-bottom: 2px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  background: var(--surface); /* pełne tło: etykieta nie leży na wzorze kropek ani poświacie */
  color: var(--link);
}

.timeline__what {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.timeline__note {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 44ch;
}

/* ---------- 03 JAK PRACUJEMY ---------- */
.process__grid {
  display: grid;
  gap: 8px;
}

@media (min-width: 992px) {
  .process__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 6vw, 96px);
  }

  .process__head {
    position: sticky;
    top: calc(var(--header-h) + 48px);
    align-self: start;
  }
}

.steps {
  position: relative;
  isolation: isolate;
}

.steps::before,
.steps::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: var(--border);
}

.steps::after {
  background: linear-gradient(180deg, var(--brand), var(--teal-2));
  transform-origin: top center;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 22px;
  padding: 26px 0;
}

.step + .step {
  border-top: 1px dashed color-mix(in srgb, var(--border-strong) 70%, transparent);
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--link);
  font-size: 0.8rem;
}

.step__body {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.step__title {
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
}

.step__body p {
  color: var(--text-2);
  max-width: 52ch;
}

.step__time {
  grid-column: 2;
  justify-self: start;
  align-self: start;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .step {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .step__time {
    grid-column: 3;
    grid-row: 1;
    margin-top: 10px;
  }
}

/* ---------- 04 DLACZEGO MY ---------- */
.why__list {
  display: grid;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .why__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 72px);
  }
}

.why__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.why__item .icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 7px;
  color: var(--check);
  background: color-mix(in srgb, var(--check) 12%, transparent);
  stroke-width: 2.2;
}

.why__item p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.6;
}

.why__item strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- TECHNOLOGIE (marquee) ---------- */
.tech {
  padding-block: clamp(48px, 7vw, 88px);
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 30%, var(--bg));
}

.tech__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.tech__title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.marquee-toggle .icon {
  grid-area: 1 / 1;
}

.marquee-toggle__play,
.marquee-toggle[aria-pressed='true'] .marquee-toggle__pause {
  display: none;
}

.marquee-toggle[aria-pressed='true'] .marquee-toggle__play {
  display: block;
}

.marquee {
  overflow: hidden;
}

.marquee__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 30px;
  padding-inline: var(--gutter);
}

.marquee__list li {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1rem + 1.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--text-3);
  white-space: nowrap;
  transition: color var(--dur-1) var(--ease);
}

.marquee__list li::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.75;
}

.marquee__list li:hover {
  color: var(--text);
}

.marquee:not(.is-running) .marquee__list[aria-hidden='true'] {
  display: none;
}

/* Bez przewijania (telefon, prefers-reduced-motion): lista w formie chipów */
.marquee:not(.is-running) .marquee__list {
  gap: 10px;
}

.marquee:not(.is-running) .marquee__list li {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  color: var(--text-2);
}

.marquee:not(.is-running) .marquee__list li::after {
  display: none;
}

.marquee.is-running {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee.is-running .marquee__track {
  display: flex;
  width: max-content;
  animation: gl-marquee 48s linear infinite;
}

.marquee.is-running .marquee__list {
  flex-wrap: nowrap;
  padding-inline: 0 30px;
}

.marquee.is-running:hover .marquee__track,
.marquee.is-paused .marquee__track,
.marquee.is-offscreen .marquee__track {
  animation-play-state: paused;
}

/* ---------- 05 FAQ ---------- */
.faq__grid {
  display: grid;
  gap: 8px;
}

@media (min-width: 992px) {
  .faq__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 6vw, 96px);
  }

  .faq__head {
    position: sticky;
    top: calc(var(--header-h) + 48px);
    align-self: start;
  }
}

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

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color var(--dur-1) var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--link);
}

.faq__item summary:focus-visible {
  outline-offset: 6px;
}

.faq__chev {
  width: 22px;
  height: 22px;
  color: var(--text-3);
  transition:
    transform var(--dur-2) var(--ease-out),
    color var(--dur-1) var(--ease);
}

.faq__item[open] .faq__chev {
  transform: rotate(45deg);
  color: var(--link);
}

.faq__answer {
  padding: 0 clamp(8px, 5vw, 56px) 26px 0;
  color: var(--text-2);
  max-width: 64ch;
}

.faq__item::details-content {
  block-size: 0;
  overflow-y: clip;
  transition:
    block-size var(--dur-2) var(--ease),
    content-visibility var(--dur-2) var(--ease) allow-discrete;
}

.faq__item[open]::details-content {
  block-size: auto;
}

/* ---------- 06 KONTAKT ---------- */
.contact__panel {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 22px;
  padding: clamp(28px, 6.5vw, 88px);
  border-radius: var(--radius-surface);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 120% at 0% 100%, var(--panel-glow), transparent 60%),
    radial-gradient(55% 80% at 100% 0%, var(--panel-glow-soft), transparent 62%),
    var(--surface);
  overflow: hidden;
}

.contact__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, var(--field-dot) 1.1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent 72%);
  mask-image: radial-gradient(60% 90% at 100% 100%, #000, transparent 72%);
}

.contact__panel h2 {
  max-width: 14ch;
}

.contact__email {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 0.35rem + 5.1vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--brand), var(--teal-2)) left bottom / 0% 3px no-repeat;
  padding-bottom: 6px;
  transition:
    background-size var(--dur-3) var(--ease-out),
    color var(--dur-2) var(--ease);
}

.contact__email:hover {
  background-size: 100% 3px;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 575px) {
  .contact__actions {
    width: 100%;
    flex-direction: column;
  }

  .contact__actions .btn {
    width: 100%;
  }
}

.contact__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2); /* leży na niebieskiej poświacie – text-3 miałby tu < 4,5:1 */
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}
