:root {
  --ink: #14202b;
  --muted: #5f6d78;
  --line: #dbe4e9;
  --paper: #f7faf9;
  --surface: #ffffff;
  --teal: #0e7c78;
  --teal-dark: #075b5a;
  --coral: #dc6b4f;
  --gold: #d89b45;
  --navy: #0f2c3a;
  --shadow: 0 18px 50px rgba(15, 44, 58, 0.10);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
 :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 12px; top: -50px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,250,249,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); white-space: nowrap; }
.brand strong { font-size: 1.2rem; letter-spacing: .04em; }
.brand span { color: var(--muted); font-size: .72rem; }
.primary-nav { display: flex; gap: 18px; align-items: center; margin-left: auto; font-size: .9rem; }
.primary-nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-inline: 8px; color: var(--muted); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--teal-dark); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 44px; height: 44px; cursor: pointer; border-radius: 6px; }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 6px; font-weight: 700; font-size: .88rem; }
.header-cta:hover { color: #fff; background: var(--teal-dark); }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.breadcrumb { color: var(--muted); font-size: .82rem; padding: 24px 0 0; }
.breadcrumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin-inline: -9px; padding-inline: 9px; text-decoration: underline; text-underline-offset: 3px; }
.hero { padding: 72px 0 86px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 64px; align-items: center; }
.hero--compact { padding-top: 52px; padding-bottom: 56px; }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: 0; }
h1 { font-size: 4.2rem; margin: 16px 0 20px; max-width: 12ch; }
h2 { font-size: 2.35rem; margin: 0 0 16px; }
h3 { font-size: 1.16rem; margin: 0 0 8px; }
.lead { font-size: 1.18rem; color: #30414d; max-width: 60ch; }
.hero-copy p { max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border-radius: 6px; border: 1px solid transparent; font-weight: 800; font-size: .94rem; cursor: pointer; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--teal-dark); }
.btn-secondary { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-secondary:hover { color: var(--teal-dark); background: #e5f3f1; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { color: #fff; background: rgba(255,255,255,.12); }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }
.workflow-visual { position: relative; min-height: 390px; padding: 26px; border-left: 1px solid var(--line); }
.workflow-visual::before { content: ""; position: absolute; inset: 14px 0 14px 18px; border: 1px dashed #b7d5d2; border-radius: 50% 12px 12px 50%; transform: skewY(-5deg); }
.workflow-caption { position: relative; color: var(--muted); font-size: .8rem; margin-bottom: 18px; }
.workflow-map { position: relative; display: grid; gap: 12px; }
.workflow-step { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 13px 15px; box-shadow: 0 8px 24px rgba(15,44,58,.06); }
.workflow-step:nth-child(2), .workflow-step:nth-child(4) { margin-left: 36px; border-left-color: var(--gold); }
.workflow-step:nth-child(3) { margin-left: 72px; border-left-color: var(--coral); }
.workflow-step strong { display: block; color: var(--navy); }
.workflow-step span { display: block; color: var(--muted); font-size: .82rem; }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section--tint { background: #eef6f4; }
.section--navy { background: var(--navy); color: #d9e8e8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); max-width: 54ch; }
.section--navy .section-head p { color: #b9cbcf; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { max-width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card--accent { border-top: 4px solid var(--teal); }
.card--coral { border-top-color: var(--coral); }
.card--gold { border-top-color: var(--gold); }
.card-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dff0ed; color: var(--teal-dark); font-weight: 900; margin-bottom: 16px; }
.problem-list, .check-list, .plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.problem-list li, .check-list li { position: relative; padding-left: 25px; }
.problem-list li::before { content: "?"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #e4b4a5; color: var(--coral); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--teal); font-weight: 900; }
.module-card { min-height: 176px; }
.module-meta { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.module-card ul { color: var(--muted); padding-left: 18px; margin: 12px 0 0; font-size: .9rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 46px; align-items: start; }
.grid > *, .split > *, .member-grid > *, .member-auth-grid > *, .form-grid, .form-grid > * { min-width: 0; }
.flow-list { display: grid; gap: 0; }
.flow-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.flow-item:last-child { border-bottom: 0; }
.flow-number { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 900; }
.flow-item p { color: var(--muted); margin: 0; }
.signal { display: inline-block; padding: 5px 9px; background: #f9efe7; color: #8c4e39; font-size: .78rem; font-weight: 800; border-radius: 4px; }
.quote-box { border-left: 4px solid var(--coral); padding: 4px 0 4px 20px; font-size: 1.2rem; color: var(--navy); }
.comparison { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.comparison th, .comparison td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison th { background: #edf5f3; color: var(--navy); font-size: .9rem; }
.comparison td { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.faq p { color: var(--muted); margin: 10px 0 0; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; background: var(--teal-dark); color: #e9f7f6; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 1.75rem; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band .hero-actions { margin: 0; flex-shrink: 0; }
.article-list { display: grid; gap: 12px; }
.article-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.article-card .eyebrow { font-size: .72rem; }
.article-card h3 { margin-top: 10px; }
.article-card h2 a, .article-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.article-card p { color: var(--muted); margin-bottom: 10px; }
.article-meta { color: var(--muted); font-size: .8rem; }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 44px; font-size: 1.9rem; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #42525c; }
.prose ul { padding-left: 22px; }
.site-footer { margin-top: 70px; background: #0b202a; color: #c5d5d8; }
.footer-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; padding: 36px 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.footer-inner h2, .footer-inner h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-inner p, .footer-inner a { color: #b4c7ca; font-size: .9rem; }
.footer-links { display: grid; gap: 5px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding: 13px 0; font-size: .78rem; color: #99b0b4; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 15px; }
.form-grid { display: grid; width: 100%; max-width: 720px; gap: 14px; }
.form-grid label { display: grid; gap: 6px; color: var(--navy); font-weight: 700; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; font: inherit; border: 1px solid var(--line); padding: 11px 12px; border-radius: 4px; background: #fff; }
.form-grid input[type="file"] { overflow: hidden; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.notice { padding: 16px 18px; background: #fff8eb; border-left: 4px solid var(--gold); color: #6c5731; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.section--navy .link-row .btn-light, .section--navy .link-row .btn-light:hover { color: #fff; }
.small { color: var(--muted); font-size: .86rem; }
.header-tools { display: flex; align-items: center; gap: 12px; font-size: .82rem; margin-left: auto; }
.header-tools a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--muted); }
.header-tools a:hover { color: var(--teal-dark); }
.section--compact { padding-top: 48px; padding-bottom: 56px; }
.narrow { max-width: 760px; }
.task-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.task-item { min-height: 126px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease; }
.task-item:hover, .task-item:focus-visible { border-color: var(--teal); transform: translateY(-2px); }
.task-item span { color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.task-item strong { color: var(--navy); }
.task-item small { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.product-media { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #eaf2f3; color: var(--navy); font-weight: 900; letter-spacing: .12em; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.product-body h2 { font-size: 1.28rem; margin: 0; }
.product-body p { margin: 0; color: var(--muted); }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: auto; padding-top: 10px; color: var(--muted); font-size: .84rem; }
.product-meta strong { color: var(--navy); font-size: 1.15rem; }
.toolbar { display: flex; gap: 14px; align-items: end; margin-bottom: 22px; }
.toolbar label { display: grid; gap: 5px; color: var(--navy); font-weight: 700; }
.toolbar input, .toolbar select { min-height: 44px; min-width: 200px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: var(--surface); }
.empty-state { padding: 24px; border: 1px dashed var(--line); background: var(--surface); color: var(--muted); }
.cart-list { display: grid; gap: 10px; }
.cart-row { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 18px; border: 1px solid var(--line); background: var(--surface); padding: 14px; }
.cart-row .product-media { aspect-ratio: 4/3; }
.cart-row-body { display: flex; flex-direction: column; gap: 8px; }
.cart-row-body h2 { margin: 0; font-size: 1.15rem; }
.cart-controls { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.cart-controls input { width: 80px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.cart-summary { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.cart-summary p { margin: 0; }
.is-disabled { opacity: .55; pointer-events: none; }
.mode-switch { display: flex; gap: 8px; margin: 20px 0; }
.mode-switch .btn { width: auto; }
.compatibility-panel { padding: 18px; background: #eef6f4; border: 1px solid var(--line); }
.compatibility-panel h2 { font-size: 1.2rem; }
.check-row { grid-template-columns: auto minmax(0, 1fr) !important; grid-template-rows: auto; align-items: start; min-height: 44px; }
.form-grid .check-row input { width: 20px; height: 20px; min-height: 20px; margin-top: 4px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.timeline > div { padding: 16px; border-top: 4px solid var(--teal); background: var(--surface); border: 1px solid var(--line); }
.timeline strong, .timeline span { display: block; }
.timeline span { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.member-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.case-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.case-strip > div { padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.case-strip strong, .case-strip span { display: block; }
.case-strip span { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.details-list { display: grid; gap: 12px; margin: 22px 0; }
.details-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.details-list dt { color: var(--navy); font-weight: 800; }
.details-list dd { margin: 0; color: var(--muted); }
.mobile-bottom-nav { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

@media (max-width: 900px) {
  .header-inner { padding: 12px 18px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 66px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 18px 14px; }
  .primary-nav[data-open="true"] { display: flex; }
  .primary-nav a { padding: 9px 8px; border-bottom: 1px solid #e7eeee; }
  .header-cta { display: none; }
  .header-tools { margin-left: 0; }
  .header-tools a { font-size: .78rem; }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.1rem; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 52px; }
  .workflow-visual { border-left: 0; padding: 0; min-height: 330px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head, .cta-band { align-items: start; flex-direction: column; }
  .cta-band .hero-actions { margin-top: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .container, .footer-inner { width: min(100% - 32px, 1160px); }
  .header-inner { gap: 2px; padding: 8px; }
  .nav-toggle { order: -1; flex: 0 0 44px; margin-left: 0; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand strong { font-size: 1.05rem; }
  .brand span { display: none; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
  .hero { padding-bottom: 62px; }
  .section { padding: 56px 0; }
  .grid--2, .grid--3, .grid--4, .split { grid-template-columns: 1fr; }
  .workflow-step:nth-child(2), .workflow-step:nth-child(3), .workflow-step:nth-child(4) { margin-left: 0; }
  .workflow-visual::before { inset: 8px 0; border-radius: 12px; transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom .container { flex-direction: column; }
  .cta-band { padding: 24px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .header-tools { gap: 0; margin-left: auto; }
  .header-tools a { width: 44px; flex: 0 0 44px; justify-content: center; font-size: 0; white-space: nowrap; }
  .header-tools a:nth-child(1)::before { content: "⌕"; font-size: 1.1rem; }
  .header-tools a:nth-child(2)::before { content: "◎"; font-size: 1.05rem; }
  .header-tools a:nth-child(3)::before { content: "▣"; font-size: 1rem; }
  .header-tools a:last-child { width: 44px; }
  .header-tools a:last-child span { font-size: .68rem; margin-left: 2px; }
  .task-grid, .product-grid, .member-grid, .member-auth-grid, .timeline { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar input, .toolbar select { min-width: 0; width: 100%; }
  .cart-row { grid-template-columns: 92px minmax(0,1fr); gap: 12px; }
  .cart-row .product-media { aspect-ratio: 1; }
  .cart-summary { align-items: start; flex-direction: column; }
  .case-strip { grid-template-columns: 1fr; }
  .details-list div { grid-template-columns: 1fr; gap: 2px; }
  .mobile-bottom-nav { position: static; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
  .mobile-bottom-nav a { min-height: 44px; display: grid; place-items: center; color: var(--navy); font-size: .78rem; }
}
.ai-hero { padding: 78px 0 82px; background: linear-gradient(135deg,#f7faf9 0%,#e8f3f4 100%); border-bottom: 1px solid var(--line); }
.ai-hero-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr); gap:54px; align-items:center; }
.ai-hero h1 { margin-bottom:8px; }
.ai-hero-panel { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:20px; background:rgba(255,255,255,.72); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); }
.ai-hero-panel > div { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.ai-hero-panel .card-icon { margin:0; }
.ai-hero-panel small { color:var(--muted); font-size:.78rem; }
.ai-hero-panel strong { color:var(--navy); font-size:.92rem; }
#services .card .btn { margin-top:18px; width:100%; }
.onsite-grid { margin-top:24px; }
.onsite-grid .card h3 { color:var(--teal-dark); margin-bottom:6px; }
@media (max-width:900px) { .ai-hero-grid { grid-template-columns:1fr; gap:30px; } }
@media (max-width:620px) { .ai-hero { padding:54px 0 60px; } .ai-hero-panel { grid-template-columns:1fr; } }

/* Shared interface primitives. Keep state and control styling here for every route. */
:root {
  --success: #176b50;
  --danger: #a83d3d;
  --info: #285f83;
  --control-height: 48px;
}
body { overflow-wrap: anywhere; }
main, section, article, aside, form, .container, .header-inner { min-width: 0; }
button, input, select, textarea { font: inherit; }
button:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }
.btn { min-height: var(--control-height); text-align: center; }
.nav-toggle, .header-tools a, .primary-nav a, .mobile-bottom-nav a { min-height: var(--control-height); }
.nav-toggle { font-size: 0; line-height: 1; }
.nav-toggle::before { content: "☰"; font-size: 1.25rem; }
.nav-toggle[aria-expanded="true"]::before { content: "×"; font-size: 1.5rem; }
.form-grid input, .form-grid textarea, .form-grid select, .toolbar input, .toolbar select, .cart-controls input { min-height: var(--control-height); border-color: #9eafb7; }
.form-grid :is(input, textarea, select):focus, .toolbar :is(input, select):focus { border-color: var(--teal-dark); outline: 3px solid #a8d9d2; outline-offset: 1px; }
.form-grid.was-validated :is(input, textarea, select)[aria-invalid="true"] { border-color: var(--danger); background: #fff8f8; }
.form-grid [role="alert"], .form-grid [role="status"] { min-height: 1.5em; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); background: #edf5f3; font-size: .78rem; font-weight: 800; }
.badge--success { color: var(--success); background: #e8f5ee; border-color: #a8d7bf; }
.badge--warning { color: #805921; background: #fff3dc; border-color: #e7ca93; }
.badge--error { color: var(--danger); background: #fff0f0; border-color: #e8b7b7; }
.alert { padding: 13px 16px; border: 1px solid #b7cfdf; border-left: 4px solid var(--info); background: #eef6fa; color: #264d66; border-radius: 4px; }
.alert--error { border-color: #e8b7b7; border-left-color: var(--danger); color: #7e2929; background: #fff3f3; }
.alert--success { border-color: #a8d7bf; border-left-color: var(--success); color: #17523f; background: #eef8f2; }
.status-list { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.status-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.status-list strong { font-size: .94rem; }
.status-list small { display: block; color: var(--muted); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--navy); background: #edf5f3; }
.table tr:last-child td { border-bottom: 0; }
.ui-modal { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.ui-modal::backdrop { background: rgba(9, 31, 40, .62); }
.ui-modal h2 { font-size: 1.35rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.toast-region { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); display: grid; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 4px; background: var(--surface); color: var(--ink); box-shadow: 0 10px 30px rgba(15, 44, 58, .18); }
.toast--error { border-left-color: var(--danger); }
.skeleton { min-height: 1.25em; border-radius: 4px; background: #dbe8e7; color: transparent !important; animation: skeleton-pulse 1.4s ease-in-out infinite; }
.skeleton-row { min-height: 70px; margin-block: 8px; }
@keyframes skeleton-pulse { 50% { background: #edf4f2; } }
.chat-panel { display: grid; gap: 16px; }
.chat-log { min-height: 160px; max-height: 420px; overflow-y: auto; display: grid; align-content: start; gap: 10px; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.chat-bubble { max-width: min(90%, 68ch); padding: 10px 13px; border-radius: 6px; background: #eaf4f1; white-space: pre-wrap; }
.chat-bubble--user { justify-self: end; background: var(--navy); color: #fff; }
.chat-bubble--error { background: #fff1f1; color: #7e2929; }
.chat-form { max-width: none; }
.chat-form textarea { min-height: 96px; }
.chat-form [role="status"] { margin: 0; }
.chat-form .hero-actions { margin-top: 0; }
.member-section { padding-block: 20px; border-top: 1px solid var(--line); }
.member-section h3 { font-size: 1.1rem; }
.member-grid .card { display: flex; flex-direction: column; gap: 8px; }
.member-grid .card a, .member-grid .card button { align-self: start; }
.member-grid .card a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .primary-nav { top: 100%; }
  .primary-nav a { min-height: var(--control-height); }
}
@media (max-width: 620px) {
  .header-inner { gap: 4px; }
  .brand strong { font-size: 1rem; }
  .mobile-bottom-nav { position: static; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--teal-dark); font-weight: 800; border-top: 3px solid var(--teal); }
  .modal-actions .btn { width: auto; flex: 1 1 120px; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .table tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; }
  .table td::before { content: attr(data-label); font-weight: 800; color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }


/* AI landing page visual system. Scoped to .ai-page so existing routes retain their layout. */
.ai-page {
  --ai-green: #4dff9b;
  --ai-green-soft: #d8ffe9;
  --ai-deep: #032e25;
  --ai-ink: #071b18;
  background: #fff;
  color: var(--ai-ink);
}
.ai-page .site-header {
  position: relative;
  z-index: 20;
  height: 72px;
  background: #032e25;
  border-bottom: 1px solid rgba(111,255,190,.18);
  box-shadow: 0 3px 18px rgba(0,35,27,.2);
  backdrop-filter: none;
}
.ai-page .header-inner {
  width: min(1248px, calc(100% - 64px));
  max-width: none;
  height: 72px;
  padding: 0;
  gap: 20px;
}
.ai-page .brand {
  color: #fff;
  gap: 8px;
  flex: 0 0 auto;
}
.ai-page .brand strong {
  font-size: 1.64rem;
  line-height: 1;
  letter-spacing: .08em;
}
.ai-page .brand span {
  display: block;
  color: #b7d6cd;
  font-size: .66rem;
  letter-spacing: .2em;
  margin-top: 24px;
  margin-left: -115px;
}
.ai-header-slogan {
  color: #c4ddd6;
  font-size: .74rem;
  line-height: 1.35;
  padding-left: 18px;
  margin: 0;
  border-left: 1px solid rgba(255,255,255,.16);
  white-space: nowrap;
}
.ai-header-slogan small { font-size: .68rem; color: #88aaa1; }
.ai-page .primary-nav {
  margin-left: auto;
  gap: 3px;
  font-size: .82rem;
}
.ai-page .primary-nav a {
  position: relative;
  min-height: 44px;
  padding: 0 13px;
  color: #edf8f4;
  white-space: nowrap;
}
.ai-page .primary-nav a:hover,
.ai-page .primary-nav a[aria-current="page"] {
  color: var(--ai-green);
}
.ai-page .primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 5px;
  background: var(--ai-green);
  box-shadow: 0 0 13px var(--ai-green);
}
.ai-page .header-tools { gap: 12px; margin-left: 4px; }
.ai-page .header-tools > a:first-child {
  color: #fff;
  font-size: 1.65rem;
  min-width: 40px;
}
.ai-page .header-tools > a:first-child:hover { color: var(--ai-green); }
.ai-page .ai-header-line {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--ai-green);
  color: #00281e;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(70,255,153,.2);
}
.ai-page .ai-header-line:hover { color: #00281e; background: #8affbd; }
.ai-page .ai-header-line span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 22px;
  margin-right: 8px;
  border-radius: 6px;
  background: #002e24;
  color: var(--ai-green);
  font-size: .52rem;
  letter-spacing: -.03em;
}
.ai-page .nav-toggle {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}
.ai-page .ai-hero {
  position: relative;
  min-height: 400px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-color: #032c24;
  background-image:
    linear-gradient(90deg, rgba(1,37,29,.98) 0%, rgba(1,37,29,.93) 25%, rgba(1,37,29,.54) 49%, rgba(1,37,29,.10) 78%, rgba(1,37,29,.04) 100%),
    url("/assets/ai-hero-workstation.png");
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: cover, auto 100%;
}
.ai-page .ai-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(135,255,198,.32);
}
.ai-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: flex;
  align-items: stretch;
}
.ai-hero-copy {
  width: min(58%, 650px);
  padding: 31px 0 19px;
}
.ai-kicker {
  margin: 0 0 7px;
  color: #d8f4eb;
  font-size: .94rem;
  letter-spacing: .02em;
}
.ai-page .ai-hero h1 {
  margin: 0;
  max-width: 13ch;
  color: #fff;
  font-size: clamp(3rem, 4.7vw, 4.18rem);
  line-height: 1.17;
  letter-spacing: .025em;
  text-shadow: 0 3px 20px rgba(0,0,0,.22);
}
.ai-page .ai-hero h1 em {
  color: var(--ai-green);
  font-style: normal;
  text-shadow: 0 0 20px rgba(77,255,155,.3);
}
.ai-hero-subtitle {
  margin: 7px 0 0;
  color: #e5f6ef;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 26px;
  font-weight: 900;
  font-size: .98rem;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.ai-btn:hover { transform: translateY(-2px); }
.ai-btn b { font-size: 1.24rem; line-height: 1; font-weight: 500; }
.ai-btn-primary {
  color: #00281e;
  background: var(--ai-green);
  box-shadow: 0 7px 20px rgba(32,255,134,.18);
}
.ai-btn-primary:hover { color: #00281e; background: #8affbd; box-shadow: 0 9px 26px rgba(32,255,134,.3); }
.ai-btn-primary > span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 21px;
  border-radius: 6px;
  background: #002e24;
  color: var(--ai-green);
  font-size: .51rem;
  letter-spacing: -.05em;
}
.ai-btn-outline {
  color: #fff;
  border-color: rgba(92,255,170,.8);
  background: rgba(0,38,29,.24);
}
.ai-btn-outline:hover { color: #fff; background: rgba(36,183,111,.2); }
.ai-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 23px;
  max-width: 650px;
}
.ai-trust-row > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ai-trust-icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
}
.ai-trust-row p { margin: 0; color: #e9f6f1; line-height: 1.25; }
.ai-trust-row strong { display: block; font-size: .82rem; white-space: nowrap; }
.ai-trust-row small { display: block; margin-top: 4px; color: #b8d4cb; font-size: .69rem; white-space: nowrap; }
.ai-page .ai-solutions {
  padding: 23px 0 18px;
  background: #fff;
  border: 0;
}
.ai-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ai-solution-card {
  position: relative;
  min-height: 198px;
  padding: 19px 22px 16px;
  overflow: hidden;
  border: 1px solid #e5ecea;
  border-radius: 14px;
  background:
    radial-gradient(circle at 105% 105%, rgba(23,122,101,.05), transparent 33%),
    linear-gradient(145deg, #fff, #fafdfe);
  box-shadow: 0 7px 22px rgba(21,63,59,.08);
  color: var(--ai-ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ai-solution-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -37px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(4,142,105,.06);
  border-radius: 50%;
}
.ai-solution-card:hover {
  color: var(--ai-ink);
  border-color: #b7e2d1;
  box-shadow: 0 13px 28px rgba(20,100,75,.13);
  transform: translateY(-3px);
}
.ai-solution-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  color: #0aa56e;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(5,154,100,.18);
}
.ai-icon-workstation { color: #0b9d6a; font-size: 3rem; }
.ai-icon-cloud { color: #18a879; font-size: 3.5rem; }
.ai-icon-book { color: #168d6c; font-size: 3.3rem; }
.ai-arrow {
  position: absolute;
  top: 21px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #d1dfdc;
  border-radius: 50%;
  color: #58736e;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
}
.ai-solution-card h3 {
  margin: 1px 0 5px;
  color: #071b18;
  font-size: 1.25rem;
  letter-spacing: .01em;
}
.ai-solution-card p {
  margin: 0;
  color: #64756f;
  font-size: .89rem;
  line-height: 1.58;
}
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}
.ai-tags i {
  padding: 4px 11px;
  border-radius: 14px;
  background: #eff2f1;
  color: #52615d;
  font-size: .72rem;
  font-style: normal;
  line-height: 1.2;
  white-space: nowrap;
}
.ai-page .ai-articles {
  padding: 0 0 18px;
  background: #fff;
  border: 0;
}
.ai-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 0 5px 13px;
}
.ai-section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #071b18;
  font-size: 1.72rem;
}
.ai-section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 3px;
  width: 5px;
  border-radius: 4px;
  background: #24d38a;
  box-shadow: 0 0 13px rgba(36,211,138,.4);
}
.ai-section-heading p {
  margin: 2px 0 0 18px;
  color: #6b7b78;
  font-size: .91rem;
}
.ai-more {
  color: #167963;
  font-size: .91rem;
  font-weight: 800;
  white-space: nowrap;
}
.ai-more:hover { color: #075b4d; }
.ai-more span { margin-left: 6px; font-size: 1.2rem; }
.ai-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ai-article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e2e9e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(20,56,51,.06);
  color: var(--ai-ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ai-article-card:hover { color: var(--ai-ink); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(20,56,51,.12); }
.ai-article-card > img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border: 0;
}
.ai-article-body {
  position: relative;
  min-height: 122px;
  padding: 11px 20px 12px;
}
.ai-article-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #6a7a77;
  font-size: .72rem;
}
.ai-article-meta span {
  padding: 4px 10px;
  border-radius: 12px;
  background: #dff7e9;
  color: #11885a;
  font-weight: 800;
}
.ai-article-card h3 {
  margin: 6px 0 3px;
  color: #071b18;
  font-size: 1.12rem;
}
.ai-article-card p {
  max-width: 93%;
  margin: 0;
  color: #6b7b78;
  font-size: .8rem;
  line-height: 1.45;
}
.ai-card-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #d1dfdc;
  border-radius: 50%;
  color: #58736e;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}
.ai-page .ai-bottom-cta {
  min-height: 147px;
  padding: 24px 0;
  background-color: #032e25;
  background-image: linear-gradient(90deg, rgba(3,46,37,.92), rgba(3,46,37,.72)), url("/assets/ai-hero-workstation.png");
  background-position: center, right bottom;
  background-size: cover, auto 210px;
  color: #eaf9f2;
  border: 0;
}
.ai-bottom-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.42fr .9fr;
  align-items: center;
  gap: 30px;
}
.ai-cta-title {
  position: relative;
  padding-right: 25px;
  border-right: 1px solid rgba(215,255,235,.55);
}
.ai-cta-title p { margin: 0 0 2px; color: #fff; font-size: 1.33rem; }
.ai-cta-title h2 { margin: 0; color: #fff; font-size: 2rem; }
.ai-cta-copy p { margin: 0; color: #edf9f3; font-size: .88rem; line-height: 1.55; }
.ai-cta-copy small { display: block; margin-top: 5px; color: #b9d8cc; font-size: .75rem; }
.ai-cta-button { justify-self: end; min-width: 270px; }
.ai-page .ai-footer { margin-top: 0; }
.ai-page .mobile-bottom-nav { display: none; }
.ai-page .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;
}
@media (max-width: 1100px) {
  .ai-header-slogan { display: none; }
  .ai-page .primary-nav { gap: 0; }
  .ai-page .primary-nav a { padding-inline: 9px; }
  .ai-page .header-inner { width: min(100% - 36px, 1160px); }
  .ai-hero-copy { width: min(62%, 650px); }
  .ai-solution-card { padding-inline: 17px; }
  .ai-solution-card p { font-size: .82rem; }
  .ai-tags { gap: 4px; }
  .ai-tags i { padding-inline: 8px; }
}
@media (max-width: 900px) {
  .ai-page .site-header, .ai-page .header-inner { height: 66px; }
  .ai-page .header-inner { width: calc(100% - 32px); }
  .ai-page .nav-toggle { display: inline-grid; place-items: center; order: -1; flex: 0 0 44px; margin-left: 0; }
  .ai-page .brand strong { font-size: 1.28rem; }
  .ai-page .brand span { margin-left: -93px; font-size: .57rem; }
  .ai-page .primary-nav {
    top: 66px;
    background: #042e26;
    border-bottom-color: rgba(95,255,171,.25);
    padding: 8px 16px 13px;
  }
  .ai-page .primary-nav a { justify-content: flex-start; color: #e7f6ef; border-bottom-color: rgba(255,255,255,.11); }
  .ai-page .primary-nav a[aria-current="page"]::after { left: 8px; right: auto; bottom: 2px; width: 116px; }
  .ai-page .header-tools { margin-left: auto; gap: 0; }
  .ai-page .header-tools > a:first-child { display: none; }
  .ai-page .ai-header-line {
    width: 45px;
    min-width: 45px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
  }
  .ai-page .ai-header-line span { margin: 0; }
  .ai-page .ai-hero {
    min-height: 420px;
    background-size: cover, auto 100%;
    background-position: center, right center;
  }
  .ai-hero-inner { min-height: 420px; }
  .ai-hero-copy { width: 67%; padding-top: 32px; }
  .ai-page .ai-hero h1 { font-size: clamp(2.7rem, 7vw, 3.75rem); }
  .ai-hero-subtitle { font-size: 1rem; }
  .ai-trust-row { gap: 10px; }
  .ai-trust-row strong { font-size: .72rem; }
  .ai-trust-row small { font-size: .6rem; }
  .ai-solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ai-article-body { padding-inline: 13px; }
  .ai-article-card h3 { font-size: 1rem; }
  .ai-article-card p { font-size: .73rem; }
  .ai-bottom-inner { gap: 18px; }
  .ai-cta-copy p { font-size: .78rem; }
}
@media (max-width: 620px) {
  .ai-page .site-header, .ai-page .header-inner { height: 62px; }
  .ai-page .header-inner { width: calc(100% - 22px); gap: 6px; padding: 0; }
  .ai-page .nav-toggle { flex-basis: 40px; width: 40px; height: 40px; }
  .ai-page .brand strong { font-size: 1.13rem; }
  .ai-page .brand span { display: none; }
  .ai-page .primary-nav { top: 62px; }
  .ai-page .ai-hero {
    min-height: 514px;
    background-image: linear-gradient(90deg, rgba(1,37,29,.99) 0%, rgba(1,37,29,.92) 56%, rgba(1,37,29,.52) 100%), url("/assets/ai-hero-workstation.png");
    background-position: center, right bottom;
    background-size: cover, auto 248px;
  }
  .ai-hero-inner { min-height: 514px; width: calc(100% - 30px); }
  .ai-hero-copy { width: 100%; padding: 28px 0 18px; }
  .ai-kicker { font-size: .78rem; }
  .ai-page .ai-hero h1 { font-size: 2.65rem; line-height: 1.22; }
  .ai-hero-subtitle { max-width: 25ch; font-size: .93rem; line-height: 1.45; }
  .ai-hero-actions { display: grid; gap: 10px; margin-top: 17px; max-width: 300px; }
  .ai-btn { width: auto; min-height: 48px; padding-inline: 17px; font-size: .88rem; }
  .ai-trust-row { grid-template-columns: 1fr; gap: 9px; margin-top: 21px; max-width: 265px; }
  .ai-trust-row > div { gap: 8px; }
  .ai-trust-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 1.15rem; }
  .ai-trust-row strong { font-size: .74rem; }
  .ai-trust-row small { font-size: .62rem; }
  .ai-page .ai-solutions { padding: 16px 0 12px; }
  .ai-solution-grid { grid-template-columns: 1fr; gap: 10px; }
  .ai-solution-card { min-height: 172px; padding: 16px 18px 14px; }
  .ai-solution-icon { width: 48px; height: 45px; font-size: 2.75rem; }
  .ai-solution-card h3 { font-size: 1.16rem; }
  .ai-solution-card p { font-size: .82rem; }
  .ai-page .ai-articles { padding-bottom: 13px; }
  .ai-section-heading { align-items: start; flex-direction: column; gap: 6px; margin-inline: 0; }
  .ai-section-heading h2 { font-size: 1.55rem; }
  .ai-section-heading p { margin-left: 18px; font-size: .82rem; }
  .ai-more { align-self: end; margin-top: -34px; font-size: .8rem; }
  .ai-article-grid { grid-template-columns: 1fr; gap: 10px; }
  .ai-article-card { display: grid; grid-template-columns: 38% 1fr; min-height: 128px; }
  .ai-article-card > img { width: 100%; height: 100%; min-height: 128px; }
  .ai-article-body { min-height: 128px; padding: 10px 13px; }
  .ai-article-meta { font-size: .64rem; gap: 6px; }
  .ai-article-meta span { padding: 3px 7px; }
  .ai-article-card h3 { margin-top: 5px; font-size: .97rem; }
  .ai-article-card p { font-size: .72rem; }
  .ai-card-arrow { right: 8px; bottom: 8px; width: 23px; height: 23px; font-size: 1.2rem; }
  .ai-page .ai-bottom-cta { min-height: 0; padding: 24px 0 28px; background-size: cover, auto 160px; }
  .ai-bottom-inner { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .ai-cta-title { padding: 0 0 13px; border-right: 0; border-bottom: 1px solid rgba(215,255,235,.45); }
  .ai-cta-title p { font-size: 1.1rem; }
  .ai-cta-title h2 { font-size: 1.72rem; }
  .ai-cta-copy p { font-size: .82rem; }
  .ai-cta-copy small { font-size: .7rem; }
  .ai-cta-button { justify-self: stretch; min-width: 0; }
  .ai-page .ai-footer { display: none; }
  .ai-page .mobile-bottom-nav { display: grid; position: static; }
}


/* Final alignment tweaks for the reference landing composition. */
.ai-page .container,
.ai-page .header-inner {
  width: min(1312px, calc(100% - 64px));
}
.ai-page .ai-hero,
.ai-page .ai-hero-inner {
  min-height: 400px;
  height: 400px;
}
.ai-page .ai-hero-copy { padding-top: 27px; padding-bottom: 15px; }
.ai-page .ai-solution-card {
  min-height: 198px;
  height: 198px;
  padding-top: 16px;
  padding-bottom: 13px;
  overflow: hidden;
}
.ai-page .ai-solution-icon { height: 50px; margin-bottom: 0; }
.ai-page .ai-solution-card p { line-height: 1.48; }
@media (max-width: 900px) {
  .ai-page .container,
  .ai-page .header-inner { width: calc(100% - 32px); }
  .ai-page .ai-hero,
  .ai-page .ai-hero-inner { min-height: 420px; height: 420px; }
}
@media (max-width: 620px) {
  .ai-page .container,
  .ai-page .header-inner,
  .ai-page .ai-hero-inner { width: calc(100% - 30px); }
  .ai-page .ai-hero,
  .ai-page .ai-hero-inner { min-height: 514px; height: 514px; }
  .ai-page .ai-solution-card { min-height: 172px; height: 172px; }
}


.ai-page .ai-hero {
  background-position: center, right 28px;
  background-size: cover, auto 370px;
}
.ai-page .ai-trust-row > div:nth-child(3) { visibility: hidden; }
@media (max-width: 900px) {
  .ai-page .ai-hero { background-position: center, right center; background-size: cover, auto 100%; }
}
@media (max-width: 620px) {
  .ai-page .ai-hero { background-position: center, right bottom; background-size: cover, auto 248px; }
}


.ai-page .ai-hero h1 { max-width: 8em; }
@media (max-width: 620px) {
  .ai-page .nav-toggle { flex-basis: 44px; width: 44px; height: 44px; }
  .ai-page .ai-hero h1 { max-width: 8em; }
}


.ai-page .ai-section-heading p,
.ai-page .ai-article-card p { color: #586963; }
.ai-page .ai-article-meta span { color: #0b6b47; }


.ai-page .ai-hero,
.ai-page .ai-bottom-cta { background-repeat: no-repeat; }
.ai-page .ai-nav-current,
.ai-page .primary-nav a[aria-current="page"] { background: rgba(39,255,154,.08); border-radius: 14px; box-shadow: 0 0 18px rgba(39,255,154,.08); }
.ai-page .header-tools > a:first-child {
  position: relative;
  width: 44px;
  min-width: 44px;
  font-size: 0;
}
.ai-page .header-tools > a:first-child::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1.7px solid #fff;
  border-radius: 50%;
}
.ai-page .header-tools > a:first-child::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.7px;
  right: 10px;
  bottom: 12px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: right center;
}
.ai-page .ai-icon-building,
.ai-page .ai-icon-workstation,
.ai-page .ai-icon-book { font-size: 0; position: relative; }
.ai-page .ai-icon-building::before {
  content: "";
  width: 28px;
  height: 39px;
  border-radius: 4px 4px 2px 2px;
  background: repeating-linear-gradient(90deg, #0aa56e 0 5px, #b8efd5 5px 8px);
  border: 2px solid #0aa56e;
  box-shadow: 14px 9px 0 -4px #0aa56e, -12px 15px 0 -6px #34c98b;
}
.ai-page .ai-icon-workstation::before {
  content: "";
  width: 38px;
  height: 27px;
  border: 3px solid #0aa56e;
  border-radius: 2px;
  box-shadow: inset 0 0 0 5px #c8f3dd;
}
.ai-page .ai-icon-workstation::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 7px;
  bottom: 2px;
  border-bottom: 3px solid #0aa56e;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}
.ai-page .ai-icon-book::before {
  content: "";
  width: 38px;
  height: 34px;
  border: 3px solid #0aa56e;
  border-radius: 3px 6px 3px 3px;
  background: linear-gradient(90deg, #b8efd5 0 45%, #fff 45% 52%, #9be9c5 52%);
  transform: skewY(-5deg);
}

.ai-page .ai-trust-row > div:nth-child(3) { visibility: hidden; }
@media (max-width: 620px) { .ai-page .ai-trust-row > div:nth-child(3) { display: none; } }

.ai-page .ai-article-meta .ai-draft-label { padding: 0; border-radius: 0; background: transparent; color: #6a7a77; font-weight: 400; }

.ai-page .ai-hero h1 { max-width: 7em; }
@media (max-width: 620px) { .ai-page .ai-hero h1 { max-width: 7em; } }


.ai-page .ai-bottom-cta {
  background-color: #032e25;
  background-image:
    radial-gradient(circle at 9% 50%, rgba(42,153,112,.34), transparent 25%),
    linear-gradient(90deg, #032e25 0%, #064638 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.site-footer .brand .footer-brand-name{color:#fff}
.site-footer .brand .footer-brand-company{color:#9db4b8}
