@import url("/cookie-consent.css");

/* ============================================================
   Salventia — design tokens and the surfaces the design-imported
   pages do not own: the published legal documents and the
   cookie-consent banner/panel.

   The marketing pages carry the design's own inline styles and
   design.css; this sheet must not grow page-component rules again.
   ============================================================ */
:root {
  /* type */
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  /* warm ivory surfaces */
  --bg:        #FBF8F2;   /* page */
  --bg-2:      #F7F4EC;   /* alt section band */
  --bg-3:      #F7F4EC;   /* deeper band */
  --surface:   #FFFFFF;   /* cards */
  --surface-2: #FCFAF5;

  /* warm ink */
  --ink:       #2A2620;
  --ink-soft:  #4A453B;
  --muted:     #756E60;
  --faint:     #787267;

  /* hairlines */
  --line:      #E6DECE;
  --line-2:    #DDD3BF;

  /* restrained gold */
  --gold:      #B08D4C;   /* accent line / icon */
  --gold-ink:  #8C6A36;   /* gold text on ivory */
  --gold-soft: #EFE3C9;   /* gold wash fill */
  --gold-tint: #F9F4E6;

  /* dark anchor (final cta / footer) */
  --dark:      #211E18;
  --dark-2:    #2C281F;

  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1200px;
  --gut:       clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(42,38,32,.04), 0 1px 1px rgba(42,38,32,.03);
  --shadow:    0 2px 4px rgba(42,38,32,.04), 0 12px 32px -12px rgba(42,38,32,.12);
  --shadow-lg: 0 8px 24px -8px rgba(42,38,32,.16), 0 40px 80px -32px rgba(42,38,32,.22);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Shared by every surface that loads this file. The legal documents and the
   cookie banner set only a font-size and a bottom margin on their headings and
   took weight, line-height, letter-spacing and the margin reset from here; the
   marketing pages override all of it inline and only need the reset, which
   design.css restates alongside the rest of the flow elements. */
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -.018em; margin: 0; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold-soft); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--teal {
  /* Matches the active language-pill option (.lang-pill__opt.active). */
  background: #1B4D54; color: var(--bg);
  box-shadow: 0 1px 2px rgba(42,38,32,.18);
}
.btn--teal:hover { background: #164147; box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(42,38,32,.03); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* Language pill */
.lang-pill {
  display: flex; align-items: center;
  direction: ltr;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--surface);
  flex: none;
}
.lang-pill__opt {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 13px;
  font-size: 12px; font-weight: 700; letter-spacing: 0;
  color: var(--ink-3); text-decoration: none;
  transition: background .15s, color .15s;
  line-height: 1;
}
.lang-pill__opt:hover { color: var(--ink); background: var(--surface-2); }
.lang-pill__opt.active {
  background: #1B4D54; color: var(--bg);
}

/* ---------- legal / policy pages ---------- */
.policy { max-width: 820px; margin: 0 auto; padding: 48px var(--gut) 96px; line-height: 1.62; color: var(--ink-soft); }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.policy-logo { height: 30px; width: auto; }
.policy nav.policy-lang { display: flex; margin: 0; }
.policy .lang-pill__opt { text-decoration: none; }
.policy h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.policy .policy-version { color: var(--muted); font-size: .92rem; margin-bottom: 4px; }
.policy .policy-tag { color: var(--faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 24px; }
.policy h2 { font-size: clamp(19px, 2.2vw, 23px); color: var(--ink); margin-top: 40px; margin-bottom: 8px; scroll-margin-top: 24px; }
.policy h3 { font-size: 16px; color: var(--ink); margin-top: 24px; margin-bottom: 6px; }
.policy p { margin: 10px 0; }
.policy ul { margin: 10px 0; padding-inline-start: 22px; }
.policy li { margin: 6px 0; }
.policy a { color: var(--gold-ink); text-decoration: underline; }
.policy-meta, .policy-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.policy-meta td, .policy-table td, .policy-table th {
  border: 1px solid var(--line); padding: 9px 12px; text-align: start; vertical-align: top;
}
.policy-meta td:first-child { width: 34%; font-weight: 600; color: var(--ink); background: var(--surface-2); }
.policy-table th { background: var(--gold-tint); color: var(--ink); font-weight: 700; }
.policy-table td:first-child { font-weight: 600; color: var(--ink); }
.policy-contents { margin: 18px 0 8px; padding: 0; list-style: none; }@media (min-width: 640px) { .policy-contents { column-count: 2; column-gap: 40px; }}

.policy-contents li { break-inside: avoid; margin: 4px 0; padding-inline-start: 0; }
.policy-contents a { color: var(--ink-soft); text-decoration: none; }
.policy-contents a:hover { color: var(--gold-ink); text-decoration: underline; }
.policy-callout {
  margin: 24px 0; padding: 16px 20px; border-inline-start: 3px solid var(--gold);
  background: var(--gold-tint); border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-soft);
}
.policy-callout strong { color: var(--gold-ink); display: block; margin-bottom: 4px; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.policy-footnote { color: var(--faint); font-size: .82rem; margin-top: 48px; }
[dir="rtl"] .policy { line-height: 1.8; }
/* Latin values (address, reg number, URL) inside RTL meta cells read left-to-right. */
[dir="rtl"] .policy-meta td { unicode-bidi: plaintext; }

.btn:disabled {
  opacity: .68;
  cursor: wait;
}@media (max-width: 620px) {
  body { font-size: 16px; }
  .lang-pill__opt { min-height: 26px; padding-inline: 9px; font-size: 12px; }}
