/* Product site. Palette, fonts and theme mechanism deliberately match
   sheevasoftware.com and the app itself: dark by default, light opt-in via the
   header toggle, persisted under `app_theme`. */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: optional;
  src: url('fonts/Inter.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: optional;
  src: url('fonts/DMMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: optional;
  src: url('fonts/DMMono-500.woff2') format('woff2');
}

:root {
  --bg:        #1A1A1A;
  --surface:   #2C2C2C;
  --surface-2: #232323;
  --border:    #3D3D3D;
  --gold:      #C9A84C;
  --gold-dim:  #8A7035;
  --on-gold:   #1A1A1A;
  --text:      #E8E8E8;
  --text-dim:  #9A9A9A;
  --green:     #6FBF73;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
:root[data-theme="light"] {
  --bg:        #F4F1EA;
  --surface:   #FFFFFF;
  --surface-2: #FAF8F3;
  --border:    #D8D2C4;
  --gold:      #9A7B2E;
  --gold-dim:  #7A6026;
  --on-gold:   #FFFFFF;
  --text:      #1C1A17;
  --text-dim:  #666058;
  --green:     #2E7D32;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 740px; }

/* ---- header ---- */
header.site {
  border-bottom: 1px solid var(--border); padding: 16px 0; background: var(--surface);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand .amp { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; color: var(--text-dim); padding: 0 1px; }
.brand { font-size: 17px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; color: var(--gold); }
.headright { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
nav a:hover, nav a[aria-current="page"] { color: var(--gold); }

.theme-toggle {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 6px; padding: 5px 10px; font-size: 14px; line-height: 1; cursor: pointer; font-family: var(--sans);
}
.theme-toggle:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ---- buttons ---- */
.btn {
  display: inline-block; background: var(--gold); color: var(--on-gold); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 7px; border: 1px solid var(--gold);
}
.btn:hover { background: var(--gold-dim); border-color: var(--gold-dim); color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: transparent; color: var(--text); border-color: var(--text-dim); }
.btn-small { font-size: 13px; padding: 6px 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---- type ---- */
h1 { font-size: 42px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 600; }
h2 { font-size: 27px; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; font-weight: 600; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px;
}
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { font-weight: 600; }
a { color: var(--gold); }
a:hover { color: var(--gold-dim); }
.lede { font-size: 20px; line-height: 1.6; color: var(--text-dim); font-weight: 300; max-width: 680px; }
.dim { color: var(--text-dim); }
.small { font-size: 14px; }

/* ---- sections ---- */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }
.hero { padding: 88px 0 72px; }
.section-head { max-width: 680px; margin-bottom: 34px; }

/* ---- grids & cards ---- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .tag {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--gold); margin-bottom: 8px; display: block;
}
.card.accent { border-color: var(--gold-dim); }

/* ---- proof strip ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-top: 44px; }
.stat { border-left: 2px solid var(--gold); padding: 2px 0 2px 14px; }
.stat b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--text); }
.stat span { font-size: 14px; color: var(--text-dim); }

/* ---- check lists ---- */
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 26px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 600; }

/* ---- pricing ---- */
.price { font-family: var(--mono); font-size: 46px; font-weight: 500; line-height: 1; margin: 10px 0 4px; }
.price small { font-size: 16px; color: var(--text-dim); font-family: var(--sans); font-weight: 400; }
.soon { font-family: var(--mono); font-size: 11px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; margin-left: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }

/* ---- FAQ ---- */
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--text-dim); }

/* ---- CTA band ---- */
.cta { text-align: center; }
.cta .lede { margin: 0 auto; }
.cta .actions { justify-content: center; }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--border); padding: 24px 0 46px; color: var(--text-dim);
  font-size: 13px; font-family: var(--mono);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--text-dim); text-decoration: none; }
footer.site a:hover { color: var(--gold); }

@media (max-width: 640px) {
  h1 { font-size: 31px; }
  h2 { font-size: 23px; }
  .lede { font-size: 17px; }
  .hero { padding: 52px 0 44px; }
  section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  header.site { position: static; }
}

/* ---- print: the data-protection page doubles as the leave-behind handout ---- */
@media print {
  :root, :root[data-theme="light"], :root[data-theme="dark"] {
    --bg: #fff; --surface: #fff; --surface-2: #fff; --border: #ccc; --gold: #7A6026;
    --gold-dim: #7A6026; --text: #111; --text-dim: #444; --green: #2E7D32;
  }
  body { font-size: 10pt; line-height: 1.45; }
  @page { margin: 12mm; }
  header.site .headright, .theme-toggle, .no-print { display: none !important; }
  header.site { position: static; padding: 0 0 10px; }
  section, .hero { padding: 12px 0; }
  .card { padding: 9px 12px; break-inside: avoid; }
  h1 { font-size: 24pt; }
  h2 { font-size: 15pt; }
  .lede { font-size: 12pt; }
  .grid, .grid-2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats { margin-top: 12px; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .stat b { font-size: 14pt; }
  .section-head { margin-bottom: 10px; break-inside: avoid; break-after: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  th, td { padding: 6px 8px; }
  table { font-size: 10pt; }
  p { margin-bottom: 8px; }
  footer.site { margin-top: 0; padding: 6px 0 0; font-size: 8pt; }
  footer.site .wrap { gap: 4px 16px; }
  a { color: inherit; text-decoration: none; }
}
