:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-2: #0b0e13;
  --surface: rgba(16, 20, 27, .9);
  --surface-2: rgba(22, 27, 35, .94);
  --surface-3: #111821;
  --text: #eef3f8;
  --muted: #9ca8b7;
  --soft: #cbd5e1;
  --line: rgba(190, 205, 224, .14);
  --line-strong: rgba(210, 224, 240, .28);
  --brand: #66e3cf;
  --brand-2: #82a9ff;
  --amber: #f4c76d;
  --red: #ff7b8d;
  --green: #7ddc9a;
  --ink: #06100f;
  --radius: 8px;
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, .25);
  --shadow: 0 22px 64px rgba(0, 0, 0, .36);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--font-body);
}
* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(14, 18, 25, .98) 0%, #07080b 34rem, #050609 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 68%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
code, pre { font-family: var(--mono); }
.skip-link { position:absolute; left:16px; top:-44px; z-index:100; background:var(--text); color:var(--ink); padding:8px 12px; border-radius:var(--radius); }
.skip-link:focus { top:14px; }
.grid-bg { display:none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 11, .86);
  backdrop-filter: blur(16px);
}
.brand, .footer-brand { display:flex; align-items:center; gap:10px; font-weight:780; }
.brand img, .footer-brand img { width:32px; height:32px; }
.site-nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav-link, .ghost-link, .lang-toggle {
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
}
.nav-link:hover, .nav-link.active, .ghost-link:hover, .lang-toggle:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.045);
}
.nav-actions { display:flex; align-items:center; gap:8px; }
.nav-toggle { display:none; color:var(--text); border:1px solid var(--line); background:rgba(255,255,255,.045); border-radius:var(--radius); padding:8px 10px; cursor:pointer; }
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height: 42px;
  border: 1px solid rgba(102,227,207,.62);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #8bf0df, #66e3cf);
  color: #04100e;
  padding: 10px 15px;
  font-weight: 820;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(42, 198, 176, .16);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(42, 198, 176, .22); }
.button.secondary { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-strong); box-shadow:none; }
.button.secondary:hover { background: rgba(255,255,255,.07); box-shadow:none; }
.button.small { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.button.full { width:100%; }

.hero, .section {
  position: relative;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) clamp(18px, 4.8vw, 56px);
}
.hero {
  display:grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 5vw, 62px);
  align-items:center;
  min-height: auto;
}
.home-hero { padding-top: clamp(76px, 8vw, 116px); padding-bottom: 34px; }
.product-hero { padding-top: clamp(62px, 7vw, 98px); padding-bottom: 38px; }
.compact-hero, .compact-visual-hero { min-height:auto; grid-template-columns:minmax(0, 900px); padding-bottom: 44px; }
.compact-visual-hero { grid-template-columns:minmax(0, .92fr) minmax(320px, .72fr); }
.hero-copy { min-width:0; max-width: 680px; }
.eyebrow {
  margin:0 0 14px;
  color:var(--brand);
  font-family: var(--mono);
  font-size:12px;
  font-weight:800;
  letter-spacing: 0;
  text-transform:uppercase;
}
h1, h2, h3, p, h1 span, h2 span, h3 span, p span { overflow-wrap:anywhere; word-break:normal; }
h1, h2, h3 { text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin:0 0 22px; font-weight: 830; }
.product-hero h1 { font-size: clamp(38px, 4.25vw, 56px); max-width: 740px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin:0 0 14px; font-weight: 810; }
h3 { font-size: clamp(19px, 1.8vw, 24px); line-height:1.2; margin:0 0 10px; font-weight: 800; }
p { color: var(--soft); margin:0 0 15px; }
.lead { font-size: clamp(17px, 1.55vw, 21px); color:#d9e2ee; max-width: 680px; }
.hero-actions, .cta-actions, .form-actions, .compact-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:26px; }
.section-tight { padding-top: 0; padding-bottom: 34px; }
.section-heading { max-width:760px; margin:0 auto 32px; text-align:center; }
.section-heading p { color: var(--muted); font-size: 17px; }
.split, .feature-row { display:grid; grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr); gap:42px; align-items:center; }
.feature-row.reverse { grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr); }

.screen-frame, .console-showcase, .card, .edition-card, .price-card, .download-card, .release-notes, .legal-doc, .lead-form, .report-card, .report-sidebar, .evidence-panel, .matrix-table, .product-evidence-card, .preview-console, .release-card, .request-panel, .control-plane, .security-stack, .pricing-mini, .report-preview, .thesis-panel, .pain-card, .proof-card, .chain-card, .mini-console, .story-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,33,.9), rgba(9,12,17,.94));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.screen-frame { position:relative; margin:0; padding:10px; max-width:100%; overflow:hidden; }
.screen-frame img { width:100%; aspect-ratio:16 / 10; object-fit:contain; object-position:left top; border-radius:6px; border:1px solid rgba(255,255,255,.12); background:#080b10; }
.screen-frame figcaption { padding: 12px 3px 2px; color:var(--muted); font-size:13px; }
.hero-shot { align-self:center; }
.hero-shot img { height:auto; min-height:0; }

.console-showcase { padding:14px; min-height:0; }
.console-head { display:flex; gap:8px; align-items:center; padding:0 0 12px; border-bottom:1px solid var(--line); color:var(--muted); }
.console-head span { width:9px; height:9px; border-radius:50%; background:#333b46; }
.console-head b { margin-left:auto; font-size:13px; }
.console-grid { display:grid; gap:12px; padding-top:14px; }
.console-tile { border:1px solid var(--line); border-radius:var(--radius); padding:18px; background:rgba(255,255,255,.035); min-height:120px; }
.console-tile.primary { border-color:rgba(102,227,207,.42); background:rgba(102,227,207,.08); }
.console-tile small, .status, .pill { display:inline-flex; width:max-content; color:var(--muted); text-transform:uppercase; letter-spacing: 0; font-size:11px; font-weight:850; }
.console-tile strong { display:block; margin:10px 0 8px; font-size:23px; line-height:1.14; }
.console-line { display:grid; grid-template-columns:auto 1fr auto 1fr auto; gap:10px; align-items:center; color:var(--muted); font-size:13px; }
.console-line i { height:1px; background:linear-gradient(90deg, var(--brand), var(--brand-2)); }

.metric-strip { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.metric-strip div { border:1px solid var(--line); background:rgba(255,255,255,.035); border-radius:var(--radius); padding:16px; min-height:96px; }
.metric-strip b { display:block; font-size:28px; color:var(--text); line-height:1.1; }
.metric-strip span { color:var(--muted); font-size:13px; }
.product-grid, .proof-grid, .edition-grid, .pricing-grid, .download-grid, .gallery-grid, .three-loops, .pain-grid, .proof-grid-two, .chain-grid, .narrative-grid { display:grid; gap:16px; }
.product-grid.three, .pricing-grid, .three-loops, .pain-grid { grid-template-columns:repeat(3, minmax(0,1fr)); }
.proof-grid { grid-template-columns:repeat(4, minmax(0,1fr)); }
.proof-grid-two, .edition-grid, .gallery-grid, .chain-grid, .narrative-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
.download-grid { grid-template-columns:repeat(4, minmax(0,1fr)); }
.card, .edition-card, .price-card, .download-card, .product-evidence-card, .three-loops article, .pain-card, .proof-card, .chain-card, .story-panel { padding:22px; }
.card { min-height: 260px; display:flex; flex-direction:column; }
.card p, .edition-card p, .price-card li, .download-card small, .pain-card p, .proof-card p, .chain-card p { color:var(--muted); }
.card a { margin-top:auto; color:var(--brand); font-weight:780; }
ul { padding-left:18px; color:#d6deea; }
.check-list { display:grid; gap:9px; padding-left:0; list-style:none; }
.check-list li { position:relative; padding-left:24px; color:#d8e1ec; }
.check-list li::before { content:""; position:absolute; left:0; top:.72em; width:12px; height:1px; background:var(--brand); }
.edition-card > img, .product-evidence-card img { width:100%; aspect-ratio:16 / 10; object-fit:contain; object-position:left top; border-radius:6px; border:1px solid rgba(255,255,255,.12); margin-bottom:16px; background:#080b10; }
.status, .pill { border:1px solid var(--line); padding:5px 8px; border-radius:999px; margin-bottom:12px; }
.status.live, .pill.green { color:var(--green); border-color:rgba(125,220,154,.38); background:rgba(125,220,154,.08); }
.status.preview, .pill.amber { color:var(--amber); border-color:rgba(244,199,109,.34); background:rgba(244,199,109,.08); }
.pill.blue { color:#b8cbff; border-color:rgba(130,169,255,.34); background:rgba(130,169,255,.08); }

.workflow { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
.workflow-enhanced { margin-bottom:12px; }
.workflow.vertical { grid-template-columns:1fr; }
.flow-step, .flow-copy {
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  color:var(--text);
  border-radius:var(--radius);
  padding:14px;
  text-align:left;
  min-height:116px;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.flow-step.active, .flow-step:hover { border-color:rgba(102,227,207,.5); background:rgba(102,227,207,.08); transform: translateY(-1px); }
.flow-step > span, .flow-copy > span, .three-loops article > span, .product-evidence-card > span, .chain-card > span, .proof-card > span, .pain-card > span { display:block; color:var(--brand); font-family:var(--mono); font-size:12px; margin-bottom:8px; }
.flow-step b { display:block; margin-bottom:8px; }
.flow-step small { color:var(--muted); }
.flow-detail {
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(280px, .9fr);
  gap:18px;
  align-items:stretch;
  margin-top:12px;
  padding:20px;
  border:1px solid rgba(102,227,207,.28);
  border-radius:var(--radius);
  background:
    linear-gradient(90deg, rgba(102,227,207,.1), transparent 44%),
    linear-gradient(180deg, rgba(18,24,31,.94), rgba(8,11,16,.96));
  box-shadow:var(--shadow-sm);
}
.flow-detail-eyebrow {
  display:block;
  margin-bottom:8px;
  color:var(--brand);
  font-family:var(--mono);
  font-size:12px;
  font-weight:800;
  letter-spacing: 0;
  text-transform:uppercase;
}
.flow-detail h3 { font-size:24px; margin-bottom:8px; }
.flow-detail p { margin-bottom:0; color:#d8e2ed; }
.flow-detail dl { display:grid; gap:10px; margin:0; }
.flow-detail dl div { border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.035); padding:14px; }
.flow-detail dt { color:var(--muted); font-family:var(--mono); font-size:11px; letter-spacing: 0; text-transform:uppercase; }
.flow-detail dd { margin:6px 0 0; color:#e6edf6; }

.loop-section { padding-top: 8px; }
.loop-diagram, .team-loop-map {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(102,227,207,.16), transparent 30%),
    radial-gradient(circle at 82% 80%, rgba(130,169,255,.14), transparent 34%),
    linear-gradient(180deg, rgba(20,25,33,.9), rgba(9,12,17,.94));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.loop-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}
.loop-diagram::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(102,227,207,.1), rgba(102,227,207,.7), rgba(130,169,255,.7), rgba(102,227,207,.1));
  transform: translateY(-50%);
}
.loop-node {
  position: relative;
  z-index: 1;
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7,10,15,.84);
}
.loop-node::after {
  content: ">";
  position: absolute;
  right: -14px;
  top: 50%;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102,227,207,.36);
  border-radius: 50%;
  color: var(--brand);
  background: #091018;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}
.loop-node:last-of-type::after { display: none; }
.loop-node.accent {
  border-color: rgba(102,227,207,.48);
  background: linear-gradient(180deg, rgba(102,227,207,.12), rgba(7,10,15,.86));
}
.loop-node span, .team-loop-card > span {
  display:block;
  color:var(--brand);
  font-family:var(--mono);
  font-size:12px;
  margin-bottom:8px;
}
.loop-node b { display:block; margin-bottom:8px; font-size:18px; line-height:1.2; }
.loop-node p, .team-loop-card p { margin:0; color:var(--muted); font-size:14px; }
.loop-return {
  grid-column: 1 / -1;
  justify-self: center;
  color: var(--brand);
  border: 1px solid rgba(102,227,207,.34);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(102,227,207,.08);
  font-size: 13px;
  font-family: var(--mono);
}
.loop-note { max-width: 880px; margin: 14px auto 0; text-align: center; }
.team-loop-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, .78fr);
  gap: 14px;
  padding: 22px;
}
.team-loop-card, .role-lane {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7,10,15,.82);
  padding: 18px;
}
.team-loop-card.accent {
  border-color: rgba(102,227,207,.48);
  background: linear-gradient(180deg, rgba(102,227,207,.12), rgba(7,10,15,.86));
}
.loop-mini {
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto 1fr auto;
  gap:8px;
  align-items:center;
  margin-top:16px;
}
.loop-mini b {
  color:#e6edf6;
  font-size:12px;
  font-family:var(--mono);
}
.loop-mini i {
  height:1px;
  background:linear-gradient(90deg, var(--brand), var(--brand-2));
}
.role-lane {
  grid-row: 1 / span 2;
  grid-column: 3;
  display:grid;
  gap:10px;
}
.role-lane h3 { margin-bottom:4px; }
.role-lane div {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:12px;
}
.role-lane span {
  display:block;
  color:var(--muted);
  font-family:var(--mono);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing: 0;
}
.role-lane b { display:block; margin-top:6px; color:#e6edf6; font-size:13px; line-height:1.35; }

.thesis-panel { padding:24px; display:grid; gap:16px; }
.thesis-row {
  display:grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.thesis-row:last-child { border-bottom:0; }
.thesis-row span { color:var(--muted); font-family:var(--mono); font-size:12px; text-transform:uppercase; letter-spacing: 0; }
.thesis-row b { display:block; margin-bottom:5px; font-size:18px; }
.pain-card { min-height:210px; background:linear-gradient(180deg, rgba(30,23,27,.9), rgba(12,13,18,.94)); }
.pain-card > span { color:var(--red); }
.proof-card { min-height:210px; }
.chain-card { position:relative; overflow:hidden; min-height:220px; }
.chain-card::after {
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
  height:1px;
  background:linear-gradient(90deg, var(--brand), var(--brand-2), var(--amber));
  opacity:.65;
}
.mini-console { padding:18px; font-family:var(--mono); font-size:13px; color:#cbd7e5; }
.mini-console div { display:grid; grid-template-columns:110px 1fr; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.mini-console div:last-child { border-bottom:0; }
.mini-console span { color:var(--muted); }
.story-panel { display:grid; gap:14px; }
.story-panel header { display:flex; justify-content:space-between; gap:12px; align-items:center; border-bottom:1px solid var(--line); padding-bottom:12px; }
.story-panel ol { margin:0; padding-left:20px; color:#d8e2ee; }
.story-panel li { margin:8px 0; }

.edition-switch { border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:10px; box-shadow:var(--shadow-sm); }
.tab-list { display:flex; gap:8px; margin-bottom:10px; }
.tab { flex:1; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.035); color:var(--muted); padding:10px; cursor:pointer; }
.tab.active { color:var(--text); border-color:rgba(102,227,207,.55); background:rgba(102,227,207,.08); }
.tab-panel { display:none; }
.tab-panel.active { display:block; }
.tab-panel img { width:100%; aspect-ratio:16/10; object-fit:contain; object-position:left top; border-radius:6px; border:1px solid var(--line); background:#080b10; }
.tab-panel h3 { margin-top:16px; }
.matrix-table { padding:8px; overflow-x:auto; }
table { width:100%; border-collapse:collapse; min-width:720px; }
th, td { padding:16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { width:20%; color:var(--brand); }
td { color:#d7dfeb; }
.evidence-panel { padding:20px; }
.evidence-panel div { display:grid; grid-template-columns:150px 1fr; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); }
.evidence-panel span { color:var(--muted); }
.evidence-panel b { font-weight:720; }
.product-evidence-card.warning { border-color:rgba(244,199,109,.32); }
.cta-panel {
  width:min(calc(100% - 36px), 1168px);
  margin:34px auto 78px;
  padding:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  border:1px solid rgba(102,227,207,.26);
  border-radius:var(--radius);
  background:linear-gradient(120deg, rgba(102,227,207,.1), rgba(130,169,255,.08), rgba(255,255,255,.03));
}
.cta-panel h2 { font-size:clamp(27px, 3.2vw, 42px); }
.control-plane, .security-stack, .pricing-mini { padding:18px; display:grid; gap:10px; }
.control-plane div, .security-stack span, .pricing-mini b { border:1px solid var(--line); background:rgba(255,255,255,.035); border-radius:var(--radius); padding:14px; }
.preview-console, .release-card, .request-panel, .report-preview { padding:24px; min-height:220px; display:grid; align-content:center; gap:12px; }
.report-preview pre, .report-card pre { white-space:pre-wrap; background:#05070b; border:1px solid var(--line); border-radius:var(--radius); padding:16px; color:#d8e0eb; }
.severity { display:inline-flex; width:max-content; border-radius:999px; border:1px solid rgba(255,123,141,.38); color:#ffc7cf; background:rgba(255,123,141,.1); padding:5px 8px; text-transform:uppercase; font-size:11px; font-weight:850; }
.price-card.featured { border-color:rgba(102,227,207,.42); box-shadow:var(--shadow); }
.price { font-size:28px; color:var(--text); font-weight:850; }
.price small { display:block; color:var(--muted); font-size:13px; font-weight:600; }
.lead-form { max-width:960px; margin:0 auto; padding:22px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; }
.lead-form label, .checkout-dialog label { display:grid; gap:8px; color:#dce5ef; font-weight:720; }
input, select, textarea { width:100%; border:1px solid var(--line-strong); background:#080b10; color:var(--text); border-radius:var(--radius); padding:12px; }
.wide { grid-column:1 / -1; }
.checkline { display:flex !important; align-items:flex-start; gap:10px !important; color:var(--muted) !important; font-weight:500 !important; }
.checkline input { width:auto !important; margin-top:5px; }
.form-status { color:var(--brand); }
.legal-doc { max-width:980px; margin:0 auto 70px; padding:34px; }
.report-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:18px; align-items:start; }
.report-card, .report-sidebar { padding:24px; }

.footer { position:relative; border-top:1px solid var(--line); padding:54px clamp(18px,6vw,88px); background:#07090d; }
.footer-grid { width:min(100%, 1168px); margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:28px; }
.footer p, .footer a { color:var(--muted); }
.footer h4 { margin:0 0 12px; }
.footer a { display:block; margin:8px 0; }
.footer a:hover { color:var(--text); }
.footer-bottom { width:min(100%, 1168px); margin:34px auto 0; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:18px; color:var(--muted); font-size:13px; }

.checkout-dialog { border:0; background:transparent; color:var(--text); padding:0; }
.checkout-dialog::backdrop { background:rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.dialog-card { width:min(540px, calc(100vw - 28px)); padding:24px; position:relative; border:1px solid var(--line-strong); background:linear-gradient(180deg, #141922, #080a0f); border-radius:var(--radius); box-shadow:var(--shadow); }
.dialog-card h2 { font-size:30px; }
.dialog-close { position:absolute; right:14px; top:10px; border:0; color:var(--muted); background:transparent; font-size:28px; cursor:pointer; }
.dialog-actions { display:flex; gap:10px; margin-top:16px; }
.microcopy, .muted { color:var(--muted); }
.center { text-align:center; }
.toast { position:fixed; right:18px; bottom:18px; z-index:100; max-width:420px; border:1px solid var(--line-strong); border-radius:var(--radius); background:#111720; color:var(--text); padding:14px 16px; box-shadow:var(--shadow); }
.image-lightbox { width:min(1200px, calc(100vw - 32px)); max-height:calc(100vh - 32px); border:1px solid var(--line-strong); border-radius:var(--radius); background:#050609; color:var(--text); padding:0; }
.image-lightbox::backdrop { background:rgba(0,0,0,.78); }
.image-lightbox figure { margin:0; padding:16px; }
.image-lightbox img { width:100%; max-height:calc(100vh - 118px); object-fit:contain; border-radius:6px; background:#020304; }
.image-lightbox figcaption { color:var(--muted); padding-top:10px; }
[data-zoomable="true"] { cursor:zoom-in; }
[data-animate] { opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .5s ease; }
[data-animate].is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
  [data-animate] { opacity:1; transform:none; }
}
@media (max-width: 1120px) {
  .hero, .split, .feature-row, .feature-row.reverse, .compact-visual-hero { grid-template-columns:1fr; min-height:auto; }
  .proof-grid, .product-grid.three, .pricing-grid, .download-grid, .pain-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .workflow { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .flow-detail { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .report-layout { grid-template-columns:1fr; }
  .cta-panel { display:block; }
}
@media (max-width: 760px) {
  body, main { width:100vw; max-width:100vw; overflow-x:hidden; }
  .site-header { gap:10px; width:100vw; max-width:100vw; overflow:hidden; padding-left:18px; padding-right:18px; }
  .brand span { display:none; }
  .site-nav { display:none; position:absolute; left:12px; right:12px; top:66px; flex-direction:column; align-items:stretch; margin:0; padding:10px; border:1px solid var(--line); border-radius:var(--radius); background:#080b10; }
  .site-nav.open { display:flex; }
  .nav-toggle { display:block; margin-left:auto; flex:0 0 auto; }
  .nav-actions { flex:0 0 auto; }
  .ghost-link, .nav-actions .button.small { display:none; }
  .hero, .section { width:100vw; max-width:100vw; min-width:0; padding-left:18px; padding-right:18px; overflow:hidden; }
  .hero { display:block; }
  .home-hero, .product-hero { padding-top:56px; }
  .hero-copy, .screen-frame, .console-showcase, .edition-switch, .evidence-panel, .thesis-panel { width:calc(100vw - 36px); max-width:calc(100vw - 36px); min-width:0; }
  h1, .product-hero h1 { max-width:100%; font-size:32px; line-height:1.1; }
  h2 { font-size:27px; }
  .lead { max-width:100%; font-size:16px; }
  .hero-actions .button, .cta-actions .button, .hero-actions button, .cta-actions button { width:100%; }
  .metric-strip, .proof-grid, .product-grid.three, .edition-grid, .pricing-grid, .download-grid, .gallery-grid, .three-loops, .workflow, .lead-form, .pain-grid, .proof-grid-two, .chain-grid, .narrative-grid { grid-template-columns:1fr; }
  .flow-detail { width:calc(100vw - 36px); max-width:calc(100vw - 36px); padding:16px; }
  .hero-shot { margin-top:24px; }
  .screen-frame img { aspect-ratio:16 / 11; }
  .thesis-row, .evidence-panel div, .mini-console div { grid-template-columns:1fr; gap:3px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { display:block; }
  .dialog-actions { display:grid; }
  .cta-panel { margin-left:18px; margin-right:18px; padding:24px; width:calc(100vw - 36px); max-width:calc(100vw - 36px); }
  .tab-list { flex-direction:column; }
}

@media (max-width: 980px) {
  .loop-diagram { grid-template-columns: 1fr; }
  .loop-diagram::before { display: none; }
  .loop-node::after {
    content: "v";
    right: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(50%);
  }
  .team-loop-map { grid-template-columns: 1fr; }
  .role-lane { grid-row: auto; grid-column: auto; }
}

@media (max-width: 620px) {
  .loop-diagram, .team-loop-map { padding: 14px; }
  .loop-node, .team-loop-card, .role-lane { padding: 14px; }
  .loop-mini { grid-template-columns: 1fr; gap: 6px; }
  .loop-mini i { width: 1px; height: 14px; justify-self: center; }
}

/* Team SCA showcase */
.sca-showcase {
  border: 1px solid rgba(99, 116, 145, 0.18);
  border-radius: 30px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 197, 94, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(248, 251, 255, 0.96), rgba(241, 246, 252, 0.92));
  box-shadow: 0 30px 80px rgba(18, 32, 51, 0.08);
}

.sca-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.sca-metrics article,
.sca-flow-strip div {
  border: 1px solid rgba(99, 116, 145, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.sca-metrics span {
  display: block;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
}

.sca-metrics b,
.sca-flow-strip b {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.sca-flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.5rem;
}

.sca-flow-strip p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.sca-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sca-shot-wide {
  grid-column: 1 / -1;
}

.sca-shot img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top left;
}

.sca-shot-wide img {
  max-height: 760px;
}

@media (max-width: 980px) {
  .sca-metrics,
  .sca-flow-strip,
  .sca-evidence-grid {
    grid-template-columns: 1fr;
  }

  .sca-shot-wide {
    grid-column: auto;
  }
}

.sca-focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.sca-focus-layout .sca-shot img {
  max-height: 620px;
}

.sca-support-cards {
  display: grid;
  gap: 0.85rem;
}

.sca-support-cards article {
  border: 1px solid rgba(99, 116, 145, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
}

.sca-support-cards span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sca-support-cards h3 {
  margin: 0.35rem 0 0.45rem;
}

.sca-support-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .sca-focus-layout {
    grid-template-columns: 1fr;
  }
}

/* Code Hunter Personal and Team preview refresh */
.preview-hero,
.team-hero-v4,
.personal-hero-v4 {
  align-items: center;
}

.team-hero-v4 .hero-copy,
.personal-hero-v4 .hero-copy {
  max-width: 820px;
}

.product-badges,
.loop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.product-badges span,
.loop-badges span {
  border: 1px solid rgba(102, 227, 207, .28);
  background: rgba(102, 227, 207, .08);
  color: #d9fffa;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 750;
}

.hero-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.hero-outcomes div,
.value-list div,
.outcome-ribbon,
.personal-preview-card,
.product-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,33,.9), rgba(9,12,17,.94));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-outcomes div,
.value-list div,
.outcome-ribbon,
.product-card {
  padding: 18px;
}

.hero-outcomes b,
.value-list b,
.visual-caption b,
.personal-preview-card h3,
.outcome-ribbon b {
  display: block;
  color: var(--text);
}

.hero-outcomes span,
.value-list span,
.visual-caption span,
.personal-preview-card p,
.product-card p,
.closed-loop-nav em {
  color: var(--muted);
}

.loop-gallery {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,33,.92), rgba(6,8,12,.96));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 14px;
  overflow: hidden;
}

.hero-gallery,
.home-showreel {
  min-height: 520px;
}

.loop-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.carousel-controls button:hover {
  border-color: rgba(102,227,207,.48);
  background: rgba(102,227,207,.1);
}

.carousel-stage {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #020407;
  min-height: 420px;
}

.carousel-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(.992);
  will-change: opacity, transform;
}

.carousel-slide.active {
  position: relative;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.carousel-slide.exiting {
  position: absolute;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

[data-carousel].is-transitioning .carousel-slide.active {
  animation: carouselEnterNext var(--carousel-transition-duration, 760ms) cubic-bezier(.22, 1, .36, 1) both;
}

[data-carousel].is-transitioning .carousel-slide.exiting {
  animation: carouselExitNext var(--carousel-transition-duration, 760ms) cubic-bezier(.22, 1, .36, 1) both;
}

[data-carousel][data-carousel-direction="prev"].is-transitioning .carousel-slide.active {
  animation-name: carouselEnterPrev;
}

[data-carousel][data-carousel-direction="prev"].is-transitioning .carousel-slide.exiting {
  animation-name: carouselExitPrev;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1680 / 1096;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  background: #020407;
}

.hero-gallery .carousel-slide img,
.home-showreel .carousel-slide img {
  min-height: 470px;
}

.carousel-slide figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(4,7,12,.78), rgba(4,7,12,.94));
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.32);
}

.carousel-slide figcaption b {
  white-space: nowrap;
  color: #ecfffc;
}

.carousel-slide figcaption span {
  color: #bdc9d9;
  font-size: 14px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 12px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(156,168,183,.52);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  width: 26px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

@keyframes carouselEnterNext {
  from { opacity: 0; transform: translateX(22px) scale(.992); filter: blur(1px); }
  to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

@keyframes carouselExitNext {
  from { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translateX(-18px) scale(.994); filter: blur(1px); }
}

@keyframes carouselEnterPrev {
  from { opacity: 0; transform: translateX(-22px) scale(.992); filter: blur(1px); }
  to { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

@keyframes carouselExitPrev {
  from { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translateX(18px) scale(.994); filter: blur(1px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-carousel].is-transitioning .carousel-slide.active,
  [data-carousel].is-transitioning .carousel-slide.exiting {
    animation: none;
  }
}

.closed-loop-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.closed-loop-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, rgba(20,25,33,.86), rgba(9,12,17,.92));
  min-height: 112px;
}

.closed-loop-nav strong {
  display: block;
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 10px;
}

.closed-loop-nav span {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.closed-loop-nav em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
}

.team-loop {
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(520px, 1.28fr);
  gap: 38px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.team-loop.reverse {
  grid-template-columns: minmax(520px, 1.25fr) minmax(330px, .75fr);
}

.loop-copy h2,
.commercial-stack h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.value-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.outcome-ribbon {
  margin-top: 18px;
  border-color: rgba(102,227,207,.28);
  background: linear-gradient(135deg, rgba(102,227,207,.12), rgba(130,169,255,.08));
}

.outcome-ribbon span,
.personal-preview-card > div > span {
  display: block;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-grid.four,
.team-value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  min-height: 300px;
}

.personal-product-visual {
  position: relative;
  min-height: 560px;
}

.visual-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,33,.92), rgba(9,12,17,.96));
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0;
}

.visual-card img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 1680 / 1050;
  object-fit: contain;
  object-position: center top;
  background: #020407;
}

.primary-shot {
  width: 94%;
  margin-left: auto;
}

.floating-shot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  box-shadow: 0 28px 70px rgba(0,0,0,.46);
}

.visual-caption {
  padding: 14px 4px 4px;
}

.personal-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.personal-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.personal-preview-card figure {
  margin: 0;
}

.personal-preview-card img {
  width: 100%;
  aspect-ratio: 1680 / 1050;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  background: #020407;
}

.personal-report-section {
  align-items: center;
}

/* Code Hunter docs */
.docs-hero {
  align-items: center;
}

.docs-hero .hero-copy {
  max-width: 760px;
}

.docs-hero-shot img {
  aspect-ratio: 1680 / 1096;
}

.docs-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.docs-quick-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--soft);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 760;
}

.docs-quick-links a:hover {
  border-color: rgba(102,227,207,.42);
  color: var(--text);
  background: rgba(102,227,207,.08);
}

.docs-flow,
.docs-library,
.docs-proof-grid {
  display: grid;
  gap: 16px;
}

.docs-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-flow div,
.docs-card,
.docs-proof-grid figure {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,25,33,.9), rgba(9,12,17,.94));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.docs-flow div,
.docs-card {
  padding: 22px;
}

.docs-flow span,
.docs-card > span {
  display: block;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.docs-flow b {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.docs-flow p,
.docs-card p,
.docs-proof-grid figcaption span {
  color: var(--muted);
}

.docs-library {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.docs-card.primary {
  border-color: rgba(102,227,207,.4);
  background: linear-gradient(180deg, rgba(102,227,207,.1), rgba(9,12,17,.96));
}

.docs-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 820;
}

.docs-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-proof-grid figure {
  margin: 0;
  padding: 12px;
  overflow: hidden;
}

.docs-proof-grid img {
  width: 100%;
  aspect-ratio: 1680 / 1050;
  object-fit: contain;
  object-position: center top;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: #020407;
}

.docs-proof-grid figcaption {
  padding: 12px 2px 2px;
}

.docs-proof-grid figcaption b,
.docs-proof-grid figcaption span {
  display: block;
}

.docs-cta {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .team-loop,
  .team-loop.reverse,
  .personal-preview-card {
    grid-template-columns: 1fr;
  }
  .closed-loop-nav,
  .product-grid.four,
  .team-value-grid,
  .personal-preview-grid,
  .docs-library {
    grid-template-columns: 1fr 1fr;
  }
  .hero-gallery,
  .home-showreel,
  .carousel-stage,
  .personal-product-visual {
    min-height: auto;
  }
  .hero-gallery .carousel-slide img,
  .home-showreel .carousel-slide img {
    min-height: 0;
  }
  .primary-shot {
    width: 100%;
  }
  .floating-shot {
    position: relative;
    width: 78%;
    margin-top: -30px;
  }
}

@media (max-width: 760px) {
  .hero-outcomes,
  .closed-loop-nav,
  .product-grid.four,
  .team-value-grid,
  .personal-preview-grid,
  .docs-flow,
  .docs-library,
  .docs-proof-grid {
    grid-template-columns: 1fr;
  }
  .carousel-slide figcaption {
    position: static;
    margin-top: 10px;
    display: block;
  }
  .carousel-slide figcaption b {
    display: block;
    margin-bottom: 4px;
    white-space: normal;
  }
  .loop-gallery {
    padding: 10px;
  }
  .floating-shot {
    width: 100%;
    margin-top: 12px;
  }
}

/* Arvanta light SaaS refresh 2026-05-25 */
:root {
  color-scheme: light;
  --bg: #f7fafc;
  --bg-2: #eef4f8;
  --surface: rgba(255,255,255,.94);
  --surface-2: #ffffff;
  --surface-3: #eef4f8;
  --text: #16202a;
  --muted: #637083;
  --soft: #344255;
  --line: rgba(42, 57, 78, .13);
  --line-strong: rgba(42, 57, 78, .22);
  --brand: #19c6ae;
  --brand-2: #1769e8;
  --amber: #b7791f;
  --red: #d43f5e;
  --green: #178a58;
  --ink: #101820;
  --radius: 8px;
  --shadow-sm: 0 12px 36px rgba(32, 48, 71, .09);
  --shadow: 0 28px 80px rgba(32, 48, 71, .14);
}
html { background: var(--bg); overflow-x: hidden; }
body { background: linear-gradient(180deg, #ffffff 0%, #f7fafc 620px, #eef4f8 100%); color: var(--text); overflow-x: hidden; font-size: 16px; line-height: 1.62; }
body::before { display: none; }
.site-header { min-height: 72px; border-bottom-color: var(--line); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.brand, .footer-brand { color: var(--text); }
.nav-link, .ghost-link, .lang-toggle { color: var(--muted); font-weight: 700; }
.nav-link:hover, .nav-link.active, .ghost-link:hover, .lang-toggle:hover { color: var(--text); background: rgba(23,105,232,.06); border-color: var(--line); }
.nav-actions { gap: 10px; }
.button { min-height: 44px; border-color: rgba(25,198,174,.42); background: #19c6ae; color: #061815; box-shadow: 0 14px 28px rgba(25,198,174,.18); }
.button:hover { box-shadow: 0 16px 34px rgba(25,198,174,.24); }
.button.secondary { background: #ffffff; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.card a.button, .product-card a.button, .price-card a.button { color: #061815; }
.card a.button.secondary, .product-card a.button.secondary, .price-card a.button.secondary { color: var(--text); }
.nav-request { background: #172033; color: #fff; border-color: #172033; box-shadow: none; }
.hero, .section { width: min(100%, 1180px); padding: 76px 24px; }
.hero { grid-template-columns: minmax(0,.92fr) minmax(380px,1.08fr); gap: 56px; min-height: auto; }
.home-hero, .product-hero { padding-top: 92px; padding-bottom: 58px; }
.compact-hero { grid-template-columns: minmax(0,880px); }
.compact-visual-hero { grid-template-columns: minmax(0,.95fr) minmax(320px,.75fr); }
.hero-copy { max-width: 640px; }
  .eyebrow { color: var(--brand-2); font-size: 12px; letter-spacing: 0; }
h1, h2, h3 { color: var(--text); letter-spacing: 0; text-wrap: balance; }
h1 { font-size: 58px; line-height: 1.02; font-weight: 760; }
.product-hero h1 { font-size: 52px; line-height: 1.04; }
h2 { font-size: 38px; line-height: 1.1; font-weight: 740; }
h3 { font-size: 23px; line-height: 1.22; font-weight: 740; }
p, .lead { color: var(--soft); }
.lead { font-size: 19px; line-height: 1.68; }
.hero-outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.hero-outcomes > span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid rgba(23,105,232,.18); border-radius: 999px; background: rgba(23,105,232,.06); color: #174f9e; font-size: 13px; font-weight: 820; line-height: 1.2; }
.checkout-summary, .download-intro { color: var(--muted); font-size: 15px; line-height: 1.5; }
.download-intro { margin-top: 6px; }
.section-heading { max-width: 760px; }
.section-heading p { color: var(--muted); font-size: 16px; }
.screen-frame, .console-showcase, .card, .edition-card, .price-card, .download-card, .release-notes, .legal-doc, .lead-form, .report-card, .report-sidebar, .evidence-panel, .matrix-table, .product-evidence-card, .preview-console, .release-card, .request-panel, .control-plane, .security-stack, .pricing-mini, .report-preview, .thesis-panel, .pain-card, .proof-card, .chain-card, .mini-console, .story-panel, .product-browser, .portfolio-summary, .value-rail div, .value-cards article, .product-card, .lab-roadmap-visual {
  border-color: var(--line);
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.product-browser { overflow: hidden; padding: 12px; }
.product-browser img { width: 100%; max-height: 520px; object-fit: contain; object-position: center top; border: 1px solid var(--line); border-radius: 6px; background: #101820; }
.product-browser figcaption { padding: 14px 4px 2px; color: var(--muted); font-size: 14px; }
.oi-hero-visual { padding: 22px; }
.oi-hero-visual img { aspect-ratio: 1 / 1; max-height: 360px; background: #101820; }
.hero-visual { align-self: center; }
.lab-home-hero { align-items: center; }
.lab-roadmap-visual { width: min(100%, 560px); justify-self: end; padding: 22px; align-self: center; display: grid; gap: 18px; }
.lab-roadmap-head { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lab-roadmap-head img { width: 48px; height: 48px; border-radius: 8px; }
.lab-roadmap-head div { min-width: 0; }
.lab-roadmap-head b { display: block; font-size: 15px; line-height: 1.2; color: var(--text); }
.lab-roadmap-head span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.lab-roadmap-grid { display: grid; gap: 10px; }
.lab-roadmap-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 86px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); }
.lab-roadmap-item:hover { border-color: rgba(23,105,232,.24); box-shadow: 0 14px 30px rgba(32,48,71,.08); }
.lab-roadmap-item.live { border-color: rgba(25,198,174,.28); }
.lab-roadmap-item.pending { border-color: rgba(100,116,139,.2); }
.lab-roadmap-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #f3f7fb; overflow: hidden; }
.lab-roadmap-mark img { width: 42px; height: 42px; max-width: 42px; max-height: 42px; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.lab-roadmap-copy { min-width: 0; }
.lab-roadmap-copy b { display: block; color: var(--text); margin-bottom: 4px; line-height: 1.2; }
.lab-roadmap-copy span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.lab-roadmap-item small.status { justify-self: end; align-self: start; white-space: nowrap; margin: 0; }
.lab-roadmap-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.lab-roadmap-flow > span { border: 1px solid rgba(23,105,232,.18); color: #174f9e; background: rgba(23,105,232,.06); border-radius: 8px; padding: 10px 8px; text-align: center; font-weight: 760; font-size: 13px; line-height: 1.25; }
.lab-thesis { align-items: start; }
.lab-principles article { min-height: 190px; }
.logo-strip { display: grid; grid-template-columns: 1.4fr repeat(4, auto); align-items: center; gap: 18px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 22px; padding-bottom: 22px; }
.logo-strip span:not(:first-child) { font-weight: 760; color: #334155; }
.portfolio-summary { display: grid; gap: 12px; padding: 18px; }
.portfolio-summary div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.portfolio-summary div:last-child { border-bottom: 0; padding-bottom: 0; }
.portfolio-summary span { color: var(--muted); }
.portfolio-cards .card, .product-card, .edition-card, .price-card, .value-cards article { padding: 24px; }
.portfolio-cards .card img { width: 100%; height: 180px; object-fit: contain; border-radius: 6px; background: #f2f6fa; margin-bottom: 18px; border: 1px solid var(--line); }
.product-card-featured { border-color: rgba(25,198,174,.32); }
.download-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.download-card { display: grid; gap: 12px; align-content: start; }
.download-card h3 { margin: 0; }
.download-card p { margin: 0; color: var(--muted); }
.download-card small { overflow-wrap: anywhere; line-height: 1.5; }
.download-workbench { width: min(100%, 1120px); padding-top: 50px; padding-bottom: 58px; scroll-margin-top: 92px; }
.download-workbench-head { max-width: 760px; margin-bottom: 18px; }
.download-workbench-head h2 { margin-bottom: 10px; }
.download-workbench-head p { margin: 0; color: var(--muted); }
.download-control-bar { display: grid; grid-template-columns: minmax(0, 640px) auto; gap: 12px; align-items: center; margin-bottom: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.82); box-shadow: 0 16px 45px rgba(32,48,71,.08); }
.download-edition-switch { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4px; border: 1px solid rgba(42,57,78,.09); border-radius: 8px; background: #eef4f8; }
.download-edition-option { min-width: 0; min-height: 58px; display: grid; gap: 2px; align-content: center; padding: 10px 14px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.download-edition-option b { color: var(--text); font-size: 17px; line-height: 1.15; }
.download-edition-option span { font-size: 13px; line-height: 1.35; }
.download-edition-option.active, .download-edition-option[aria-pressed="true"] { background: #172033; border-color: #172033; color: #cbd5e1; box-shadow: 0 12px 24px rgba(16,24,39,.16); }
.download-edition-option.active b, .download-edition-option[aria-pressed="true"] b { color: #fff; }
.download-edition-note { justify-self: end; min-height: 48px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 9px 14px; border: 1px solid rgba(25,198,174,.22); border-radius: 8px; background: rgba(25,198,174,.08); color: var(--muted); }
.download-edition-note::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(25,198,174,.14); }
.download-edition-note span { font-size: 12px; font-weight: 820; text-transform: uppercase; }
.download-edition-note b { color: var(--text); font-size: 15px; }
.download-version-inline { color: var(--muted); font-size: 13px; font-weight: 760; text-transform: none; }
.platform-download-grid { width: 100%; margin: 0; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 16px; }
.platform-download-card { position: relative; min-height: 0; padding: 22px; overflow: hidden; border-color: rgba(42,57,78,.12); background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,253,.94)); box-shadow: 0 16px 44px rgba(32,48,71,.09); }
.platform-download-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.platform-download-head { display: flex; align-items: center; gap: 12px; }
.platform-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(25,198,174,.22); border-radius: 8px; background: linear-gradient(180deg, rgba(25,198,174,.12), rgba(23,105,232,.06)); color: #0f766e; font-size: 13px; font-weight: 850; }
.platform-download-card .status { margin: 0 0 4px; }
.platform-download-card h3 { font-size: 28px; line-height: 1.05; }
.platform-download-card p { color: var(--soft); line-height: 1.55; }
.platform-download-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.platform-download-meta span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid rgba(42,57,78,.1); border-radius: 999px; background: #f3f7fb; color: #334155; font-size: 12px; font-weight: 820; }
.platform-download-card .button { align-self: end; min-height: 46px; justify-content: center; padding: 0 16px; border-radius: 8px; box-shadow: 0 12px 24px rgba(25,198,174,.16); font-size: 15px; line-height: 1.2; text-align: center; }
.platform-download-card .button.secondary { box-shadow: none; }
.macos-download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.download-card-note { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.value-cards article { min-height: 210px; }
.value-cards article span, .product-card span { color: var(--brand-2); font-family: var(--mono); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.value-cards article p, .product-card p, .card p, .edition-card p, .price-card li { color: var(--muted); }
.value-rail { display: grid; gap: 12px; }
.value-rail div { padding: 18px; }
.value-rail b { display: block; color: var(--text); margin-bottom: 6px; }
.value-rail span { color: var(--muted); }
.personal-workflow-carousel { max-width: 1220px; margin: 0 auto; padding: 18px; }
.personal-workflow-carousel .carousel-stage { min-height: 500px; background: transparent; }
.personal-workflow-carousel .carousel-slide { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(280px, .52fr); gap: 30px; align-items: center; padding: 12px; }
.personal-workflow-carousel .carousel-slide img { aspect-ratio: 1680 / 1050; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(16,24,32,.16); }
.personal-workflow-carousel .carousel-slide figcaption { position: static; display: grid; gap: 12px; align-content: center; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.personal-workflow-carousel .carousel-slide figcaption b { color: var(--text); font-size: clamp(28px, 3vw, 42px); line-height: 1.08; white-space: normal; }
.personal-workflow-carousel .carousel-slide figcaption span { color: var(--muted); font-size: 18px; line-height: 1.65; }
.personal-workflow-carousel .carousel-slide figcaption .personal-slide-kicker { color: var(--brand); font-family: var(--mono); font-size: 13px; font-weight: 850; }
  .eyebrow, .status, .pill, .loop-gallery-head, .flow-detail-eyebrow, .value-cards article span, .product-card span { letter-spacing: 0; }
  .status, .pill { border-radius: 999px; }
.status.live { color: #0f7a52; background: rgba(25,198,174,.1); border-color: rgba(25,198,174,.28); }
.status.preview { color: #755512; background: rgba(183,121,31,.1); border-color: rgba(183,121,31,.26); }
.status.pending { color: #475569; background: rgba(100,116,139,.1); border-color: rgba(100,116,139,.25); }
.edition-card.highlighted, .price-card.featured { border-color: rgba(25,198,174,.34); box-shadow: var(--shadow); }
.two-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-billing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.price-billing div { display: grid; gap: 2px; min-height: 78px; align-content: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(25,198,174,.07); }
.price-billing strong { color: var(--text); font-size: 30px; line-height: 1.05; font-weight: 850; }
.price-billing span { color: var(--muted); font-size: 13px; font-weight: 760; }
.trial-note { margin: 4px 0 16px; color: var(--soft); font-weight: 740; }
.price-options { display: grid; gap: 10px; margin: 18px 0 10px; }
.price-options .button { justify-content: center; text-align: center; }
.personal-product-visual { min-height: 520px; }
.visual-card, .personal-preview-card, .loop-gallery { background: #fff; border-color: var(--line); border-radius: 8px; box-shadow: var(--shadow-sm); }
.visual-card img, .personal-preview-card img { background: #101820; border-color: var(--line); }
.loop-gallery { box-shadow: var(--shadow); }
.carousel-stage { background: #101820; min-height: 400px; }
.carousel-slide img { background: #101820; }
.carousel-slide figcaption { background: rgba(255,255,255,.94); border-color: var(--line); box-shadow: 0 14px 34px rgba(16,24,32,.14); }
.carousel-slide figcaption b { color: var(--text); }
.carousel-slide figcaption span { color: var(--soft); }
.product-badges span, .loop-badges span { color: #0d5f55; background: rgba(25,198,174,.12); border-color: rgba(25,198,174,.32); }
.closed-loop-nav a { background: #fff; }
.cta-panel { width: min(calc(100% - 48px), 1132px); margin: 22px auto 76px; border-color: rgba(23,105,232,.16); background: linear-gradient(120deg, #ffffff, #eef7ff); border-radius: 8px; box-shadow: var(--shadow-sm); }
.footer { background: #101820; color: #dbe6f0; }
.footer p, .footer a, .footer-bottom { color: #aebdca; }
.footer h4, .footer .footer-brand { color: #fff; }
.dialog-card { background: #fff; color: var(--text); border-radius: 8px; }
input, select, textarea { background: #fff; color: var(--text); border-color: var(--line-strong); }
.toast { background: #fff; color: var(--text); }
.nav-dropdown-menu { border-radius: 8px; background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(32,48,71,.16); }
.nav-dropdown-menu a { border-radius: 8px; color: var(--text); }
.nav-dropdown-menu a:hover { background: rgba(23,105,232,.06); }
.nav-dropdown-menu strong { color: var(--text); }
.nav-dropdown-menu span { color: var(--muted); }
[data-animate] { opacity: 1; transform: none; }
html.js [data-animate] { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
html.js [data-animate].is-visible { opacity: 1; transform: none; }
@media (max-width: 1120px) {
  .hero, .split, .feature-row, .feature-row.reverse, .compact-visual-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
}
@media (max-width: 760px) {
  body, main { width: 100%; max-width: 100%; overflow-x: hidden; }
  .site-header { width: 100%; max-width: 100%; overflow: visible; padding: 12px 16px; }
  .brand span { display: none; }
  .site-nav { left: 12px; right: 12px; top: 64px; background: #fff; border-radius: 8px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-actions .nav-request { display: none; }
  .hero, .section { width: 100%; max-width: 100%; min-width: 0; padding: 54px 18px; overflow: hidden; }
  .hero { display: block; }
  .home-hero, .product-hero { padding-top: 54px; }
  .hero-copy, .screen-frame, .console-showcase, .edition-switch, .evidence-panel, .thesis-panel, .product-browser, .lab-roadmap-visual { width: 100%; max-width: 100%; min-width: 0; }
  h1, .product-hero h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  .lead { font-size: 16px; }
  .hero-actions .button, .cta-actions .button, .hero-actions button, .cta-actions button, .hero-actions a, .cta-actions a { width: 100%; }
  .metric-strip, .proof-grid, .product-grid.three, .edition-grid, .pricing-grid, .price-billing, .download-grid, .platform-download-grid, .download-edition-switch, .macos-download-options, .gallery-grid, .three-loops, .workflow, .lead-form, .pain-grid, .proof-grid-two, .chain-grid, .narrative-grid, .product-grid.four, .team-value-grid, .personal-preview-grid, .hero-outcomes { grid-template-columns: 1fr; }
  .pricing-grid { width: 100%; max-width: calc(100vw - 36px); margin-left: auto; margin-right: auto; }
  .price-card { width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
  .price-card, .price-card * { min-width: 0; }
  .price-card h3, .price-card p, .price-card li, .price-card .trial-note, .price-card .button { overflow-wrap: anywhere; }
  .download-control-bar { grid-template-columns: 1fr; }
  .download-edition-note { justify-self: stretch; }
  .platform-download-card { padding: 20px; }
  .platform-download-card h3 { font-size: 25px; }
  .logo-strip { grid-template-columns: 1fr 1fr; }
  .lab-roadmap-visual { margin-top: 24px; padding: 14px; }
  .lab-roadmap-item { grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; min-height: 0; padding: 12px; }
  .lab-roadmap-mark { width: 48px; height: 48px; }
  .lab-roadmap-mark img { width: 34px; height: 34px; max-width: 34px; max-height: 34px; }
  .lab-roadmap-item small.status { justify-self: end; align-self: start; font-size: 10px; padding: 5px 8px; }
  .lab-roadmap-flow { grid-template-columns: 1fr 1fr; }
  .product-browser { margin-top: 24px; margin-left: 0; margin-right: 0; }
  .product-browser img, .screen-frame img { aspect-ratio: 16 / 11; max-height: none; }
  .oi-hero-visual img { aspect-ratio: 1 / 1; max-height: 260px; }
  .personal-product-visual { min-height: auto; margin-top: 24px; }
  .primary-shot { width: 100%; }
  .floating-shot { position: relative; width: 100%; margin-top: 12px; }
  .personal-preview-card { grid-template-columns: 1fr; }
  .personal-workflow-carousel { padding: 12px; }
  .personal-workflow-carousel .carousel-slide { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .personal-workflow-carousel .carousel-slide figcaption b { font-size: 26px; }
  .personal-workflow-carousel .carousel-slide figcaption span { font-size: 16px; }
  .carousel-stage { min-height: auto; }
  .carousel-slide figcaption { position: static; margin-top: 10px; display: block; }
  .cta-panel { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; padding: 24px; }
}



/* Team closed-loop product system v5 */
.team-hero-v5 {
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
}
.team-hero-v5 .hero-copy { max-width: 650px; }
.team-hero-gallery { min-height: 0; }
.team-hero-gallery .carousel-stage { aspect-ratio: 1680 / 1096; min-height: 0; }
.team-hero-gallery .carousel-slide img { min-height: 0; height: 100%; object-fit: cover; object-position: left top; }
.team-system-intro { padding-top: 28px; }
.team-operating-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.team-operating-grid article,
.team-loop-proof,
.team-capability-grid .product-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,252,.92));
  box-shadow: var(--shadow-sm);
}
.team-operating-grid article { padding: 18px; min-height: 188px; }
.team-operating-grid span,
.team-loop-list li::before,
.team-capability-grid .product-card span { color: var(--brand-2); }
.team-operating-grid span,
.team-capability-grid .product-card span {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}
.team-operating-grid b { display: block; color: var(--text); font-size: 19px; line-height: 1.2; margin-bottom: 8px; }
.team-operating-grid p { color: var(--muted); font-size: 14px; line-height: 1.58; }
.team-loop-stack { display: grid; gap: 4px; }
.team-loop-section { padding-top: 58px; padding-bottom: 58px; }
.team-loop-row {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
}
.team-loop-copy { max-width: 560px; }
.team-loop-copy h2 { max-width: 620px; }
.team-loop-copy .lead { color: var(--soft); font-size: 18px; line-height: 1.7; }
.team-loop-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 24px 0 18px;
}
.team-loop-list li {
  position: relative;
  padding-left: 26px;
  color: var(--soft);
  font-weight: 690;
  line-height: 1.55;
}
.team-loop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.team-loop-proof { padding: 14px 16px; }
.team-loop-proof span { color: #174f9e; font-size: 14px; font-weight: 820; line-height: 1.45; }
.team-loop-carousel {
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border-color: rgba(42,57,78,.16);
  box-shadow: 0 26px 72px rgba(32,48,71,.16);
}
.team-loop-carousel .loop-gallery-head,
.team-hero-gallery .loop-gallery-head { padding: 4px 4px 10px; }
.team-loop-carousel .carousel-stage { aspect-ratio: 1680 / 1096; min-height: 0; background: #101820; border-radius: 8px; }
.team-loop-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1680 / 1096;
  object-fit: cover;
  object-position: left top;
  border-radius: 8px;
}
.team-loop-carousel .carousel-slide figcaption,
.team-hero-gallery .carousel-slide figcaption {
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(150px, max-content) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(16,24,32,.18);
}
.team-loop-carousel .carousel-slide figcaption b,
.team-hero-gallery .carousel-slide figcaption b { color: var(--text); white-space: normal; line-height: 1.25; }
.team-loop-carousel .carousel-slide figcaption span,
.team-hero-gallery .carousel-slide figcaption span { color: var(--muted); line-height: 1.45; }
.carousel-controls button { transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.carousel-controls button:hover { transform: translateY(-1px); }
.carousel-dots button { transition: width .18s ease, background .18s ease, opacity .18s ease; }
.team-capability-section { padding-top: 46px; }
.team-capability-grid .product-card { min-height: 216px; }
.team-capability-grid .product-card h3 { margin-top: 0; }
.team-cta-v5 { margin-top: 18px; }
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 12px; }
.price-card .check-list { margin-bottom: 6px; }
.price-card .price-options { margin-top: auto; }
.matrix-table { overflow: hidden; }
.matrix-table table { border-collapse: separate; border-spacing: 0; }
.matrix-table th, .matrix-table td { vertical-align: top; }
@media (max-width: 1120px) {
  .team-hero-v5,
  .team-loop-row { grid-template-columns: 1fr; }
  .team-loop-copy { max-width: 760px; }
  .team-operating-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .team-operating-grid { grid-template-columns: 1fr; }
  .team-loop-section { padding-top: 42px; padding-bottom: 42px; }
  .team-loop-carousel,
  .team-hero-gallery { padding: 10px; border-radius: 10px; }
  .team-loop-carousel .carousel-stage,
  .team-hero-gallery .carousel-stage { aspect-ratio: 16 / 11; }
  .team-loop-carousel .carousel-slide figcaption,
  .team-hero-gallery .carousel-slide figcaption {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 10px;
    background: #ffffff;
    box-shadow: none;
  }
  .team-loop-carousel .carousel-slide img,
  .team-hero-gallery .carousel-slide img { height: auto; min-height: 0; object-fit: contain; }
}

/* Personal agentic video loop v6 */
.section-heading.wide { max-width: 920px; }
.personal-agent-loop-section {
  width: min(100%, 1220px);
  padding-top: 56px;
  padding-bottom: 58px;
  scroll-margin-top: 92px;
}
.agent-loop-shell {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
.agent-loop-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.agent-loop-map article {
  position: relative;
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(42,57,78,.13);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,252,.94));
  box-shadow: 0 14px 38px rgba(32,48,71,.08);
  overflow: hidden;
}
.agent-loop-map article::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(25,198,174,.92), rgba(23,105,232,.82));
  opacity: .72;
}
.agent-loop-map article > span,
.agent-video-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 14px;
  border: 1px solid rgba(23,105,232,.16);
  border-radius: 999px;
  background: rgba(23,105,232,.07);
  color: #174f9e;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 860;
}
.agent-loop-map b {
  display: block;
  color: var(--text);
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.agent-loop-map p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.agent-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.agent-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(42,57,78,.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 0%, rgba(25,198,174,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,248,251,.95));
  box-shadow: 0 28px 80px rgba(32,48,71,.14);
}
.agent-video-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 174px;
}
.agent-video-copy h3 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}
.agent-video-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.66;
}
.agent-video-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #101820;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 22px 52px rgba(16,24,32,.22);
}
.agent-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  z-index: 1;
}
.agent-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 2880 / 1880;
  height: auto;
  object-fit: cover;
  object-position: left top;
  background: #101820;
}
@media (max-width: 1120px) {
  .agent-loop-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-video-grid { grid-template-columns: 1fr; }
  .agent-video-copy { min-height: 0; }
}
@media (max-width: 760px) {
  .personal-agent-loop-section { padding-top: 42px; padding-bottom: 42px; }
  .agent-loop-map { grid-template-columns: 1fr; }
  .agent-loop-map article { min-height: 0; }
  .agent-video-card { padding: 12px; border-radius: 12px; }
  .agent-video-copy { padding: 4px 4px 0; }
  .agent-video-copy h3 { font-size: 25px; }
  .agent-video-copy p { font-size: 15px; }
  .agent-video-frame { border-radius: 10px; }
}
