/* silueto.com — carnetul croitorului. Tokenurile vin din paleta aplicației
   (../silueto/lib/app/theme.dart, SilPalette.dark / SilPalette.light), cu aceleași nume de rol. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/onest-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: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/onest-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: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Tema întunecată e cea implicită (și pentru cine nu declară nicio preferință);
   tema luminoasă vine din sistem, fără JavaScript și fără comutator pe pagină.
   Aplicația urmează la fel sistemul, dacă omul nu alege altceva în Profil. */
:root {
  color-scheme: dark;
  --bg: #0E1618;
  --bg-deep: #07292B;
  --surface: #152022;
  --raised: #1C282A;
  --hairline: #243133;
  --outline: #6E787D;
  --accent: #00C2A8;
  --accent-muted: #0A4640;
  --on-accent: #04211F;
  --ink: #E6EBED;
  --ink-muted: #9DA6AB;
  --ink-faint: #868F93;
  --attention: #D9A441;
  --body-outline: #7F979A;
  --glyph: #D0D8DA;
  /* Adâncimea: accentul, la opacități mici. Marea are opacitățile valurilor din aplicație
     (SeaWaves: 6/8/11 %), ridicate cu o treaptă fiindcă pe un ecran lat se văd mai rar. */
  --wash: rgba(0, 194, 168, .13);
  --wash-2: rgba(0, 194, 168, .06);
  --wave-1: rgba(0, 194, 168, .08);
  --wave-2: rgba(0, 194, 168, .10);
  --wave-3: rgba(0, 194, 168, .14);
  --tape: rgba(0, 194, 168, .16);
  --tick: rgba(0, 194, 168, .55);
  --shadow: rgba(0, 0, 0, .55);
  --font: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --rail: 56px;
  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --measure: 64ch;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F4F7F7;
    --bg-deep: #E2EEEC;
    --surface: #FFFFFF;
    --raised: #EAF0F0;
    --hairline: #D5DEDF;
    --outline: #6A767B;
    --accent: #007064;
    --accent-muted: #CBEAE5;
    --on-accent: #FFFFFF;
    --ink: #111B1D;
    --ink-muted: #4F5B60;
    --ink-faint: #616D72;
    --attention: #946200;
    --body-outline: #6E7F82;
    --glyph: #253133;
    --wash: rgba(0, 112, 100, .08);
    --wash-2: rgba(0, 112, 100, .05);
    --wave-1: rgba(0, 112, 100, .06);
    --wave-2: rgba(0, 112, 100, .08);
    --wave-3: rgba(0, 112, 100, .11);
    --tape: rgba(0, 112, 100, .12);
    --tick: rgba(0, 112, 100, .55);
    --shadow: rgba(17, 27, 29, .18);
  }
}
@media (max-width: 720px) { :root { --rail: 30px; } }
/* Engleza și rusa au titlul mai lung decât româna: aceeași mărime le-ar rupe în patru rânduri. */
html[lang="en"] .hero, html[lang="ru"] .hero { --h1: clamp(2.3rem, 4.6vw, 3.7rem); }

*, *::before, *::after { 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;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  caret-color: var(--accent);
  accent-color: var(--accent);
}
::selection { background: var(--accent); color: var(--on-accent); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
b, strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: var(--gutter); top: -3rem; padding: .6rem 1rem; background: var(--accent); color: var(--on-accent); border-radius: 999px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 1rem; }

/* — antet — */
.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 1200px; margin: 0 auto; padding: 1rem var(--gutter); }
.mark { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.mark img { width: 27px; height: 40px; }
.mark span { font-weight: 750; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; }
.top-right { display: flex; align-items: center; gap: .3rem .7rem; }
.langs { display: inline-flex; gap: .1rem; }
.langs a { font-weight: 600; font-size: .85rem; color: var(--ink-faint); text-decoration: none; padding: .4rem .55rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { color: var(--ink); background: var(--raised); }
.top-text { font-weight: 600; color: var(--ink-muted); text-decoration: none; padding: .5rem .4rem; }
.top-text:hover { color: var(--ink); }
.top-link { font-weight: 600; color: var(--ink); text-decoration: none; padding: .5rem 1rem; border: 1px solid var(--outline); border-radius: 999px; white-space: nowrap; transition: border-color .2s; }
.top-link:hover { border-color: var(--accent); }
@media (max-width: 640px) { .top-text { display: none; } .top-link { padding: .45rem .8rem; } .langs a { padding: .35rem .42rem; } }
@media (max-width: 400px) { .mark span { display: none; } }

/* — banda din stânga: secțiunile sunt inele pe o bandă de croitorie — */
.route { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 0 calc(var(--gutter) + var(--rail)); }
.tape {
  position: absolute; top: 2.5rem; bottom: 5rem; left: calc(var(--gutter) + var(--rail) / 2 - 7px); width: 14px;
  border-radius: 7px; overflow: hidden; pointer-events: none;
  /* Diviziunile benzii: câte una la 8 px, mai lungă la fiecare a cincea. Două straturi de
     gradient cu opriri dure — nicio nuanță nouă, doar accentul la două opacități. */
  background:
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 40px) left top / 80% 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 8px) left top / 45% 100% no-repeat,
    var(--tape);
}
.tape-fill { position: absolute; inset: 0; background: var(--accent); opacity: .28; transform-origin: top; transform: scaleY(0); }
/* Umplerea urmează derularea, fără JavaScript: o animație legată de scroll, unde browserul o
   știe. Unde n-o știe, banda rămâne goală — adică tot o bandă. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .tape-fill { animation: tape-fill linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes tape-fill { to { transform: scaleY(1); } }

.stop { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.stop + .stop { border-top: 1px solid var(--hairline); }
.hero + .stop, .cost + .stop { border-top: 0; }
/* Inelul unei secțiuni: aceeași elipsă turtită ca inelele de pe siluetă. */
.marker {
  --mw: 28px;
  position: absolute; left: calc(-1 * var(--rail) / 2 - var(--mw) / 2); top: calc(clamp(3.5rem, 8vw, 6.5rem) + .5em);
  width: var(--mw); height: 12px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg);
}
@media (max-width: 720px) { .marker { --mw: 20px; height: 10px; } }
.hero .marker { top: calc(var(--hero-pad) + .55em); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .marker { animation: marker-fill linear both; animation-timeline: view(); animation-range: entry 100% cover 45%; }
  }
}
@keyframes marker-fill { from { background: var(--bg); } to { background: var(--accent); } }

/* — tipografie — */
.h1 { font-size: var(--h1, clamp(2.4rem, 5.2vw, 4.3rem)); font-weight: 760; line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.h1 .line { display: block; }
.h1 .line + .line { color: var(--accent); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 720; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.5rem; text-wrap: balance; max-width: 22ch; }
.lead { font-size: 1.25rem; font-weight: 500; line-height: 1.45; color: var(--ink); margin: 0 0 1rem; text-wrap: pretty; }
.prose { max-width: var(--measure); overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose p { margin: 0 0 1rem; color: var(--ink-muted); text-wrap: pretty; }
.prose p.lead { color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.meta { font-weight: 600; font-size: .95rem; color: var(--ink-faint); margin: 1.25rem 0 1rem; font-variant-numeric: tabular-nums; }
.note { color: var(--ink-faint); font-size: .95rem; margin: 1rem 0 0; }

/* — butoane și linkuri — */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: 650 1.0625rem/1 var(--font); cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s, filter .2s;
  box-shadow: 0 8px 20px -12px var(--shadow);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: .7rem .2rem; }
.link:hover { color: var(--accent); }
.link svg { transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .link:hover svg { transform: translateX(3px); }
  .see .link:hover svg { transform: translateY(3px); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1.75rem; }

/* „În curând în App Store”: o etichetă, nu un buton. Nu seamănă cu insigna Apple și nu duce
   nicăieri, fiindcă pagina de magazin nu există încă (content/store.json). */
.soon { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .7rem 1.1rem; border-radius: 999px; background: var(--raised); color: var(--ink); font-weight: 650; border: 1px solid var(--hairline); }
.soon svg { color: var(--accent); flex: none; }

/* Insigna oficială, când magazinul e live: artwork nealterat, 48 px, spațiu liber 1/10. */
.badge { display: inline-flex; padding: 5px; margin: -5px; line-height: 0; border-radius: 10px; }
.badge img { height: 48px; width: auto; }
.badge .on-light { display: none; }
@media (prefers-color-scheme: light) { .badge .on-dark { display: none; } .badge .on-light { display: block; } }

/* — primul ecran — */
.hero {
  --hero-pad: clamp(1.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .65fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-top: var(--hero-pad); padding-bottom: clamp(6rem, 12vw, 9rem); isolation: isolate;
}
.hero-text { position: relative; }
.see { margin: .5rem 0 0; }
.hero-figure { margin: 0; justify-self: center; width: min(100%, 440px); }
.hero-figure figcaption { color: var(--ink-muted); font-size: .9rem; text-align: center; margin-top: .25rem; }
.figure-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -6rem; bottom: 0; left: calc(50% - var(--rail) / 2); width: 100vw; transform: translateX(-50%); z-index: -2; pointer-events: none;
  background: radial-gradient(55% 60% at 78% 38%, var(--wash), transparent 70%), radial-gradient(40% 45% at 8% 92%, var(--wash-2), transparent 70%);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-figure { width: min(78%, 300px); }
}

/* Inelele de pe siluetă: se desenează o dată, la încărcare, de sus în jos. */
.ring { stroke: var(--accent); stroke-linecap: round; }
.ring-faint { stroke: var(--accent); opacity: .28; }
.ring-hot { stroke: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  /* Starea de bază e inelul desenat; animația pornește din „nedesenat” doar cât rulează
     (`backwards`), deci unde animațiile nu rulează, inelele se văd oricum. */
  .hero .ring { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw .9s var(--ease-out) backwards; }
  .hero .rings > :nth-child(1) { animation-delay: .20s; } .hero .rings > :nth-child(2) { animation-delay: .24s; }
  .hero .rings > :nth-child(3) { animation-delay: .28s; } .hero .rings > :nth-child(4) { animation-delay: .32s; }
  .hero .rings > :nth-child(5) { animation-delay: .36s; } .hero .rings > :nth-child(6) { animation-delay: .40s; }
  .hero .rings > :nth-child(7) { animation-delay: .44s; } .hero .rings > :nth-child(8) { animation-delay: .48s; }
  .hero .rings > :nth-child(9) { animation-delay: .52s; } .hero .rings > :nth-child(10) { animation-delay: .56s; }
  .hero .rings > :nth-child(11) { animation-delay: .60s; } .hero .rings > :nth-child(12) { animation-delay: .64s; }
  .hero .rings > :nth-child(13) { animation-delay: .68s; } .hero .rings > :nth-child(14) { animation-delay: .72s; }
  .hero .rings > :nth-child(15) { animation-delay: .76s; } .hero .rings > :nth-child(16) { animation-delay: .80s; }
  .hero .rings > :nth-child(17) { animation-delay: .84s; } .hero .rings > :nth-child(18) { animation-delay: .88s; }
  .hero .rings > :nth-child(n+19) { animation-delay: .92s; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }

/* — marea: valurile din aplicație (lib/ui/common/sea_waves.dart) — */
.sea { position: absolute; left: calc(50% - var(--rail) / 2); width: 100vw; transform: translateX(-50%); bottom: 0; height: clamp(64px, 9vw, 120px); overflow: hidden; pointer-events: none; z-index: -1; }
/* Perioadele reiau aplicația: un ciclu de 14 s, vitezele 1 / −1 / 2. Un strat parcurge o
   lungime de undă pe ciclu înmulțit cu viteza, iar jumătatea SVG-ului are 1 / 2 / 3 lungimi
   de undă, deci o buclă durează 14 s, 28 s (invers) și 21 s. Se animă doar `transform`. */
.sea .wave { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; display: block; will-change: transform; animation: drift var(--drift) linear infinite var(--dir, normal); }
.sea .w1 { fill: var(--wave-1); --drift: 14s; }
.sea .w2 { fill: var(--wave-2); --drift: 28s; --dir: reverse; }
.sea .w3 { fill: var(--wave-3); --drift: 21s; }
@keyframes drift { to { transform: translateX(-50%); } }
.sea.off .wave { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sea .wave { animation: none; } }

/* — zonele — */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.zone-group h3 { margin: 0 0 .6rem; font-size: .95rem; font-weight: 650; color: var(--ink-faint); }
.zone-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.zone-group li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .6rem; padding: .5rem 0; border-top: 1px solid var(--hairline); color: var(--ink); font-weight: 550; }
.zone-group li:last-child { border-bottom: 1px solid var(--hairline); }
.both { font-size: .85rem; font-weight: 500; color: var(--accent); white-space: nowrap; }
@media (max-width: 420px) { .zones { grid-template-columns: 1fr; } }

.quote { margin: 1.75rem 0 0; padding: 1.1rem 0 0; background: repeating-linear-gradient(to right, var(--tick) 0 1px, transparent 1px 8px) left top / 100% 6px no-repeat, repeating-linear-gradient(to right, var(--tick) 0 1px, transparent 1px 40px) left top / 100% 11px no-repeat; }
.quote p { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 650; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.prose .quote p { color: var(--ink); }
.quote footer { margin-top: .4rem; color: var(--ink-faint); font-size: .9rem; }

/* — raportul din exemplu — */
.panel, .demo { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(1.1rem, 3vw, 1.75rem); margin: 0; }
.demo { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 1rem 1.25rem; align-items: center; }
.demo-figure { max-height: 260px; }
.demo-figure image { opacity: .92; }
.changes-title { margin: 0; font-weight: 700; font-size: 1.1rem; }
.changes-sub { margin: .1rem 0 .6rem; color: var(--ink-faint); font-size: .9rem; }
.changes ul { list-style: none; margin: 0; padding: 0; }
.changes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .75rem; padding: .6rem 0; border-top: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.c-name { font-weight: 600; }
.c-pct { font-weight: 700; text-align: right; }
.c-detail { grid-column: 1 / -1; color: var(--ink-faint); font-size: .9rem; }
.c-delta { color: var(--ink-muted); display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.dir { color: var(--glyph); flex: none; }
.demo-note { grid-column: 1 / -1; margin: 0; color: var(--ink-faint); font-size: .9rem; }
@media (max-width: 520px) { .demo { grid-template-columns: 1fr; } .demo-figure { max-height: 200px; } }

.chart figcaption { margin: 0 0 .5rem; }
.sym { display: block; width: 100%; height: auto; }
.sym-zero { stroke: var(--outline); stroke-width: 1.5; stroke-dasharray: 6 6; }
.sym-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.sym-dots circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.sym-lab { display: flex; align-items: center; gap: .4rem; margin: .25rem 0; color: var(--ink-faint); font-size: .85rem; }
.chart .demo-note { margin-top: .75rem; }

/* — notificarea de seară, citată din aplicație — */
.notif { margin: 1.25rem 0 1.5rem; padding: .85rem 1rem; max-width: 30rem; background: var(--raised); border: 1px solid var(--hairline); border-radius: var(--r-md); box-shadow: 0 18px 40px -26px var(--shadow); }
.notif p { margin: 0; }
.prose .notif p { color: var(--ink); }
.prose .notif .notif-app { display: flex; align-items: center; gap: .45rem; color: var(--ink-faint); font-size: .8rem; font-weight: 600; margin-bottom: .3rem; }
.notif-app img { width: 20px; height: 20px; border-radius: 5px; }
.notif-app span { margin-left: auto; font-weight: 500; }
.prose .notif .notif-title { font-weight: 700; }

/* — prețul: adâncimea, ca marea de sub „Azi” — */
.cost { isolation: isolate; padding-bottom: clamp(7rem, 14vw, 10rem); }
.cost::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - var(--rail) / 2); width: 100vw; transform: translateX(-50%); z-index: -2; pointer-events: none; background: linear-gradient(180deg, transparent 0%, var(--wash-2) 45%, var(--wash) 100%); }
.pull { margin: 0 0 1.75rem; max-width: 24ch; font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 680; line-height: 1.15; letter-spacing: -.015em; color: var(--accent); text-wrap: balance; }

/* — ce nu face — */
.nots { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: 46ch; }
.nots li { display: flex; align-items: baseline; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--hairline); color: var(--ink-muted); font-size: 1.05rem; }
.nots li:last-child { border-bottom: 1px solid var(--hairline); }
.nots li::before { content: ""; flex: none; width: 12px; height: 12px; align-self: center; background: linear-gradient(var(--ink-faint), var(--ink-faint)) center/100% 2px no-repeat, linear-gradient(var(--ink-faint), var(--ink-faint)) center/2px 100% no-repeat; transform: rotate(45deg); border-radius: 1px; }

/* — capturile (apar doar când există fișierele în public/shots/) — */
.strip-mask { margin-inline: calc(-1 * var(--gutter)); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 260px); gap: clamp(1rem, 2.5vw, 1.75rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: .5rem var(--gutter) 1.5rem; scrollbar-width: thin; }
.strip > .phone { scroll-snap-align: start; min-width: 0; }
.phone { margin: 0; }
.phone img { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: clamp(26px, 9%, 40px); border: 1px solid var(--hairline); background: var(--surface); box-shadow: 0 30px 50px -30px var(--shadow); }
.phone figcaption { padding: .8rem .2rem 0; color: var(--ink-faint); font-size: .95rem; line-height: 1.45; }

/* — paginile de text — */
.route.article { padding-left: var(--gutter); }
.article .stop { padding-top: clamp(2rem, 5vw, 3.5rem); }
.article .h2 { max-width: 24ch; margin-bottom: .75rem; }
.article .prose { max-width: 68ch; }
.article .prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); margin: 2.4rem 0 .6rem; }
.article .prose h3 { font-size: 1.1rem; font-weight: 680; color: var(--ink); margin: 1.6rem 0 .4rem; }
.article .prose ul { color: var(--ink-muted); padding-left: 1.2rem; }
.article .meta { margin: .2rem 0 1.5rem; }
.site-part { margin-top: 3rem; padding-top: .5rem; border-top: 1px solid var(--hairline); }
.site-part .meta { margin: .2rem 0 1rem; }
.notfound .h2 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* — întrebări — */
.faq { margin: .5rem 0 1rem; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; padding: .95rem 2.2rem .95rem 0; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.prose .faq p { margin: 0 0 1.1rem; }

/* — formularul — */
.form { display: grid; gap: 1.1rem; margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(1.1rem, 3vw, 1.75rem); }
.field { display: grid; gap: .4rem; }
.field label, .check span { font-weight: 600; font-size: .95rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-faint); }
.prose .hint { margin: -.15rem 0 .1rem; color: var(--ink-faint); font-size: .9rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--outline); border-radius: var(--r-sm);
  padding: .8rem .95rem; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--wash); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--attention); }
.check { display: flex; align-items: center; gap: .7rem; cursor: pointer; border-radius: var(--r-sm); }
.check:target { outline: 2px solid var(--accent); outline-offset: 6px; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex: none; border-radius: 7px; border: 1.5px solid var(--outline); background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2304211F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--accent); }
@media (prefers-color-scheme: light) {
  .check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.check input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--wash); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.prose .status { margin: 0; font-weight: 550; color: var(--ink); min-height: 1.5em; }
.prose .status.err { color: var(--attention); }
.prose .direct { margin: 0; color: var(--ink-faint); font-size: .95rem; }
.thanks { display: grid; gap: .4rem; padding: .5rem 0; }
.prose .thanks .t { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 720; color: var(--ink); letter-spacing: -.02em; margin: 0; }

/* — subsol — */
.foot { display: flex; gap: 1rem; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 2.5rem var(--gutter) 3.5rem calc(var(--gutter) + var(--rail)); border-top: 1px solid var(--hairline); color: var(--ink-faint); font-size: .95rem; }
.article + .foot, .route.article ~ .foot { padding-left: var(--gutter); }
.foot-mark { border-radius: 10px; flex: none; }
.foot p { margin: 0 0 .5rem; max-width: 72ch; }
.foot b { color: var(--ink-muted); }
.foot-links a { color: var(--ink-muted); }

/* — tipărire: politica și termenii ies negru pe alb — */
@media print {
  :root { --bg: #fff; --surface: #fff; --raised: #fff; --hairline: #bbb; --ink: #000; --ink-muted: #222; --ink-faint: #555; --accent: #00564d; }
  .top, .foot, .tape, .sea, .skip, .marker { display: none !important; }
  .route.article { padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
