/* Petrecerea de Pietoni — stiluri pentru paginile statice.
   Fonturile sunt gazduite local (fara Google Fonts). Licente: ../fonts/OFL.txt */

/* ── Fonturi ─────────────────────────────────────────────── */
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-italic-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;
}
/* latin-ext */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-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;
}
/* latin-ext */
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/geist-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/geist-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;
}
/* BBH Hegarty (Studio DRAMA, OFL) are doar latin de baza; acesta e build-ul cu diacritice romanesti
   (ă â î ș ț, plus ş ţ) compuse din glifele fontului. O singura greutate (400) — nu cere bold pe display. */
@font-face {
  font-family: "BBH Hegarty";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bbh-hegarty-ro.woff2") format("woff2");
}

/* ── Tokeni ──────────────────────────────────────────────── */
:root {
  --acc: #0000ff;
  --ink: #1a1816;
  --rule: #e6e2db;
  --font-display: "BBH Hegarty", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ── Baza ────────────────────────────────────────────────── */
html { background: #fff; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--acc);
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  overflow-wrap: anywhere;
  transition: background-color .12s, color .12s;
}
a:hover { background: var(--acc); color: #fff; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
a:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--acc); color: #fff; }
strong { font-weight: 700; }
/* nume proprii: raman cu majuscule in designul lowercase */
.nc { text-transform: none; }

.page { min-height: 100vh; background: #fff; color: var(--ink); }

/* ── Bordura (header): placi de pavaj + linia galbena ───── */
.kerb {
  position: relative;
  background-color: #5f5e5c;
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 6vw, 96px) clamp(36px, 4.5vw, 60px);
  overflow: hidden;
}
.kerb__line { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: #dcb41c; }
.kerb__canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.kerb__inner { position: relative; z-index: 1; display: flex; align-items: center; }
.kerb__logo,
.kerb__logo:hover { display: block; background: transparent; color: #f2efe9; }
.kerb__logo img { display: block; width: clamp(180px, 22vw, 320px); height: auto; aspect-ratio: 1031 / 283; }

/* ── Continut ────────────────────────────────────────────── */
.main { padding: clamp(64px, 9vw, 144px) clamp(20px, 6vw, 96px) clamp(120px, 14vw, 224px); }
.wrap { max-width: 68rem; }
.eyebrow {
  margin: 0 0 clamp(16px, 2vw, 24px);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--acc);
}
.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.9rem);
  line-height: 1;
  text-wrap: balance;
  color: var(--ink);
}
.intro { margin-top: clamp(28px, 3.5vw, 48px); max-width: 42rem; display: grid; gap: 1.1rem; }
.lead { margin: 0; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.5; text-wrap: pretty; color: var(--ink); }
.text { margin: 0; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; text-wrap: pretty; color: var(--ink); }

.terms { margin-top: clamp(88px, 11vw, 176px); max-width: 68rem; }
.terms__title {
  margin: 0 0 clamp(24px, 3vw, 44px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 3rem);
  line-height: 1;
  text-wrap: balance;
  color: var(--ink);
}
.terms__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.terms__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem clamp(32px, 6vw, 96px);
  padding: clamp(22px, 2.4vw, 34px) 0;
  border-top: 1px solid var(--rule);
}
.terms__head { flex: 1 1 16rem; max-width: 24rem; display: flex; align-items: baseline; gap: 1rem; }
.terms__num {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--acc);
}
.terms__q {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem);
  line-height: 1.05;
  text-wrap: balance;
  color: var(--ink);
}
.terms__a {
  flex: 1.5 1 20rem;
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: break-word;
  color: var(--ink);
}

@media (max-width: 700px) {
  .kerb { padding: 40px 20px 64px; }
  .kerb__logo img { width: min(60vw, 250px); }
  .main { padding-left: 20px; padding-right: 20px; }
}
