/* Self-hosted webfonts — no third-party requests.
   Source: Google Fonts (SIL Open Font License 1.1). */

/* Bricolage Grotesque · normal 400 800 · latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-400-800-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;
}

/* Bricolage Grotesque · normal 400 800 · latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-400-800-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;
}

/* IBM Plex Mono · normal 400 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400-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;
}

/* IBM Plex Mono · normal 400 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400-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;
}

/* IBM Plex Mono · normal 500 · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-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;
}

/* IBM Plex Mono · normal 500 · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-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;
}

/* Instrument Sans · italic 400 · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-italic-400-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;
}

/* Instrument Sans · italic 400 · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-italic-400-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;
}

/* Instrument Sans · normal 400 · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}

/* Instrument Sans · normal 400 · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}

/* Instrument Sans · normal 500 · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}

/* Instrument Sans · normal 500 · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}

/* Instrument Sans · normal 600 · latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}

/* Instrument Sans · normal 600 · latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/instrument-sans-400-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;
}
/* ==========================================================================
   PrivLedge — design tokens
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #f6f5ef;
  --panel: #fff;
  --panel-border: #e2ded0;
  --band: #efede3;
  --band-border: #e0dccc;
  --rule: #eee9da;
  --pill-border: #c9c4b2;

  /* ink */
  --ink: #1c241c;
  --ink-soft: #48513f;
  --ink-list: #333d31;
  --muted: #6b6f64;

  /* green */
  --green: #1a6b3c;
  --green-dark: #145630;
  --green-darker: #114826;
  --forest: #123b22;

  /* on dark */
  --cream: #e9e4d4;
  --sage: #b9c4ae;
  --footer-ink: #a9b3a0;
  --code-ink: #cfd8c4;
  --code-dim: #75816b;

  /* gold */
  --gold: #f2b23d;
  --gold-hover: #e3a32c;
  --sand: #efe9d3;
  --sand-border: #e0d6b4;
  --gold-ink: #6b5410;

  /* type */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --maxw: 1080px;
  --gutter: 24px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html, body { margin: 0; padding: 0; }

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }
a:hover { color: var(--green-darker); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Shared layout primitives */
.section { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter); }
.band { padding: 72px var(--gutter); }
.band-inner { max-width: var(--maxw); margin: 0 auto; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.announce {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { border-radius: 10px; display: block; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a { text-decoration: none; }

.nav a.is-current {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.lang-toggle {
  border: 1px solid var(--pill-border);
  border-radius: 99px;
  padding: 6px 14px;
  color: var(--ink);
  text-decoration: none;
}
.lang-toggle:hover { color: var(--ink); background: var(--panel); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 10px;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }

.btn-link { text-decoration: none; font-weight: 600; font-size: 16px; }

/* ==========================================================================
   Home — hero
   ========================================================================== */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-copy { max-width: 720px; }
.hero .btn { padding: 14px 26px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  border: 1px solid var(--sand-border);
  color: var(--gold-ink);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin: 20px 0 0;
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 22px 0 0;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Home — privacy pillars (dark band)
   ========================================================================== */

.band-dark { background: var(--forest); color: var(--cream); }

.band-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  letter-spacing: -0.01em;
  max-width: 640px;
}
:lang(fr) .band-h2 { max-width: 680px; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.pillar { border-top: 2px solid var(--gold); padding-top: 18px; }
.pillar h3 { margin: 0; font-size: 18px; color: #fff; }
.pillar p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sage);
}

/* ==========================================================================
   Split section (copy + figure)
   ========================================================================== */

.split {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.split p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.split p + p { margin-top: 14px; }

/* File tree figure */
.filetree {
  background: var(--ink);
  border-radius: 14px;
  padding: 28px 30px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 2;
  color: var(--code-ink);
  box-shadow: 0 16px 40px rgba(28, 36, 28, 0.25);
}
.filetree .root { color: var(--gold); }
.filetree .dim { color: var(--code-dim); }

/* ==========================================================================
   Home — comparison table
   ========================================================================== */

.band-sand { background: var(--band); padding: 80px var(--gutter); }

.cmp-wrap { max-width: 900px; margin: 0 auto; }
.cmp-h2 { text-align: center; }

.cmp {
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--band-border);
  border-radius: 14px;
  overflow: hidden;
}

.cmp-head,
.cmp-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  font-size: 15px;
}

.cmp-head {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}

.cmp-row { border-bottom: 1px solid var(--rule); }
.cmp-row:last-child { border-bottom: 0; }

.cmp-head > div,
.cmp-row > div { padding: 16px 20px; }

.cmp-head .cmp-alt { color: var(--sage); }
.cmp-label { font-weight: 600; }
.cmp-yes { color: var(--green); font-weight: 600; }
.cmp-no { color: var(--muted); }

/* ==========================================================================
   Centred CTA section
   ========================================================================== */

.cta-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter);
  text-align: center;
}
.cta-section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 16px auto 0;
  max-width: 560px;
  text-wrap: pretty;
}
.cta-section .btn { margin-top: 26px; }

/* ==========================================================================
   Page headers (features / pricing)
   ========================================================================== */

.page-head { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 24px; }

.page-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 20px 0 0;
  max-width: 680px;
  text-wrap: pretty;
}

/* Features page h1 runs wider in French */
.features-head .page-h1 { max-width: 760px; }
:lang(fr) .features-head .page-h1 { max-width: 820px; }

/* ==========================================================================
   Features grid
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 28px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.08em;
}

.feature-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 10px 0 0;
}

.feature-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ==========================================================================
   Screenshots
   ========================================================================== */

.shot {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  display: block;
}
.shot-hero { box-shadow: 0 24px 60px rgba(18, 59, 34, 0.18); }
.shot-side { box-shadow: 0 20px 50px rgba(18, 59, 34, 0.16); }

/* ==========================================================================
   Dark CTA band (features page foot)
   ========================================================================== */

.band-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 64px var(--gutter);
  text-align: center;
}
.band-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0;
  letter-spacing: -0.01em;
}
.band-cta .btn { margin-top: 24px; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  text-align: center;
}
.price-head .page-lede { margin: 18px auto 0; max-width: 560px; }
:lang(fr) .price-head .page-lede { max-width: 600px; }

.price-wrap { max-width: 520px; margin: 0 auto; padding: 16px var(--gutter) 48px; }

.price-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 59, 34, 0.12);
}

.price-top {
  background: var(--forest);
  color: #fff;
  padding: 36px 32px;
  text-align: center;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
}
.price-per { font-size: 20px; font-weight: 600; color: var(--sage); }
.price-cur { font-size: 14px; color: var(--sage); margin-top: 8px; }

.price-body { padding: 32px; }

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-list);
}
.price-list li { display: flex; gap: 12px; }
.price-list .tick { color: var(--green); font-weight: 700; }

.price-note { margin-top: 28px; text-align: center; }

.badge-soon {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--sand-border);
  color: var(--gold-ink);
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
}

.renewal { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 80px; }
.renewal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  margin: 0;
  letter-spacing: -0.01em;
}

.note-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

.note-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 22px 26px;
}
.note-card h3 { margin: 0; font-size: 17px; }
.note-card p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.fineprint { font-size: 14px; color: var(--muted); margin: 28px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--footer-ink);
  padding: 48px var(--gutter);
  font-size: 14px;
  line-height: 1.7;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-about { max-width: 440px; }
.footer-about p { margin: 14px 0 0; }
.footer-about p + p { margin-top: 8px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.footer-brand img { border-radius: 7px; }

.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { text-decoration: none; }

/* ==========================================================================
   Responsive — the source design ships none of this
   ========================================================================== */

/* Comparison table: three hard columns can't hold below ~720px, so each row
   becomes a stacked block with its column identity spelled out. */
@media (max-width: 720px) {
  .cmp-head { display: none; }

  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { padding: 4px 20px; }
  .cmp-row .cmp-label { padding: 18px 20px 6px; }
  .cmp-row .cmp-no { padding-bottom: 18px; }

  .cmp-yes::before,
  .cmp-no::before {
    color: var(--muted);
    font-weight: 500;
  }
  .cmp-yes::before { content: 'PrivLedge — '; }
  .cmp-no::before { content: 'Cloud — '; }
  :lang(fr) .cmp-no::before { content: 'Infonuagique — '; }
}

@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .nav { gap: 18px; font-size: 14px; }
  .split, .band-sand { padding-left: var(--gutter); padding-right: var(--gutter); }
  .filetree { padding: 22px 20px; font-size: 13px; }
}
