/* ANNUVA site: shared styles for every page.
   Look and palette from the pitch deck (deliverables/pitch/v3) and the extension
   (apps/extension/src/ui/*.css). One dark theme; every colour is set explicitly.
   Type: Iceberg = wordmark and display headings, Tektur = UI, labels and numbers,
   the platform's own sans (San Francisco / Segoe UI / Roboto) = paragraphs. */

@font-face { font-family: "Tektur"; src: url("fonts/Tektur-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Iceberg"; src: url("fonts/Iceberg-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1e1e1e;
  --raised: #2a2a2a;
  --line: #333333;
  --line2: #444444;
  --text: #e0e0e0;
  --read: #cfcfcf;
  --soft: #c0c0c0;
  --muted: #9a9a9a;
  --violet: #bb86fc;
  --violet-hover: #cba1fd;
  --lavender: #c9b8ea;
  --cyan: #82f7ff;
  --warn: #cf6679;
  --up: #7ee2a8;
  --down: #ff9e9e;
  --ink: #121212;
  --font-mark: "Iceberg", "Tektur", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-ui: "Tektur", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-read: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-read);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--read);
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #b8fbff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(187,134,252,.35); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--violet); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-family: var(--font-ui); text-decoration: none; }
.skip:focus { left: 12px; color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 400; }
h1 { font-family: var(--font-mark); font-size: clamp(2.35rem, 1.3rem + 3.7vw, 4.2rem); line-height: 1.07; letter-spacing: .012em; text-wrap: balance; }
h2 { font-family: var(--font-mark); font-size: clamp(1.85rem, 1.25rem + 2vw, 2.8rem); line-height: 1.12; letter-spacing: .012em; text-wrap: balance; }
h3 { font-family: var(--font-ui); font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: .9em; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--read); max-width: 40em; }
.eyebrow { font-family: var(--font-ui); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ui { font-family: var(--font-ui); }
.v { color: var(--violet); } .c { color: var(--cyan); } .muted { color: var(--muted); } .soft { color: var(--soft); }
.up { color: var(--up); } .down { color: var(--down); }
.fine { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.nowrap { white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border-radius: 10px; border: 1px solid transparent; font-family: var(--font-ui); font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { background: var(--violet); color: var(--ink); }
.btn-primary:hover { background: var(--violet-hover); color: var(--ink); }
.btn-ghost { background: rgba(30,30,30,.6); color: var(--text); border-color: #555; }
.btn-ghost:hover { border-color: var(--violet); color: #fff; }
.btn-small { min-height: 38px; padding: .45em .95em; font-size: .9375rem; border-radius: 9px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 480px) { main .actions .btn { flex: 1 1 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(18,18,18,.94); border-bottom: 1px solid #262626; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(18,18,18,.82); backdrop-filter: blur(10px); } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { font-family: var(--font-ui); font-size: .9375rem; color: var(--soft); text-decoration: none; }
.site-nav a:hover { color: #fff; }
.site-header .btn { margin-left: 4px; }
.site-nav + .btn { margin-left: 8px; }
.site-header .wordmark + .btn { margin-left: auto; }
@media (max-width: 820px) { .site-nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Wordmark: the one element for the logo. Pages put the Card Focus lockup (assets/brand/lockup-dark.svg,
   27 px tall) inside the link; the text styles below remain for pages that still show the word. */
.wordmark { display: inline-flex; align-items: center; font-family: var(--font-mark); font-size: 1.6rem; line-height: 1; letter-spacing: .08em; color: var(--violet); text-decoration: none; }
.wordmark:hover { color: var(--violet-hover); }
.wordmark img { display: block; height: 27px; width: auto; }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 + p { margin-top: 18px; }
.rule { height: 3px; width: 140px; border: 0; margin: 0; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, #3a3a3a 20%, #3a3a3a 80%, transparent); }

/* Hero glow (the deck's two radial glows) */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 560px at 6% 0%, rgba(187,134,252,.16), transparent 62%),
    radial-gradient(760px 520px at 100% 100%, rgba(130,247,255,.09), transparent 60%); }

/* Panels (the deck's .card) */
.panel { background: rgba(30,30,30,.88); border: 1px solid rgba(187,134,252,.28); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 30px); min-width: 0; }
.panel.cyan { border-color: rgba(130,247,255,.40); }
.panel.plain { border-color: var(--line); }
.panel h3 + p { margin-top: 10px; }
.panel .eyebrow + h3 { margin-top: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Icon tile (the deck's .ico) */
.ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(187,134,252,.14); border: 1px solid rgba(187,134,252,.42); }
.ico svg { width: 22px; height: 22px; stroke: var(--violet); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.c { background: rgba(130,247,255,.10); border-color: rgba(130,247,255,.45); }
.ico.c svg { stroke: var(--cyan); }

/* Ticks list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.ticks.tv li::before { border-color: var(--violet); }

/* Privacy split: stays in the browser / reaches our servers */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split .panel h3 { display: flex; align-items: center; gap: 12px; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; border-top: 1px solid #262626; border-bottom: 1px solid #262626; background: linear-gradient(180deg, rgba(34,34,34,.6), rgba(18,18,18,.0)); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 50% 0%, rgba(187,134,252,.14), transparent 70%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 16em; }
.cta-band p { margin-top: 12px; max-width: 34em; }

/* Footer */
.site-footer { border-top: 1px solid #262626; padding: 56px 0 40px; background: #101010; color: var(--soft); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { margin-top: 14px; max-width: 26em; font-size: .9375rem; }
.footer-h { font-family: var(--font-ui); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer .wordmark { color: var(--violet); }
.footer-fine { margin-top: 40px; padding-top: 24px; background: linear-gradient(#262626, #262626) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; display: grid; gap: 8px; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.footer-fine p + p { margin-top: 0; }

/* Plain pages (privacy, terms, security placeholders) */
.doc { padding: clamp(56px, 8vw, 104px) 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); }
.doc .notice { margin-top: 28px; }
.doc .notice .eyebrow { color: var(--cyan); margin-bottom: 8px; }
.doc p.after { margin-top: 28px; }

/* Sample label under product visuals */
.sample-note { margin-top: 12px; font-family: var(--font-ui); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Motion: gentle, and off when the reader asks */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise-1 { animation-delay: .08s; } .rise-2 { animation-delay: .18s; } .rise-3 { animation-delay: .3s; } .rise-4 { animation-delay: .45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
