/* Osinix — osinix.com v2
   Light, modern SaaS look derived from the Claire banner set + logo.
   paper #F7F8FA, ink #0F1722, Osinix blue #1B74F0, navy #0B1626. */

:root {
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --ink: #0F1722;
  --body: #3A4552;
  --muted: #49525E;
  --blue: #1B74F0;
  --blue-dark: #0D5BD0;
  --blue-soft: #E8F0FE;
  --line: #E6E9EE;
  --navy: #0B1626;
  --shadow-sm: 0 1px 2px rgba(15,23,34,.05), 0 4px 12px rgba(15,23,34,.06);
  --shadow-md: 0 4px 12px rgba(15,23,34,.07), 0 16px 40px rgba(15,23,34,.10);
  --shadow-lg: 0 8px 24px rgba(15,23,34,.10), 0 32px 80px rgba(15,23,34,.14);
  --r: 16px;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper); color: var(--body);
  line-height: 1.65; font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------------- header ---------------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,250,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 72px; gap: 16px; }
.nav .logo img { height: 34px; width: auto; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav .cta {
  background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 10px;
  font-weight: 600; box-shadow: 0 2px 8px rgba(27,116,240,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav .cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27,116,240,.45); }

/* ---------------- type ---------------- */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink); line-height: 1.12; letter-spacing: -0.02em;
}
h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
.blue { color: var(--blue); }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--body); max-width: 620px; margin-top: 20px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow::before { content: "⇄"; font-size: 14px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 30px; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn.primary {
  background: linear-gradient(180deg, #2B82F6, var(--blue)); color: #fff;
  box-shadow: 0 2px 10px rgba(27,116,240,.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,116,240,.45); }
.btn.ghost { border: 1.5px solid #C9D2DE; color: var(--ink); background: var(--white); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn, .nav .cta { transition: none; } }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -240px; right: -180px; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(27,116,240,.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero .actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .note { margin-top: 26px; font-size: 15.5px; color: var(--muted); }
.shot {
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,23,34,.06);
}

/* ---------------- deliberation strip (signature) ---------------- */
.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 30px 28px; flex-wrap: wrap; }
.strip .step { flex: 1; min-width: 165px; }
.strip .step b { display: block; color: var(--ink); font-size: 17px; font-family: "Space Grotesk", sans-serif; }
.strip .step span { font-size: 15px; color: var(--muted); }
.strip .arrow { color: var(--blue); font-size: 22px; flex: 0 0 auto; }

/* ---------------- sections ---------------- */
section { padding: 92px 0; }
section.tight { padding: 60px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: 15.5px; }
.card .k {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px;
}

/* single centered image */
.solo { text-align: center; }
.solo img { margin: 0 auto; max-width: 880px; width: 100%; border-radius: var(--r); box-shadow: var(--shadow-md); }
.solo .actions { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- poster gallery ---------------- */
.gallery { background: var(--navy); }
.gallery h2 { color: #fff; }
.gallery .lead { color: #A9B6C8; }
.gallery .eyebrow { background: rgba(27,116,240,.18); color: #7FB1F7; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.posters img { border-radius: 12px; box-shadow: 0 10px 34px rgba(0,0,0,.45);
  transition: transform .25s ease; }
.posters a:hover img { transform: translateY(-6px) scale(1.015); }
@media (prefers-reduced-motion: reduce) { .posters img { transition: none; } }

/* ---------------- pricing ---------------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.tier.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); position: relative; }
.tier.featured::after {
  content: "Most popular"; position: absolute; top: -14px; left: 26px;
  background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 4px 14px; border-radius: 100px;
}
.tier h3 { font-size: 22px; }
.tier .price { font-family: "Space Grotesk", sans-serif; font-size: 44px; font-weight: 700; color: var(--ink); margin: 10px 0 0; }
.tier .price small { font-size: 16px; color: var(--muted); font-weight: 400; }
.tier .for { font-size: 15.5px; color: var(--muted); margin-bottom: 6px; }
.tier ul { list-style: none; margin: 20px 0 26px; flex: 1; }
.tier li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.tier .btn { text-align: center; }

/* comparison table */
.table-wrap { overflow-x: auto; margin-top: 36px; border-radius: var(--r);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--white); }
table.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare th { font-family: "Space Grotesk", sans-serif; color: var(--ink); background: var(--paper); font-size: 15px; }
table.compare td:first-child, table.compare th:first-child { text-align: left; font-weight: 500; color: var(--ink); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--blue); font-weight: 700; }
table.compare .no { color: #C4CBD4; }

/* ---------------- forms ---------------- */
form.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 36px; box-shadow: var(--shadow-md);
}
label { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin: 18px 0 7px; }
input, textarea, select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,116,240,.18); }
button.btn { border: 0; cursor: pointer; font-family: inherit; }

/* ---------------- article cards + prose ---------------- */
.article-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.article-card {
  display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--body);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card img { width: 116px; height: 150px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.article-card.noimg { padding: 26px; }
.article-card h3 { margin-bottom: 8px; }
.article-card p { font-size: 16px; }

article.prose { max-width: 780px; margin: 0 auto; }
article.prose .art-hero { margin: 0 auto 44px; max-width: 640px; }
article.prose .art-hero img { border-radius: var(--r); box-shadow: var(--shadow-md); margin: 0 auto; }
article.prose h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 22px; }
article.prose h2 { font-size: 27px; margin: 44px 0 16px; }
article.prose h3 { margin: 30px 0 10px; }
article.prose p, article.prose li { margin-bottom: 15px; font-size: 17px; }
article.prose ul, article.prose ol { padding-left: 26px; margin-bottom: 16px; }
article.prose img { margin: 26px auto; border-radius: 12px; box-shadow: var(--shadow-sm); }
article.prose table { border-collapse: collapse; margin: 24px 0; width: 100%; display: block; overflow-x: auto; }
article.prose th, article.prose td { border: 1px solid var(--line); padding: 11px 15px; text-align: left; font-size: 15px; }
article.prose th { background: var(--white); font-family: "Space Grotesk", sans-serif; }
article.prose code { background: #ECEFF3; border-radius: 5px; padding: 2px 7px; font-size: 16px; }
article.prose pre { background: var(--navy); color: #DFE8F3; padding: 20px; border-radius: 12px;
  overflow-x: auto; margin-bottom: 18px; }
article.prose pre code { background: none; color: inherit; padding: 0; }
article.prose blockquote { border-left: 3px solid var(--blue); padding-left: 18px; color: var(--muted); margin: 18px 0; }

/* ---------------- videos ---------------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm); }
.video-embed { position: relative; padding-top: 56.25%; background: var(--navy); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .vt { padding: 16px 20px; font-weight: 600; color: var(--ink); font-size: 15px; }

/* ---------------- docs ---------------- */
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 26px; margin-top: 16px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.doc-row h3 a { color: var(--ink); text-decoration: none; }
.doc-row h3 a:hover { color: var(--blue); }
.doc-row p { font-size: 16px; color: var(--muted); margin-top: 4px; }
.doc-row .acts { display: flex; gap: 12px; flex-shrink: 0; }
.doc-row .acts a { font-size: 15.5px; font-weight: 600; color: var(--blue); text-decoration: none;
  border: 1.5px solid var(--blue-soft); background: var(--blue-soft); padding: 9px 16px; border-radius: 9px; }
.doc-row .acts a:hover { background: var(--blue); color: #fff; }

/* ---------------- reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- footer ---------------- */
footer { background: var(--navy); color: #9FADC0; padding: 64px 0 44px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: "Space Grotesk", sans-serif; }
footer a { color: #9FADC0; text-decoration: none; display: block; padding: 4px 0; font-size: 16px; }
footer a:hover { color: #fff; }
footer .logo-line img { height: 30px; width: auto; filter: brightness(0) invert(1); }
footer .fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero .wrap, .grid2 { grid-template-columns: 1fr; gap: 40px; }
  .grid3 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .posters { grid-template-columns: 1fr 1fr; }
  .article-list, .video-grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .strip .arrow { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: 1fr; }
  .nav { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .nav nav { gap: 14px; margin-left: 0; width: 100%; }
  .doc-row .acts { width: 100%; }
}

/* FAQ */
.faq-item{border:1px solid var(--line, #E3E8EF);border-radius:14px;padding:20px 24px;margin-top:14px;background:#fff}
.faq-item h3{margin:0 0 8px;font-size:18px}
.faq-item p{margin:0;color:var(--muted);font-size:15.5px;line-height:1.6}

/* Lightbox */
img.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(10,16,28,.88); z-index: 200; cursor: zoom-out; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* video variants */
.video-embed.portrait { padding-top: 177.78%; }
.video-embed-solo { position: relative; padding-top: 56.25%; background: var(--navy);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.video-embed-solo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* portrait short beside intro: stack on mobile */
@media (max-width: 900px) {
  .tight .wrap[style*="grid-template-columns"] { display: block !important; }
  .intro-short { max-width: 300px; margin: 28px auto 0; }
}

/* session evidence: compact steps, click to enlarge */
.shot-steps { max-width: 880px; margin: 44px auto 0; }
.shot-step { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); }
.shot-step:last-child { border-bottom: 0; }
.shot-step img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); }
.shot-step h3 { margin: 0 0 6px; font-size: 18px; }
.shot-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 800px) { .shot-step { grid-template-columns: 1fr; gap: 14px; } }

/* sdk code snippet */
.codebox { background: #101725; color: #D7E1EF; border-radius: 12px; padding: 22px 26px;
  font-size: 14.5px; line-height: 1.65; overflow-x: auto; max-width: 640px; margin: 30px auto 40px;
  box-shadow: var(--shadow-sm); text-align: left; }
.codebox code { font-family: "SF Mono", Menlo, Consolas, monospace; }
