/* ============================================================
   ivnoworks.com - privacy policy stylesheet
   Shared by /privacy-policy.html (en), /he/ and /ru/
   ============================================================ */

:root{
  --ink:#0c0e12;
  --shadow:#141821;
  --steel:#2a3040;
  --fog:#7f8799;
  --bone:#e1e5ec;
  --paper:#f1ede4;
  --amber:#c9a86a;
  --body:#b4bccc;
  --line:rgba(255,255,255,0.07);
  --line-strong:rgba(255,255,255,0.14);
  --wash-3:rgba(255,255,255,0.03);
  --overlay-strong:rgba(12,14,18,0.85);
  --amber-rgb:201,168,106;
  --radius:3px;
  --radius-lg:8px;
  --maxw:780px;
}

/* light theme — same palette as the main stylesheet */
:root[data-theme="light"]{
  --ink:#f4f1ea; --shadow:#ffffff; --steel:#cfc9bb; --fog:#666c7a;
  --bone:#14161b; --paper:#0c0e12; --amber:#836428; --body:#454b57;
  --line:rgba(12,14,18,0.11); --line-strong:rgba(12,14,18,0.20);
  --wash-3:rgba(12,14,18,0.035); --overlay-strong:rgba(244,241,234,0.85);
  --amber-rgb:131,100,40;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --ink:#f4f1ea; --shadow:#ffffff; --steel:#cfc9bb; --fog:#666c7a;
    --bone:#14161b; --paper:#0c0e12; --amber:#836428; --body:#454b57;
    --line:rgba(12,14,18,0.11); --line-strong:rgba(12,14,18,0.20);
    --wash-3:rgba(12,14,18,0.035); --overlay-strong:rgba(244,241,234,0.85);
    --amber-rgb:131,100,40;
  }
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ink);
  color:var(--bone);
  font-family:'Geist',system-ui,sans-serif;
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
::selection{background:var(--amber);color:var(--ink)}
a{color:var(--amber);text-decoration:none;border-bottom:1px solid rgba(var(--amber-rgb),0.3);transition:border-color .15s}
a:hover{border-bottom-color:var(--amber)}

/* nav */
nav{
  position:sticky;top:0;z-index:10;
  height:64px;
  background:var(--overlay-strong);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:100%;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-family:'Geist',sans-serif;font-weight:600;font-size:15px;letter-spacing:-0.03em;color:var(--bone);border:none}
.brand:hover{border:none}
.brand svg{flex-shrink:0;color:var(--bone)}
.back-link{
  font-family:'Geist Mono',monospace;font-size:12px;letter-spacing:0.05em;
  color:var(--fog);border:none;
}
.back-link:hover{color:var(--amber);border:none}

/* main */
main{max-width:var(--maxw);margin:0 auto;padding:64px 24px 96px}

.mono{font-family:'Geist Mono',monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--amber);display:block;margin-bottom:18px}

h1{
  font-family:'Geist',sans-serif;font-weight:600;
  font-size:clamp(32px,4.4vw,52px);
  letter-spacing:-0.035em;line-height:1.05;
  margin-bottom:14px;
  color:var(--bone);
}
.updated{
  font-family:'Geist Mono',monospace;font-size:12px;
  color:var(--fog);letter-spacing:0.04em;
  margin-bottom:48px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}

h2{
  font-family:'Geist',sans-serif;font-weight:600;
  font-size:22px;letter-spacing:-0.02em;line-height:1.3;
  margin-top:48px;margin-bottom:16px;
  color:var(--bone);
}
h2:first-of-type{margin-top:0}
h2 .num{
  font-family:'Geist Mono',monospace;font-size:12px;
  color:var(--amber);letter-spacing:0.08em;
  margin-right:10px;font-weight:500;
}

h3{
  font-family:'Geist',sans-serif;font-weight:600;
  font-size:16px;letter-spacing:-0.015em;
  margin-top:24px;margin-bottom:10px;
  color:var(--bone);
}

p,ul,ol{
  color:var(--body);
  margin-bottom:16px;
  font-size:15px;
  line-height:1.7;
}
p strong,li strong{color:var(--bone);font-weight:600}

ul,ol{padding-left:20px}
li{margin-bottom:6px}
li::marker{color:var(--amber)}

/* table */
.table-wrap{
  overflow-x:auto;
  margin:18px 0 24px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
}
table{
  width:100%;
  border-collapse:collapse;
  font-size:13.5px;
}
th,td{
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  color:var(--body);
}
th{
  background:var(--shadow);
  color:var(--bone);
  font-weight:600;
  font-size:12px;
  letter-spacing:0.04em;
  font-family:'Geist Mono',monospace;
  text-transform:uppercase;
}
tr:last-child td{border-bottom:none}
td code{
  font-family:'Geist Mono',monospace;font-size:12px;
  background:var(--wash-4);
  padding:1px 6px;border-radius:3px;
  color:var(--bone);
}

/* legal-basis blocks */
.basis{
  font-family:'Geist Mono',monospace;font-size:12px;
  color:var(--fog);letter-spacing:0.02em;
  margin-top:-4px;margin-bottom:18px;
  padding-left:12px;
  border-left:2px solid var(--amber);
}
.basis strong{color:var(--amber);font-weight:500}

/* contact box */
.contact-box{
  margin-top:48px;
  background:var(--shadow);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px;
}
.contact-box h3{margin-top:0}
.contact-box p:last-child{margin-bottom:0}

/* footer */
footer{
  border-top:1px solid var(--line);
  padding:32px 24px;
  text-align:center;
  font-family:'Geist Mono',monospace;
  font-size:11px;letter-spacing:0.06em;color:var(--fog);
}
footer a{color:var(--fog);border:none}
footer a:hover{color:var(--amber);border:none}

@media(max-width:600px){
  main{padding:48px 20px 72px}
  .nav-inner{padding:0 20px}
  h2{font-size:20px}
  th,td{padding:10px 12px;font-size:12.5px}
}

/* ============================================================
   RTL (Hebrew) - inert on the LTR pages
   ============================================================ */
[dir="rtl"] ul,[dir="rtl"] ol{padding-left:0;padding-right:20px}
[dir="rtl"] th{text-align:right}
[dir="rtl"] .basis{padding-left:0;padding-right:12px;border-left:none;border-right:2px solid var(--amber)}
[dir="rtl"] .num{margin-right:0;margin-left:10px}
/* Hebrew is not letter-spaced and has no uppercase */
[dir="rtl"] *{letter-spacing:normal;text-transform:none}
[dir="rtl"] .brand{letter-spacing:-0.03em}
/* cookie names and code stay LTR inside RTL text */
[dir="rtl"] code{direction:ltr;display:inline-block}

/* ── THEME SWITCH ──────────────────────────────────────────────
   A segmented pair, mirroring the language switcher: both options are
   visible, the active one is filled. Reads as a control rather than a
   stray icon, and shows current state without needing a label.
   ------------------------------------------------------------ */
.theme-switch{
  display:inline-flex;align-items:center;gap:2px;flex-shrink:0;
  padding:2px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--wash-2);
}
.theme-opt{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:22px;padding:0;
  border:none;border-radius:2px;background:none;color:var(--fog);
  cursor:pointer;transition:color .15s,background .15s;
}
.theme-opt svg{width:14px;height:14px;display:block}
.theme-opt:hover{color:var(--bone)}
.theme-opt[aria-pressed="true"]{background:var(--amber);color:var(--ink)}
.theme-opt[aria-pressed="true"]:hover{color:var(--ink)}
.theme-opt:focus-visible{outline:2px solid var(--amber);outline-offset:1px}
@media(max-width:900px){
  .theme-opt{width:32px;height:26px}
  .theme-opt svg{width:15px;height:15px}
}
