/* ==========================================================
   Codeium — site stylesheet
   Light theme · Poppins · 1140px content width
   ========================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --teal: #09b6a2;
  --teal-600: #078f80;
  --teal-700: #057a6d;
  --mint: #68dfce;
  --mint-50: #ecfaf7;
  --mint-100: #d8f4ef;
  --ink: #10302d;
  --text: #2c4744;
  --muted: #536b68;
  --line: #dbe9e6;
  --bg: #f8fcfb;
  --white: #ffffff;
  --coral: #c2410c;
  --coral-50: #fff3ec;
  --shadow-sm: 0 2px 10px rgba(16, 48, 45, .06);
  --shadow: 0 14px 40px rgba(16, 48, 45, .10);
  --radius: 14px;
  --header-h: 72px;
  --wrap: 1140px;
  --font: "Poppins", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
code, kbd, pre { font-family: var(--font); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--teal); border-radius: 2px; }
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1; padding: 15px 26px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 10px 24px rgba(5, 122, 109, .25); }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

/* ---------------- Header ---------------- */
#site-header { min-height: var(--header-h); }
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 48, 45, .08); border-color: var(--line); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--ink); justify-self: start; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav { justify-self: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .95rem; position: relative; }
.nav a:hover { color: var(--teal-700); background: var(--mint-50); }
.nav a.is-active { color: var(--teal-700); }
.nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--teal); border-radius: 2px; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 12px 20px; font-size: .95rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* ---------------- Hero ---------------- */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--mint-50); border: 1px solid var(--mint-100); color: var(--teal-700); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.hero-badge img { width: 22px; height: 22px; border-radius: 5px; }
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--teal-700); }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px dashed var(--line); }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hero-trust .icon { color: var(--teal-700); width: 20px; height: 20px; }
.hero-visual img { width: 100%; border-radius: 18px; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: 18px; }
.about-copy p { color: var(--text); }
.facts { margin: 24px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }
.facts code { background: var(--mint-50); color: var(--teal-700); padding: 1px 8px; border-radius: 6px; font-size: .9em; }

/* ---------------- Features (row list) ---------------- */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 20px; padding: 28px 18px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background-color .25s ease, transform .25s ease; }
.feature:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--mint-50); color: var(--teal-700); display: grid; place-items: center; flex: none; transition: transform .25s ease, background-color .25s ease; }
.feature:hover .feature-ico { transform: rotate(-6deg); background: var(--mint-100); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------------- How it works (track) ---------------- */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.track::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--mint) 0 10px, transparent 10px 18px); }
.track li { text-align: center; position: relative; }
.track-ico { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--mint); color: var(--teal-700); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.track-ico .icon { width: 30px; height: 30px; }
.track li::after { counter-increment: step; content: "Step " counter(step); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.track h3 { margin-bottom: 8px; }
.track p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------------- Compatibility (table) ---------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .95rem; }
.table-wrap th { background: var(--mint-50); color: var(--ink); font-weight: 600; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }
.table-wrap tr:last-child td { border-bottom: 0; }
.compat tbody tr { transition: background-color .2s ease; }
.compat tbody tr:hover { background: #f4fbf9; }
.compat .ed { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.compat .ed .icon { color: var(--teal-700); }
.compat code, .article code { background: var(--mint-50); color: var(--teal-700); padding: 1px 7px; border-radius: 6px; font-size: .9em; word-break: break-word; }
.note { font-size: .9rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------------- Use cases (tabs) ---------------- */
.uc { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.uc-tabs { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
.uc-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 18px; margin-left: -2px; border: 0; border-left: 2px solid transparent; background: none; font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--text); cursor: pointer; border-radius: 0 10px 10px 0; transition: background-color .2s ease, color .2s ease; }
.uc-tab:hover { background: var(--mint-50); }
.uc-tab[aria-selected="true"] { border-left-color: var(--teal); color: var(--teal-700); background: var(--white); font-weight: 600; }
.uc-tab .icon { color: var(--teal-700); }
.uc-panel { padding: 8px 0 0; }
.uc-panel[hidden] { display: none; }
.uc-panel h3 { font-size: 1.45rem; }
.uc-panel p { color: var(--muted); }
.uc-panel ul { margin: 0 0 18px; padding-left: 1.2em; }
.code-sample { margin: 0; background: #f2f7f6; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: .88rem; line-height: 1.7; color: var(--ink); overflow-x: auto; white-space: pre; }
.code-sample .gh { color: #8aa09d; font-style: italic; }

/* ---------------- Benefits (columns, no boxes) ---------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 30px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.benefit:nth-child(3n) { border-right: 0; }
.benefit:nth-last-child(-n+3) { border-bottom: 0; }
.benefit:hover { background: linear-gradient(180deg, rgba(104, 223, 206, .12), transparent); }
.benefit .icon { width: 34px; height: 34px; color: var(--teal-700); margin-bottom: 16px; transition: transform .25s ease; }
.benefit:hover .icon { transform: translateY(-4px); }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------------- Installation (stepper + code) ---------------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stepper { list-style: none; margin: 0; padding: 0; position: relative; }
.stepper::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.stepper li { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.stepper li:last-child { padding-bottom: 0; }
.step-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-700); color: #fff; display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.stepper h3 { margin: 4px 0 6px; }
.stepper p { color: var(--muted); margin: 0; font-size: .95rem; }
.terminal { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--mint-50); border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f2a7a0; display: inline-block; }
.terminal-bar i:nth-child(2) { background: #f5d38b; } .terminal-bar i:nth-child(3) { background: #9fdcab; margin-right: 8px; }
.terminal pre { margin: 0; padding: 20px; font-size: .88rem; line-height: 1.8; color: var(--ink); overflow-x: auto; }
.terminal pre .c { color: #7d9592; } .terminal pre .p { color: var(--teal-700); font-weight: 600; }
.terminal-foot { padding: 0 20px 20px; font-size: .88rem; color: var(--muted); }

/* ---------------- Download panel ---------------- */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--mint-50), var(--white) 60%); border: 1px solid var(--mint-100); }
.dl-copy { padding: 52px 48px; }
.dl-logo { width: 72px; height: 72px; border-radius: 14px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.dl-copy h3 { font-size: 1.6rem; margin-bottom: 10px; }
.dl-copy p { color: var(--muted); }
.dl-meta { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.dl-meta li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.dl-meta .icon { color: var(--teal-700); width: 20px; height: 20px; margin-top: 3px; }
.dl-small { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.dl-media { background: var(--mint-50); display: flex; align-items: center; padding: 28px; }
.dl-media img { border-radius: 14px; }

/* ---------------- Safety (note + list) ---------------- */
.safety { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.safety-note { padding: 36px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.safety-note::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px; border-radius: 0 4px 4px 0; background: var(--teal); }
.safety-note .icon { width: 44px; height: 44px; color: var(--teal-700); margin-bottom: 14px; }
.safety-note p { color: var(--muted); margin: 0; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.safety-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.safety-list li:last-child { border-bottom: 0; }
.safety-list .icon { color: var(--teal-700); width: 26px; height: 26px; margin-top: 2px; }
.safety-list strong { color: var(--ink); display: block; font-weight: 600; }
.safety-list span { color: var(--muted); font-size: .95rem; }

/* ---------------- Pros & cons ---------------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.pc::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.pc-col { padding: 0 44px; }
.pc-col:first-child { padding-left: 0; } .pc-col:last-child { padding-right: 0; }
.pc-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 18px; }
.pc-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.pros .pc-badge { background: var(--mint-100); color: var(--teal-700); }
.cons .pc-badge { background: var(--coral-50); color: var(--coral); }
.pc-col ul { list-style: none; margin: 0; padding: 0; }
.pc-col li { display: flex; gap: 12px; padding: 12px 10px; border-radius: 10px; transition: background-color .2s ease, transform .2s ease; }
.pc-col li:hover { background: var(--white); transform: translateX(4px); }
.pc-col li .icon { width: 22px; height: 22px; margin-top: 3px; }
.pros li .icon { color: var(--teal-700); }
.cons li .icon { color: var(--coral); }

/* ---------------- Release timeline ---------------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.timeline li { display: grid; grid-template-columns: 150px 28px 1fr; gap: 20px; }
.tl-date { text-align: right; font-weight: 600; color: var(--teal-700); padding-top: 2px; font-size: .95rem; }
.tl-dot { position: relative; }
.tl-dot::before { content: ""; position: absolute; left: 50%; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal); transform: translateX(-50%); }
.tl-dot::after { content: ""; position: absolute; left: 50%; top: 30px; bottom: -6px; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline li:last-child .tl-dot::after { display: none; }
.tl-body { padding-bottom: 30px; }
.tl-body h3 { margin-bottom: 4px; }
.tl-body p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------------- Troubleshooting ---------------- */
.trouble { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.tr-item { padding-top: 22px; border-top: 3px solid var(--mint-100); transition: border-color .25s ease; }
.tr-item:hover { border-top-color: var(--teal); }
.tr-item h3 { display: flex; align-items: center; gap: 10px; }
.tr-item h3 .icon { color: var(--coral); }
.tr-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq-cat { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 14px; }
.faq-cat .icon { color: var(--teal-700); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; background: none; border: 0; text-align: left; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq-q:hover { color: var(--teal-700); }
.faq-q .chev { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-50); color: var(--teal-700); flex: none; transition: transform .25s ease, background-color .25s ease; }
.faq-q .chev .icon { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq-a { overflow: hidden; height: 0; transition: height .3s ease; }
.faq-a > div { padding: 0 4px 18px; color: var(--muted); font-size: .96rem; }
.no-js .faq-a { height: auto; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero .lead { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9db3b0; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--teal-700); }

/* Blog grid */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--mint-100); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-700); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--teal-700); }
.post-card p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.read-more .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.post-card:hover .read-more .icon { transform: translateX(4px); }

/* ---------------- Article ---------------- */
.article-head { padding: 48px 0 28px; text-align: center; }
.article-head h1 { max-width: 900px; margin: 0 auto 14px; font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
.article-meta { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: .9rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 18px; height: 18px; color: var(--teal-700); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 72px; }
.article-figure { margin: 0 0 32px; }
.article-figure img { border-radius: 18px; border: 1px solid var(--line); width: 100%; }
.article { font-size: 1.04rem; color: var(--text); }
.article h2 { font-size: 1.6rem; margin: 2em 0 .7em; }
.article h3 { font-size: 1.2rem; margin: 1.6em 0 .6em; }
.article ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.article ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--teal); transform: rotate(45deg); }
.article pre { background: #f2f7f6; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; overflow-x: auto; margin: 0 0 1.4em; }
.article pre code { background: none; padding: 0; color: var(--ink); }
.article .table-wrap { margin: 0 0 1.6em; }
.article .table-wrap table { min-width: 520px; }
.article a { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--teal-700); }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 24px; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--mint) transparent; }
.sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-thumb { background: var(--mint); border-radius: 6px; }
.side-block { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.side-block h2 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-block h2 .icon { width: 20px; height: 20px; color: var(--teal-700); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 7px 0 7px 12px; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--line); line-height: 1.45; }
.toc li a:hover, .toc li a.is-active { color: var(--teal-700); border-left-color: var(--teal); }
.side-cta { text-align: center; background: linear-gradient(160deg, var(--mint-50), var(--white)); }
.side-cta img { width: 56px; height: 56px; border-radius: 12px; margin: 0 auto 12px; }
.side-cta p { font-size: .9rem; color: var(--muted); }
.side-cta .btn { width: 100%; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: .9rem; color: var(--ink); line-height: 1.4; }
.side-links img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.side-links a:hover { color: var(--teal-700); }
.related { padding: 64px 0 88px; border-top: 1px solid var(--line); }

/* Prose pages */
.prose { max-width: 860px; margin: 0 auto; padding-bottom: 88px; font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.contact-line { display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink); margin: 8px 0 20px; }
.contact-line .icon { color: var(--teal-700); }

/* ---------------- Footer ---------------- */
#site-footer { display: block; }
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 44px; }
.footer .brand { margin-bottom: 14px; }
.footer-desc { color: var(--muted); font-size: .95rem; max-width: 420px; margin: 0; }
.footer h2 { font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: var(--teal-700); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { font-weight: 600; color: var(--teal-700); font-size: inherit; }

/* Scroll to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--teal-700); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }

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

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 10px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(16, 48, 45, .08); padding: 12px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--mint-50); }
  .header-cta { grid-column: 2; grid-row: 1; }
  .brand { grid-column: 1; }
  .hero-grid, .about-grid, .install, .safety, .dl { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-visual { max-width: 640px; }
  .about-media { order: 2; }
  .terminal { position: static; }
  .track { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .track::before { display: none; }
  .uc { grid-template-columns: 1fr; }
  .uc-tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .uc-tab { margin: 0 0 -2px; border-left: 0; border-bottom: 2px solid transparent; border-radius: 10px 10px 0 0; white-space: nowrap; }
  .uc-tab[aria-selected="true"] { border-bottom-color: var(--teal); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit, .benefit:nth-child(3n), .benefit:nth-last-child(-n+3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .benefit:nth-child(2n) { border-right: 0; }
  .benefit:nth-last-child(-n+2) { border-bottom: 0; }
  .trouble { grid-template-columns: 1fr 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feature-list { grid-template-columns: 1fr; }
  .pc { grid-template-columns: 1fr; gap: 32px; }
  .pc::before { display: none; }
  .pc-col, .pc-col:first-child, .pc-col:last-child { padding: 0; }
  .timeline li { grid-template-columns: 22px 1fr; gap: 14px; }
  .tl-date { grid-column: 2; grid-row: 1; text-align: left; }
  .tl-dot { grid-column: 1; grid-row: 1 / span 2; }
  .tl-body { grid-column: 2; }
  .dl-copy { padding: 36px 26px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 36px; }
  .header-cta .btn { padding: 10px 14px; font-size: .88rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 24px 0 48px; }
  .hero-lead { font-size: 1rem; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .track { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 4px; }
  .benefit:last-child { border-bottom: 0; }
  .trouble { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dl-media { padding: 16px; }
  .safety-note { padding: 28px 24px; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
  .header-cta .btn .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }

/* Consistent 1140px inner content grid */
.timeline { max-width: none; width: 100%; }
.faq-cols { width: 100%; max-width: none; }

/* Download options */
.download-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(128,128,128,.25); }
.download-group h3 { font-size: 1.2rem; }
.download-options { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.download-group .btn { white-space:normal; }

/* Download panel: bounded sticky media and consistent controls */
@supports (overflow: clip) { body { overflow-x: clip; } }
#download .dl { overflow: visible; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
#download .dl-copy { min-width: 0; padding: clamp(24px, 3.5vw, 44px); }
#download .dl-copy h3 { font-size: 1.3rem; }
#download .dl-copy p { font-size: .96rem; }
#download .download-group { border-color: var(--line); margin-top: 26px; padding-top: 24px; }
#download .download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
#download .dl-copy .btn { width: 100%; min-height: 54px; padding: 12px 14px; font-size: .92rem; line-height: 1.45; white-space: normal; text-align: center; border-radius: 10px; }
#download .btn-ghost { border-color: #a7d7ce; color: var(--teal-700); background: var(--white); }
#download .btn-ghost:hover { background: var(--mint-50); border-color: var(--teal-700); color: var(--ink); }
#download .dl-media { display: block; min-width: 0; padding: 28px; border-radius: 0 23px 23px 0; }
#download .dl-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
#download .dl-sticky img { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 64px); object-fit: contain; }
#download .dl-copy .dl-small { font-size: .85rem; }
@media (max-width: 900px) {
  #download .dl { grid-template-columns: minmax(0, 1fr); }
  #download .dl-media { border-radius: 0 0 23px 23px; padding: 24px; }
  #download .dl-sticky { position: static; max-width: 560px; margin: 0 auto; }
  #download .dl-sticky img { max-height: none; }
}
@media (max-width: 480px) { #download .download-options { grid-template-columns: minmax(0, 1fr); } }


/* Glass navigation — original Codeium palette, edge-to-edge backdrop. */
:root { --header-h: 112px; }
#site-header { width:100%; min-height:var(--header-h); }
.header { width:100%; max-width:none; padding:16px 24px; border:0; border-radius:0; background: #d8f4ef url("../images/header-glass.svg") center / cover no-repeat; backdrop-filter:none; -webkit-backdrop-filter:none; }
.header.is-stuck { box-shadow:0 5px 22px #10302d18; }
.header .header-inner { position:relative; display:flex; align-items:center; width:100%; max-width:1140px; height:80px; margin:0 auto; padding:0 18px; gap:18px; border:1px solid #ffffffb3; border-radius:22px; background:linear-gradient(110deg,#ffffffe0,#e9fff5b8); box-shadow:0 6px 22px #10302d12,inset 0 1px 0 #fff; backdrop-filter:blur(16px) saturate(1.15); -webkit-backdrop-filter:blur(16px) saturate(1.15); }
.header .brand { flex:none; gap:10px; font-size:1.45rem; letter-spacing:-.045em; padding-right:18px; border-right:1px solid #10302d25; }
.header .brand img { width:44px; height:44px; border-radius:11px; }
.header .brand span { display:inline; }
.header .nav { flex:1; min-width:0; }
.header .nav ul { justify-content:center; gap:3px; }
.header .nav a { display:flex; gap:7px; align-items:center; justify-content:center; white-space:nowrap; font-size:.88rem; font-weight:600; color:var(--ink); padding:12px 11px; border-radius:13px; }
.header .nav a .icon { width:17px; height:17px; color:var(--teal-700); }
.header .nav a:hover { background:#ffffffa8; color:var(--teal-700); }
.header .nav a.is-active { background:#fff; color:var(--teal-700); box-shadow:0 3px 10px #10302d0c; }
.header .nav a.is-active::after { width:7px; height:7px; border-radius:50%; left:calc(50% - 3.5px); right:auto; bottom:-10px; background:var(--teal-700); }
.header .header-cta { flex:none; margin-left:auto; }
.header .header-cta .btn { min-height:46px; border:0; border-radius:999px; background:linear-gradient(120deg,#078f80,#005b50 65%,#10302d); padding:13px 19px; font-size:.88rem; box-shadow:0 5px 14px #057a6d35; }
.header .header-cta .btn:hover { background:#10302d; color:#fff; }
@media (max-width:1080px) { .header { padding-inline:16px; } .header .header-inner { gap:10px; padding-inline:14px; } .header .brand { padding-right:12px; font-size:1.25rem; } .header .nav a { padding-inline:8px; font-size:.82rem; } .header .header-cta .btn { padding-inline:14px; font-size:.82rem; } }
@media (max-width:960px) {
 :root { --header-h:88px; }
 .header { padding:10px 14px; }
 .header .header-inner { height:68px; border-radius:17px; padding:0 12px; }
 .header .brand { border:0; padding:0; }
 .header .nav { position:absolute; top:calc(100% + 10px); left:0; right:0; border:1px solid #d8f4ef; border-radius:16px; background:#f8fcfb; padding:12px; box-shadow:0 12px 32px #10302d22; max-height:calc(100dvh - 100px); }
 .header .nav ul { gap:4px; }
 .header .nav a { justify-content:flex-start; min-height:46px; padding:10px 14px; font-size:.95rem; }
 .header .nav a.is-active { background:#d8f4ef; }
 .header .nav a.is-active::after { display:none; }
 .header .menu-toggle { background:#ffffffc9; border-color:#10302d22; }
}
@media (max-width:600px) { .header { padding:8px 10px; } :root { --header-h:80px; } .header .header-inner { height:64px; padding:0 9px; gap:6px; } .header .brand { font-size:1.1rem; gap:7px; } .header .brand img { width:34px; height:34px; } .header .header-cta { gap:6px; } .header .header-cta .btn { padding:10px 12px; font-size:.78rem; min-height:44px; } .header .header-cta .btn span { font-size:0; } .header .header-cta .btn span::after { content:"Download"; font-size:.78rem; } .header .header-cta .btn .icon { display:none; } }
@media (max-width:350px) { .header { padding-inline:6px; } .header .header-inner { padding-inline:7px; } .header .brand { font-size:1rem; gap:5px; } .header .brand img { width:30px; height:30px; } .header .header-cta .btn { padding-inline:9px; } }

/* Full-width glass navigation and accessible mobile download menu */
.header { padding: 12px 0; }
.header .header-inner { max-width:none; width:100%; border-radius:0; padding-inline:clamp(16px,3vw,48px); }
.header .nav a { font-size:1rem; gap:8px; padding:12px 10px; }
.header .nav a .icon { width:19px; height:19px; flex-shrink:0; }
.header .header-cta .btn { font-size:.95rem; }
.header .mobile-download { display:none; }
:root { --header-h:104px; }
@media (max-width:1100px) {
 :root { --header-h:88px; }
 .header { padding:10px 0; }
 .header .header-inner { height:68px; width:100%; padding-inline:20px; gap:12px; position:relative; }
 .header .brand { border:0; padding:0; font-size:1.4rem; }
 .header .header-cta > .btn { display:none; }
 .header .menu-toggle { display:inline-flex; width:46px; height:46px; border:1px solid #006e63; border-radius:12px; background:linear-gradient(135deg,#078f80,#004e47); color:white; box-shadow:0 3px 10px #10302d22; }
 .header .menu-toggle .icon { width:24px; height:24px; }
 .header .nav { position:absolute; top:calc(100% + 10px); left:0; right:0; width:100%; max-width:none; border:0; border-bottom:1px solid #b5ddd6; border-radius:0; background:#f2fbf9; padding:16px 20px 20px; box-shadow:0 12px 24px #10302d20; max-height:calc(100dvh - var(--header-h)); overflow-y:auto; opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .2s,transform .2s,visibility .2s; }
 .header.menu-open .nav { opacity:1; visibility:visible; transform:none; }
 .header .nav ul { flex-direction:column; align-items:stretch; gap:5px; }
 .header .nav a { justify-content:flex-start; font-size:1.06rem; min-height:48px; padding:12px 14px; gap:12px; }
 .header .nav a.is-active::after { display:none; }
 .header .nav a.is-active { background:#d8f4ef; }
 .header .mobile-download { display:block; border-top:1px solid #cce7e2; margin-top:12px; padding-top:14px; }
 .header .mobile-download .btn { width:100%; justify-content:center; min-height:48px; font-size:1rem; border-radius:12px; color:#fff; background:linear-gradient(120deg,#078f80,#005b50); }
 .header .mobile-download .btn .icon { color:white; }
}
@media (max-width:600px) { :root { --header-h:80px; } .header { padding:8px 0; } .header .header-inner { height:64px; padding-inline:14px; } .header .brand { font-size:1.25rem; } .header .nav { top:calc(100% + 8px); padding-inline:14px; } }

/* Full-width dark teal footer, matching the glass navigation. */
#site-footer { width:100%; }
.footer { position:relative; isolation:isolate; overflow:hidden; width:100%; padding:56px 0 0; border-top:1px solid #36b9a5; color:#f0fffc; background: radial-gradient(ellipse at 100% 0%,#08796e 0%,transparent 55%),linear-gradient(125deg,#075e56 0%,#073b38 50%,#062c2d 100%); }
.footer::before,.footer::after { content:""; position:absolute; z-index:-1; pointer-events:none; border-radius:50%; transform:rotate(-12deg); }
.footer::before { width:110%; height:210px; right:-38%; bottom:-120px; background:linear-gradient(160deg,#0d8b7c88,#16c5aa33 35%,transparent 75%); border-top:1px solid #53e8cb80; }
.footer::after { width:85%; height:220px; left:-30%; top:-185px; background:linear-gradient(135deg,#34d4b44d,#ffffff0a); border-bottom:1px solid #76edce40; }
.footer .container { width:100%; max-width:1140px; margin-inline:auto; padding-inline:24px; }
.footer-grid { grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr) minmax(0,1fr); gap:42px; padding-bottom:36px; }
.footer-grid > div { min-width:0; }
.footer-grid > div + div { border-left:1px solid #b1f5e52b; padding-left:28px; }
.footer .brand { display:inline-flex; align-items:center; gap:12px; font-size:1.65rem; font-weight:700; color:#fff; margin-bottom:18px; }
.footer .brand img { width:46px; height:46px; border-radius:12px; box-shadow:0 4px 18px #0ac4ae30; }
.footer-desc { color:#d1ebe6; font-size:.95rem; line-height:1.85; max-width:380px; }
.footer h2 { display:flex; align-items:center; gap:12px; color:#fff; font-size:1.12rem; margin:0 0 16px; }
.footer h2 .icon { width:36px; height:36px; padding:8px; flex-shrink:0; color:#d9fff5; background:linear-gradient(145deg,#24bda766,#ffffff0a); border:1px solid #6cead84d; border-radius:10px; }
.footer li { margin:0; }
.footer li a { display:flex; align-items:center; gap:10px; color:#e4f5f1; padding:7px 0; line-height:1.5; font-size:.94rem; }
.footer li a::before { content:""; width:6px; height:6px; border-top:1.5px solid #8cebd8; border-right:1.5px solid #8cebd8; transform:rotate(45deg); flex-shrink:0; transition:transform .18s ease; }
.footer a:hover { color:#a4ffea; }
.footer li a:hover::before { transform:translateX(3px) rotate(45deg); }
.footer a:focus-visible { outline:2px solid #a4ffea; outline-offset:4px; }
.footer-bottom { border-color:#b1f5e540; padding:22px 0 26px; color:#c8e5df; font-size:.82rem; gap:8px 24px; }
.footer-bottom a { color:#b5ffed; }
@media(max-width:800px) { .footer { padding-top:40px; } .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; } .footer-grid > div:first-child { grid-column:1/-1; } .footer-grid > div:nth-child(2) { border-left:0; padding-left:0; } .footer-desc { max-width:580px; } }
@media(max-width:480px) { .footer .container { padding-inline:18px; } .footer-grid { grid-template-columns:1fr; gap:24px; padding-bottom:24px; } .footer-grid > div + div { border-left:0; padding-left:0; padding-top:18px; border-top:1px solid #b1f5e52b; } .footer-bottom { flex-direction:column; } .footer li a { min-height:40px; } }
@media(prefers-reduced-motion:reduce) { .footer li a::before { transition:none; } }

/* Shared 1140px border-box grid: identical header, page and footer alignment. */
.container, .header .header-inner, .footer .container {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
}
/* Rounded glass header shell matching the requested reference look. */
.header { padding-block: 14px; }
.header .header-inner {
  border-inline-width: 1px;
  border-radius: 28px;
  overflow: visible;
}
@media (max-width: 900px) {
  .header { padding-block: 12px; }
  .header .header-inner { border-radius: 24px; }
}
@media (max-width: 600px) {
  .container, .header .header-inner, .footer .container { padding-inline: 18px; }
  .header .header-inner { border-radius: 22px; }
  .header .nav { padding-inline: 18px; }
}
