/* Spotty — stil comun pentru toate paginile.
 *
 * Paleta și tipografia vin din aplicație (lib/core/theme/spotty_theme.dart):
 * hârtie caldă, negru-cerneală, galbenul Spotty. Pe iPhone și Mac textul se
 * scrie cu fontul sistemului — exact cel din aplicație; în rest cade pe
 * Plus Jakarta Sans, găzduit local (fără cereri către Google Fonts).
 */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-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;
}

:root {
  --paper: #FAF8F5;
  --ink: #17120A;
  --spotty: #FFCF05;
  --spotty-ink: #2F2600;
  --butter: #FFF4C6;
  --stone: #6B675D;
  --line: #E3DDD2;
  --card: #FFFFFF;

  --protein: #FF8C42;
  --carbs: #4AA8E8;
  --fats: #9B72CF;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Plus Jakarta Sans', 'Segoe UI', Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Plus Jakarta Sans', 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1160px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Semnătura vizuală, luată din imaginile din App Store: o bandă galbenă,
   lată cât rândul, sub o parte a titlului. */
.mark {
  background: var(--spotty);
  color: var(--ink);
  padding: 0 0.14em;
  margin: 0 -0.06em;
  border-radius: 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Butoane ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2B2418; }
.btn--yellow { background: var(--spotty); color: var(--ink); }
.btn--yellow:hover { background: #FFC400; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn svg { flex: none; }

.store-note { font-size: 15px; color: var(--stone); }
.store-note strong { color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--stone);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: rgba(23, 18, 10, 0.06); }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: rgba(23, 18, 10, 0.06); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; font-size: 18px; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; }
  .site-nav .btn { margin-top: 16px; border-bottom: 0; color: var(--paper); font-size: 16px; }
}
@media (min-width: 881px) { .site-nav .btn { display: none; } }

/* ---------- Telefon ---------- */

/* Lățime și înălțime explicite, fără aspect-ratio: în Safari pe iPhone,
   aspect-ratio + întinderea din flex recalcula lățimea din înălțimea întinsă
   și telefonul ieșea de câteva ori mai mare decât ecranul. */
.phone {
  position: relative; flex: none; align-self: flex-start;
  box-sizing: border-box;
  width: var(--phone-w, 300px);
  height: calc(var(--phone-w, 300px) * 2.1636);
  max-width: none;
  padding: 10px;
  background: var(--ink);
  border-radius: calc(var(--phone-w, 300px) * 0.16);
  box-shadow: 0 30px 60px -20px rgba(23, 18, 10, 0.35);
}
.phone img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top;
  border-radius: calc(var(--phone-w, 300px) * 0.13);
  background: var(--paper);
}

/* ---------- Hero ---------- */

/* Telefoanele ies intenționat din chenar și sunt tăiate. Tăierea se face cu
   clip-path, nu cu overflow: hidden — pe iPhone, un overflow: hidden se poate
   derula cu degetul, iar telefoanele alunecau în jos în interiorul secțiunii. */
.hero { position: relative; -webkit-clip-path: inset(0); clip-path: inset(0); padding: clamp(40px, 7vw, 88px) 0 0; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08; font-weight: 900; letter-spacing: -0.04em;
}
.hero__title .mark { display: inline; padding: 0 0.12em 0.02em; }
.hero__lead { margin-top: 24px; max-width: 30ch; font-size: clamp(19px, 2vw, 22px); line-height: 1.4; color: #3A342A; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-start; padding-bottom: 0; }
.hero__visual .phone { --phone-w: clamp(210px, 19vw, 290px); z-index: 1; flex: none; }
.hero__visual .phone--front { transform: rotate(3deg) translateX(14%); margin-bottom: -60px; z-index: 2; }
.hero__visual .phone--back { position: absolute; top: 9%; left: 50%; transform: translateX(-96%) rotate(-6deg); }
.hero__visual .burst { top: 2%; right: 4%; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: 34ch; }
  .hero__visual { margin-top: 24px; }
  .hero__visual .phone { --phone-w: min(56vw, 250px); }
  .hero__visual .phone--front { margin-bottom: -90px; transform: rotate(3deg) translateX(18%); }
  .hero__visual .phone--back { top: 12%; transform: translateX(-100%) rotate(-6deg); }
  .hero__visual .burst { right: 2%; top: 0; width: 44px; height: 44px; }
}

.trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--stone); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translateY(-2px); }

/* ---------- Secțiuni ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding-top: 0; }
.section-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 900; letter-spacing: -0.04em; max-width: 16ch; }
.section-lead { margin-top: 16px; max-width: 46ch; font-size: 19px; color: var(--stone); }

/* Povestea aplicației: un ecran real + ce face, alternând stânga-dreapta. */
.story { display: grid; gap: clamp(72px, 10vw, 128px); margin-top: clamp(48px, 7vw, 88px); }
.story__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.story__media {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(8px, 2vw, 24px) 0;
}
.story__media .phone { --phone-w: clamp(220px, 22vw, 270px); }
.story__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.04; font-weight: 900; letter-spacing: -0.04em; }
.story__text { margin-top: 16px; max-width: 40ch; font-size: 18px; color: #3A342A; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 42ch; }
.facts li { position: relative; padding-left: 30px; font-size: 16px; }
.facts li::before {
  content: ''; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 10px; border-radius: 999px; background: var(--spotty);
}

@media (max-width: 760px) {
  .story__row { grid-template-columns: 1fr; }
  .story__media .phone { --phone-w: min(62vw, 250px); }
}

/* ---------- Coaching (bandă închisă, ca un card din aplicație) ---------- */

.band { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); }
.band .section-title { color: var(--paper); }
.band .section-lead { color: #BDB6A6; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--spotty); color: var(--ink); font-weight: 800; font-size: 16px;
}
.steps strong { display: block; font-size: 18px; }
.steps span { color: #BDB6A6; font-size: 16px; }
.band__link { display: inline-block; margin-top: 32px; color: var(--spotty); font-weight: 700; text-underline-offset: 4px; }

/* Notificarea reală pe care o primește clientul. */
.notif {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.notif + .notif { margin-top: 12px; }
.notif img { width: 44px; height: 44px; border-radius: 11px; background: var(--spotty); padding: 4px; }
.notif strong { display: block; font-size: clamp(15px, 1.4vw, 17px); }
.notif span { display: block; font-size: clamp(14px, 1.3vw, 16px); color: #4A4438; }
.notif time { font-size: 12px; color: var(--stone); float: right; }
.notif--offset { margin-left: 24px; opacity: 0.85; }

@media (max-width: 860px) {
  .band__grid { grid-template-columns: 1fr; }
  .notif--offset { margin-left: 12px; }
}

/* ---------- Preț ---------- */

.price {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--spotty); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
}
.price__big { font-family: var(--font-display); font-size: clamp(72px, 11vw, 140px); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; }
.price__big small { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 10px; }
.price__text { margin-top: 16px; font-size: 18px; max-width: 34ch; }
.price .facts li::before { background: var(--ink); }
.price .facts { margin-top: 0; }
.price__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price__note { margin-top: 16px; font-size: 14px; color: var(--spotty-ink); }

@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }

/* ---------- Întrebări ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--butter) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2317120A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--spotty); }
.faq__item p { padding: 0 44px 22px 0; color: #3A342A; max-width: 60ch; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Parteneri ---------- */

.partner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.partner h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.partner p { margin-top: 8px; color: var(--stone); max-width: 52ch; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); padding: 48px 0 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h3 { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--stone); letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__about { max-width: 30ch; color: var(--stone); font-size: 15px; margin-top: 12px; }
.site-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--stone); }

@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Pagini interioare ---------- */

.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1; font-weight: 900; letter-spacing: -0.045em; max-width: 14ch; }
.page-head p { margin-top: 20px; max-width: 46ch; font-size: clamp(18px, 2vw, 21px); color: #3A342A; }

.panel { background: var(--card); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 48px); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th { text-align: left; font-size: 15px; color: var(--stone); font-weight: 700; padding: 0 12px 12px 0; }
.compare td { padding: 16px 12px 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare td:last-child { font-weight: 700; }

/* ---------- Formulare ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--butter); }
.field .hint { font-size: 14px; color: var(--stone); margin-top: 6px; }
.form .btn { justify-self: start; }
.confirmation { text-align: left; }
.confirmation h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.confirmation p { margin-top: 12px; font-size: 18px; max-width: 46ch; }
.confirmation .btn { margin-top: 24px; }

/* ---------- Calculator ---------- */

.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(23, 18, 10, 0.06); }
.segmented button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--stone); }
.segmented button.active { background: var(--ink); color: var(--paper); }
.calc-section { margin-top: 28px; }
.calc-section h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.calc-section > p { margin-top: 6px; color: var(--stone); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (max-width: 560px) { .calc-grid { grid-template-columns: 1fr; } }
.inline-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.result { margin-top: 28px; padding: 24px; border-radius: var(--radius-md); background: var(--butter); }
.result__value { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.result__value strong { font-family: var(--font-display); font-size: 56px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.result__value span { font-weight: 700; font-size: 18px; }
.result__bar { margin-top: 16px; height: 10px; border-radius: 999px; background: rgba(23, 18, 10, 0.1); overflow: hidden; overflow: clip; }
.result__bar div { height: 100%; border-radius: 999px; width: 0; transition: width 0.3s ease; }
.result__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--stone); }
.result__note { margin-top: 16px; font-size: 14px; color: var(--stone); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tile { padding: 18px; border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tile b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }
.tile span { font-size: 14px; color: var(--stone); }
.tile--ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.tile--ink span { color: #BDB6A6; }
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.goals button { border: 0; border-radius: 14px; padding: 12px 8px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 700; font-size: 15px; }
.goals button small { display: block; font-weight: 600; color: var(--stone); font-size: 13px; }
.goals button.active { background: var(--spotty); box-shadow: none; }
.goals button.active small { color: var(--spotty-ink); }
.macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.macro { padding: 14px 10px; border-radius: 14px; background: var(--paper); text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.macro b { display: block; font-size: 24px; font-weight: 800; }
.macro span { font-size: 13px; color: var(--stone); }
.macro--p b { color: var(--protein); }
.macro--c b { color: var(--carbs); }
.macro--f b { color: var(--fats); }
.target { margin-top: 20px; font-size: 18px; }
.target strong { font-size: 22px; }

/* ---------- Pagini legale ---------- */

.legal { max-width: 72ch; }
.legal-switch { margin-bottom: 32px; }
.legal-updated { color: var(--stone); font-size: 15px; margin-bottom: 32px; }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #2E291F; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.legal th { color: var(--stone); font-weight: 700; }

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; gap: 20px; }
.not-found h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.not-found .btn { justify-self: start; }

/* ================= v2: pagini dedicate, bento, CTA final ================= */

.skip { position: absolute; left: 12px; top: 12px; z-index: 100; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.skip:focus-visible { width: auto; height: auto; padding: 10px 16px; clip-path: none; }
a, button { -webkit-tap-highlight-color: transparent; }

.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--spotty); padding-bottom: 2px; }
.more svg { transition: transform 0.15s ease; }
.more:hover svg { transform: translateX(3px); }
.band .more { color: var(--spotty); border-bottom-color: transparent; }

.page-head__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Bento: bucăți reale din interfață, întregi, pe plăci egale. */
.bento { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.bento__tile {
  margin: 0; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, 2.2vw, 28px); border-radius: var(--radius-lg);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.bento__tile figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.15; }
.bento__tile figcaption span { display: block; margin-top: 6px; font-size: 15px; color: var(--stone); }
.bento__ui { margin-top: auto; display: flex; align-items: flex-end; }
.bento__ui .ui { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 1px 0 rgba(23,18,10,0.05), 0 16px 32px -20px rgba(23,18,10,0.35); }
.bento--ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.bento--ink figcaption span { color: #BDB6A6; }
.bento--ink .bento__ui .ui { box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.story__media .ui { width: min(86%, 420px); border-radius: 22px; box-shadow: 0 24px 48px -24px rgba(23,18,10,0.45); }
.story__row--flip .story__media { order: 2; }
@media (max-width: 760px) { .story__row--flip .story__media { order: 0; } }

/* Apelul final, galben, pe fiecare pagină. */
.cta-final {
  position: relative; -webkit-clip-path: inset(0 round var(--radius-lg)); clip-path: inset(0 round var(--radius-lg));
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: var(--radius-lg); background: var(--spotty); text-align: center;
}
.cta-final h2 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.cta-final p { margin: 16px auto 0; max-width: 44ch; font-size: 18px; color: var(--spotty-ink); }
.cta-final .btn { margin-top: 28px; }
.cta-final .burst { top: 24px; left: 24px; width: 48px; height: 48px; transform: scaleX(-1); }
@media (max-width: 560px) { .cta-final .burst { display: none; } }
.mark--ink { background: var(--ink); color: var(--spotty); }

.price__label { font-weight: 700; margin-bottom: 14px; }

.faq-page { display: grid; gap: clamp(40px, 6vw, 72px); }
.faq__group { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; }

/* Titlurile cu bandă galbenă: fiecare rând e un bloc separat, ca banda să nu
   acopere literele cu coadă (g, p, ț) din rândul de deasupra. */
.line { display: block; }
.line--mark { margin-top: 0.1em; }
.hero__title, .page-head h1 { line-height: 1.04; }

/* Pe telefon, tabelele din politica de confidențialitate devin liste: fără
   derulare orizontală în interiorul paginii. */
@media (max-width: 640px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: auto; min-width: 0; }
  .legal table { overflow: visible; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .legal td { border-top: 0; padding: 2px 0; }
  .legal td:first-child { font-weight: 700; color: var(--ink); }
}
