/* Shared stylesheet of the content pages. Palette, nav, glass, footer and FAQ are copied from index.html. */
  /* Same palette as the web app: graphite, warm white, one amber accent, frosted glass. */
  :root {
    --bg:        #0a0d14;
    --bg-sunken: #080b12;
    --panel:     #111623;
    --line:      rgba(255,255,255,0.09);
    --line-soft: rgba(255,255,255,0.06);
    --text:      #f2efe8;
    --dim:       #9da2ac;
    --faint:     #6a707c;
    --signal:    #f0a41b;
    --signal-soft:#ffd08a;
    --signal-dim:#8a5f12;
    --ai:        #f0a41b;
    --caller:    #ece7df;
    --ok:        #4ade80;
    --radius: 14px;
    --glass: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035) 45%, rgba(255,255,255,0.06));
    --glass-line: rgba(255,255,255,0.12);
    --glass-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(0,0,0,0.25), 0 24px 60px rgba(0,0,0,0.35);
    --sans: 'Manrope', system-ui, sans-serif;
    --cond: 'Manrope', system-ui, sans-serif;
    --mono: 'Manrope', ui-monospace, monospace;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--text);
    font-family: var(--sans); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  ::selection { background: var(--signal); color: #0a0d14; }
  /* Colour orbs behind the glass: fixed, so every card gets something to blur. */
  .orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
  .orbs i { position: absolute; border-radius: 50%; display: block; filter: blur(50px); }
  .orbs i:nth-child(1) { width: 720px; height: 720px; left: 10%; top: -260px; background: radial-gradient(circle, rgba(240,164,27,0.22), transparent 62%); }
  .orbs i:nth-child(2) { width: 820px; height: 820px; right: -240px; top: 18%; background: radial-gradient(circle, rgba(70,90,170,0.36), transparent 62%); }
  .orbs i:nth-child(3) { width: 600px; height: 600px; left: 30%; bottom: -260px; background: radial-gradient(circle, rgba(236,231,223,0.10), transparent 60%); }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
  a { color: inherit; }
  .glass {
    position: relative; isolation: isolate;
    background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px;
    backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%);
    box-shadow: var(--glass-shadow);
  }
  .glass::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
    background: radial-gradient(130% 70% at 0% 0%, rgba(255,255,255,0.09), transparent 55%);
  }
  /* ------------------------------------------------------------------ nav */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,13,20,0.6);
    backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-in { display: flex; align-items: center; gap: 26px; height: 68px; }
  .brand {
    display: flex; align-items: center; gap: 12px;
    font-weight: 700; font-size: 20px; letter-spacing: -0.3px;
    text-decoration: none; color: var(--text);
  }
  .brand .mark {
    flex: none; width: 40px; height: 40px; border-radius: 12px; background: #12110f;
    border: 1px solid rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }
  .nav-links { display: flex; gap: 2px; margin-left: 4px; }
  .nav-links a {
    font-size: 14px; font-weight: 600; text-decoration: none; color: var(--dim); white-space: nowrap;
    padding: 8px 12px; border-radius: 999px; transition: color 0.15s, background 0.15s;
  }
  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
  .langs { display: inline-flex; gap: 0; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
  .langs button {
    font-family: inherit; font-size: 12px; font-weight: 700; height: 28px; padding: 0 10px;
    background: none; border: 0; border-radius: 999px;
    color: var(--dim); cursor: pointer; text-transform: uppercase;
  }
  .langs button:hover { color: var(--text); }
  .langs button.on { color: var(--bg); background: var(--text); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 999px;
    height: 48px; padding: 0 22px;
    transition: transform 0.12s, box-shadow 0.2s, background 0.15s; cursor: pointer;
  }
  .btn-solid { background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgba(242,239,232,0.14); }
  .btn-solid:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(242,239,232,0.22); }
  .btn-ghost {
    border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.04);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.08); }
  .btn-sm { font-size: 14px; height: 40px; padding: 0 16px; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 9px; border-radius: 999px;
    background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.25);
    color: #9befb8; font-size: 12.5px; font-weight: 600;
  }
  .eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
  h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 16px; text-wrap: balance; }

  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.2,0.7,0.2,1), transform 0.65s cubic-bezier(0.2,0.7,0.2,1); }
  .reveal.in { opacity: 1; transform: none; }


  footer { border-top: 1px solid var(--line-soft); padding: 48px 0 32px; font-size: 13.5px; color: var(--dim); position: relative; z-index: 2; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .foot-grid-5 { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .foot-co b { color: var(--text); }
  .foot-col { display: grid; gap: 8px; align-content: start; }
  .foot-col b { color: var(--text); margin-bottom: 4px; }
  .foot-col a, .foot-co a { color: var(--dim); text-decoration: none; }
  .foot-col a:hover { color: var(--text); }
  .foot-line { margin-top: 32px; font-size: 12.5px; color: var(--faint); }
  @media (max-width: 980px) { .foot-grid-5 { grid-template-columns: repeat(3, 1fr); } .foot-grid-5 .foot-co { grid-column: 1 / -1; } }
  @media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 900px) { .nav-links { display: none; } }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }
  .faq { padding: 6px 26px; }
  .faq details { border-top: 1px solid var(--line-soft); padding: 16px 0; }
  .faq details:first-child { border-top: 0; }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16px; }
  .faq summary::after { content: '+'; color: var(--signal-soft); font-weight: 800; }
  .faq details[open] summary::after { content: '−'; }
  .faq details p { color: var(--dim); margin-top: 10px; max-width: 70ch; font-size: 15px; }

  /* Page typography */
  .page { padding: 72px 0 40px; }
  .page h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.03em; max-width: 20ch; margin-top: 22px; text-wrap: balance; }
  .page .lead { color: var(--dim); font-size: 18px; max-width: 60ch; margin-top: 18px; }
  .page h2 { font-weight: 800; line-height: 1.1; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin: 56px 0 18px; text-wrap: balance; }
  .page h3 { font-size: 18px; margin: 28px 0 10px; }
  .page p, .page li { color: var(--dim); max-width: 72ch; }
  .page p { margin: 12px 0; }
  .page ul, .page ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
  .page strong { color: var(--text); }
  .tbl { overflow: hidden; margin: 20px 0; }
  .tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  .tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); padding: 16px 18px 12px; }
  .tbl td { padding: 14px 18px; border-top: 1px solid var(--line-soft); vertical-align: top; color: var(--dim); }
  .tbl td:first-child { color: var(--text); font-weight: 700; }
  .tbl td.z { color: var(--text); }
  .tbl .mark { color: var(--signal-soft); font-weight: 800; }
  .aside { border-left: 3px solid var(--signal); padding: 14px 18px; margin: 20px 0; background: rgba(240,164,27,0.06); border-radius: 0 12px 12px 0; }
  .ask { font-size: 14px; }
  .ask b { color: var(--signal-soft); }
  .page-cta { text-align: center; padding: 40px 24px; margin: 56px 0 24px; }
  .page-cta h2 { margin-top: 0; }
  .page-cta .demo-line { margin: 14px 0 22px; color: var(--dim); }
  .page .demo-line a { color: var(--signal-soft); font-weight: 700; text-decoration: none; }
  .page-cta .demo-line a { color: var(--signal-soft); font-weight: 700; text-decoration: none; font-size: 20px; margin: 0 6px; }
  @media (max-width: 720px) { .tbl { overflow-x: auto; } .tbl table { min-width: 640px; } }
