/* Pagina Framuu (/framuu/). Design aprobat de owner (Claude Design, 17 nov. 2026).
   Nu folosește assets/style.css: pagina are stilul ei. CSP-ul interzice style="", deci totul e aici. */
:root {
  --ink: #111314;
  --paper: #fbfaf7;
  --mauve: #b8a5f5;
  --orange: #f37420;
  --lemon: #ffefae;
  --blue: #a7d4e4;
  --pink: #f8b6ba;
  --sand: #ebd3a2;
  --green: #719470;
  --muted: #6a6965;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* RO / EN: ambele limbi sunt în HTML (assets/lang.js alege una) */
html[data-lang="ro"] [lang="en"],
html[data-lang="en"] [lang="ro"] { display: none !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", -apple-system, system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--ink); }
a:hover { color: var(--orange); }
.mono { font-family: var(--mono); }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.kicker { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; color: var(--muted); }
.h2 { font: 700 40px/1.1 var(--mono); letter-spacing: -.01em; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* telefonul: ecranul (captura) sub rama vectorială */
.tel { position: relative; aspect-ratio: 228/466; width: 100%; }
.tel .ecr { z-index: 1; position: absolute; left: 5.70%; top: 2.90%; width: 88.16%; height: 93.78%; border-radius: 15.42%/7.09%; object-fit: cover; object-position: top; }
.tel .ram { position: relative; display: block; width: 100%; height: 100%; }
/* Rama SVG (decupată pe telefon, 228×466) are ecranul plin, așa că captura stă peste ramă,
   exact pe dreptunghiul „Screen” (13, 13.5, 201×437), iar Dynamic Island deasupra ei (82, 20.5, 63×18.5). */
.tel::after { content: ""; position: absolute; z-index: 2; left: 36%; top: 4.4%; width: 28%; height: 3.97%; border-radius: 999px; background: #000; }

/* butoane */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); background: var(--mauve); color: var(--ink); font: 700 14px/1 var(--mono); letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--orange); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn svg { flex: none; }

/* antet */
.hero { background: var(--ink); color: var(--paper); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo img { width: 32px; height: 32px; display: block; image-rendering: pixelated; }
.logo span { font: 700 18px/1 var(--mono); letter-spacing: .06em; }
.nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav > a:not(.btn) { color: var(--paper); text-decoration: none; font-size: 15px; }
.nav > a:not(.btn):hover { color: var(--mauve); }
.lang { display: flex; gap: 2px; }
.lang button { font: 700 12px/1 var(--mono); color: #9b9a95; background: none; border: 0; padding: 6px; cursor: pointer; }
.lang button[aria-pressed="true"], .lang button:hover { color: var(--paper); }

.hero-body { display: flex; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-text { flex: 0 1 460px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-text .kicker { color: var(--mauve); }
.h1 { font: 700 60px/1.02 var(--mono); letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.55; color: #c9c8c3; max-width: 42ch; }
.dl-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.dl-meta { font: 500 12px/1.4 var(--mono); color: #9b9a95; }
.phones { flex: 1 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phones > div { padding: 18px 16%; }
.ph-blue { background: var(--blue); transform: translateY(28px); }
.ph-lilac { background: var(--pink); }
.ph-green { background: var(--sand); transform: translateY(-28px); }
.ph-orange { background: #2a2b2d; }

/* formate */
.formats { background: var(--lemon); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.formats .wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.formats .h2 { max-width: 18ch; }
.formats .head-row p { max-width: 44ch; font-size: 17px; line-height: 1.55; }
.flist { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; list-style: none; margin: 0; padding: 0; }
.flist li { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.flist b { font-weight: 600; font-size: 15px; }
.flist span { font: 500 12px/1 var(--mono); color: #5c5a52; }
.fbox { display: block; border: 2px solid var(--ink); }
.f-ig { width: 64px; height: 80px; background: var(--orange); }
.f-story { width: 54px; height: 96px; background: var(--mauve); }
.f-sq { width: 76px; height: 76px; background: var(--blue); }
.f-dr { width: 100px; height: 75px; background: var(--pink); }
.f-be { width: 96px; height: 75px; background: var(--sand); }
.f-yt { width: 128px; height: 72px; background: var(--ink); }
.f-x { width: 128px; height: 72px; background: #fff; }
.f-pin { width: 60px; height: 90px; background: var(--green); }

/* cum funcționează */
.how .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.how-body { display: flex; gap: 40px; align-items: stretch; }
.tabs { flex: 0 0 340px; display: flex; flex-direction: column; gap: 10px; }
.tab { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 18px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 600 16px/1.2 "IBM Plex Sans", sans-serif; text-align: left; cursor: pointer; }
.tab b { font: 700 12px/1 var(--mono); color: var(--muted); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tab[aria-pressed="true"] b { color: #9b9a95; }
.panels { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel { min-height: 440px; border: 2px solid var(--ink); display: flex; gap: 40px; align-items: center; padding: 40px; }
.panel[hidden] { display: none; }
.p-1 { background: var(--blue); }
.p-2 { background: var(--pink); }
.p-3 { background: var(--sand); }
.p-4 { background: var(--lemon); }
.p-5 { background: var(--mauve); }
.panel-tel { flex: 0 0 180px; max-width: 180px; width: 180px; }
.panel-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel-text h3 { font: 700 26px/1.2 var(--mono); }
.panel-text p { font-size: 17px; line-height: 1.6; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 12px/1.2 var(--mono); padding: 8px 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.chip-ink { background: var(--ink); color: var(--paper); }
.chip-lemon { background: var(--lemon); }
.chip-mauve { background: var(--mauve); }
/* fără JS: butoanele nu fac nimic, deci se văd toate panourile, unul sub altul */
html:not(.fr-js) .tabs { display: none; }

/* instalare */
.install { background: var(--mauve); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.install .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.install .kicker { color: var(--ink); }
.os-pick { display: flex; }
.os { min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 13px/1 var(--mono); cursor: pointer; }
.os + .os { margin-left: -2px; }
.os[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
html:not(.fr-js) .os-pick { display: none; }
html[data-fr-os="mac"] p[data-os="win"],
html[data-fr-os="win"] p[data-os="mac"] { display: none; }
.os-name { font-weight: 600; }
html.fr-js .os-name { display: none; }

.grid4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid4 > li { background: var(--paper); border: 2px solid var(--ink); display: flex; flex-direction: column; }
.pic { height: 180px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pic-1 { background: var(--lemon); }
.pic-2 { background: var(--blue); }
.pic-3 { background: var(--pink); }
.pic-4 { background: var(--sand); }
.step { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.step .nr { font: 700 12px/1 var(--mono); color: var(--muted); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; line-height: 1.55; }

/* desenele din pași */
.zip { width: 84px; height: 104px; background: #fff; border: 2px solid var(--ink); position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; font: 700 11px/1 var(--mono); }
.zip::before { content: ""; position: absolute; top: 0; left: 34px; width: 12px; height: 56px; background: repeating-linear-gradient(var(--ink) 0 6px, #fff 6px 12px); }
.folder { width: 120px; height: 86px; position: relative; }
.folder::before { content: ""; position: absolute; left: 0; top: 0; width: 52px; height: 16px; background: var(--ink); }
.folder span { position: absolute; left: 0; top: 10px; width: 120px; height: 76px; background: var(--ink); display: flex; align-items: center; justify-content: center; color: var(--paper); font: 700 12px/1 var(--mono); }
.win { width: 100%; max-width: 220px; background: #fff; border: 2px solid var(--ink); }
.win-bar { display: flex; gap: 6px; align-items: center; padding: 8px; border-bottom: 2px solid var(--ink); }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.win-bar span { font: 500 10px/1.2 var(--mono); border: 1.5px solid var(--ink); padding: 2px 6px; flex: 1; }
.win-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 6px; font-size: 11px; font-weight: 600; }
.toggle { width: 28px; height: 16px; background: var(--ink); position: relative; display: block; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; background: var(--mauve); }
.win-btn { padding: 4px 10px 12px; }
.win-btn span { display: inline-block; font: 700 10px/1.2 var(--mono); border: 2px solid var(--ink); background: var(--lemon); padding: 4px 8px; }
.allow { width: 100%; max-width: 220px; background: var(--ink); color: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 10px; font: 700 11px/1.3 var(--mono); }
.allow i { display: block; height: 6px; background: #3a3b3d; }
.allow b { background: var(--mauve); color: var(--ink); text-align: center; padding: 6px; }

/* adresele de copiat */
.copies { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.copy { display: flex; border: 2px solid var(--ink); }
.copy code { flex: 1; min-width: 0; padding: 10px; font: 700 13px/1.2 var(--mono); background: #fff; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.copy button { border: 0; border-left: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 12px/1 var(--mono); padding: 0 12px; cursor: pointer; }
.copy button.c-chrome { background: var(--mauve); }
.copy button .done,
.copy button.copied .todo { display: none; }
.copy button.copied .done { display: inline; }
html:not(.fr-js) .copy button { display: none; }
.hint { font-size: 13px; line-height: 1.45; color: #5c5a52; }

/* cum actualizezi (#update) */
.upd { display: flex; gap: 40px; background: var(--paper); border: 2px solid var(--ink); padding: 28px; scroll-margin-top: 24px; }
.upd-head { flex: 0 1 380px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.upd-head h3 { font: 700 22px/1.25 var(--mono); }
.upd-head p { font-size: 15px; line-height: 1.55; }
.upd-ver { font: 500 13px/1.4 var(--mono); }
.upd-ver b { background: var(--lemon); border: 2px solid var(--ink); padding: 2px 6px; }
.upd-body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.upd-steps { list-style: none; counter-reset: u; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.upd-steps li { counter-increment: u; display: flex; gap: 14px; font-size: 15px; line-height: 1.55; }
.upd-steps li::before { content: "0" counter(u); flex: none; font: 700 12px/24px var(--mono); color: var(--muted); }
.upd-alt { font-size: 14px; line-height: 1.55; color: #5c5a52; }
.upd-alt b { color: var(--ink); }

/* ajutor */
.faq-sec .wrap { display: flex; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.faq-head { flex: 0 0 340px; }
.faq-list { flex: 1 1 560px; min-width: 0; border-bottom: 2px solid var(--ink); }
.faq { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; padding: 0 20px; border: 0; border-top: 2px solid var(--ink); background: none; color: var(--ink); font: 600 17px/1.3 "IBM Plex Sans", sans-serif; text-align: left; cursor: pointer; }
.faq::after { content: "+"; font: 500 22px/1 var(--mono); }
.faq[aria-expanded="true"]::after { content: "\2212"; }
.faq-a { padding: 0 20px 24px; font-size: 16px; line-height: 1.6; max-width: 62ch; }
.faq-a[hidden] { display: none; }

/* subsol */
.foot { background: var(--ink); color: #9b9a95; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.foot .mono { color: var(--paper); font-weight: 700; letter-spacing: .06em; }
.foot .mono span { color: #9b9a95; font-weight: 500; }
.foot a { color: var(--paper); }

@media (max-width: 900px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .cols { flex-direction: column !important; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h1 { font-size: 44px; }
  .hero-text, .tabs, .faq-head { flex-basis: auto; }
  .phones, .panels, .faq-list { flex-basis: auto; width: 100%; }
  .head-row { align-items: flex-start; }
  .panel { min-height: 0; }
}
@media (max-width: 560px) {
  .h2 { font-size: 32px; }
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 16px; }
  .nav > a:not(.btn) { display: none; }
  .panel { padding: 24px; gap: 24px; align-items: flex-start; }
  .panel-tel { flex-basis: auto; width: 140px; }
}
.nr-nojs { display: none; }
html:not(.fr-js) .nr-nojs { display: inline; }
@media (max-width: 900px) { .upd { gap: 20px; } .upd-head, .upd-body { flex-basis: auto; } }
@media (max-width: 560px) { .upd { padding: 20px; } }

.soon-text { font-size: 18px; line-height: 1.55; max-width: 56ch; }
.install .soon-text { margin-top: 4px; }
