/* CAMDENT global site — premium B2B manufacturing theme, no framework, RTL ready */
:root {
  --brand: #0a2540;
  --brand-2: #123a63;
  --brand-3: #0d6e77;
  --accent: #00b3a4;
  --accent-dark: #009387;
  --cta: #ff6b35;
  --cta-dark: #e4551f;
  --ink: #12233a;
  --muted: #5b6b82;
  --line: #e6ebf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --grad: linear-gradient(135deg, #0a2540 0%, #123a63 55%, #0d6e77 100%);
  --grad-accent: linear-gradient(135deg, #00b3a4, #0a7f7a);
  --grad-cta: linear-gradient(135deg, #ff6b35, #ff8f52);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(10, 37, 64, .08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --maxw: 1220px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Arabic", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="rtl"] body { text-align: right; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 .5em; color: var(--brand); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.2rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad); color: #dce7f5; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* section heading with accent rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-dark); font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-accent); }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before, .center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-accent); }
.center .eyebrow::after { display: block; }

.lead { font-size: 1.13rem; color: var(--muted); max-width: 70ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; background: #fff; color: var(--brand); padding: 10px 16px; z-index: 100; }
.skip-link:focus { inset-inline-start: 12px; top: 12px; }

/* focus / selection / scrollbar polish */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(0, 179, 164, .25); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c6d2e2; border-radius: 8px; border: 3px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #a9bcd3; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--brand); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 800; flex: none; box-shadow: var(--shadow); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; padding: 9px 13px; border-radius: 9px; font-size: .95rem; color: var(--ink); font-weight: 600; transition: .15s; position: relative; }
.main-nav a:hover { background: var(--bg-soft); color: var(--brand-2); }
.main-nav .has-dropdown { position: relative; }
.main-nav .caret { font-size: .68em; opacity: .55; }
.main-nav .dropdown {
  position: absolute; inset-inline-start: 0; top: calc(100% + 6px); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; padding: 6px; min-width: 240px; display: none; z-index: 60;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a { padding: 10px 14px; font-size: .92rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; cursor: pointer; }
.lang-switch { position: relative; }
.lang-switch > button {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--ink); display: flex; gap: 8px; align-items: center; transition: .15s;
}
.lang-switch > button:hover { border-color: var(--accent); }
.lang-switch ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 6px; min-width: 190px; display: none;
}
.lang-switch.open ul { display: block; }
.lang-switch li a { display: block; padding: 9px 13px; border-radius: 8px; font-size: .92rem; }
.lang-switch li a:hover { background: var(--bg-soft); }
.lang-switch li a[aria-current="true"] { background: var(--bg-soft); font-weight: 700; color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 4px 14px rgba(10, 37, 64, .12);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 37, 64, .22); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-cta); color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(10, 37, 64, .05); }
.btn--accent { background: var(--grad-accent); color: #fff; }
.btn--accent:hover { color: #fff; }
.btn--sm { padding: 9px 17px; font-size: .88rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero (larger banner + tech grid) ---------- */
.hero {
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    var(--grad);
  background-size: 54px 54px, 54px 54px, auto;
  color: #eaf2fb; padding: 112px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset-inline-end: -140px; top: -120px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 179, 164, .42), transparent 62%);
  animation: floatA 12s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset-inline-start: -160px; bottom: -220px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255, 107, 53, .24), transparent 60%);
  animation: floatB 14s ease-in-out infinite;
}
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 26px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(26px, -20px); } }
.hero h1 { color: #fff; max-width: 19ch; font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.03em; }
.hero p { font-size: 1.2rem; max-width: 60ch; color: #cfe0f2; }
.hero .eyebrow { color: #6ee7d8; }
.hero .eyebrow::before, .hero .eyebrow::after { background: linear-gradient(90deg, #6ee7d8, #00b3a4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-card {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px;
  padding: 26px; backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.hero-card h3 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.hero-card ul { margin: 0; padding-inline-start: 1.1rem; color: #d8e7f7; font-size: .95rem; }
.hero-card li { margin-bottom: 8px; }
.hero--compact { padding: 76px 0 64px; }
.hero--compact h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: .2s; }
.stat:hover { background: rgba(255, 255, 255, .14); }
.stat b { display: block; font-size: 1.9rem; color: #fff; letter-spacing: -.02em; background: linear-gradient(135deg, #fff, #9fe6dd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .85rem; color: #bcd2ea; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0, 179, 164, .45); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); font-size: .95rem; }
.card .meta { margin-top: auto; padding-top: 14px; font-size: .88rem; color: var(--muted); }
.card--soft { background: var(--bg-soft); box-shadow: none; border: 1px dashed var(--line); }
.card--soft:hover { box-shadow: var(--shadow); border-style: solid; border-color: rgba(0, 179, 164, .45); }
.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 12px;
  border-radius: 999px; background: rgba(0, 179, 164, .12); color: var(--accent-dark); margin-bottom: 12px; align-self: flex-start;
}

/* ---------- Category tabs ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 24px; font: inherit;
  font-size: .95rem; font-weight: 700; cursor: pointer; color: var(--ink); transition: .18s; box-shadow: var(--shadow);
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.tab-btn[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.subcat { margin-bottom: 42px; }
.subcat__title {
  display: flex; align-items: center; gap: 10px; font-size: 1.25rem; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.subcat__title::before { content: ""; width: 6px; height: 24px; border-radius: 3px; background: var(--grad-accent); }
.subcat__title .count {
  font-size: .74rem; background: var(--bg-soft); color: var(--muted); border-radius: 999px; padding: 2px 10px; font-weight: 700;
}
.coming-soon { padding: 28px; }

/* ---------- Product detail ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: start; font-size: .95rem; }
.spec-table tbody tr { transition: background .15s; }
.spec-table tbody tr:hover { background: var(--bg-soft); }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .88rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding-inline-start: 28px; position: relative; margin-bottom: 9px; font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--accent-dark); font-weight: 800; }

/* ---------- Video / tutorials ---------- */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed { margin-top: 16px; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tutorial { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.tutorial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tutorial__thumb { position: relative; cursor: pointer; background: #0a2540; aspect-ratio: 16 / 9; }
.tutorial__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.tutorial__thumb .play { position: absolute; inset: 0; display: grid; place-items: center; }
.tutorial__thumb .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #d01217; display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow); transition: transform .2s; }
.tutorial__thumb:hover .play span { transform: scale(1.1); }
.tutorial__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tutorial__body h3 { font-size: 1.03rem; margin-bottom: 6px; }
.tutorial__body p { font-size: .92rem; color: var(--muted); }
.tutorial__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 19px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--ink); transition: .15s; }
.filter-bar button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; text-align: start; background: none; border: 0; padding: 20px 0; font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--brand); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item button::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); transition: transform .2s; }
.faq-item button[aria-expanded="true"]::after { content: "−"; transform: rotate(180deg); }
.faq-item .answer { display: none; padding-bottom: 20px; color: var(--muted); }
.faq-item .answer.open { display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--brand); }
.field input, .field textarea, .field select { font: inherit; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 179, 164, .15); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.form-msg { margin-top: 14px; padding: 13px 17px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: #e6f7f3; color: #0b6b58; border: 1px solid #b6e6da; }
.form-msg.err { display: block; background: #fdecea; color: #a32a1c; border: 1px solid #f6c9c2; }

/* ---------- Share ---------- */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); margin-top: 32px; }
.share span { font-size: .9rem; font-weight: 700; color: var(--brand); }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; font-weight: 800; color: var(--brand); transition: .18s; }
.share a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); }
.social-row { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; transition: .18s; }
.social-row a:hover { background: var(--grad-accent); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: #071a2e; color: #a9bdd4; padding: 68px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .9rem; }
.site-footer a { color: #a9bdd4; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; font-size: .84rem; flex-wrap: wrap; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; color: #c3cddb; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-dark); }

/* ---------- AI chat (premium look + attention label) ---------- */
.chat-launcher {
  position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 60; height: 60px; border-radius: 999px;
  background: var(--grad-accent); color: #fff; border: 0; cursor: pointer; box-shadow: 0 12px 32px rgba(0, 179, 164, .45);
  font-size: 1.35rem; display: flex; align-items: center; gap: 9px; padding: 0 22px 0 20px; font-weight: 700;
  animation: pulse 2.4s infinite;
}
.chat-launcher span.lbl { font-size: .9rem; font-weight: 700; }
.chat-launcher:hover { background: var(--accent-dark); }
@keyframes pulse {
  0% { box-shadow: 0 12px 32px rgba(0, 179, 164, .45), 0 0 0 0 rgba(0, 179, 164, .5); }
  70% { box-shadow: 0 12px 32px rgba(0, 179, 164, .45), 0 0 0 16px rgba(0, 179, 164, 0); }
  100% { box-shadow: 0 12px 32px rgba(0, 179, 164, .45), 0 0 0 0 rgba(0, 179, 164, 0); }
}
.chat-panel {
  position: fixed; inset-inline-end: 24px; bottom: 100px; z-index: 61; width: 372px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; display: none;
  flex-direction: column; max-height: min(600px, 78vh); border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }
.chat-head { background: var(--grad); color: #fff; padding: 16px 18px; }
.chat-head b { display: block; font-size: 1rem; }
.chat-head span { font-size: .78rem; opacity: .82; }
.chat-log { padding: 16px; overflow-y: auto; flex: 1; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; }
.msg--bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--me { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
.msg--me a { color: #fff; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg-soft); }
.chat-quick button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .82rem; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; font: inherit; padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; min-width: 0; }
.chat-form button { border: 0; background: var(--grad-cta); color: #fff; border-radius: 999px; padding: 0 20px; font: inherit; font-weight: 700; cursor: pointer; }
.chat-lead { border-top: 1px solid var(--line); padding: 14px; background: #fff; }
.chat-lead p { font-size: .82rem; margin: 0 0 8px; color: var(--muted); }
.chat-lead input { width: 100%; font: inherit; font-size: .9rem; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }

/* ---------- Misc ---------- */
.notice { background: #fff8e6; border: 1px solid #ffe1a6; border-radius: var(--radius-sm); padding: 15px 19px; font-size: .92rem; }
.table-scroll { overflow-x: auto; }
.timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.timeline li { padding-inline-start: 24px; position: relative; margin-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 179, 164, .15); }
.timeline b { display: block; color: var(--brand); }
.post-body { max-width: 74ch; font-size: 1.05rem; }
.post-body h2 { margin-top: 1.6em; font-size: 1.4rem; }

/* ---------- Scroll reveal (progressive, no-JS safe) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2, .65, .3, 1), transform .6s cubic-bezier(.2, .65, .3, 1); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .product-hero { grid-template-columns: 1fr; }
  .hero { padding: 76px 0 68px; }
}
@media (max-width: 820px) {
  .main-nav { display: none; position: absolute; top: 72px; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .main-nav .dropdown a { padding: 9px 13px; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .grid--3, .grid--2, .tutorial-grid, .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .chat-launcher span.lbl { display: none; }
  .chat-launcher { padding: 0 18px; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .grid--4, .tutorial-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .chat-panel { inset-inline: 10px; width: auto; }
  .tab-btn { flex: 1 1 45%; text-align: center; }
}
/* ---- product prev / next pager ---- */
.product-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin: 18px 0 46px; }
.pager-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pager-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.pager-item--prev { align-items: flex-start; }
.pager-item--next { align-items: flex-end; text-align: end; }
.pager-item--all { align-items: center; justify-content: center; text-align: center; font-weight: 700; color: var(--brand); white-space: nowrap; }
.pager-item--empty { visibility: hidden; }
.pager-dir { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); }
.pager-name { font-weight: 700; color: var(--brand); font-size: 1.02rem; }
.pager-item:hover .pager-name { color: var(--accent-dark); }
@media (max-width: 560px) {
  .product-pager { grid-template-columns: 1fr 1fr; }
  .pager-item--all { grid-column: 1 / -1; order: -1; }
}
@media print { .site-header, .site-footer, .chat-launcher, .chat-panel, .share { display: none !important; } }
