/* InPocket. — site de prezentare
   Aceleași valori ca aplicația (direcția întunecată, 27 octombrie 2026).
   Noapte e tema de bază; Zi vine din setarea sistemului. */

:root {
  --bg: #09090b;
  --nav: #0d0d10;
  --sf: #121215;
  --sf2: #1b1b20;
  --sel: #27272d;
  --line: #24242a;
  --edge: rgba(255, 255, 255, 0.07);
  --edge2: rgba(255, 255, 255, 0.16);
  --kbd: rgba(9, 9, 11, 0.25);
  --tx: #f4f4f5;
  --tx2: #a1a1aa;
  --tx3: #8b8b94;
  --acc: #ffd60a;
  --accTx: #ffd60a;
  --tAcc: rgba(255, 214, 10, 0.12);
  --btn: #f4f4f5;
  --onbtn: #09090b;
  --good: #4ade80;
  --warn: #ff8a3d;
  --sug: #16152c;
  --sugEdge: rgba(140, 142, 255, 0.28);
  --sugTx: #abacff;
  --px0: #26262c;
  --px1: #1f1f25;
  --px2: #45454d;
  --px3: #686872;
  /* Categoriile, de la cea mai mare la cea mai mică. Toate peste 3:1 față de
     fondul cardului (13,7 / 8,0 / 5,1 / 3,5); înainte ultima avea 1,5:1. */
  --cat1: #dcdce0;
  --cat2: #a9a9b1;
  --cat3: #85858e;
  --cat4: #6a6a73;
  --bar: #c9c9cf;
  --umbra: 0 40px 90px rgba(0, 0, 0, 0.45);
  --raza: 22px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f4f5;
    --nav: #fafafa;
    --sf: #ffffff;
    --sf2: #f0f0f2;
    --sel: #e4e4e7;
    --line: #e7e7ea;
    --edge: rgba(9, 9, 11, 0.08);
    --edge2: rgba(9, 9, 11, 0.18);
    --kbd: rgba(255, 255, 255, 0.35);
    --tx: #09090b;
    --tx2: #52525b;
    --tx3: #6b6b74;
    --acc: #f2c200;
    --accTx: #7a5e00;
    --tAcc: rgba(242, 194, 0, 0.22);
    --btn: #09090b;
    --onbtn: #ffffff;
    --good: #137a39;
    --warn: #b83d0b;
    --sug: #eeeeff;
    --sugEdge: rgba(79, 82, 224, 0.22);
    --sugTx: #4f52d9;
    --px0: #e4e4e7;
    --px1: #efeff1;
    --px2: #c4c4ca;
    --px3: #a1a1aa;
    /* Pe alb: 14,9 / 8,1 / 5,2 / 3,4 (înainte ultima avea 1,6:1). */
    --cat1: #27272a;
    --cat2: #4f4f57;
    --cat3: #6c6c75;
    --cat4: #8a8a93;
    --bar: #52525b;
    --umbra: 0 30px 70px rgba(9, 9, 11, 0.14);
    color-scheme: light;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: var(--tx);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accTx);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* --------------------------------------------------------------- aşezarea */

.banda {
  width: 100%;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-block: clamp(52px, 5.6vw, 84px);
}

.banda--sf2 {
  background: var(--sf2);
}

.interior {
  max-width: 1280px;
  margin: 0 auto;
}

.stiva {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.6vw, 36px);
}

.stiva-mica {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(33px, 4.9vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

p {
  margin: 0;
}

.intro {
  max-width: 62ch;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--tx2);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--tx3);
}

.cifre-aliniate {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- butoane */

.buton {
  height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--onbtn);
  text-decoration: none;
  font: inherit;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.buton:hover {
  opacity: 0.88;
}

.buton--contur {
  background: transparent;
  color: var(--tx);
  box-shadow: inset 0 0 0 1px var(--edge2);
  font-weight: 600;
}

.buton--contur:hover {
  background: var(--sf2);
  opacity: 1;
}

.buton--mic {
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
  line-height: 20px;
}

.tasta {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--edge2);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--tx2);
}

.tasta--alb {
  box-shadow: inset 0 0 0 1px var(--kbd);
  color: inherit;
}

/* --------------------------------------------------------------- bara de sus */

.sari {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
}

.sari:focus {
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--onbtn);
  text-decoration: none;
  font-weight: 700;
}

.sus {
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.sus__interior {
  max-width: 1280px;
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.marca {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--tx);
  font-size: 21px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.marca__punct {
  color: var(--acc);
}

.sus__legaturi {
  margin-left: 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.sus__legaturi a {
  color: var(--tx2);
  text-decoration: none;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.sus__legaturi a:hover {
  color: var(--tx);
}

.impinge {
  flex: 1;
}

@media (max-width: 720px) {
  .sus__interior {
    height: 64px;
  }
  .sus__legaturi {
    display: none;
  }
  .sus .buton {
    height: 40px;
    padding: 0 14px;
    font-size: 15px;
  }
}

/* --------------------------------------------------------------- deschiderea */

.hero {
  padding-block: clamp(48px, 6vw, 92px) clamp(40px, 5vw, 76px);
}

.hero__interior {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 3.4vw, 52px);
}

.hero__text {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.pastila {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--tAcc);
  box-shadow: inset 0 0 0 1px var(--edge2);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 15px;
  color: var(--accTx);
}

.pastila__punct {
  width: 6px;
  height: 6px;
  background: var(--acc);
}

/* Propoziția despre beta, imediat sub titlu: discretă, nu un banner. */
.hero__beta {
  margin-top: -6px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 19px;
  color: var(--tx2);
  text-wrap: balance;
}

/* Pagina 404: aceeași bandă ca restul, cu loc cât să nu urce subsolul. */
.negasit__interior {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.hero__butoane {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------- macheta */

.laptop {
  width: 940px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--edge2), var(--umbra);
  overflow: hidden;
  display: flex;
}

.laptop__bara {
  width: 168px;
  flex: none;
  background: var(--nav);
  border-right: 1px solid var(--line);
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.laptop__marca {
  font-size: 13px;
  line-height: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.laptop__cauta {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-radius: 9px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  font-size: 11px;
  color: var(--tx2);
}

.laptop__fila {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border-radius: 9px;
  font-size: 11px;
  color: var(--tx2);
}

.laptop__fila--aprins {
  background: var(--sel);
  color: var(--tx);
  font-weight: 600;
}

.laptop__punct {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--tx3);
}

.laptop__fila--aprins .laptop__punct {
  background: var(--acc);
}

.laptop__adauga {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--onbtn);
  font-size: 11px;
  font-weight: 700;
}

.laptop__cont {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--tx2);
}

.laptop__avatar {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--sf2);
  box-shadow: inset 0 0 0 1px var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--tx);
}

.laptop__zona {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.laptop__salut {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.laptop__salut strong {
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.laptop__stare {
  height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--sf2);
  font-size: 10px;
  color: var(--tx2);
}

.laptop__stare i {
  width: 5px;
  height: 5px;
  background: var(--good);
}

.laptop__grila {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 11px;
}

.laptop__coloana {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.laptop__card {
  border-radius: 14px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
}

.laptop__card--creste {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  gap: 7px;
  /* Cardul se întinde cât coloana de alături; rândurile se răsfiră în el,
     ca să nu rămână un gol mare între ultima cheltuială și „Vezi tot”. */
  justify-content: space-between;
}

.laptop__card--creste .laptop__vezi {
  margin-top: 0;
}

.laptop__card--sugestie {
  background: var(--sug);
  box-shadow: inset 0 0 0 1px var(--sugEdge);
  gap: 4px;
}

.laptop__eticheta {
  font-size: 10px;
  line-height: 14px;
  color: var(--tx2);
}

.laptop__suma {
  margin-top: 1px;
  font-size: 38px;
  line-height: 44px;
  font-weight: 500;
  letter-spacing: -1.1px;
}

.laptop__suma span {
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--tx2);
}

.laptop__linie {
  height: 1px;
  background: var(--line);
  margin: 9px 0;
}

.laptop__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.laptop__stat b {
  display: block;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.laptop__stat span {
  font-size: 9px;
  line-height: 13px;
  color: var(--tx2);
}

.laptop__prognoza {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--sf2);
}

.laptop__prognoza-sus {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
}

.laptop__titlu-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.laptop__rand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 15px;
}

.laptop__rand i {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--sf2);
  flex: none;
}

.laptop__rand b {
  flex: 1;
  min-width: 0;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.laptop__mic {
  font-size: 9px;
  line-height: 13px;
  color: var(--tx2);
}

.telefon {
  width: 244px;
  aspect-ratio: 9 / 18.5;
  border-radius: 30px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--edge2), var(--umbra);
  overflow: hidden;
  padding: 16px 13px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telefon__casca {
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: var(--sf2);
  align-self: center;
}

.telefon__bara {
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  margin-inline: -13px;
  padding-inline: 13px;
}

.telefon__fila {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--sf2);
}

.telefon__fila--aprins {
  background: var(--acc);
}

@media (max-width: 860px) {
  .doar-lat {
    display: none;
  }
}

@media (min-width: 861px) {
  .doar-ingust {
    display: none;
  }
}

/* --------------------------------------------------------------- carduri */

.grila {
  display: grid;
  gap: 16px;
}

.grila--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.grila--cifre {
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 18px;
}

.grila--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
  gap: 14px;
}

.grila--intrebari {
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 0 44px;
}

.card {
  border-radius: var(--raza);
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card__text {
  font-size: 14px;
  line-height: 21px;
  color: var(--tx2);
}

.card__linie {
  height: 1px;
  background: var(--line);
}

.numar {
  font-size: 44px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
}

.numar span {
  font-size: 21px;
  letter-spacing: -0.2px;
  color: var(--tx2);
}

.numar--mic {
  font-size: 38px;
  line-height: 44px;
  letter-spacing: -1.1px;
}

.numar-rand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.numar-rand > .unitate {
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--tx2);
}

/* „Trei lucruri”: aceeași formă în toate trei cardurile — cifra sus, o bandă de
   16 px dedesubt — ca linia despărțitoare și titlul să cadă la aceeași înălțime. */
.trei__vizual {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.trei__vizual > :last-child {
  display: block;
  min-height: 16px;
}

.trei__eticheta {
  font-size: 13px;
  line-height: 16px;
  color: var(--tx2);
}

.iconita {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sf2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accTx);
}

/* -------------------------------------------------- pătrățele şi grafice */

.patrate {
  display: grid;
  gap: 3px;
}

.patrat {
  height: 16px;
  background: var(--px0);
}

.patrat--plin {
  background: var(--acc);
}

.patrat--gri {
  background: var(--px3);
}

/* Patru trepte pentru categorii: fiecare grup se vede ca grup, nu ca un șir. */
.patrat--t1 {
  background: var(--cat1);
}

.patrat--t2 {
  background: var(--cat2);
}

.patrat--t3 {
  background: var(--cat3);
}

.patrat--t4 {
  background: var(--cat4);
}

.legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: -2px;
}

.legenda__parte {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 18px;
  color: var(--tx2);
}

.legenda__semn {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: none;
}

.legenda__cat {
  color: var(--tx);
}

.suta {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 3px;
}

.suta .patrat {
  height: 14px;
}

.coloane {
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.coloane i {
  flex: 1;
  min-width: 0;
  background: var(--bar);
}

.inaltime-fixa {
  height: 36px;
  display: flex;
  align-items: flex-end;
}

.inaltime-fixa > * {
  flex: 1;
}

.grafic {
  border-radius: 20px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.grafic__sus {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.grafic__eticheta {
  font-family: var(--mono);
  /* 12 px, nu 11: pe telefon etichetele graficelor se citeau greu. */
  font-size: 12px;
  line-height: 16px;
  color: var(--tx3);
}

.grafic__propozitie {
  font-size: 17px;
  line-height: 23px;
  font-weight: 600;
}

.grafic__cum {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  color: var(--tx2);
}

/* --------------------------------------------------------------- cifrele */

.cifra-card {
  border-radius: var(--raza);
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cifra-card__numar {
  font-size: 54px;
  line-height: 60px;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.cifra-card__unitate {
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
  color: var(--tx2);
}

.cifra-card__text {
  flex: 1;
  font-size: 16px;
  line-height: 24px;
}

.cifra-card__jos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cifra-card__comparatie {
  min-height: 42px;
  font-size: 14px;
  line-height: 21px;
  color: var(--tx2);
}

/* Sursa e tocmai ce promite S11, deci trebuie să se poată citi pe telefon. */
.cifra-card__sursa {
  min-height: 36px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 18px;
  color: var(--tx2);
}

/* --------------------------------------------------------------- adaugi */

.adaugi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
}

.fereastra {
  justify-self: center;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--edge2), 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fereastra__sus {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fereastra__titlu {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.segmente {
  height: 38px;
  padding: 3px;
  border-radius: 999px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  display: flex;
  gap: 3px;
}

.segmente i {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  color: var(--tx2);
}

.segmente i.ales {
  background: var(--sel);
  color: var(--tx);
  font-weight: 600;
}

.fereastra__suma {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 50px;
  line-height: 58px;
  font-weight: 500;
  letter-spacing: -1.6px;
  font-variant-numeric: tabular-nums;
}

.fereastra__moneda {
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--tx2);
}

.categorii {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.categorie {
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 14px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--tx2);
  font-size: 11px;
  line-height: 15px;
  text-align: center;
}

.categorie i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--px0);
}

.categorie.ales {
  background: var(--tAcc);
  box-shadow: inset 0 0 0 1px var(--acc);
  color: var(--tx);
}

.categorie.ales i {
  background: var(--acc);
}

.fereastra__jos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pastile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pastila-gol {
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--edge2);
  font-size: 13px;
  color: var(--tx2);
}

/* --------------------------------------------------------------- ecrane */

/* Cele trei schițe au forme diferite (telefonul e înalt, calculatorul e lat).
   Le ținem în aceeași cutie, ca titlurile de sub ele să cadă pe aceeași linie. */
.card--ecran {
  gap: 16px;
}

.schita-loc {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
}

.schita {
  align-self: center;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--edge2);
  overflow: hidden;
}

.schita--telefon {
  width: 132px;
  aspect-ratio: 9 / 17;
  padding: 10px 9px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schita--tableta {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 4 / 3;
  display: flex;
}

.schita--calculator {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 16 / 10;
  display: flex;
}

.schita__bloc {
  display: block;
  height: 26px;
  border-radius: 6px;
  background: var(--px1);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.schita__bloc--mare {
  height: 44px;
}

.schita__bloc--lat {
  grid-column: span 2;
  height: 38px;
}

.schita__bara-jos {
  height: 26px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  margin-inline: -9px;
}

.schita__rail {
  width: 15%;
  flex: none;
  background: var(--nav);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
}

.schita__laterala {
  width: 22%;
  flex: none;
  background: var(--nav);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
}

.schita__punct {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--px0);
}

.schita__punct--aprins {
  background: var(--acc);
}

.schita__dunga {
  display: block;
  height: 11px;
  border-radius: 3px;
  background: var(--px0);
}

.schita__dunga--aprins {
  background: var(--acc);
}

.schita__continut {
  flex: 1;
  min-width: 0;
  padding: 10px;
  display: grid;
  grid-auto-rows: min-content;
  gap: 7px;
}

.schita__continut--doua {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schita__continut--trei {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --------------------------------------------------------------- întrebări */

.intrebare {
  border-top: 1px solid var(--line);
  padding: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.intrebare h3 {
  font-size: 17px;
  line-height: 23px;
}

.intrebare p {
  max-width: 52ch;
  font-size: 14px;
  line-height: 21px;
  color: var(--tx2);
}

.chemare {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

/* --------------------------------------------------------------- subsol */

.subsol {
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  padding-block: clamp(36px, 3.6vw, 52px);
}

.subsol__interior {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.subsol__sus {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.subsol__stanga {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.subsol__slogan {
  max-width: 34ch;
  font-size: 15px;
  line-height: 22px;
  color: var(--tx2);
}

.subsol__legaturi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
  gap: 10px 48px;
}

.subsol__legaturi a {
  color: var(--tx2);
  text-decoration: none;
  font-size: 15px;
  line-height: 26px;
}

.subsol__legaturi a:hover {
  color: var(--tx);
}

.subsol__jos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.limbi {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--edge2);
}

.limbi a {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--tx2);
  font-size: 13px;
}

.limbi a[aria-current="true"] {
  background: var(--sel);
  color: var(--tx);
  font-weight: 600;
}

/* --------------------------------------------------------------- juridic */

.juridic {
  padding-block: clamp(40px, 4.4vw, 68px) clamp(48px, 5vw, 76px);
}

.juridic__grila {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 3vw, 56px);
  align-items: start;
}

.cuprins {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.cuprins__titlu {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx3);
}

.cuprins nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cuprins a {
  display: block;
  padding: 7px 11px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  color: var(--tx2);
}

.cuprins a:hover {
  background: var(--sf);
  color: var(--tx);
}

.articol {
  min-width: 0;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Titlul paginii stă deasupra celor două coloane: pe telefon se vede întâi ce
   pagină e, apoi cuprinsul, apoi textul. */
.juridic__cap {
  max-width: 1280px;
  margin: 0 auto clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.juridic__cap h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}

.juridic__cap .articol__intro {
  max-width: 62ch;
}

.articol h2 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  max-width: none;
}

.articol__intro {
  font-size: 18px;
  line-height: 28px;
  color: var(--tx2);
}

.articol__sectiune {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.articol__sectiune p {
  font-size: 16px;
  line-height: 26px;
  color: var(--tx2);
}

.articol__nota {
  margin-top: 10px;
  border-radius: 18px;
  background: var(--sf);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.articol__nota p {
  font-size: 15px;
  line-height: 23px;
  color: var(--tx2);
}

.articol__nota a {
  color: var(--tx);
  font-weight: 600;
}

/* culorile coloanelor din grafice */
.coloane i.acc {
  background: var(--acc);
}

.coloane i.warn {
  background: var(--warn);
}

.coloane i.gri {
  background: var(--px3);
}

.laptop__vezi {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  color: var(--tx2);
}
