/* Visible.ai website — built from the Figma design "UI for visible.ai" (Marketing website). */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f7f5;
  --white: #ffffff;
  --ink: #323232;
  --ink-2: #444444;
  --muted: #777777;
  --faint: #999999;
  --on-dark-1: #bbbbbb;
  --on-dark-2: #aaaaaa;
  --line: #e8e8e6;
  --line-2: #ddddda;
  --line-3: #e0e0dd;
  --line-dark: #555555;
  --panel: #f1f1ee;
  --panel-2: #fafaf8;
  --pad: 96px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .nav :focus-visible, .footer :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1440px; margin: 0 auto; }
.section { width: 100%; }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.5; color: var(--muted); letter-spacing: 0; }
.display { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -2px; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 15px 24px; border-radius: 6px; border: 1px solid transparent;
  font: 500 14px/1.4 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn .arrow { font-weight: 400; font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #1f1f1f; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececea; }
.link { font-size: 13px; font-weight: 500; color: var(--ink); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Navigation */
.nav { background: var(--ink); color: #fff; }
.nav .wrap { height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 108px; height: 78px; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 38px; font-size: 14px; color: #fff; }
.nav-links a { opacity: .9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { padding: 63px var(--pad) 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 1440px; margin: 0 auto; }
.category { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 500; }
.category .mark { font-size: 12px; }
.category .label { font-size: 11px; letter-spacing: 1.8px; }
.hero h1 { font-size: clamp(48px, 9.2vw, 88px); line-height: 1.02; letter-spacing: -5px; color: var(--ink); }
.hero .lead { max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .small { font-size: 12px; color: var(--muted); }

/* Product preview */
.showcase { padding: 14px var(--pad) 45px; max-width: 1440px; margin: 0 auto; }
.preview {
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -6px rgba(0, 0, 0, .07);
}
.preview-bar { background: var(--panel); height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.preview-bar .dots { color: var(--faint); font-size: 14px; white-space: pre; }
.preview-bar .url { flex: 1; text-align: center; color: var(--muted); font-size: 11px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.preview-bar .tag { color: var(--muted); font-size: 9px; font-weight: 500; white-space: nowrap; }
.preview-body { display: flex; min-height: 498px; }
.side { background: var(--panel-2); width: 192px; flex: none; padding: 24px 18px; display: flex; flex-direction: column; gap: 14px; }
.side .kicker { font-size: 10px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.side .ws { font-size: 15px; font-weight: 600; color: var(--ink); }
.side hr { border: 0; height: 1px; background: var(--line); width: 100%; margin: 0; }
.side .item { padding: 11px 12px; border-radius: 4px; font-size: 12px; color: var(--muted); }
.side .item.on { background: var(--line); color: var(--ink); font-weight: 500; }
.side .status { margin-top: auto; padding-top: 40px; font-size: 10px; display: flex; flex-direction: column; gap: 7px; }
.side .status span:first-child { color: var(--ink-2); }
.side .status span:last-child { color: var(--muted); }
.main { flex: 1; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.main-head { display: flex; align-items: center; gap: 10px; }
.main-head .t { flex: 1; min-width: 0; }
.main-head h3 { font-size: 22px; font-weight: 500; color: var(--ink); }
.main-head p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.chip { background: var(--panel); color: var(--ink-2); font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 4px; white-space: nowrap; }
.chip.strong { background: var(--ink-2); color: #fff; }
.filters { display: flex; gap: 8px; align-items: center; }
.filters .note { flex: 1; text-align: right; font-size: 10px; color: var(--muted); }
.thead { display: flex; gap: 20px; padding: 10px 0; font-size: 9px; color: var(--muted); border-bottom: 1px solid var(--line); }
.thead span:nth-child(1) { width: 61px; }
.thead span:nth-child(2) { flex: 1; }
.row { display: flex; gap: 12px; align-items: center; height: 48px; }
.row .time { width: 69px; font-size: 10px; color: var(--muted); flex: none; }
.row .what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row .what b { font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .what small { font-size: 9px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail { background: var(--ink); color: #fff; width: 310px; flex: none; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.detail .k { font-size: 10px; font-weight: 500; color: var(--on-dark-1); }
.detail h4 { font-size: 25px; font-weight: 500; line-height: 1.45; }
.detail .chip { align-self: flex-start; background: var(--ink-2); color: #fff; }
.detail .h { font-size: 13px; font-weight: 500; }
.detail .p { font-size: 12px; color: var(--on-dark-1); }
.detail .f { display: flex; flex-direction: column; gap: 5px; }
.detail .f small { font-size: 9px; font-weight: 500; color: var(--on-dark-2); }
.detail .f span { font-size: 11px; }
.detail .more { font-size: 12px; font-weight: 500; }
.caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 22px; color: var(--muted); }
.caption b { font-size: 10px; font-weight: 500; }
.caption span { font-size: 12px; }

/* Statement */
.statement { padding: 42px var(--pad) 52px; display: flex; flex-direction: column; align-items: center; gap: 25px; text-align: center; max-width: 1440px; margin: 0 auto; }
.statement h2 { font-size: 20px; letter-spacing: -.5px; }
.statement ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 65px; color: var(--muted); font-size: 14px; }

/* Capabilities */
.capabilities { background: #fff; }
.capabilities .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 44px; }
.intro { display: flex; gap: 80px; align-items: flex-start; justify-content: space-between; }
.intro .title { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.intro .side-note { width: 380px; flex: none; padding-top: 41px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.45; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 22px; min-height: 382px; }
.card .art { height: 153px; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.card .art .r { background: #fff; border-radius: 4px; padding: 10px 12px; display: flex; gap: 12px; font-size: 10px; }
.card .art .r span:first-child { flex: 1; color: var(--muted); }
.card .art .r span:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.card .steps { height: 153px; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.card .steps .s { display: flex; gap: 13px; padding: 7px 0; font-size: 11px; }
.card .steps .s span:first-child { color: var(--faint); }
.card .steps .s span:last-child { color: var(--ink-2); font-weight: 500; }
.card .steps hr { border: 0; height: 1px; background: var(--line-2); margin: 0; }
.card .dark-art { background: var(--ink); color: #fff; border-radius: 6px; height: 153px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.card .dark-art small { font-size: 9px; font-weight: 500; color: var(--on-dark-1); }
.card .dark-art b { font-size: 12px; font-weight: 500; }
.card .dark-art span { font-size: 12px; }
.card .dark-art em { font-style: normal; font-size: 9px; color: var(--on-dark-2); }
.card h3 { font-size: 24px; font-weight: 500; letter-spacing: -.7px; margin-bottom: 12px; }
.card p.d { font-size: 14px; color: var(--muted); }
.card .idx { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.card .idx span:first-child { font-size: 10px; color: var(--faint); }
.card .idx span:last-child { font-size: 18px; color: var(--ink-2); }

/* How it works */
.how { background: var(--ink); color: #fff; }
.how .wrap { padding-top: 76px; padding-bottom: 76px; display: flex; flex-direction: column; gap: 44px; }
.how .eyebrow { color: var(--on-dark-1); }
.how .display { color: #fff; }
.how .intro { gap: 60px; }
.how .side-note { width: 370px; padding-top: 49px; font-size: 17px; line-height: 1.5; color: var(--on-dark-1); }
.how .link { color: #fff; }
.how hr { border: 0; height: 1px; background: var(--line-dark); margin: 0; width: 100%; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; line-height: 1.5; }
.steps3 .lab { display: flex; justify-content: space-between; color: var(--on-dark-2); font-size: 12px; margin-bottom: 14px; }
.steps3 .lab span:last-child { font-size: 20px; line-height: 1; }
.steps3 h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.steps3 p { font-size: 14px; color: var(--on-dark-1); }

/* Download */
.download { background: var(--bg); }
.download .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.download .col-l { display: flex; flex-direction: column; gap: 18px; }
.download .col-l p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.dl-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 18px 40px -6px rgba(0,0,0,.05); }
.dl-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dl-card .top h3 { font-size: 22px; font-weight: 500; letter-spacing: -.4px; }
.dl-card dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 13px; }
.dl-card dt { color: var(--muted); }
.dl-card dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.hash { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; line-height: 1.5; background: var(--panel); border-radius: 6px; padding: 8px 10px; display: block; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); font-size: 13px; padding: 12px 18px; gap: 10px; }
.btn-ghost:hover { border-color: var(--ink); }
.note-box { font-size: 12px; line-height: 1.55; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.note-box b { color: var(--ink); font-weight: 500; }
.reqs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.reqs li { display: flex; gap: 12px; }
.reqs li span:first-child { color: var(--faint); font-size: 12px; padding-top: 2px; min-width: 22px; }

/* Teams */
.teams { background: var(--bg); }
.teams .wrap { padding-top: 70px; padding-bottom: 70px; display: flex; gap: 100px; }
.teams .l { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.teams .l p.s { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.teams .r { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.role h3 { display: flex; justify-content: space-between; font-size: 20px; font-weight: 500; line-height: 1.5; }
.role h3 span { font-size: 18px; font-weight: 400; }
.role p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.teams hr { border: 0; height: 1px; background: var(--line-3); margin: 0; width: 100%; }

/* Questions */
.questions { background: #fff; }
.questions .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; gap: 104px; }
.questions .l { width: 410px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.questions .l p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.faq { flex: 1; min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 23px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 24px; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 14px; }

/* Closing */
.closing .wrap { padding-top: 63px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; gap: 23px; text-align: center; }
.closing hr { border: 0; height: 1px; background: var(--line-2); margin: 0 0 24px; width: 100%; }
.closing h2 { font-size: clamp(34px, 4vw, 57px); line-height: 1.2; letter-spacing: -2.5px; }
.closing p { font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #fff; }
.footer .wrap { padding-top: 38px; padding-bottom: 38px; display: flex; flex-direction: column; gap: 28px; }
.footer .cols { display: flex; gap: 100px; }
.footer .brand { flex: 1; display: flex; flex-direction: column; gap: 13px; }
.footer .brand .logo { width: 118px; height: 85px; }
.footer .brand p { font-size: 13px; line-height: 1.5; color: var(--on-dark-1); }
.footer .col { width: 150px; display: flex; flex-direction: column; gap: 11px; font-size: 12px; line-height: 1.5; }
.footer .col b { font-weight: 500; }
.footer .col a { color: var(--on-dark-1); }
.footer .col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer hr { border: 0; height: 1px; background: var(--line-dark); margin: 0; width: 100%; }
.footer .legal { display: flex; gap: 25px; font-size: 11px; line-height: 1.5; }
.footer .legal span { flex: 1; color: var(--on-dark-2); }
.footer .legal a { color: var(--on-dark-1); }
.footer .legal a:hover { color: #fff; }

/* Plain text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: 44px; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
.doc h2 { font-size: 20px; font-weight: 500; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .preview-body { flex-wrap: wrap; }
  .detail { width: 100%; }
  .side { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .intro, .how .intro { flex-direction: column; gap: 24px; }
  .intro .side-note, .how .side-note { width: auto; padding-top: 0; }
  .steps3 { grid-template-columns: 1fr; gap: 36px; }
  .download .wrap, .teams .wrap, .questions .wrap { grid-template-columns: 1fr; flex-direction: column; gap: 48px; }
  .questions .l { width: auto; }
  .footer .cols { flex-wrap: wrap; gap: 40px; }
  .footer .brand { flex-basis: 100%; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  .nav .wrap { height: 88px; }
  .logo { width: 86px; height: 62px; }
  .nav-links { display: none; }
  .nav .btn { padding: 12px 16px; gap: 12px; }
  .hero { padding-top: 40px; }
  .hero h1 { letter-spacing: -2.5px; }
  .hero .lead { font-size: 16px; }
  .btn { gap: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-row .btn { justify-content: space-between; }
  .main { padding: 20px; }
  .thead span:nth-child(1), .row .time { width: 52px; }
  .caption { flex-direction: column; gap: 6px; }
  .statement ul { gap: 10px 28px; }
  .display { letter-spacing: -1.2px; }
  .dl-card { padding: 20px; }
  .dl-card dl { grid-template-columns: 1fr; gap: 2px; }
  .dl-card dd { margin-bottom: 10px; }
  .closing h2 { letter-spacing: -1.2px; }
  .footer .legal { flex-wrap: wrap; }
  .footer .col { width: 45%; }
  .doc h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
