:root {
  --ink: #141416;
  --ink-2: #333438;
  --slate: #4f5259;
  --line: #ebecee;
  --mist: #f6f7f8;
  --orange: #d9693a;
  --orange-dark: #c25a2e;
  --orange-soft: #e9af88;
  --orange-wash: #fbefe8;
  --white: #ffffff;
  --radius: 3px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.55 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 16px; }

/* Pasek górny */
.top { border-bottom: 1px solid var(--line); background: var(--white); position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top img { display: block; height: 22px; width: auto; }
.top-tag {
  font: 700 12px/1 'Barlow', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--slate);
}

/* Etykieta sekcji: pomarańczowy kwadrat + wersaliki */
.label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 700 12px/1 'Barlow', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.label .sq { width: 9px; height: 9px; background: var(--orange); flex: none; }

h1, h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: .005em; line-height: .98; margin: 0;
}
h1 { font-size: clamp(44px, 9vw, 76px); }
h2 { font-size: clamp(28px, 5vw, 36px); }
h1 em, h2 em {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; text-transform: none;
  color: var(--orange); letter-spacing: -.01em;
}

/* Delikatne rysunki */
.art { position: absolute; color: var(--orange-soft); pointer-events: none; fill: none; stroke: currentColor;
  stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }

/* Karty i pola */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

input[type='text'], input[type='password'], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #d6d8dc; border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d9693a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-wash);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: var(--orange); border: 0; border-radius: 2px;
  padding: 18px 28px; min-height: 54px; cursor: pointer; transition: background .15s;
  text-decoration: none;
}
.btn:hover { background: var(--orange-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 36px; color: var(--slate); font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
