/* LucidWatch AI public site. Colours and type follow the investor deck. */
:root {
  --bg: #0A1A29; --bg-alt: #071523; --bg-deep: #061220;
  --teal: #3FD0C0; --teal-dim: rgba(63,208,192,0.28); --teal-faint: rgba(63,208,192,0.08);
  --white: #FFFFFF; --body: #C9DAE6; --muted: #9FB6C8; --dim: #6E8699;
  --rule: rgba(140,163,184,0.22); --amber: #E3A64A; --red: #F07A7E;
  --card: #0F2335; --card-deep: #0B1A28; --card-edge: rgba(140,163,184,0.18);
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: #7FE3D8; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--teal); color: var(--bg-deep); padding: 8px 14px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(6,18,32,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--cond); font-size: 22px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--cond); font-size: 17px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--card-edge); color: var(--white); border-radius: 8px; padding: 6px 12px; font-family: var(--cond); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-block; font-family: var(--cond); font-size: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 13px 22px; border-radius: 10px; border: 1.5px solid var(--teal); }
.btn.solid { background: var(--teal); color: var(--bg-deep); }
.btn.solid:hover { background: #7FE3D8; color: var(--bg-deep); }
.btn.line { color: var(--teal); background: transparent; }
.btn.line:hover { background: var(--teal-faint); color: var(--white); }
.nav .btn { padding: 8px 14px; font-size: 15px; color: var(--bg-deep); }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { font-family: var(--cond); font-size: 16px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--cond); color: var(--white); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; }
h3 { font-size: 26px; font-weight: 700; letter-spacing: 0.02em; }
.lede { font-size: clamp(19px, 2vw, 23px); color: var(--muted); max-width: 760px; margin: 14px 0 0; }
.section-head { margin-bottom: 44px; }
.small { font-size: 15px; color: var(--dim); }
.white { color: var(--white); }

/* Hero */
.hero { position: relative; padding: 110px 0 0; background: linear-gradient(180deg, var(--bg-deep), #0B1D2E); overflow: hidden; }
.hero h1 { max-width: 900px; }
.hero h1 .teal { color: var(--teal); display: block; font-size: 0.62em; letter-spacing: 0.03em; margin-top: 10px; }
.hero .lede { max-width: 720px; margin-top: 26px; color: var(--body); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .signal { margin-top: 40px; width: 100%; max-height: 300px; object-fit: cover; object-position: center 55%; mask-image: linear-gradient(to bottom, transparent, #000 18%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); }

/* Generic layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.wide-right { grid-template-columns: 0.9fr 1.1fr; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--card-edge); border-radius: 14px; padding: 24px; }
.card.hi { background: var(--teal-faint); border-color: var(--teal-dim); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 8px; }
.card li::marker { color: var(--teal); }
.num { font-family: var(--cond); font-size: 40px; font-weight: 700; color: rgba(63,208,192,0.6); line-height: 1; margin-bottom: 10px; }
.quote { border-left: 3px solid var(--teal); background: var(--card-deep); border-radius: 0 10px 10px 0; padding: 16px 20px; color: var(--white); font-size: 19px; }
.banner { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 18px; text-align: center; padding: 18px 24px; border: 1.5px solid var(--teal-dim); border-radius: 12px; background: var(--teal-faint); }
.banner b { font-family: var(--cond); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.banner span { font-size: 20px; color: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--cond); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--teal-dim); color: var(--teal); }
.tag.amber { color: var(--amber); border-color: rgba(227,166,74,0.5); }
.tag.red { color: var(--red); border-color: rgba(229,72,77,0.55); }
.tag.muted { color: var(--muted); border-color: var(--card-edge); }

/* How it works */
.flow { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 20px; align-items: center; }
.flow-col h3 { font-size: 18px; letter-spacing: 0.18em; color: var(--teal); margin-bottom: 12px; }
.flow-col .item { background: var(--card); border: 1px solid var(--card-edge); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; color: var(--body); }
.flow-mid { position: relative; }
.flow-mid img { border-radius: 14px; }

/* Product blocks */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--rule); }
.product:first-of-type { border-top: none; padding-top: 0; }
.product.flip .p-text { order: 2; }
.p-text h3 { font-size: 34px; margin: 6px 0 14px; }
.p-text ul { margin: 18px 0 0; padding-left: 20px; }
.p-text li { margin-bottom: 10px; }
.p-text li::marker { color: var(--teal); }
.mock { background: var(--card-deep); border: 1.5px solid var(--teal-dim); border-radius: 16px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--card); border-bottom: 1px solid var(--card-edge); font-family: var(--cond); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2E4258; display: inline-block; margin-right: 4px; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.m-label { font-family: var(--cond); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.inc { border: 1px solid var(--teal-dim); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.inc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.inc-title { font-family: var(--cond); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.inc-meta { font-size: 14px; color: var(--dim); margin: 2px 0 10px; }
.inc-src { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 6px; }
.inc-src .tag { min-width: 72px; text-align: center; font-size: 12px; }
.pb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb span { font-size: 14px; color: var(--white); border: 1px solid var(--card-edge); border-radius: 8px; padding: 5px 10px; background: var(--card-deep); }
.pb em { font-style: normal; color: var(--amber); }
.cnd { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--card-edge); border-left: 3px solid var(--amber); border-radius: 8px; padding: 10px 14px; }
.cnd.ok { border-left-color: var(--teal); }
.cnd b { font-family: var(--cond); font-size: 19px; color: var(--white); display: block; }
.cnd small { font-size: 14px; color: var(--dim); }
.cnd .age { text-align: right; font-family: var(--cond); font-size: 20px; font-weight: 700; color: var(--amber); white-space: nowrap; }
.cnd .age.teal { color: var(--teal); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.cnd .age.amber-s { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.q { align-self: flex-end; max-width: 85%; background: #1D3044; border: 1px solid var(--card-edge); border-radius: 14px 14px 4px 14px; padding: 10px 14px; color: var(--white); }
.a { align-self: flex-start; max-width: 92%; background: rgba(63,208,192,0.10); border: 1px solid var(--teal-dim); border-radius: 14px 14px 14px 4px; padding: 10px 14px; }
.a .who { display: block; font-family: var(--cond); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.input { display: flex; justify-content: space-between; border: 1px solid var(--card-edge); border-radius: 10px; padding: 10px 14px; color: var(--dim); font-size: 15px; }

/* Detection grid */
.dt-group h3 { font-size: 18px; letter-spacing: 0.16em; color: var(--teal); padding-bottom: 8px; border-bottom: 1px solid var(--teal-dim); margin-bottom: 10px; }
.dt { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--card-edge); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.dt b { font-family: var(--cond); font-size: 20px; color: var(--white); }
.dt span { font-size: 13px; color: var(--muted); text-align: right; }
.dt-stack { display: flex; flex-direction: column; gap: 22px; }

/* Privacy by design table */
.pbd { width: 100%; border-collapse: collapse; }
.pbd td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.pbd tr:last-child td { border-bottom: none; }
.pbd td:first-child { font-family: var(--cond); font-size: 22px; font-weight: 700; color: var(--teal); width: 32px; }
.pbd td:nth-child(2) { font-family: var(--cond); font-size: 20px; font-weight: 700; color: var(--white); width: 34%; }
.aia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.aia div { background: var(--teal-faint); border: 1px solid var(--teal-dim); border-radius: 10px; padding: 10px 12px; }
.aia small { display: block; font-family: var(--cond); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.aia b { font-family: var(--cond); font-size: 19px; color: var(--white); line-height: 1.1; }

/* Contact */
.contact .card { display: flex; flex-direction: column; gap: 14px; }
.contact .card .btn { align-self: flex-start; margin-top: auto; }
.mail { font-family: var(--cond); font-size: 24px; letter-spacing: 0.04em; }

/* Footer */
footer { background: var(--bg-deep); border-top: 1px solid var(--rule); padding: 40px 0; font-size: 15px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--white); }
footer .links { display: flex; gap: 22px; }

/* Long-form page (privacy) */
.doc { max-width: 860px; }
.doc h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 56px 0 14px; }
.doc h3 { font-size: 24px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 22px; }
.doc li::marker { color: var(--teal); }

/* Responsive */
@media (max-width: 980px) {
  .split, .split.wide-right, .product, .flow { grid-template-columns: 1fr; gap: 28px; }
  .product.flip .p-text { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; background: var(--bg-deep); border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 14px; border-bottom: 1.5px solid var(--teal); width: auto; padding: 10px 16px; }
  .menu-btn { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 72px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .aia { grid-template-columns: 1fr 1fr; }
  .pbd td:nth-child(2) { width: auto; }
  .pbd tr { display: grid; grid-template-columns: 32px 1fr; }
  .pbd td:nth-child(3) { grid-column: 2; padding-top: 0; }
  .pbd td { border-bottom: none; }
  .pbd tr { border-bottom: 1px solid var(--rule); padding: 6px 0; }
  .dt span { max-width: 45%; }
  .hero .ctas .btn { width: 100%; text-align: center; }
}
