/* Enn marketing site - light only (no dark mode), Iris brand, Inter. One
   stylesheet for every page. Workbench accent colors are set per-context via a
   --wb custom property (data-wb="study|write|build|content|founder"). */
:root {
  --primary: #6d5ef6;
  --primary-2: #8b7bff;
  --primary-strong: #5546e0;
  --primary-weak: rgba(109, 94, 246, 0.1);
  --bg: #ffffff;
  --bg-2: #f7f6fb;
  --bg-3: #eeedf6;
  --border: #e6e3f0;
  --text: #16151f;
  --text-dim: #56545f;
  --text-faint: #8b8996;
  --radius: 16px;
  --maxw: 1150px;
  --shadow-lg: 0 40px 80px -40px rgba(24, 20, 50, 0.42);
  --shadow-md: 0 18px 44px -26px rgba(24, 20, 50, 0.34);

  /* Per-workbench accents (overridden by [data-wb]). */
  --wb: var(--primary);
  --wb-weak: var(--primary-weak);
  --wb-study: #3b82f6;
  --wb-write: #f0870a;
  --wb-build: #10b981;
  --wb-content: #e11d48;
  --wb-founder: #8b5cf6;
}
[data-wb="study"] { --wb: var(--wb-study); --wb-weak: rgba(59, 130, 246, 0.12); }
[data-wb="write"] { --wb: var(--wb-write); --wb-weak: rgba(240, 135, 10, 0.12); }
[data-wb="build"] { --wb: var(--wb-build); --wb-weak: rgba(16, 185, 129, 0.12); }
[data-wb="content"] { --wb: var(--wb-content); --wb-weak: rgba(225, 29, 72, 0.12); }
[data-wb="founder"] { --wb: var(--wb-founder); --wb-weak: rgba(139, 92, 246, 0.12); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img { height: 30px; width: auto; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform 0.12s ease, background 0.15s, box-shadow 0.15s, border-color 0.15s; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px -10px var(--primary); }
.btn.primary:hover { transform: translateY(-2px); background: var(--primary-2); }
.btn.ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn.sm { padding: 9px 15px; font-size: 14px; }
.btn.wb { background: var(--wb); color: #fff; box-shadow: 0 10px 26px -10px var(--wb); }
.btn.wb:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Header / nav */
header.nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-item > button { color: var(--text-dim); font-size: 15px; font-weight: 500; font-family: inherit; background: none; border: none; cursor: pointer; padding: 8px 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 5px; }
.nav-links > a:hover, .nav-item > button:hover { color: var(--text); background: var(--bg-2); }
.nav-links a.on { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Workbenches mega-dropdown (horizontal, left-aligned, below the item) */
.nav-item { position: relative; }
.nav-item .chev { transition: transform 0.15s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; transition: background 0.12s; }
.mega-card:hover { background: var(--wb-weak); }
.mega-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--wb-weak); color: var(--wb); }
.mega-card strong { font-size: 14.5px; font-weight: 700; color: var(--text); }
.mega-card span { font-size: 12.5px; color: var(--text-faint); line-height: 1.4; }

/* Split download button */
.split { position: relative; }
.split-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); display: none; }
.split.open .split-menu { display: block; }
.split-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: none; border-radius: 9px; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.split-menu button:hover { background: var(--bg-2); }

.hamburger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text-dim); cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -280px; left: 50%; transform: translateX(-50%); width: 1000px; height: 760px; background: radial-gradient(circle at center, var(--primary-weak), transparent 62%); z-index: -1; }
.hero-top { text-align: center; max-width: 760px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text-dim); font-size: 13px; font-weight: 500; margin-bottom: 22px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; letter-spacing: -1.6px; font-weight: 800; margin: 0 0 18px; }
h1 .grad { background: linear-gradient(120deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-dim); max-width: 640px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-faint); }

/* Hero split layout + workbench orbit */
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 30px; align-items: center; }
.hero-left { text-align: left; }
.hero-left .pill { margin-bottom: 20px; }
.hero-left h1 { font-size: clamp(34px, 4.8vw, 58px); }
.hero-left .sub { margin: 0 0 30px; max-width: 520px; }
.hero-left .hero-cta { justify-content: flex-start; }
.hero-left .hero-note { text-align: left; }
.orbit-wrap { display: grid; place-items: center; }
.orbit { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: 0 auto; }
/* Concentric circles (darker than borders, so they read); the inner dashed ring
   rotates slowly for subtle motion while the icons stay put and upright. */
.oc { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.oc1 { width: 96%; height: 96%; border: 1px solid #d6d1ec; }
.oc2 { width: 68%; height: 68%; border: 1.5px solid #bfb8dd; }
.oc3 { width: 40%; height: 40%; border: 1.5px dashed #cbc4e6; animation: orbit-spin 60s linear infinite; }
.orbit-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42%; height: 42%; border-radius: 50%; background: radial-gradient(circle, var(--primary-weak), transparent 72%); }
.orbit-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #fff; border: 1px solid #d6d1ec; box-shadow: var(--shadow-md); z-index: 3; }
.orbit-core img { width: 56px; height: auto; }
.orbit-core span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
/* Each node = an upright icon with its name below, centered on the icon-path
   circle (radius 34%) at 72-degree steps. Proportional so it never drifts. */
.orbit-node { position: absolute; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.orbit-node.n0 { left: calc(50% - 38px); top: calc(16% - 27px); }
.orbit-node.n1 { left: calc(82.34% - 38px); top: calc(39.49% - 27px); }
.orbit-node.n2 { left: calc(69.99% - 38px); top: calc(77.51% - 27px); }
.orbit-node.n3 { left: calc(30.01% - 38px); top: calc(77.51% - 27px); }
.orbit-node.n4 { left: calc(17.66% - 38px); top: calc(39.49% - 27px); }
.orbit-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1px solid var(--border); color: var(--nodec); box-shadow: var(--shadow-md); transition: transform 0.18s, border-color 0.18s; }
.orbit-node:hover .orbit-ic { transform: translateY(-3px) scale(1.07); border-color: var(--nodec); }
.orbit-name { font-size: 12.5px; font-weight: 700; color: var(--nodec); white-space: nowrap; }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .oc3 { animation: none; } }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-left { text-align: center; }
  .hero-left .sub { margin: 0 auto 30px; }
  .hero-left .hero-cta { justify-content: center; }
  .hero-left .hero-note { text-align: center; }
  .orbit-wrap { order: -1; margin-bottom: 10px; }
}

/* Hero workbench tab-carousel (legacy - kept for reference, unused) */
.wbc { margin: 46px auto 0; max-width: 1000px; }
.wbc-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin-bottom: 18px; }
.wbc-tab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text-dim); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.wbc-tab .ti { width: 22px; height: 22px; display: grid; place-items: center; color: var(--wb); }
.wbc-tab:hover { color: var(--text); }
.wbc-tab.on { color: var(--wb); border-color: var(--wb); background: var(--wb-weak); }
.wbc-stage { position: relative; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.wbc-panel { display: none; grid-template-columns: 1.05fr 1fr; gap: 0; min-height: 340px; }
.wbc-panel.on { display: grid; animation: wbc-fade 0.4s ease; }
@keyframes wbc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wbc-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.wbc-copy .wb-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--wb-weak); color: var(--wb); font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.wbc-copy h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 0; }
.wbc-copy p { color: var(--text-dim); font-size: 16px; margin: 12px 0 0; }
.wbc-copy .wbc-link { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--wb); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.wbc-art { border-left: 1px solid var(--border); background: var(--bg); padding: 22px; display: grid; }
@media (max-width: 780px) { .wbc-panel.on { grid-template-columns: 1fr; } .wbc-art { border-left: none; border-top: 1px solid var(--border); } }

/* Abstract "app layout" mock used inside hero art + workbench pages. No
   screenshots - pure CSS blocks that suggest the product surface. */
.appmock { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-md); width: 100%; align-self: center; }
.am-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.am-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); opacity: 0.45; }
.am-bar b { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--text-faint); }
.am-body { display: grid; grid-template-columns: 64px 1fr; min-height: 230px; }
.am-side { border-right: 1px solid var(--border); padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; background: var(--bg-2); }
.am-side .d { height: 10px; border-radius: 5px; background: var(--bg-3); }
.am-side .d.a { background: var(--wb-weak); }
.am-main { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.am-line { height: 10px; border-radius: 5px; background: var(--bg-3); }
.am-line.s { width: 55%; }
.am-line.m { width: 80%; }
.am-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: var(--wb-weak); color: var(--wb); font-size: 11px; font-weight: 700; }
.am-card { border: 1px solid var(--border); border-radius: 9px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.am-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.am-accent { height: 10px; border-radius: 5px; background: var(--wb); opacity: 0.85; }
.am-pill { height: 20px; border-radius: 999px; background: var(--wb-weak); }

/* Chat window mock (below the hero) */
.mock { margin: 0 auto; max-width: 960px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-3); }
.mock-bar b { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--text-faint); }
.mock-body { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.mock-side { border-right: 1px solid var(--border); padding: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.mock-side .row { height: 30px; border-radius: 8px; background: var(--bg-3); }
.mock-side .row.active { background: var(--primary-weak); }
.mock-chat { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 78%; padding: 12px 15px; border-radius: 14px; font-size: 14.5px; }
.bubble.u { align-self: flex-end; background: var(--primary-weak); color: var(--text); }
.bubble.a { align-self: flex-start; background: var(--bg-3); color: var(--text-dim); }
.mock-composer { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.mc-tool { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--text-faint); flex: 0 0 auto; }
.mc-input { flex: 1; font-size: 14px; color: var(--text-faint); padding: 0 4px; }
.mc-model { display: inline-flex; align-items: center; gap: 3px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); flex: 0 0 auto; }
.mc-send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: #fff; flex: 0 0 auto; }
@media (max-width: 640px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } }

/* Sections */
section { padding: 84px 0; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.8px; line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
.lead { color: var(--text-dim); font-size: 18px; max-width: 640px; }
.section-head { text-align: center; margin: 0 auto 48px; display: flex; flex-direction: column; align-items: center; }
.section-head .lead { margin: 0 auto; }

/* Steps (How it works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 6px; }
.step .n { width: 40px; height: 40px; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Workbench overview (alternating rows) */
.wb-rows { display: flex; flex-direction: column; gap: 30px; }
.wb-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; border: 1px solid var(--border); border-radius: 22px; padding: 34px; background: linear-gradient(180deg, var(--wb-weak), transparent 60%); }
.wb-row:nth-child(even) .wb-row-text { order: 2; }
.wb-row-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; background: var(--wb-weak); color: var(--wb); font-size: 13px; font-weight: 700; }
.wb-row h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 0; }
.wb-row .tagline { color: var(--text-dim); font-size: 16px; margin: 8px 0 0; }
.wb-feat { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.wb-feat li { display: flex; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.5; }
.wb-feat li svg { color: var(--wb); flex: 0 0 auto; margin-top: 3px; }
.wb-row .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14.5px; font-weight: 700; color: var(--wb); }
@media (max-width: 820px) { .wb-row { grid-template-columns: 1fr; gap: 22px; } .wb-row:nth-child(even) .wb-row-text { order: 0; } }

/* Generic feature cards (workbench pages, platform) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform 0.15s, border-color 0.15s; }
.card:hover { transform: translateY(-4px); border-color: var(--wb); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--wb-weak); color: var(--wb); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Video placeholder (workbench pages) */
.video { position: relative; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--wb-weak), var(--bg-2)); aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-md); }
.video .play { width: 76px; height: 76px; border-radius: 50%; background: var(--wb); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -12px var(--wb); }
.video .cap { position: absolute; bottom: 18px; left: 20px; font-size: 13px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.7); padding: 5px 11px; border-radius: 999px; }

/* Workbench hero */
.wb-hero { padding: 56px 0 8px; }
.wb-hero .eyebrow { color: var(--wb); }
.wb-hero h1 { font-size: clamp(34px, 5.6vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; margin: 0; max-width: 16ch; }
.wb-hero .sub { font-size: clamp(16px, 2.1vw, 20px); color: var(--text-dim); margin: 18px 0 0; max-width: 55ch; }
.wb-hero .hero-cta { justify-content: flex-start; margin-top: 26px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: 1060px; margin: 0 auto; }
@media (max-width: 980px) { .prices { grid-template-columns: 1fr; max-width: 460px; } }
.price { border: 1px solid var(--border); border-radius: 20px; padding: 30px; background: var(--bg-2); display: flex; flex-direction: column; }
.price.pro { border-color: var(--primary); box-shadow: 0 24px 60px -34px var(--primary); position: relative; }
.price.pro::after { content: "Most popular"; position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-weak); padding: 4px 10px; border-radius: 999px; }
.price .name { font-weight: 800; font-size: 20px; }
.price .amt { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin: 10px 0 2px; }
.price .amt small { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.price .tagline { color: var(--text-dim); font-size: 14px; margin: 0 0 18px; min-height: 40px; }
.price ul { list-style: none; padding: 0; margin: 4px 0 24px; flex: 1; }
.price li { padding: 7px 0; color: var(--text-dim); font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.price li svg { color: var(--primary); flex: 0 0 auto; margin-top: 3px; }

/* Compare table - clean and simple (no highlight fills) */
.compare { overflow-x: auto; max-width: 860px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { text-align: center; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-weight: 700; color: var(--text); background: var(--bg-2); }
.compare thead th.pro { color: var(--primary); }
.compare td { color: var(--text-dim); }
.compare td:first-child { font-weight: 600; color: var(--text); }
.compare tbody tr:hover { background: var(--bg-2); }
.compare .yes { color: var(--primary); vertical-align: -2px; }
.compare .no { color: var(--text-faint); }

/* Research */
.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .research-grid { grid-template-columns: 1fr; } }
.rcard { border: 1px solid var(--border); border-radius: 18px; padding: 28px; background: var(--bg-2); }
.rcard .rnum { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 0.08em; }
.rcard h3 { margin: 10px 0 8px; font-size: 21px; }
.rcard p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Bands */
.band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* CTA */
.cta { text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-radius: 26px; padding: 60px 30px; color: #fff; }
.cta h2 { color: #fff; }
.cta p { opacity: 0.92; max-width: 520px; margin: 0 auto 26px; }
.cta .btn.primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta .btn.ghost { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 14px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--text-dim); padding: 5px 0; }
.foot-col a:hover { color: var(--primary); }
.foot-blurb { color: var(--text-dim); max-width: 260px; margin: 14px 0 0; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--border); }

/* Download modal */
.modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(20, 18, 40, 0.5); backdrop-filter: blur(3px); display: none; place-items: center; padding: 24px; }
.modal-scrim.open { display: grid; }
.modal { background: #fff; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); max-width: 440px; width: 100%; padding: 30px; text-align: center; }
.modal .m-ic { width: 60px; height: 60px; border-radius: 16px; background: var(--primary-weak); color: var(--primary); display: grid; place-items: center; margin: 0 auto 16px; }
.modal h3 { margin: 0 0 8px; font-size: 22px; }
.modal p { margin: 0 0 22px; color: var(--text-dim); font-size: 15px; }
.modal .m-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal .m-close { position: absolute; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px 18px; box-shadow: var(--shadow-md); display: none; }
  .nav-links.open { display: flex; }
  .nav-item .mega { position: static; display: flex; flex-direction: column; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 16px; grid-template-columns: 1fr; }
  .hamburger { display: grid; place-items: center; }
  .nav-cta .btn:not(.primary):not(.split) { display: none; }
}

/* ===== Scenario selector (workbench pages) =====
   A tabbed selector: pick a work scenario, see its tailored capabilities +
   a staged dashboard preview. Accent follows the page's [data-wb]. */
/* Accent cohesion: the scenario section's eyebrow takes the workbench colour. */
.wrap .section-head:has(~ .scn) .eyebrow { color: var(--wb); }

.scn { border: 1px solid var(--border); border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-lg); overflow: hidden; }
/* Tab bar: a quiet tinted rail so the pills read as a control group. */
.scn-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 16px 14px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.scn-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 17px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text-dim); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .18s, border-color .18s, background .18s, box-shadow .2s; }
.scn-tab .scn-ti { display: inline-flex; align-items: center; color: var(--wb); flex: 0 0 auto; transition: color .18s; }
.scn-tab:hover { color: var(--text); border-color: var(--wb); }
.scn-tab.on { color: #fff; border-color: var(--wb); background: var(--wb); box-shadow: 0 8px 18px -9px var(--wb); }
.scn-tab.on .scn-ti { color: #fff; }

/* Cross-fade: panels stack and fade between each other on switch. */
.scn-stage { position: relative; }
.scn-panel { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 372px; position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility 0s linear .35s; }
.scn-panel.on { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .scn-panel { transition: none; } }
.scn-copy { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.scn-badge { display: inline-flex; align-items: center; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--wb-weak); color: var(--wb); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.scn-copy h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.16; margin: 16px 0 0; }
.scn-copy .scn-who { color: var(--text-dim); font-size: 15.5px; line-height: 1.55; margin: 12px 0 0; }
.scn-caps { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.scn-caps li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.scn-caps li svg { color: var(--wb); flex: 0 0 auto; margin-top: 2px; }
/* Link reads as a real action, not a footnote. */
.scn-link { margin-top: 26px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 11px; border: 1px solid var(--wb); background: var(--wb-weak); color: var(--wb); font-size: 14px; font-weight: 700; transition: background .15s, color .15s, box-shadow .15s; }
.scn-link:hover { background: var(--wb); color: #fff; box-shadow: 0 10px 22px -12px var(--wb); }
.scn-link svg { transition: transform .15s; }
.scn-link:hover svg { transform: translateX(3px); }
/* Art is a staged preview, not a bare block: an accent wash lifts the mock. */
.scn-art { position: relative; border-left: 1px solid var(--border); background: radial-gradient(135% 110% at 100% 0%, var(--wb-weak), transparent 58%), var(--bg-2); padding: 32px; display: grid; align-content: center; }
.scn-art .appmock { box-shadow: var(--shadow-lg); border-radius: 14px; }
/* Real screenshot in the staged preview (drop-in replacement for .appmock). */
.scn-art .scn-shot { width: 100%; }
.scn-art .scn-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); }
.scn-shot-tag { position: absolute; top: 15px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(4px); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; }
@media (max-width: 820px) { .scn-panel.on { grid-template-columns: 1fr; min-height: 0; } .scn-art { border-left: none; border-top: 1px solid var(--border); padding: 24px; } .scn-copy { padding: 30px 24px; } }

/* Dashboard-shaped mock: three panes (nav · work · partner) to evoke the
   workbench dashboards. Reuses the am-* primitives. */
.am-body.three { grid-template-columns: 54px 1fr 68px; }
.am-rail { border-left: 1px solid var(--border); background: var(--bg-2); padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; }
.am-rail .d { height: 9px; border-radius: 5px; background: var(--bg-3); }
.am-tag { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.am-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.am-chip.ghost { background: var(--bg-3); color: var(--text-faint); }

/* Home: scenario line under each workbench row */
.wb-scn { margin: 18px 0 0; font-size: 13.5px; color: var(--text-dim); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wb-scn .lbl { font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; font-size: 11px; margin-right: 2px; }
.wb-scn .tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--wb-weak); color: var(--wb); font-weight: 600; font-size: 12.5px; }
.wb-scn .tag svg { flex: 0 0 auto; opacity: .9; }

/* ===== Use-case pages (persona stories) ===== */
.frame { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--text-faint); opacity: .5; }
.frame-bar span { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--text-faint); }
.frame img { display: block; width: 100%; height: auto; }
.frame.crop img { max-height: 520px; object-fit: cover; object-position: top; }
.wb-hero .frame { max-width: 600px; margin: 34px 0 0; }
.story-head { padding-top: 40px; }
.story-head h2 { margin-top: 8px; }
.beats { display: flex; flex-direction: column; gap: 8px; }
.beat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; padding-top: 52px; }
.beat:nth-of-type(even) .b-text { order: 2; }
.b-num { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.beat h3 { font-size: clamp(21px, 2.8vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 9px 0 0; }
.beat p { font-size: 16px; color: var(--text-dim); margin: 12px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--primary); background: var(--primary-weak); padding: 7px 13px; border-radius: 999px; }
.wb-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.wb-list li { display: flex; gap: 11px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.wb-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--primary); }
@media (max-width: 760px) { .beat { grid-template-columns: 1fr; gap: 20px; } .beat:nth-of-type(even) .b-text { order: 0; } }

/* ===== Workbench hub: hero scenario carousel ===== */
.wb-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 42px; align-items: center; }
@media (max-width: 940px) { .wb-hero-grid { grid-template-columns: 1fr; gap: 26px; } .wb-hero-grid .hero-cta { justify-content: flex-start; } }
.scn-carousel-stage { position: relative; }
.scn-cslide { display: none; }
.scn-cslide.on { display: block; animation: sc-fade .5s ease; }
@keyframes sc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scn-cprev { display: block; color: inherit; }
.scn-cart { position: relative; }
.scn-cslide .scn-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow-lg); }
.scn-ccap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.scn-ccap b { font-size: 16px; font-weight: 700; color: var(--text); }
.scn-ccap .go { font-size: 13px; font-weight: 700; color: var(--wb); display: inline-flex; align-items: center; gap: 5px; }
.scn-cnav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.scn-cdot { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--text-dim); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s, border-color .15s; }
.scn-cdot .scn-ti { display: inline-flex; color: var(--wb); }
.scn-cdot:hover { color: var(--text); border-color: var(--wb); }
.scn-cdot.on { background: var(--wb); color: #fff; border-color: var(--wb); box-shadow: 0 8px 18px -10px var(--wb); }
.scn-cdot.on .scn-ti { color: #fff; }

/* ===== Workbench hub: "choose your use case" cards ===== */
.uc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .uc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .uc-cards { grid-template-columns: 1fr; } }
.uc-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-2); color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.uc-card:hover { transform: translateY(-4px); border-color: var(--wb); box-shadow: var(--shadow-md); }
.uc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--wb-weak); color: var(--wb); display: grid; place-items: center; }
.uc-persona { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--wb); }
.uc-card h3 { margin: 2px 0 0; font-size: 19px; }
.uc-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; flex: 1; line-height: 1.5; }
.uc-go { font-size: 13.5px; font-weight: 700; color: var(--wb); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.uc-card:hover .uc-go svg { transform: translateX(3px); }
.uc-go svg { transition: transform .15s; }

/* ===== Scenario detail page ===== */
.sd-hero { padding: 40px 0 16px; }
.sd-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
@media (max-width: 940px) { .sd-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.sd-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 16px; }
.sd-back:hover { color: var(--wb); }
.sd-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--wb); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.sd-persona { display: inline-block; margin: 14px 0 0; padding: 5px 13px; border-radius: 999px; background: var(--wb-weak); color: var(--wb); font-size: 12px; font-weight: 700; }
.sd-hero h1 { font-size: clamp(30px, 4.6vw, 47px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 14px 0 0; }
.sd-hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); margin: 16px 0 0; max-width: 54ch; }
.sd-hero .hero-cta { justify-content: flex-start; margin-top: 26px; }
.sd-hero-art { position: relative; }
.sd-hero-art .scn-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); }
.sd-steps { display: flex; flex-direction: column; gap: 14px; max-width: 840px; margin: 0 auto; }
.sd-step { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.sd-step-n { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--wb); color: #fff; font-weight: 800; display: grid; place-items: center; }
.sd-step h3 { margin: 0 0 5px; font-size: 18px; }
.sd-step p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.sd-caps { list-style: none; padding: 0; margin: 0 auto; max-width: 840px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 26px; }
@media (max-width: 640px) { .sd-caps { grid-template-columns: 1fr; } }
.sd-caps li { display: flex; gap: 11px; font-size: 15px; color: var(--text); line-height: 1.45; align-items: flex-start; }
.sd-caps li svg { color: var(--wb); flex: 0 0 auto; margin-top: 3px; }
