/* ============================================================
   Talentalk landing page
   Type: Bricolage Grotesque (display) · Figtree (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* brand, sampled from logo */
  --navy:        #0F1330;
  --navy-surface:#1A1E44;
  --navy-line:   #2A2F5C;
  --gold:        #F5BB47;
  --gold-soft:   #FBD380;
  --gold-deep:   #E0A22E;

  /* neutrals */
  --paper:   #F8F7F3;
  --paper-2: #FFFFFF;
  --ink:     #15172E;
  --ink-2:   #3C3F58;
  --muted:   #6B6E86;
  --line:    #E7E5DC;
  --line-2:  #EFEDE6;

  /* type */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body:    "Figtree", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15,19,48,.06), 0 1px 3px rgba(15,19,48,.04);
  --shadow-md: 0 4px 16px rgba(15,19,48,.08), 0 2px 6px rgba(15,19,48,.05);
  --shadow-lg: 0 24px 60px rgba(15,19,48,.14), 0 8px 24px rgba(15,19,48,.08);
  --shadow-navy: 0 30px 80px rgba(8,10,30,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* heading style toggled via [data-heading] (tweak) */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,187,71,.18);
}
.on-dark .eyebrow { color: var(--gold); }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.55; max-width: 56ch; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede { color: rgba(255,255,255,.72); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px rgba(245,187,71,.4); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.note { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .01em;
}
.announce a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.announce .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.announce .arrow { color: var(--gold); transition: transform .2s ease; }
.announce a:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,247,243,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 15.5px; color: var(--ink-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .signin { font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.nav-actions .signin:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin: 22px 0 22px; }
.hero h1 .accent { color: var(--navy); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: linear-gradient(var(--gold), var(--gold));
  opacity: .55; z-index: -1; border-radius: 3px;
}
.hero .lede { margin-bottom: 30px; }
.hero .cta-row { margin-bottom: 14px; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.hero-meta .avs { display: flex; }
.hero-meta .avs span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--paper);
  margin-left: -9px; background: var(--navy-surface);
  display: grid; place-items: center; color: var(--gold); font-size: 11px; font-weight: 700; font-family: var(--mono);
}
.hero-meta .avs span:first-child { margin-left: 0; }
.hero-meta small { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.hero-meta small b { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---------- hero product mock: LinkedIn -> Loxo ---------- */
.hero-visual { position: relative; }
.node-bg { position: absolute; inset: -40px -60px auto auto; width: 320px; height: 320px; z-index: 0; opacity: .9; pointer-events: none; }

/* ---------- hero demo video player ---------- */
.heroplayer {
  position: relative; z-index: 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F3F2EE; border-bottom: 1px solid var(--line); }
.hp-bar .tl { display: flex; gap: 7px; }
.hp-bar .tl i { width: 11px; height: 11px; border-radius: 50%; background: #DCDAD0; }
.hp-bar .hp-title { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hp-bar .hp-dur { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink-2); background: #E8E6DE; padding: 3px 9px; border-radius: 999px; }

.hp-stage { position: relative; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.hp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy); }

/* brand placeholder behind the video until a real file is dropped in */
.hp-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(245,187,71,.16), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--navy);
}
.hp-placeholder .hp-li, .hp-placeholder .hp-lx {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.hp-placeholder .hp-li { color: #7FB0F2; }
.hp-placeholder .hp-lx { color: var(--gold); }
.hp-placeholder .hp-flow { color: rgba(255,255,255,.45); }
.hp-placeholder .hp-flow svg { width: 30px; height: 30px; }

.hp-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(245,187,71,.45), 0 4px 12px rgba(15,19,48,.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hp-play svg { width: 30px; height: 30px; margin-left: 3px; }
.hp-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(245,187,71,.5); animation: hp-ring 2.4s ease-out infinite;
}
@keyframes hp-ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.hp-play:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 18px 50px rgba(245,187,71,.55), 0 4px 12px rgba(15,19,48,.3); }
@media (prefers-reduced-motion: reduce) { .hp-play::before { animation: none; } }

.hp-caption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(15,19,48,.55); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 999px;
}
/* once playing: reveal native controls, drop the overlays */
.heroplayer.is-playing .hp-play,
.heroplayer.is-playing .hp-caption,
.heroplayer.is-playing .hp-placeholder { opacity: 0; pointer-events: none; }
.heroplayer.is-playing .hp-video { z-index: 2; }

/* ============================================================
   GENERIC SECTION HEADER
   ============================================================ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 18px 0 18px; }
.section-head .lede { margin-top: 4px; }

/* feature-column titles (extension / MCP): add rhythm under the heading */
.ext-copy h2, .mcp-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 20px; }

/* ============================================================
   MESSAGE SYNCING (set it once)
   ============================================================ */
.syncs { border-top: 1px solid var(--line-2); }
.syncs-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.syncs-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 20px; line-height: 1.08; }
.syncs-copy h2 .accent { position: relative; z-index: 0; }
.syncs-copy h2 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 11px;
  background: var(--gold); opacity: .55; z-index: -1; border-radius: 3px;
}

/* screenshot placeholder framed as a Loxo window */
.shot { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F3F2EE; border-bottom: 1px solid var(--line); }
.shot-bar .tl { display: flex; gap: 7px; }
.shot-bar .tl i { width: 11px; height: 11px; border-radius: 50%; background: #DCDAD0; }
.shot-bar .url { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.shot-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #1F8A5B; background: #E7F4EC; padding: 4px 10px; border-radius: 999px; }
.shot-sync svg { width: 13px; height: 13px; }
.shot-canvas {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(15,19,48,.035) 0 10px, transparent 10px 20px),
    var(--paper);
}
.shot-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 2; }
.shot-label b { color: var(--ink-2); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; }

/* surfaces it works with */
.surfaces { display: grid; gap: 16px; margin-top: 34px; }
.surface { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start; }
.surface .sg { width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); }
.surface h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 3px; }
.surface p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.surface p b { color: var(--ink); font-weight: 600; }

.setonce { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 13px; font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.setonce .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; flex: none; }
.setonce .ck svg { width: 14px; height: 14px; }

.sync-guide { margin-top: 16px; }
.sync-guide a { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--gold-deep); display: inline-flex; align-items: center; }
.sync-guide a:hover { color: var(--ink); }
.sync-guide a span { transition: transform .15s ease; display: inline-block; }
.sync-guide a:hover span { transform: translateX(3px); }

@media (max-width: 980px){
  .syncs-grid { grid-template-columns: 1fr; }
  .syncs-visual { order: 2; }
}

/* ============================================================
   BROWSER EXTENSION
   ============================================================ */
.ext { background: var(--paper-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ext-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature-list { display: grid; gap: 26px; margin-top: 36px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 5px; }
.feature p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

.ext-screenshot { width: 100%; height: auto; display: block; }

/* browser window mock */
.browser { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #F3F2EE; border-bottom: 1px solid var(--line); }
.browser-bar .tl { display: flex; gap: 7px; }
.browser-bar .tl i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar .tl i:nth-child(1){ background:#F5655B; } .browser-bar .tl i:nth-child(2){ background:#F6BE3F; } .browser-bar .tl i:nth-child(3){ background:#4FC54F; }
.browser-bar .url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.browser-bar .url svg { width: 12px; height: 12px; color: #1F8A5B; }
.browser-bar .extbtn { width: 26px; height: 26px; border-radius: 7px; background: var(--navy); display: grid; place-items: center; }
.browser-bar .extbtn img { width: 16px; height: 16px; border-radius: 4px; }

.browser-body { display: grid; grid-template-columns: 1fr 220px; min-height: 360px; }
.li-pane { padding: 18px; background: #fff; display: grid; gap: 14px; align-content: start; border-right: 1px solid var(--line-2); }
.li-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.li-head .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#2266C9,#3A82E0); color:#fff; display:grid; place-items:center; font-weight:700; font-size:13px; }
.li-head .nm { font-weight: 600; font-size: 14px; }
.li-head .st { font-size: 11.5px; color: var(--muted); }
.li-head .st b { color:#1F8A5B; }
.li-bubble { font-size: 13px; line-height: 1.55; padding: 10px 14px; border-radius: 14px; width: fit-content; max-width: 90%; }
.li-bubble.them { background:#EEF3F8; color:var(--ink-2); justify-self:start; border-bottom-left-radius:5px; }
.li-bubble.me { background:#2266C9; color:#fff; justify-self:end; border-bottom-right-radius:5px; }

/* extension side-panel */
.ext-panel { background: var(--navy); color:#fff; padding: 16px; display: grid; gap: 13px; align-content: start; }
.ext-panel .ep-head { display:flex; align-items:center; gap:9px; padding-bottom:12px; border-bottom:1px solid var(--navy-line); }
.ext-panel .ep-head img { width:22px; height:22px; border-radius:6px; }
.ext-panel .ep-head .t { font-family:var(--display); font-weight:600; font-size:14px; }
.ext-panel .ep-head .live { margin-left:auto; font-family:var(--mono); font-size:9.5px; letter-spacing:.1em; color:var(--gold); display:flex; align-items:center; gap:5px; }
.ext-panel .ep-head .live::before{ content:""; width:6px;height:6px;border-radius:50%;background:var(--gold); box-shadow:0 0 0 0 rgba(245,187,71,.6); animation:pulse 2s infinite; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(245,187,71,.5);} 70%{box-shadow:0 0 0 7px rgba(245,187,71,0);} 100%{box-shadow:0 0 0 0 rgba(245,187,71,0);} }
.ep-status { display:flex; align-items:center; gap:8px; font-size:12px; background:rgba(255,255,255,.06); border:1px solid var(--navy-line); border-radius:10px; padding:9px 11px; }
.ep-status .ck { width:15px;height:15px; color:#5BD68F; flex:none; }
.ep-status b { color:#fff; font-weight:600; }
.ep-label { font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.ep-draft { background:rgba(255,255,255,.05); border:1px solid var(--navy-line); border-radius:10px; padding:11px; font-size:12.5px; line-height:1.5; color:rgba(255,255,255,.85); }
.ep-draft .typed { color:rgba(255,255,255,.55); }
.ep-expand { display:flex; align-items:center; justify-content:center; gap:7px; background:var(--gold); color:var(--navy); font-weight:600; font-size:12.5px; padding:9px; border-radius:9px; cursor:pointer; }
.ep-expand svg { width:14px;height:14px; }
.ep-chip { display:flex; align-items:center; gap:8px; font-size:11.5px; color:rgba(255,255,255,.8); background:rgba(245,187,71,.1); border:1px solid rgba(245,187,71,.25); border-radius:9px; padding:8px 11px; }
.ep-chip svg{ width:14px;height:14px;color:var(--gold);flex:none; }

@media (max-width: 1100px){
  .ext-grid { grid-template-columns: 1fr; }
  .browser-body { grid-template-columns: 1fr; }
  .ext-panel { border-top:1px solid var(--navy-line); }
}

/* ============================================================
   MCP CONNECTOR (dark)
   ============================================================ */
.mcp { background: var(--navy); color:#fff; overflow:hidden; }
.mcp::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(245,187,71,.10), transparent 60%),
    radial-gradient(600px 400px at 85% 110%, rgba(245,187,71,.06), transparent 60%);
  pointer-events:none;
}
.mcp .wrap { position:relative; z-index:1; }
.mcp-grid { display:grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px,6vw,72px); align-items:center; }
.mcp .badge-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:30px; }
.mcp .badge { font-family:var(--mono); font-size:12px; padding:7px 13px; border-radius:999px; border:1px solid var(--navy-line); color:rgba(255,255,255,.82); background:rgba(255,255,255,.04); }
.mcp .badge b { color:var(--gold); }

/* connector AI chat mock */
.aichat {
  position:relative; width:100%;
  background:linear-gradient(165deg,#20254F,#0F1330);
  border:1px solid var(--navy-line); border-radius:20px;
  box-shadow:0 30px 70px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
}
.aichat-bar { display:flex; align-items:center; gap:11px; padding:14px 18px; border-bottom:1px solid var(--navy-line); background:rgba(255,255,255,.025); }
.ac-ava { width:34px; height:34px; border-radius:9px; background:rgba(245,187,71,.14); display:grid; place-items:center; flex:none; }
.ac-ava img { width:22px; height:22px; border-radius:6px; }
.ac-id { display:flex; flex-direction:column; gap:1px; }
.ac-name { font-family:var(--display); font-weight:600; font-size:15px; color:#fff; }
.ac-conn { font-family:var(--mono); font-size:10.5px; color:rgba(255,255,255,.55); display:flex; align-items:center; gap:6px; letter-spacing:.02em; }
.ac-conn i { width:6px; height:6px; border-radius:50%; background:#3FBE78; box-shadow:0 0 0 3px rgba(63,190,120,.18); }
.ac-mcp { margin-left:auto; font-family:var(--mono); font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--gold); border:1px solid rgba(245,187,71,.4); padding:4px 9px; border-radius:7px; }

.aichat-body { padding:20px 18px; display:flex; flex-direction:column; gap:14px; }
.msg { max-width:88%; }
.msg p { font-size:14px; line-height:1.5; margin:0; }
.msg.user { align-self:flex-end; background:var(--gold); color:var(--navy); padding:11px 15px; border-radius:15px; border-bottom-right-radius:5px; }
.msg.user p { font-weight:500; }
.msg.ai { align-self:flex-start; display:flex; gap:10px; }
.ac-dot { width:24px; height:24px; border-radius:7px; background:rgba(245,187,71,.14); flex:none; position:relative; margin-top:2px; }
.ac-dot::after { content:""; position:absolute; inset:8px; border-radius:50%; background:var(--gold); }
.ai-text { background:rgba(255,255,255,.05); border:1px solid var(--navy-line); padding:13px 15px; border-radius:15px; border-bottom-left-radius:5px; }
.ai-text p { color:rgba(255,255,255,.88); }
.ai-text b { color:#fff; font-weight:600; }
.ai-text ul { list-style:none; margin:10px 0 2px; padding:0; display:flex; flex-direction:column; gap:7px; }
.ai-text li { position:relative; padding-left:16px; font-size:13.5px; line-height:1.45; color:rgba(255,255,255,.78); }
.ai-text li::before { content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:2px; background:var(--gold); }
.ai-text li b { color:#fff; }
.ai-src { display:inline-flex; align-items:center; gap:7px; margin-top:12px; font-family:var(--mono); font-size:10.5px; color:var(--gold); letter-spacing:.02em; }
.ai-src svg { width:13px; height:13px; }

.aichat-input { display:flex; align-items:center; gap:12px; margin:4px 16px 16px; padding:12px 14px; background:rgba(255,255,255,.04); border:1px solid var(--navy-line); border-radius:13px; }
.aichat-input span:first-child { font-size:13px; color:rgba(255,255,255,.4); }
.ac-send { margin-left:auto; width:30px; height:30px; border-radius:8px; background:var(--gold); color:var(--navy); display:grid; place-items:center; flex:none; }
.ac-send svg { width:15px; height:15px; }

@media (max-width: 900px){
  .mcp-grid { grid-template-columns:1fr; }
  .aichat { max-width:480px; margin-inline:auto; }
}

/* ============================================================
   SYNC + DIGEST (two cards)
   ============================================================ */
.duo { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.dcard { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.dcard .eyebrow { margin-bottom:18px; }
.dcard h3 { font-size:24px; margin-bottom:12px; }
.dcard p { color:var(--muted); font-size:15.5px; margin-bottom:24px; }
.dcard .viz { margin-top:auto; }

/* realtime viz */
.rt { display:grid; gap:9px; }
.rt .row { display:flex; align-items:center; gap:11px; background:#fff; border:1px solid var(--line-2); border-radius:11px; padding:10px 13px; box-shadow:var(--shadow-sm); }
.rt .row .ic { width:30px;height:30px;border-radius:8px;background:#EAF1FB;color:#2266C9;display:grid;place-items:center;flex:none; }
.rt .row .ic svg{width:15px;height:15px;}
.rt .row .tx { flex:1; min-width:0; }
.rt .row .tx b { font-size:13px; display:block; }
.rt .row .tx span { font-size:11.5px; color:var(--muted); }
.rt .row .ago { font-family:var(--mono); font-size:10px; color:#1F8A5B; display:flex; align-items:center; gap:5px; }
.rt .row .ago::before{content:"";width:6px;height:6px;border-radius:50%;background:#1F8A5B;}

/* digest viz */
.digest { background:#fff; border:1px solid var(--line-2); border-radius:13px; box-shadow:var(--shadow-sm); overflow:hidden; }
.digest .dh { padding:12px 15px; border-bottom:1px solid var(--line-2); display:flex; align-items:center; gap:9px; }
.digest .dh .lg { width:24px;height:24px;border-radius:7px; background:var(--navy); display:grid; place-items:center; }
.digest .dh .lg img{width:15px;height:15px;border-radius:4px;}
.digest .dh .sub { font-family:var(--mono); font-size:11px; color:var(--muted); }
.digest .dh b { font-size:13px; }
.digest .di { display:flex; gap:11px; padding:11px 15px; border-bottom:1px solid var(--line-2); align-items:flex-start; }
.digest .di:last-child{border-bottom:0;}
.digest .di .ck { width:18px;height:18px;border-radius:6px;border:1.5px solid var(--gold);flex:none;margin-top:1px; display:grid; place-items:center;}
.digest .di .ck svg{width:11px;height:11px;color:var(--gold-deep);}
.digest .di p { font-size:13px; line-height:1.45; color:var(--ink-2); }
.digest .di p b{color:var(--ink);}

@media (max-width:820px){ .duo{ grid-template-columns:1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background:var(--paper-2); border-top:1px solid var(--line-2); }
.toggle { display:inline-flex; align-items:center; gap:0; background:#EFEDE6; border-radius:999px; padding:4px; margin:24px auto 0; }
.toggle button { font-family:var(--body); font-weight:600; font-size:14px; border:none; background:transparent; color:var(--muted); padding:8px 18px; border-radius:999px; cursor:pointer; transition:all .2s; display:flex; align-items:center; gap:7px; }
.toggle button.active { background:#fff; color:var(--ink); box-shadow:var(--shadow-sm); }
.toggle .save { font-family:var(--mono); font-size:10px; background:var(--gold); color:var(--navy); padding:2px 6px; border-radius:5px; font-weight:700; }

.plans { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1100px; margin:48px auto 0; align-items:stretch; }
.plan { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px 32px; display:flex; flex-direction:column; position:relative; }
.plan.pro { border-color:var(--navy); box-shadow:var(--shadow-lg); }
.plan .ptop { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.plan h3 { font-size:22px; }
.plan .popular { font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; background:var(--gold); color:var(--navy); padding:4px 9px; border-radius:6px; font-weight:700; }
.plan .price { display:flex; align-items:baseline; gap:8px; margin:18px 0 4px; }
.plan .price .now { font-family:var(--display); font-weight:600; font-size:40px; letter-spacing:-0.02em; }
.plan .price .was { font-size:18px; color:var(--muted); text-decoration:line-through; }
.plan .price .per { font-size:14px; color:var(--muted); }
.plan .billed { font-size:12.5px; color:var(--muted); margin-bottom:24px; font-family:var(--mono); }
.plan .btn { width:100%; justify-content:center; margin-bottom:24px; }
.plan .feats { display:grid; gap:12px; }
.plan .feats .ft { display:flex; gap:11px; font-size:14.5px; color:var(--ink-2); line-height:1.4; align-items:flex-start; }
.plan .feats .ck { width:19px;height:19px;border-radius:50%;background:#E7F4EC;flex:none;display:grid;place-items:center;margin-top:1px; }
.plan .feats .ck svg{width:11px;height:11px;color:#1F8A5B;}
.plan .plus { font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink); margin-bottom:6px; padding-bottom:10px; border-bottom:1px solid rgba(15,19,48,.12); }
.plan .plus b { color:var(--gold-deep); font-weight:700; }

/* Teams / volume card */
.plan.teams { background:var(--paper-2); border-style:dashed; }
.plan.teams .vol { font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; background:var(--navy); color:var(--gold); padding:4px 9px; border-radius:6px; font-weight:700; white-space:nowrap; }
.plan.teams .price { margin-bottom:4px; }
.plan.teams .price .custom { font-family:var(--display); font-weight:600; font-size:40px; letter-spacing:-0.02em; }
.plan.teams .teams-foot { margin-top:auto; padding-top:20px; font-size:13px; color:var(--muted); }
.plan.teams .teams-foot a { color:var(--ink); font-weight:600; text-decoration:underline; }
.price-foot { text-align:center; font-size:12.5px; color:var(--muted); max-width:680px; margin:34px auto 0; line-height:1.55; }
.price-foot a { color:var(--ink-2); text-decoration:underline; }
@media (max-width:880px){ .plans{ grid-template-columns:1fr; max-width:440px; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { background:var(--navy); color:#fff; overflow:hidden; text-align:center; }
.finalcta::before{ content:""; position:absolute; inset:0; background:radial-gradient(800px 400px at 50% 0%, rgba(245,187,71,.12), transparent 60%); }
.finalcta .wrap{ position:relative; z-index:1; }
.finalcta h2 { font-size:clamp(32px,5vw,56px); margin-bottom:20px; }
.finalcta .lede { margin:0 auto 34px; color:rgba(255,255,255,.72); }
.finalcta .cta-row { justify-content:center; }
.finalcta .node-bg { position:absolute; inset:auto auto -60px 50%; transform:translateX(-50%); width:380px; opacity:.5; z-index:0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:#0A0C24; color:rgba(255,255,255,.6); padding:54px 0 40px; }
.footer-top { display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer .brand { color:#fff; }
.footer .fcol { display:flex; gap:56px; flex-wrap:wrap; }
.footer .fcol .grp { display:grid; gap:6px; line-height:1.25; }
.footer .fcol .grp .h { font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:2px; }
.footer .fcol a { font-size:14.5px; color:rgba(255,255,255,.7); transition:color .15s; }
.footer .fcol a:hover { color:var(--gold); }
.footer-bot { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:24px; font-size:13px; }
.footer-bot .mkt { display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12px; }
.footer-bot .mkt .pip{ width:6px;height:6px;border-radius:50%;background:var(--gold); }

/* reveal */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }

/* ============================================================
   LEGAL PAGES (terms / privacy / impressum)
   ============================================================ */
.legal-hero { padding: clamp(56px, 9vw, 100px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.legal-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 12px 0 14px; }
.legal-hero .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.legal-hero .lede { max-width: 720px; color: var(--ink-2); font-size: 18px; line-height: 1.6; margin-top: 6px; }

.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); background: var(--paper); }
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--display); font-weight: 600; font-size: 18px; margin: 24px 0 8px; color: var(--ink); }
.legal p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-deep); }
.legal ul, .legal ol { margin: 0 0 16px 22px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 6px; }
.legal li ul, .legal li ol { margin-top: 6px; }
.legal strong, .legal b { color: var(--ink); font-weight: 600; }
.legal em { color: var(--muted); font-style: italic; }
.legal .article { padding: 8px 0; }
.legal .article + .article { border-top: 1px solid var(--line-2); margin-top: 28px; padding-top: 28px; }
.legal .block { margin: 18px 0; }
