/* Shared styles for the legal pages (confidentialitate / termeni / cookies). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --amber: #FF8F00; --amber-dim: #FFF3E0; --white: #FFFFFF; --surface: #F7F7F7;
  --border: #E8E8E8; --text: #1A1A1A; --text-muted: #5F5F5F;
}
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--white); color: var(--text); line-height: 1.7; }

.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
}
.legal-nav .logo {
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 28px;
  color: var(--amber); text-decoration: none; letter-spacing: -0.5px;
}
.legal-nav .logo { display: inline-flex; align-items: center; }
.legal-nav .logo .logo-mark { height: 40px; width: auto; display: block; margin-right: 10px; }
.legal-nav .logo span { color: var(--text); }
.legal-nav a.back { color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.legal-nav a.back:hover, .legal-nav a.back:focus-visible { color: var(--amber); text-decoration: underline; }

main { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
h1 {
  font-family: 'Nunito', sans-serif; font-weight: 900;
  font-size: clamp(30px, 6vw, 52px); line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 12px;
  overflow-wrap: break-word;
}
h2 { font-weight: 700; font-size: 22px; margin: 40px 0 12px; line-height: 1.3; }
h3 { font-weight: 700; font-size: 17px; margin: 24px 0 8px; }
p, ul, ol { margin-bottom: 14px; font-size: 16px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }
a { color: #B25E00; }
a:hover, a:focus-visible { color: var(--amber); }
.meta { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.draft-banner {
  background: var(--amber-dim); border: 1px solid #FFD699; border-radius: 12px;
  padding: 14px 18px; font-size: 14px; margin-bottom: 28px;
}
.operator {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; font-size: 15px; margin-bottom: 14px;
}
.table-wrap { overflow-x: auto; margin-bottom: 18px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 640px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--surface); font-weight: 700; }

footer { border-top: 1px solid var(--border); padding: 28px 24px; text-align: center; font-size: 14px; color: var(--text-muted); }
footer a { color: var(--text-muted); margin: 0 10px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) { main { padding: 32px 18px 64px; } }
