/* przekodowane.pl — jasna wersja logotypu „Terminal” */

/* Czcionki trzymane lokalnie (bez połączeń z Google). Pliki są zmienne:
   jeden plik obejmuje wszystkie grubości. Licencja: fonts/LICENSE.txt */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --ink: #0E1116;
  --muted: #59606B;
  --line: #E3E6EB;
  --panel: #F6F7F9;
  --green: #0B8A5A;      /* akcent z jasnej wersji logo */
  --add-bg: #EAF6F0;
  --del-bg: #F6F7F9;
  --del-ink: #6B7280;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.logo__p { color: var(--green); }
.logo__tld { color: var(--muted); font-weight: 500; }
.logo__cur {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--green);
}

/* nagłówek */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}
.top__mail {
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
}
.top__mail:hover { color: var(--ink); }

/* tytuł */
.title {
  margin-top: clamp(56px, 10vw, 112px);
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* diff */
.diff {
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
}
.diff__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.diff__stat-add { color: var(--green); font-weight: 700; }
.diff__stat-del { color: var(--muted); font-weight: 700; }

.diff__body {
  list-style: none;
  padding: 0;
  font-size: clamp(0.9375rem, 1.7vw, 1.1875rem);
  line-height: 1.5;
}
.diff__body li {
  display: grid;
  grid-template-columns: 2.25em 1fr;
  padding: 9px 20px 9px 12px;
}
.diff__body .m { text-align: center; user-select: none; }

.del { background: var(--del-bg); color: var(--del-ink); }
.del .t { text-decoration: line-through; text-decoration-color: #A3A9B2; }

.add { background: var(--add-bg); color: var(--ink); font-weight: 500; }
.add .m { color: var(--green); font-weight: 700; }
.add:not(:last-child) { border-bottom: 1px solid var(--line); }

/* kontakt */
.contact {
  margin-top: clamp(80px, 12vw, 144px);
  padding-bottom: clamp(80px, 12vw, 144px);
}
.contact h2 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.contact__mail {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(1.625rem, 5.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--line);
  overflow-wrap: anywhere;
}
.contact__mail:hover { text-decoration-color: var(--green); }

/* stopka */
.foot {
  display: flex;
  align-items: center;
  min-height: 72px;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
  .top__mail { display: none; }
  .diff__head { padding: 10px 14px; }
  .diff__body li { padding: 8px 14px 8px 6px; grid-template-columns: 1.9em 1fr; }
}
