/* =============================================================================
   AMA Creative Media — legal pages (termeni-si-conditii.html, politica-de-confidentialitate.html,
   politica-cookies.html). One simple column of text on the site's dark background; no scripts, no motion.
   Fonts and colour tokens are the ones in styles.css.
   ============================================================================= */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-tight-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-tight-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: 'Instrument Sans'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/instrument-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/instrument-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 {
  --bg: #030304;
  --ink: #f2f0ec;
  --ink-2: #b9b6ae;
  --ink-3: #7c7a74;
  --line: rgba(242, 240, 236, 0.12);
  --accent: #00bcec;
  --font-display: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 4px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font-text); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, p, ul, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--gutter); top: -4rem; padding: 0.6rem 1rem; background: var(--ink); color: var(--bg); border-radius: var(--radius); z-index: 10; }
.skip-link:focus { top: 1rem; }

/* Header: logo + way back to the site */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.page-head__brand img { width: 56px; }
.page-head__back { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-2); text-decoration: none; transition: color 0.3s; }
.page-head__back:hover, .page-head__back:focus-visible { color: var(--ink); }
.page-head__back svg { width: 16px; height: 16px; }

/* Document */
.doc { max-width: calc(80ch + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(3rem, 8vw, 6rem); }
.doc__eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.doc__title { margin-top: 0.9rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.2rem + 3.5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: break-word; }
.doc__body { margin-top: 2rem; font-size: 0.98rem; }
.doc__body > * + * { margin-top: 0.9rem; }
.doc__body h2 { margin-top: 2.4rem; color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.doc__date { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.doc__body ul { padding-left: 1.2rem; list-style: disc; }
.doc__body li + li { margin-top: 0.45rem; }
.doc__body li::marker { color: var(--ink-3); }
.doc__body a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(242, 240, 236, 0.35); text-underline-offset: 3px; overflow-wrap: anywhere; transition: color 0.3s; }
.doc__body a:hover, .doc__body a:focus-visible { color: var(--accent); }
.legal__facts { border-top: 1px solid var(--line); }
.legal__facts > div { display: grid; grid-template-columns: minmax(9rem, 16rem) 1fr; gap: 0.2rem 1.5rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.legal__facts dt { color: var(--ink-3); font-size: 0.82rem; }
.legal__facts dd { color: var(--ink); }
.legal__table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.legal__table table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: 0.88rem; line-height: 1.5; }
.legal__table th, .legal__table td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table th { color: var(--ink); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(242, 240, 236, 0.03); }
.legal__table tr:last-child td { border-bottom: 0; }

/* Footer: company identification */
.page-foot { padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--line); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-3); }

@media (max-width: 640px) {
  .legal__facts > div { grid-template-columns: 1fr; }
  .doc__body { font-size: 0.94rem; }
}
