:root {
  --green: #109a3a;
  --green-2: #18b85a;
  --green-3: #dff8e8;
  --teal: #0d8074;
  --cyan: #1297b1;
  --blue: #2458d3;
  --indigo: #243b89;
  --purple: #7b3ff2;
  --red: #c82127;
  --orange: #f25a12;
  --ink: #071812;
  --muted: #5e7069;
  --soft: #f3f8f5;
  --soft-blue: #f4f8ff;
  --line: #dce8e2;
  --surface: #ffffff;
  --shadow: 0 18px 48px rgba(8, 28, 20, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: calc(100% - 40px);
  max-width: 1220px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(7, 24, 18, .10);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.brand img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #50675f;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  transition: color .18s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 14px 30px rgba(17, 156, 58, .26);
}

.btn-unavailable {
  color: #6b7280;
  border-color: #d1d5db;
  background: #e5e7eb;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-unavailable:hover {
  transform: none;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .10);
}

.btn-outline {
  color: var(--green);
  border-color: rgba(17, 156, 58, .35);
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(105deg, rgba(4, 20, 14, .94) 0%, rgba(7, 64, 37, .90) 48%, rgba(20, 82, 120, .88) 100%),
    url("/smartcip_landing/static/src/img/menu_background.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .78;
}

.hero-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.hero-panel-a {
  right: 32px;
  top: 16vh;
  width: 46vw;
  max-width: 640px;
  padding: 16px;
}

.hero-panel-b {
  right: 12vw;
  bottom: 10vh;
  width: 42vw;
  max-width: 580px;
  height: 280px;
  overflow: hidden;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding-bottom: 12px;
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.panel-top strong {
  color: #fff;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.hero-kpis span {
  display: grid;
  gap: 6px;
  min-height: 84px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
}

.hero-kpis b {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.map-preview {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(24deg, transparent 0 36%, rgba(255, 255, 255, .20) 37% 38%, transparent 39%),
    linear-gradient(148deg, transparent 0 48%, rgba(255, 255, 255, .18) 49% 50%, transparent 51%),
    radial-gradient(circle at 28% 40%, rgba(255, 255, 255, .18), transparent 18%),
    radial-gradient(circle at 66% 58%, rgba(255, 255, 255, .15), transparent 24%),
    linear-gradient(135deg, rgba(231, 244, 235, .70), rgba(206, 233, 244, .55));
}

.pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 999px 999px 999px 0;
  background: var(--green);
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #fff;
}

.pin-a { left: 20%; top: 38%; }
.pin-b { left: 42%; top: 52%; background: #f2c94c; }
.pin-c { left: 62%; top: 34%; background: #2d6cdf; }
.pin-d { left: 76%; top: 62%; }

.route {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 156, 58, .45);
  transform-origin: left center;
}

.route-a { left: 23%; top: 48%; width: 310px; transform: rotate(14deg); }
.route-b { left: 44%; top: 58%; width: 220px; transform: rotate(-26deg); background: rgba(36, 88, 211, .35); }

.hero-content {
  max-width: 900px;
  padding: 88px 0 118px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f2b84b;
  box-shadow: 0 0 0 5px rgba(242, 184, 75, .18);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin: 24px 0 22px;
  font-size: 76px;
  font-weight: 950;
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions.center {
  justify-content: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 90px 0;
}

.section-tight {
  padding-top: 76px;
}

.soft {
  background: linear-gradient(180deg, #f7fbf8, #eef7f2);
}

.section-head {
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;
  background: var(--green-3);
  color: #087a2a;
}

h2 {
  margin-bottom: 14px;
  font-size: 48px;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p,
.split p {
  color: var(--muted);
  font-size: 18px;
}

.dashboard-mockup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow);
}

.metric span {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.metric strong {
  font-size: 30px;
  line-height: 1;
}

.teal { background: var(--teal); }
.cyan { background: var(--cyan); }
.green { background: #0c9a68; }
.purple { background: var(--purple); }
.red { background: var(--red); }
.orange { background: var(--orange); }
.blue { background: var(--blue); }
.sky { background: #0f86bd; }

.chart-card {
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 28, 20, .08);
}

.chart-card h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 28px;
  height: 210px;
  border-bottom: 1px solid #9aa9a2;
  background: repeating-linear-gradient(to top, #edf2ef 0 1px, transparent 1px 32px);
  padding: 0 26px;
}

.bar-chart span {
  position: relative;
  display: block;
  border-radius: 8px 8px 0 0;
  background: #ef4d68;
}

.bar-chart b {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
  font-size: 13px;
}

.chart-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
  color: #66756f;
  text-align: center;
  font-size: 13px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-grid article,
.price-card,
.roi-card,
.knowledge-preview article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 28, 20, .06);
}

.card {
  min-height: 220px;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 156, 58, .38);
  box-shadow: var(--shadow);
}

.card span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 24px;
  background: var(--green-3);
  color: var(--green);
  font-weight: 950;
}

.card h3,
.feature-grid h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.card p,
.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-3);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.doc-builder {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f1;
  box-shadow: var(--shadow);
}

.doc-builder aside {
  display: grid;
  align-content: start;
  gap: 9px;
  border-right: 4px solid var(--green);
  padding: 18px;
  background: #f8fcfa;
}

.doc-builder aside strong {
  margin-bottom: 6px;
}

.doc-builder aside span {
  border: 1px solid #d3e2db;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.paper {
  position: relative;
  width: 78%;
  max-width: 520px;
  min-height: 350px;
  margin: 40px auto;
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 28, 20, .12);
}

.paper h3 {
  padding-top: 62px;
  text-align: center;
}

.paper mark {
  position: absolute;
  left: 58px;
  top: 128px;
  border: 1px solid #b7e5c8;
  border-radius: 6px;
  padding: 4px 8px;
  background: #e8fbef;
  color: #064d24;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
}

.paper .mark-two { top: 188px; left: 82px; }
.paper .mark-three { top: 256px; left: 62%; }

.map-band {
  background: #fff;
}

.map-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 18px;
}

.map-toolbar span {
  font-size: 22px;
  font-weight: 500;
}

.map-toolbar button {
  border: 0;
  border-radius: 0;
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-canvas {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(18deg, transparent 0 32%, #f2d19a 33% 34%, transparent 35%),
    linear-gradient(118deg, transparent 0 52%, #f2d19a 53% 54%, transparent 55%),
    linear-gradient(82deg, transparent 0 24%, #d7ecff 25% 26%, transparent 27%),
    radial-gradient(circle at 34% 42%, #dcebd5, transparent 18%),
    #fffaf4;
}

.map-canvas aside {
  position: absolute;
  inset: 0 0 0 auto;
  width: 210px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: rgba(230, 232, 231, .92);
  color: #08822f;
  font-weight: 800;
}

.map-canvas aside strong {
  color: var(--ink);
  text-transform: uppercase;
  font-size: 13px;
}

.map-canvas aside small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.map-pin {
  position: absolute;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 3px solid #0b1f17;
  border-radius: 999px 999px 999px 0;
  background: var(--green);
  color: #fff;
  transform: rotate(-45deg);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

.map-pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
}

.map-pin:not(:empty)::after {
  content: none;
}

.map-pin.p1 { left: 16%; top: 52%; }
.map-pin.p2 { left: 26%; top: 36%; }
.map-pin.p3 { left: 38%; top: 56%; background: #f2c94c; }
.map-pin.p4 { left: 52%; top: 45%; }
.map-pin.p5 { left: 44%; top: 28%; background: #123966; }
.map-pin.p6 { left: 68%; top: 60%; background: #e7f0ed; color: var(--ink); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 24px;
}

.feature-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 950;
}

.branch-dashboard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.branch-dashboard h3 {
  margin-bottom: 18px;
  color: #007a2d;
  font-size: 26px;
}

.branch-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.branch-kpis span {
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbf9;
  color: #617166;
  font-size: 13px;
  font-weight: 800;
}

.branch-kpis b {
  display: block;
  color: #00812f;
  font-size: 24px;
  line-height: 1.1;
}

.branch-bars {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.branch-bars label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #006927;
  font-weight: 900;
}

.branch-bars i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #55c46c);
}

.branch-bars i.blue {
  background: linear-gradient(90deg, #1b78b6, #62b9ee);
}

.pricing-section {
  background: linear-gradient(180deg, #fff, var(--soft-blue));
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: stretch;
}

.price-card,
.roi-card {
  padding: 30px;
}

.price-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  background: #e8f1ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-card h3,
.roi-card h3 {
  margin: 14px 0 8px;
  font-size: 26px;
}

.price {
  margin: 10px 0 24px;
  color: var(--blue);
  font-size: 58px;
  font-weight: 950;
  line-height: 1;
}

.price small {
  font-size: 18px;
}

.price span {
  color: #60728b;
  font-size: 18px;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
  color: #24352f;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 950;
}

.roi-card {
  display: grid;
  align-content: start;
}

.roi-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.roi-form label {
  display: grid;
  gap: 7px;
  color: #172a22;
  font-weight: 900;
}

.roi-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5e0da;
  border-radius: 8px;
  padding: 0 12px;
  outline: none;
}

.roi-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(17, 156, 58, .12);
}

.roi-result {
  margin-top: 22px;
  border: 1px dashed #b7c5d8;
  border-radius: 8px;
  padding: 22px;
  background: #f8fbff;
}

.roi-result span,
.roi-result small {
  display: block;
  color: #60728b;
  font-weight: 800;
}

.roi-result strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 36px;
  line-height: 1;
}

.comparison {
  background: #fff;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-table .row {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.compare-table .row:last-child {
  border-bottom: 0;
}

.compare-table .row > * {
  min-width: 0;
  padding: 16px;
}

.compare-table .head {
  background: #f5f8fb;
  color: #12233d;
  font-size: 18px;
}

.compare-table b {
  color: var(--green);
}

.compare-table em {
  color: #6b7988;
  font-style: normal;
}

.knowledge-preview {
  display: grid;
  gap: 14px;
}

.knowledge-preview article {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.knowledge-preview strong {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.knowledge-preview span {
  font-size: 19px;
  font-weight: 900;
}

.blog-preview article:nth-child(2) strong {
  color: var(--blue);
}

.blog-preview article:nth-child(3) strong {
  color: var(--purple);
}

.faq-section {
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  font-weight: 950;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 20px;
  color: var(--green);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.final-cta {
  padding-top: 40px;
  background: #fff;
}

.final-box {
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid #bbd8ff;
  border-radius: 8px;
  padding: 58px 36px;
  text-align: center;
  background: linear-gradient(180deg, #eef6ff, #fff);
  box-shadow: 0 24px 60px rgba(36, 88, 211, .12);
}

.final-box p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #60728b;
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: #66756f;
  background: #f8fbf9;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 34px rgba(7, 24, 18, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1ebe5d;
  box-shadow: 0 22px 42px rgba(7, 24, 18, .30);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  display: block;
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid img {
  width: 112px;
  height: auto;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #2f433c;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .hero-panel-a {
    right: -120px;
    width: 640px;
  }

  .hero-panel-b {
    right: -80px;
    width: 580px;
    opacity: .45;
  }

  .dashboard-mockup,
  .feature-grid,
  .cards.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .brand {
    min-width: 96px;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 64px 0 92px;
  }

  h1 {
    font-size: 44px;
  }

  .hero p,
  .section-head p,
  .split p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .btn,
  .final-box .btn,
  .price-card .btn {
    width: 100%;
  }

  .trust-strip,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-mockup,
  .feature-grid,
  .cards.six,
  .branch-kpis,
  .roi-form {
    grid-template-columns: 1fr;
  }

  .chart-card {
    grid-column: span 1;
  }

  .doc-builder {
    grid-template-columns: 1fr;
  }

  .doc-builder aside {
    border-right: 0;
    border-bottom: 4px solid var(--green);
  }

  .paper {
    width: calc(100% - 40px);
  }

  .map-canvas aside {
    position: relative;
    width: 100%;
    min-height: 120px;
    margin-top: 260px;
  }

  .compare-table {
    overflow-x: auto;
  }

  .compare-table .row {
    min-width: 760px;
  }

  .section {
    padding: 68px 0;
  }

  .final-box {
    padding: 38px 18px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
}

/* SmartCIP 2026 presentation */
.nav-links a.active {
  color: var(--green);
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 48px;
}

.hero-clean {
  min-height: auto;
  padding: 96px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .78fr);
  gap: 54px;
  align-items: center;
}

.hero-grid > *,
.subhero-grid > *,
.split > * {
  min-width: 0;
}

.hero-clean .hero-content {
  max-width: none;
  padding: 0;
}

.hero-clean h1 {
  max-width: 740px;
  font-size: 70px;
  line-height: 1.01;
}

.hero-clean p {
  max-width: 690px;
}

.hero-clean .hero-single {
  position: relative;
  z-index: 2;
}

.pest-ascent {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(58vw, 960px);
  overflow: hidden;
  pointer-events: none;
  opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, #000 26%, #000 100%);
}

.pest-ascent::before {
  content: "";
  position: absolute;
  inset: -14% -9% -12% -16%;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 30%, rgba(255, 255, 255, .13) 30.25% 30.75%, transparent 31% 100%),
    linear-gradient(154deg, transparent 0 53%, rgba(70, 236, 132, .15) 53.25% 53.8%, transparent 54.1% 100%),
    linear-gradient(70deg, transparent 0 62%, rgba(255, 255, 255, .08) 62.2% 62.65%, transparent 63% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .072) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .058) 0 1px, transparent 1px 74px);
  opacity: .48;
  transform: skewX(-9deg);
}

.pest-ascent::after {
  content: "";
  position: absolute;
  inset: -18% -10% -18% -18%;
  z-index: 0;
  background:
    linear-gradient(145deg, transparent 0 43%, rgba(108, 255, 154, .11) 43.25% 44%, transparent 44.3% 100%),
    linear-gradient(112deg, transparent 0 70%, rgba(255, 255, 255, .075) 70.2% 70.8%, transparent 71.1% 100%);
  opacity: .7;
  transform: skewX(-9deg);
}

.pest-scan {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 1;
  width: 1px;
  height: 84%;
  background: linear-gradient(180deg, transparent, rgba(132, 255, 175, .72), transparent);
  box-shadow: 0 0 26px rgba(69, 255, 137, .28);
  animation: pest-scan 7s ease-in-out infinite;
}

.pest-trail {
  position: absolute;
  z-index: 1;
  border-left: 1px solid rgba(177, 255, 203, .24);
  border-bottom: 1px solid rgba(177, 255, 203, .18);
  border-radius: 0 0 0 180px;
  opacity: .58;
}

.pest-trail-a {
  right: -8%;
  bottom: -18%;
  width: 720px;
  height: 620px;
  transform: rotate(10deg);
}

.pest-trail-b {
  right: 18%;
  bottom: -9%;
  width: 610px;
  height: 520px;
  transform: rotate(-7deg);
}

.pest-trail-c {
  right: -18%;
  bottom: 18%;
  width: 560px;
  height: 500px;
  transform: rotate(22deg);
}

.pest {
  --x: 70%;
  --size: 34px;
  --duration: 16s;
  --delay: 0s;
  --drift: -90px;
  --mid: -42px;
  --scale: 1;
  --rot: 8deg;
  --mid-rot: -8deg;
  --rot-end: 12deg;
  position: absolute;
  z-index: 2;
  bottom: -96px;
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * 1.34);
  opacity: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .30));
  animation: pest-rise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.pest-body {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 54%;
  height: 60%;
  border: 1px solid rgba(226, 255, 235, .35);
  border-radius: 52% 48% 44% 46%;
  background: linear-gradient(155deg, rgba(236, 255, 243, .96), #38dd73 44%, #073d20 100%);
  box-shadow: inset 0 8px 14px rgba(255, 255, 255, .18);
  transform: translateX(-50%);
}

.pest-body::before {
  content: "";
  position: absolute;
  top: -24%;
  left: 50%;
  width: 55%;
  height: 34%;
  border-radius: 52% 48% 48% 52%;
  background: #dfffe8;
  transform: translateX(-50%);
}

.pest-body::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  width: 2px;
  height: 72%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transform: translateX(-50%);
}

.pest-legs,
.pest-legs::before,
.pest-legs::after {
  position: absolute;
  left: 12%;
  width: 76%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(222, 255, 232, .76) 0 34%, transparent 34% 66%, rgba(222, 255, 232, .76) 66% 100%);
}

.pest-legs {
  top: 48%;
  animation: pest-legs .58s ease-in-out infinite;
}

.pest-legs::before,
.pest-legs::after {
  content: "";
}

.pest-legs::before {
  top: -9px;
  transform: rotate(-24deg);
}

.pest-legs::after {
  top: 9px;
  transform: rotate(24deg);
}

.pest-2 .pest-body,
.pest-6 .pest-body {
  background: linear-gradient(155deg, rgba(235, 255, 247, .96), #2bd3a0 44%, #064034 100%);
}

.pest-4 .pest-body,
.pest-8 .pest-body {
  background: linear-gradient(155deg, rgba(255, 245, 215, .96), #f2b84b 43%, #53320a 100%);
}

.pest-1 { --x: 80%; --size: 36px; --duration: 16s; --delay: -12s; --drift: -116px; --mid: -54px; --scale: 1.02; --rot: 12deg; --mid-rot: -7deg; --rot-end: -18deg; }
.pest-2 { --x: 62%; --size: 28px; --duration: 14s; --delay: -7s; --drift: 84px; --mid: 34px; --scale: .88; --rot: -16deg; --mid-rot: 8deg; --rot-end: 22deg; }
.pest-3 { --x: 88%; --size: 24px; --duration: 12s; --delay: -4s; --drift: -58px; --mid: -20px; --scale: .78; --rot: 18deg; --mid-rot: -12deg; --rot-end: 8deg; }
.pest-4 { --x: 54%; --size: 42px; --duration: 19s; --delay: -15s; --drift: 130px; --mid: 64px; --scale: 1.08; --rot: -8deg; --mid-rot: 10deg; --rot-end: 20deg; }
.pest-5 { --x: 72%; --size: 31px; --duration: 13s; --delay: -2s; --drift: -78px; --mid: -38px; --scale: .95; --rot: 7deg; --mid-rot: -16deg; --rot-end: -6deg; }
.pest-6 { --x: 44%; --size: 27px; --duration: 15s; --delay: -10s; --drift: 112px; --mid: 46px; --scale: .82; --rot: -22deg; --mid-rot: 4deg; --rot-end: 18deg; }
.pest-7 { --x: 92%; --size: 34px; --duration: 17s; --delay: -8s; --drift: -150px; --mid: -72px; --scale: 1; --rot: 20deg; --mid-rot: -2deg; --rot-end: -24deg; }
.pest-8 { --x: 66%; --size: 25px; --duration: 11s; --delay: -6s; --drift: 70px; --mid: 28px; --scale: .74; --rot: -12deg; --mid-rot: 14deg; --rot-end: 4deg; }
.pest-9 { --x: 36%; --size: 33px; --duration: 18s; --delay: -13s; --drift: 156px; --mid: 76px; --scale: .96; --rot: -4deg; --mid-rot: 12deg; --rot-end: 26deg; }

@keyframes pest-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 96px, 0) rotate(var(--rot)) scale(var(--scale));
  }

  9% {
    opacity: .9;
  }

  50% {
    transform: translate3d(var(--mid), -44vh, 0) rotate(var(--mid-rot)) scale(var(--scale));
  }

  88% {
    opacity: .82;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -104vh, 0) rotate(var(--rot-end)) scale(var(--scale));
  }
}

@keyframes pest-legs {
  0%,
  100% {
    transform: rotate(16deg);
  }

  50% {
    transform: rotate(-16deg);
  }
}

@keyframes pest-scan {
  0%,
  100% {
    transform: translateX(-42px);
    opacity: .28;
  }

  50% {
    transform: translateX(68px);
    opacity: .9;
  }
}

@media (max-width: 1100px) {
  .pest-ascent {
    width: 56vw;
    opacity: .56;
  }
}

@media (max-width: 900px) {
  .pest-ascent {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pest,
  .pest-scan,
  .pest-legs {
    animation: none;
  }

  .pest {
    bottom: auto;
    top: var(--static-y, 50%);
    opacity: .58;
    transform: rotate(var(--rot)) scale(var(--scale));
  }

  .pest-1 { --static-y: 72%; }
  .pest-2 { --static-y: 50%; }
  .pest-3 { --static-y: 24%; }
  .pest-4 { --static-y: 80%; }
  .pest-5 { --static-y: 38%; }
  .pest-6 { --static-y: 63%; }
  .pest-7 { --static-y: 16%; }
  .pest-8 { --static-y: 55%; }
  .pest-9 { --static-y: 31%; }
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -8% -10% 22%;
  border-radius: 999px;
  background: rgba(40, 185, 123, .18);
  filter: blur(42px);
}

.hero-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

.hero-window-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  color: #12261d;
}

.hero-window-top span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 12px;
  font-weight: 950;
}

.hero-window-top strong {
  margin-right: auto;
}

.hero-window-top em {
  border-radius: 999px;
  padding: 7px 12px;
  color: #008736;
  background: #dff8e8;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-window-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 410px;
}

.hero-window aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 12px;
  color: #fff;
  background: #09261a;
}

.hero-window aside b {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-window aside i {
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, .10);
  font-style: normal;
  font-weight: 900;
}

.hero-window aside .active {
  background: var(--green);
}

.hero-window section {
  padding: 20px;
  color: var(--ink);
  background: #f5f8f6;
}

.hero-panel-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.hero-panel-title h2 {
  margin: 0;
  font-size: 24px;
}

.hero-panel-title button {
  border: 0;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  background: #071b14;
  font-weight: 950;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 16px;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 108px;
  align-content: center;
  border: 1px solid #dbe6e0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: #67776f;
  font-size: 12px;
  font-weight: 900;
}

.hero-stats b {
  color: #10231b;
  font-size: 28px;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-bars,
.hero-mini-grid ul {
  min-height: 178px;
  border: 1px solid #dbe6e0;
  border-radius: 8px;
  background: #fff;
}

.hero-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px 14px;
}

.hero-bars i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green-2), var(--teal));
}

.hero-bars i:nth-child(1) { height: 42%; }
.hero-bars i:nth-child(2) { height: 66%; }
.hero-bars i:nth-child(3) { height: 50%; }
.hero-bars i:nth-child(4) { height: 78%; }
.hero-bars i:nth-child(5) { height: 70%; }
.hero-bars i:nth-child(6) { height: 88%; }

.hero-mini-grid ul {
  display: grid;
  gap: 10px;
  align-content: center;
  margin: 0;
  padding: 18px;
  list-style: none;
  color: #65766f;
  font-size: 13px;
  font-weight: 900;
}

.hero-mini-grid li {
  position: relative;
  padding-left: 22px;
}

.hero-mini-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green-2);
  box-shadow: 0 0 0 4px #dff8e8;
}

.module-homes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.module-homes article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 28, 20, .07);
}

.module-homes span,
.docs-areas span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  color: var(--green);
  background: var(--green-3);
  font-weight: 950;
}

.module-homes h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.module-homes p {
  margin: 0;
  color: var(--muted);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.showcase-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.budget-showcase img {
  max-height: 560px;
  object-fit: cover;
  object-position: left top;
}

.plan-showcase {
  background: #f7faf8;
}

.showcase-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(8, 28, 20, .12);
}

.showcase-frame figcaption strong {
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

.showcase-frame figcaption span {
  color: var(--muted);
  font-weight: 800;
}

.feature-grid-impact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid-impact article {
  min-height: 220px;
}

.branch-section .split {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.branch-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.branch-title h3 {
  margin: 0;
}

.branch-title small {
  color: #5f6e88;
  font-weight: 800;
}

.branch-dashboard-rich .branch-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branch-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  font-size: 13px;
}

.branch-table th,
.branch-table td {
  border-bottom: 1px solid #dce8e2;
  padding: 10px;
  text-align: left;
}

.branch-table th {
  color: #007a2d;
  background: #e9f6ee;
}

.learning-preview {
  overflow: hidden;
  border: 1px solid #d7e4dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.learning-hero {
  display: grid;
  gap: 6px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #143d2c, #207e6f 58%, #295dd2);
}

.learning-hero strong {
  font-size: 28px;
}

.learning-preview article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
}

.learning-preview article:last-child {
  border-bottom: 0;
}

.learning-preview b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-3);
}

.learning-preview article span {
  font-weight: 900;
}

.learning-preview em {
  color: var(--green);
  font-style: normal;
  font-weight: 950;
}

.blog-board-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-board-preview article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 28, 20, .08);
}

.blog-board-preview .featured {
  grid-column: 1 / -1;
  min-height: 220px;
  color: #fff;
  background: linear-gradient(135deg, #10231b, #13844b 62%, #1f6ab8);
}

.blog-board-preview span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-board-preview .featured span,
.blog-board-preview .featured p {
  color: rgba(255, 255, 255, .82);
}

.blog-board-preview h3 {
  margin: 8px 0;
  font-size: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: #fff;
}

.footer-grid {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-grid img {
  width: 116px;
}

.footer-grid span {
  color: var(--muted);
  font-weight: 800;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
  color: #53665f;
  font-weight: 800;
}

.subhero {
  padding: 86px 0;
  background: linear-gradient(135deg, #f6fbf8, #eef7ff);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .65fr);
  gap: 44px;
  align-items: center;
}

.subhero h1 {
  max-width: 760px;
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.04;
}

.subhero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.blog-hero-card,
.course-preview,
.blog-sidebar,
.blog-post-card,
.doc-card,
.empty-state,
.docs-areas article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(8, 28, 20, .08);
}

.blog-hero-card,
.course-preview,
.blog-sidebar,
.empty-state {
  padding: 28px;
}

.blog-hero-card strong,
.course-preview strong {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
}

.blog-hero-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.blog-hero-card span {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  background: var(--green-3);
  font-size: 12px;
  font-weight: 950;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.blog-feed,
.doc-grid {
  display: grid;
  gap: 20px;
}

.blog-post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
}

.blog-post-card-featured {
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
}

.blog-post-card img,
.blog-post-card .post-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.post-placeholder,
.doc-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #143d2c, #26a05b 58%, #2464d2);
}

.post-placeholder span,
.doc-placeholder span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  font-weight: 950;
}

.blog-post-card > div {
  padding: 24px;
}

.post-category {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-post-card h2,
.doc-card h2 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.blog-post-card p,
.doc-card p,
.blog-sidebar p {
  color: var(--muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  color: #66756f;
  font-size: 13px;
  font-weight: 800;
}

.blog-post-card form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-sidebar {
  position: sticky;
  top: 96px;
}

.blog-sidebar h2 {
  font-size: 28px;
}

.sidebar-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.sidebar-list span {
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbf8;
  color: #41544c;
  font-weight: 900;
}

.course-media {
  display: grid;
  min-height: 210px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(19, 61, 44, .84), rgba(36, 100, 210, .76)),
    url("/smartcip_landing/static/src/img/menu_background.png");
  background-size: cover;
}

.course-media span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .20);
  font-size: 30px;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2ebe6;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.docs-areas {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-areas article {
  min-height: 190px;
  padding: 22px;
}

.docs-areas h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.docs-areas p {
  margin: 0;
  color: var(--muted);
}

.doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
  overflow: hidden;
}

.doc-card img,
.doc-card .doc-placeholder {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.doc-card > div {
  padding: 20px;
}

.doc-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.doc-card a {
  color: var(--green);
  font-weight: 950;
}

@media (max-width: 1100px) {
  h1,
  .hero-clean h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-grid,
  .subhero-grid,
  .branch-section .split,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 760px;
  }

  .feature-grid-impact,
  .dashboard-shell,
  .docs-areas,
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  h1,
  .hero-clean h1,
  .subhero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-clean {
    padding: 68px 0;
  }

  .module-homes,
  .dashboard-shell,
  .feature-grid-impact,
  .docs-areas,
  .doc-grid,
  .blog-board-preview,
  .hero-stats,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-window-body {
    grid-template-columns: 1fr;
  }

  .hero-window aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-window aside b {
    grid-column: 1 / -1;
  }

  .blog-post-card,
  .blog-post-card-featured {
    grid-template-columns: 1fr;
  }

  .branch-dashboard-rich .branch-kpis {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-grid nav {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
  }

  h1,
  .hero-clean h1,
  .subhero h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  h2 {
    font-size: 30px;
  }

  .brand img {
    width: 104px;
  }

  .site-header .btn {
    display: none;
  }

  .eyebrow,
  .section-kicker {
    flex-wrap: wrap;
    max-width: 100%;
    font-size: 10px;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-clean {
    padding: 54px 0 60px;
  }

  .hero-clean p {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-clean .hero-content,
  .section-head {
    max-width: 300px;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-clean h1,
  .hero-clean p {
    max-width: 300px;
  }

  .hero-actions,
  .trust-strip,
  .eyebrow {
    max-width: 300px;
  }

  .section-head {
    text-align: left;
  }

  .hero-visual {
    display: none;
  }

  .hero-window-top {
    flex-wrap: wrap;
    padding: 12px;
  }

  .hero-window-top em {
    margin-left: 40px;
  }

  .hero-actions,
  .hero-actions .btn,
  .price-card .btn,
  .blog-post-card form .btn {
    width: 100%;
  }

  .showcase-frame figcaption {
    position: static;
    border-radius: 0;
    box-shadow: none;
  }
}

/* SmartCIP polish pass */
.hero-clean .hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(420px, .78fr);
  gap: 56px;
}

.hero-clean h1 {
  max-width: 820px;
  font-size: 72px;
}

.hero-screenshot {
  align-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.hero-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.hero-screenshot figcaption,
.real-screen figcaption,
.showcase-frame figcaption {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 4px;
  border-radius: 0;
  padding: 14px 16px;
  box-shadow: none;
}

.hero-screenshot figcaption strong,
.real-screen figcaption strong,
.showcase-frame figcaption strong {
  color: #fff;
  font-size: 14px;
}

.hero-screenshot figcaption span,
.real-screen figcaption span,
.showcase-frame figcaption span {
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 700;
}

.impact-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #fff, #f4fbf7);
}

.impact-header {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 30px;
}

.impact-header h2 {
  margin: 0;
  font-size: 42px;
}

.impact-header p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.impact-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 28, 20, .08);
}

.impact-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.impact-card span {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.impact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.module-homes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.module-homes article {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 28, 20, .06);
}

.module-homes article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--green-3);
  color: var(--green);
  font-weight: 950;
}

.module-homes h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.module-homes p {
  margin: 0;
  color: var(--muted);
}

.real-screen,
.showcase-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.real-screen img,
.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.real-screen figcaption {
  background: #09221a;
}

.real-screen figcaption strong,
.showcase-frame figcaption strong {
  color: #fff;
}

.dashboard-real img,
.map-real img,
.branch-real img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.budget-showcase img {
  max-height: 620px;
  object-fit: contain;
  object-position: center top;
  background: #f8fbf9;
}

.phone-showcase {
  max-width: 520px;
  margin-inline: auto;
  background: linear-gradient(180deg, #f7fbf8, #fff);
}

.phone-showcase img {
  max-height: 640px;
  object-fit: contain;
  background: #f8fbf9;
}

.phone-showcase figcaption,
.budget-showcase figcaption {
  background: linear-gradient(135deg, #09221a, #0c7b50);
}

.pricing-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card-featured {
  border-color: rgba(36, 88, 211, .34);
  box-shadow: 0 24px 60px rgba(36, 88, 211, .14);
}

.price-card-featured .price-badge {
  background: #eaf1ff;
  color: var(--blue);
}

.price-note {
  min-height: 54px;
  color: var(--muted);
  font-weight: 700;
}

.learning-stack-preview {
  display: grid;
  gap: 16px;
}

.learning-stack-preview article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 28, 20, .08);
}

.learning-stack-preview span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--green-3);
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.learning-stack-preview strong {
  display: block;
  font-size: 18px;
}

.learning-hero-page,
.social-hero {
  padding: 74px 0 64px;
  background: linear-gradient(180deg, #fff, #f4fbf7);
}

.learning-hero-grid,
.social-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 46px;
  align-items: center;
}

.learning-hero-page h1,
.social-hero h1 {
  max-width: 880px;
  margin: 18px 0 18px;
  font-size: 58px;
  line-height: 1.02;
}

.learning-hero-page p,
.social-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.course-preview-polished {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.course-preview-polished .course-media {
  display: grid;
  height: 210px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(17, 156, 58, .18), rgba(36, 88, 211, .16)),
    url("/smartcip_landing/static/src/img/menu_background.png");
  background-size: cover;
}

.course-media span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 26px;
  box-shadow: 0 14px 36px rgba(8, 28, 20, .18);
}

.course-body {
  padding: 22px;
}

.course-body > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.course-body strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.15;
}

.lesson-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.lesson-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbf9;
  color: #203830;
  font-weight: 800;
}

.docs-areas {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-areas article {
  min-height: 190px;
}

.docs-areas a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 950;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.doc-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 28, 20, .08);
}

.doc-card img,
.doc-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, #e7f7ed, #eef4ff);
}

.doc-placeholder {
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 950;
}

.doc-card > div {
  padding: 18px;
}

.doc-card span,
.post-category {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.doc-card h2,
.blog-post-card h2 {
  margin: 8px 0 8px;
  font-size: 26px;
  line-height: 1.12;
}

.doc-card p,
.blog-post-card p {
  color: var(--muted);
  font-size: 15px;
}

.doc-card a {
  color: var(--green);
  font-weight: 950;
}

.academy-page {
  min-height: 100vh;
  background: #f5f7fb;
  color: #252f3d;
}

.academy-shell {
  padding: 26px 0 74px;
}

.academy-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.academy-title-row h1 {
  margin: 0;
  color: #4b5563;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.academy-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px;
  background: #248fed;
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 143, 237, .24);
}

.academy-quick-actions span {
  display: grid;
  min-width: 38px;
  min-height: 34px;
  place-items: center;
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 900;
}

.academy-filter-panel {
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32, 42, 55, .05);
}

.academy-filter-panel h2,
.academy-list-section h2 {
  margin: 0;
  color: #303946;
  font-size: 28px;
  font-weight: 500;
}

.academy-filter-row {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(520px, 1fr);
  gap: 28px;
  align-items: end;
  margin-top: 22px;
}

.academy-filter-group > span,
.academy-filter-controls label > span {
  display: block;
  margin-bottom: 8px;
  color: #2c3442;
  font-size: 14px;
  font-weight: 700;
}

.academy-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.academy-filter-chip {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: #414b5a;
  font-weight: 700;
  cursor: pointer;
}

.academy-filter-chip::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  vertical-align: -2px;
}

.academy-filter-chip.active {
  background: #edf3fa;
  color: #1e293b;
}

.academy-filter-chip.active::before {
  content: "✓";
  border-color: transparent;
  color: #1588ef;
  line-height: 12px;
}

.academy-filter-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.academy-filter-controls label {
  min-width: 0;
}

.academy-filter-controls label > span {
  margin: 0;
  color: #8a94a4;
  font-weight: 600;
}

.academy-filter-controls select,
.academy-search input {
  width: 100%;
  height: 38px;
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #344054;
  font-size: 15px;
}

.academy-filter-controls select:focus,
.academy-search input:focus {
  border-bottom-color: #1588ef;
}

.academy-search {
  position: relative;
}

.academy-search input {
  padding-right: 36px;
}

.academy-search i {
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 19px;
  height: 19px;
  border: 2px solid #1588ef;
  border-radius: 999px;
}

.academy-search i::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #1588ef;
  transform: rotate(45deg);
}

.academy-clear {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #0072ce;
  font-weight: 800;
  cursor: pointer;
}

.academy-list-section {
  margin-top: 64px;
}

.academy-list-section > h2 {
  margin-bottom: 24px;
}

.academy-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.academy-course-card {
  display: flex;
  min-width: 0;
  min-height: 442px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 42, 55, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.academy-course-card[hidden],
.academy-course-card.is-filter-hidden,
.academy-empty-results[hidden] {
  display: none !important;
}

.academy-course-card:hover {
  border-color: rgba(21, 136, 239, .32);
  box-shadow: 0 20px 44px rgba(32, 42, 55, .12);
  transform: translateY(-2px);
}

.academy-course-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eaf6ff, #e9fff2);
}

.academy-course-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 54%, rgba(21, 136, 239, .14) 54.4% 100%);
  pointer-events: none;
}

.academy-course-cover img,
.academy-cover-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academy-cover-visual {
  position: relative;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(18, 151, 177, .18), rgba(17, 156, 58, .18)),
    url("/smartcip_landing/static/src/img/menu_background.png");
  background-size: cover;
}

.academy-cover-visual span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 950;
}

.academy-cover-visual strong {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
}

.academy-free,
.academy-doc-badge,
.academy-area-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 900;
}

.academy-free {
  left: 0;
  bottom: 0;
  background: #dcffea;
  color: #007a33;
}

.academy-doc-badge {
  left: 0;
  bottom: 0;
  background: #dcffea;
  color: #007a33;
}

.academy-area-badge {
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, .88);
  color: #176b52;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(32, 42, 55, .10);
}

.academy-course-body {
  display: flex;
  min-height: 250px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 22px;
  text-align: center;
}

.academy-course-body h2 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 22px;
  overflow: hidden;
  color: #030712;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.academy-course-meta {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  color: #3f4653;
  font-size: 15px;
}

.academy-course-meta span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.academy-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.academy-icon-play::before,
.academy-icon-play::after {
  content: "";
  position: absolute;
  border: 2px solid #4a4a4a;
}

.academy-icon-play::before {
  inset: 3px 5px 3px 6px;
  border-left: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.academy-icon-play::after {
  inset: 7px 0 7px 1px;
  border-right: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.academy-icon-clock {
  border: 2px solid #1f2044;
  border-radius: 999px;
}

.academy-icon-clock::before,
.academy-icon-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  border-radius: 999px;
  background: #1f2044;
  transform-origin: bottom center;
}

.academy-icon-clock::before {
  height: 7px;
}

.academy-icon-clock::after {
  height: 9px;
  transform: rotate(45deg);
}

.academy-icon-doc {
  border: 2px solid #1f2044;
  border-radius: 4px;
}

.academy-icon-doc::before,
.academy-icon-doc::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 2px;
  border-radius: 999px;
  background: #1f2044;
}

.academy-icon-doc::before {
  top: 7px;
}

.academy-icon-doc::after {
  top: 13px;
}

.academy-icon-image {
  border: 2px solid #1f2044;
  border-radius: 5px;
}

.academy-icon-image::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #1f2044;
}

.academy-icon-image::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, transparent 0 48%, #1f2044 50% 100%);
}

.academy-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
  color: #ffc400;
  font-size: 24px;
  line-height: 1;
}

.academy-course-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0072ce;
  border-radius: 8px;
  color: #0072ce;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.academy-course-button:hover {
  color: #fff;
  background: #0072ce;
  transform: translateY(-1px);
}

.academy-empty-results {
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  text-align: center;
}

.academy-empty-results h2 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 22px;
}

.academy-empty-results p {
  margin: 0;
  color: #667085;
}

.academy-player-section {
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  background: #eef2f6;
  box-shadow: 0 18px 44px rgba(32, 42, 55, .08);
}

.academy-player-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 680px;
}

.academy-player-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid #d8e0ea;
  background: #fff;
  padding: 22px;
}

.academy-player-sidebar > a {
  color: #4d82ff;
  font-weight: 850;
}

.academy-player-sidebar h2 {
  margin: 46px 0 26px;
  color: #1f2937;
  font-size: 20px;
  line-height: 1.12;
}

.academy-player-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  color: #6b7280;
  font-size: 12px;
}

.academy-outline-stars {
  color: #4d82ff;
  font-size: 16px;
  white-space: nowrap;
}

.academy-player-progress i {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4d82ff 0 0%, #e5e7eb 0 100%);
}

.academy-player-sidebar > strong {
  margin: 56px 0 18px;
  color: #1f2937;
}

.academy-player-lessons {
  display: grid;
  gap: 10px;
}

.academy-player-lessons span {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 12px;
  background: #f3f4f6;
  color: #1f2937;
  font-weight: 800;
}

.academy-player-lessons b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #8bb2ef;
  border-radius: 999px;
  color: #4d82ff;
  font-size: 10px;
}

.academy-player-lessons em {
  color: #6b7280;
  font-size: 11px;
  font-style: normal;
}

.academy-certificate {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #4d82ff;
  border-radius: 999px;
  color: #4d82ff;
  font-size: 13px;
  font-weight: 900;
}

.academy-player-main {
  min-width: 0;
  padding: 30px;
}

.academy-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -12px 0 28px;
}

.academy-player-top a {
  color: #4d82ff;
  font-size: 24px;
  font-weight: 900;
}

.academy-player-top span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: #1f2044;
  font-size: 13px;
  font-weight: 900;
}

.academy-player-main h2 {
  margin: 0 0 26px;
  color: #252f3d;
  font-size: 28px;
  line-height: 1.14;
}

.academy-video-frame {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.academy-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 23, 77, .22), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .38));
}

.academy-video-brand,
.academy-video-frame strong,
.academy-video-frame button,
.academy-video-frame em {
  position: relative;
  z-index: 1;
}

.academy-video-brand {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 20px;
  font-weight: 950;
}

.academy-video-frame strong {
  position: absolute;
  top: 54px;
  left: 28px;
  max-width: 580px;
  font-size: clamp(42px, 6vw, 92px);
  line-height: .92;
  text-transform: uppercase;
}

.academy-video-frame button {
  display: grid;
  width: 72px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #ff174d;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}

.academy-video-frame em {
  position: absolute;
  right: 26px;
  bottom: 22px;
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(0, 0, 0, .36);
  font-style: normal;
  font-weight: 850;
}

.academy-player-main p {
  max-width: 980px;
  margin: 22px 0 0;
  color: #344054;
  font-size: 17px;
}

.documentation-title-row {
  align-items: flex-start;
}

.documentation-title-row p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 16px;
}

.documentation-card {
  min-height: 500px;
  max-width: 100%;
}

.documentation-card-cover {
  display: block;
  color: inherit;
}

.documentation-card-cover::after {
  display: none;
}

.documentation-card-body {
  align-items: flex-start;
  min-height: 280px;
  text-align: left;
}

.documentation-card-body h2 {
  min-height: 44px;
  margin-bottom: 12px;
  text-align: left;
}

.documentation-card-body p {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: #526071;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.documentation-card-body .academy-course-meta {
  margin: 18px 0;
  font-size: 14px;
}

.documentation-card-body .academy-course-button {
  margin-top: auto;
}

.documentation-reader-page {
  min-height: 100vh;
  background: #f6f8fb;
  color: #1f2937;
}

.documentation-reader-hero {
  padding: 34px 0 36px;
  background: linear-gradient(180deg, #f0f8f3 0, #f6f8fb 100%);
}

.documentation-back {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-bottom: 22px;
  color: #127a46;
  font-weight: 900;
}

.documentation-reader-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
  gap: 34px;
  align-items: center;
}

.documentation-reader-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #ddf7e8;
  color: #08733f;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.documentation-reader-hero h1 {
  max-width: 880px;
  margin: 16px 0 16px;
  color: #172033;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.documentation-reader-hero p {
  max-width: 780px;
  margin: 0;
  color: #475467;
  font-size: 18px;
  line-height: 1.6;
}

.documentation-reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.documentation-reader-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #cde8d7;
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #275642;
  font-size: 13px;
  font-weight: 900;
}

.documentation-reader-hero figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9e6df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 41, 55, .10);
}

.documentation-reader-hero figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.documentation-reader-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 40px 0 86px;
}

.documentation-outline {
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 41, 55, .06);
}

.documentation-outline strong {
  display: block;
  margin-bottom: 12px;
  color: #172033;
  font-size: 15px;
}

.documentation-outline nav {
  display: grid;
  gap: 6px;
}

.documentation-outline a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border-radius: 6px;
  padding: 9px;
  color: #475467;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.documentation-outline a:hover {
  color: #08733f;
  background: #f0fbf4;
}

.documentation-outline span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #e6f7ed;
  color: #08733f;
  font-size: 10px;
}

.documentation-reader-main {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.documentation-content {
  min-width: 0;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 40px min(5vw, 64px);
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 41, 55, .07);
}

.documentation-content h2 {
  margin: 0 0 16px;
  color: #172033;
  font-size: 34px;
  line-height: 1.12;
}

.documentation-content h3 {
  scroll-margin-top: 112px;
  border-top: 1px solid #e5edf5;
  margin: 34px 0 12px;
  padding-top: 28px;
  color: #172033;
  font-size: 24px;
  line-height: 1.2;
}

.documentation-content h2 + h3 {
  border-top: 0;
  margin-top: 20px;
  padding-top: 0;
}

.documentation-content p,
.documentation-content li {
  color: #405164;
  font-size: 17px;
  line-height: 1.7;
}

.documentation-content p {
  margin: 0 0 18px;
}

.documentation-content ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.documentation-step {
  display: grid;
  gap: 14px;
  border-top: 1px solid #e5edf5;
  margin-top: 38px;
  padding-top: 30px;
}

.documentation-callout + .documentation-step,
.documentation-content > h2 + p + .documentation-step {
  margin-top: 28px;
}

.documentation-step h3 {
  border-top: 0;
  margin: 0;
  padding-top: 0;
}

.documentation-step p,
.documentation-step ul {
  margin-bottom: 0;
}

.documentation-step figure {
  margin: 6px 0 0;
}

.documentation-step figure + figure {
  margin-top: 16px;
}

.documentation-callout {
  border: 1px solid #cfe6db;
  border-radius: 8px;
  margin: 22px 0 28px;
  padding: 18px 20px;
  background: #f2fbf6;
}

.documentation-callout strong {
  display: block;
  margin-bottom: 10px;
  color: #0f6f42;
  font-size: 16px;
}

.documentation-callout ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.documentation-callout li {
  color: #315843;
  font-size: 15px;
  line-height: 1.55;
}

.documentation-content figure {
  overflow: auto;
  border: 1px solid #e0e8f1;
  border-radius: 8px;
  margin: 24px 0 34px;
  padding: 10px;
  background: #f8fafc;
}

.documentation-image-open {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.documentation-image-open:focus-visible {
  outline: 3px solid rgba(12, 155, 74, .35);
  outline-offset: 4px;
  border-radius: 8px;
}

.documentation-image-open:hover img,
.documentation-image-open:focus-visible img {
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  transform: translateY(-1px);
}

.documentation-content figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  transition: box-shadow .18s ease, transform .18s ease;
}

.documentation-content figcaption {
  display: grid;
  gap: 4px;
  border-top: 1px solid #e0e8f1;
  margin: 12px -10px -10px;
  padding: 12px 14px;
  background: #fff;
  color: #405164;
  font-size: 14px;
  line-height: 1.5;
}

.documentation-content figcaption strong {
  color: #172033;
  font-size: 14px;
}

.documentation-content figcaption span {
  color: #526071;
}

body.documentation-lightbox-open {
  overflow: hidden;
}

.documentation-lightbox[hidden] {
  display: none;
}

.documentation-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.documentation-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 32, .82);
  cursor: zoom-out;
}

.documentation-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: min(1600px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
}

.documentation-lightbox-close {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.documentation-lightbox-close:hover,
.documentation-lightbox-close:focus-visible {
  background: #fff;
  color: #172033;
  outline: none;
}

.documentation-lightbox figure {
  overflow: auto;
  max-height: calc(100vh - 100px);
  margin: 0;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.documentation-lightbox img {
  display: block;
  width: auto;
  max-width: none;
  max-height: calc(100vh - 170px);
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.documentation-lightbox figcaption {
  border-top: 1px solid #e0e8f1;
  margin: 12px -14px -14px;
  padding: 12px 14px;
  background: #fff;
  color: #405164;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.documentation-lightbox figcaption[hidden] {
  display: none;
}

.documentation-feedback-section {
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 41, 55, .07);
}

.documentation-feedback-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e5edf5;
  padding-bottom: 22px;
}

.documentation-feedback-heading > div:first-child {
  min-width: 0;
}

.documentation-feedback-heading > div:first-child > span {
  color: #08733f;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.documentation-feedback-heading h2 {
  margin: 6px 0 8px;
  color: #172033;
  font-size: 28px;
  line-height: 1.15;
}

.documentation-feedback-heading p {
  max-width: 720px;
  margin: 0;
  color: #526071;
  font-size: 16px;
  line-height: 1.55;
}

.documentation-rating-summary {
  display: grid;
  min-width: 158px;
  justify-items: center;
  gap: 4px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.documentation-rating-summary strong {
  color: #172033;
  font-size: 30px;
  line-height: 1;
}

.documentation-stars,
.documentation-comment-rating {
  display: inline-flex;
  gap: 2px;
  color: #bfcbda;
  line-height: 1;
}

.documentation-stars {
  font-size: 20px;
}

.documentation-comment-rating {
  flex: 0 0 auto;
  font-size: 16px;
}

.documentation-stars .is-filled,
.documentation-comment-rating .is-filled {
  color: #f2b600;
}

.documentation-rating-summary small {
  color: #667085;
  font-weight: 850;
}

.documentation-feedback-form {
  display: grid;
  gap: 16px;
  border-bottom: 1px solid #e5edf5;
  margin-top: 22px;
  padding-bottom: 24px;
}

.documentation-feedback-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.documentation-feedback-form legend,
.documentation-edit-form legend,
.documentation-feedback-author span,
.documentation-feedback-message span,
.documentation-edit-form label span,
.documentation-reply-form label span {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 14px;
  font-weight: 950;
}

.documentation-rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.documentation-rating-options label {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #526071;
  cursor: pointer;
  font-weight: 900;
}

.documentation-rating-options label:has(input:checked) {
  border-color: #e9a700;
  background: #fff8db;
  color: #172033;
}

.documentation-rating-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.documentation-rating-options span {
  color: #bfcbda;
  font-size: 18px;
  line-height: 1;
}

.documentation-rating-options input:checked + span,
.documentation-rating-options input:checked + span + b {
  color: #e9a700;
}

.documentation-feedback-author,
.documentation-feedback-message,
.documentation-edit-form label,
.documentation-reply-form label {
  display: grid;
  gap: 6px;
}

.documentation-feedback-author input,
.documentation-feedback-message textarea,
.documentation-edit-form textarea,
.documentation-reply-form input,
.documentation-reply-form textarea {
  width: 100%;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  padding: 12px 14px;
  color: #172033;
  background: #fff;
  font: inherit;
}

.documentation-feedback-author input:focus,
.documentation-feedback-message textarea:focus,
.documentation-edit-form textarea:focus,
.documentation-reply-form input:focus,
.documentation-reply-form textarea:focus {
  outline: 3px solid rgba(8, 115, 63, .14);
  border-color: #08733f;
}

.documentation-feedback-form .btn,
.documentation-edit-form .btn,
.documentation-reply-form .btn {
  width: max-content;
}

.documentation-feedback-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.documentation-feedback-empty {
  border: 1px dashed #cfdce8;
  border-radius: 8px;
  padding: 18px;
  color: #526071;
  background: #f8fafc;
  font-weight: 850;
}

.documentation-comment {
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 18px;
  background: #fbfdff;
}

.documentation-comment > header,
.documentation-reply > header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.documentation-comment strong,
.documentation-reply strong {
  display: block;
  color: #172033;
  font-size: 15px;
}

.documentation-comment header span,
.documentation-reply header span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.documentation-comment-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.documentation-comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.documentation-comment-actions form {
  margin: 0;
}

.documentation-action-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  padding: 0;
  color: #346a57;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.documentation-action-button:hover,
.documentation-action-button[aria-expanded="true"] {
  border-color: #98d9b2;
  color: #08733f;
  background: #effbf4;
}

.documentation-action-button.is-danger {
  color: #b42318;
}

.documentation-action-button.is-danger:hover {
  border-color: #fecaca;
  color: #b42318;
  background: #fff1f2;
}

.documentation-action-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.documentation-comment-body p {
  margin: 0 0 10px;
  color: #405164;
  font-size: 15px;
  line-height: 1.6;
}

.documentation-comment-body p:last-child {
  margin-bottom: 0;
}

.documentation-edit-form {
  display: grid;
  gap: 12px;
  border: 1px solid #d8eadf;
  border-radius: 8px;
  margin: 14px 0 0;
  padding: 14px;
  background: #f7fcf9;
}

.documentation-edit-form[hidden] {
  display: none !important;
}

.documentation-edit-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.documentation-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.documentation-replies {
  display: grid;
  gap: 12px;
  border-left: 3px solid #dff8e8;
  margin-top: 16px;
  padding-left: 16px;
}

.documentation-reply {
  border: 1px solid #e5edf5;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.documentation-no-replies {
  margin: 0;
  color: #7a8898;
  font-size: 14px;
  font-weight: 850;
}

.documentation-reply-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf2f7;
  padding-top: 12px;
}

.documentation-page,
.documentation-page *,
.documentation-reader-page,
.documentation-reader-page * {
  min-width: 0;
}

.documentation-page .container,
.documentation-reader-page .container {
  width: min(1220px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
}

.documentation-page h1,
.documentation-page h2,
.documentation-page p,
.documentation-reader-page h1,
.documentation-reader-page h2,
.documentation-reader-page h3,
.documentation-reader-page p,
.documentation-reader-page a {
  overflow-wrap: anywhere;
}

.blog-forum-page {
  min-height: 100vh;
  background: #fff;
  color: #24262d;
}

.blog-top-stories {
  padding: 86px 0 82px;
  background: #fff;
}

.blog-section-title {
  max-width: 840px;
  margin-bottom: 34px;
}

.blog-section-title span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  background: #e7f8ee;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-section-title h1 {
  max-width: 760px;
  margin: 20px 0 12px;
  color: #1f135f;
  font-size: 52px;
  line-height: 1.02;
}

.blog-section-title p {
  max-width: 720px;
  margin: 0;
  color: #596679;
  font-size: 18px;
}

.blog-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-story-card {
  min-width: 0;
}

.blog-story-cover {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f4ff;
}

.blog-story-cover img,
.blog-cover-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-cover-visual {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, .28), transparent 22%),
    linear-gradient(135deg, #5f35ea 0%, #7b61ff 44%, #0f9b59 100%);
  color: #fff;
}

.blog-cover-visual::before,
.blog-cover-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}

.blog-cover-visual::before {
  right: -42px;
  bottom: -48px;
  width: 180px;
  height: 180px;
}

.blog-cover-visual::after {
  right: 72px;
  top: 34px;
  width: 72px;
  height: 72px;
}

.blog-cover-visual span,
.blog-cover-visual strong {
  position: relative;
  z-index: 1;
  display: block;
}

.blog-cover-visual span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.blog-cover-visual strong {
  max-width: 280px;
  margin-top: 48px;
  font-size: 34px;
  line-height: .98;
}

.post-cover-compact strong {
  font-size: 28px;
}

.blog-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 12px;
  color: #1f135f;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-story-meta span + span::before {
  content: "•";
  margin-right: 7px;
}

.blog-story-card h2 {
  margin: 0 0 12px;
  color: #1f135f;
  font-size: 24px;
  line-height: 1.14;
}

.blog-story-card p {
  margin: 0;
  color: #596679;
  font-size: 15px;
}

.blog-question-hub {
  border-top: 1px solid #edf0f4;
  padding: 44px 0 78px;
  background: #f7f8fa;
}

.blog-forum-layout,
.blog-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.blog-forum-main,
.blog-detail-main {
  min-width: 0;
}

.blog-ask-card {
  display: block;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  margin-bottom: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 41, 55, .05);
}

.blog-ask-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 0;
  padding: 18px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.blog-ask-card summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.blog-ask-card summary::-webkit-details-marker {
  display: none;
}

.blog-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #008f55, #1c67d2);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.blog-ask-card summary strong,
.blog-ask-trigger strong,
.blog-ask-card-locked h2 {
  display: block;
  color: #101828;
  font-size: 18px;
  line-height: 1.15;
}

.blog-ask-card summary em,
.blog-ask-trigger em,
.blog-ask-card-locked p {
  display: block;
  color: #667085;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.blog-ask-card summary b,
.blog-ask-trigger b {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  color: #fff;
  background: #0f9f49;
  box-shadow: 0 12px 26px rgba(15, 159, 73, .20);
}

.blog-ask-card-locked {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.blog-ask-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  border-top: 1px solid #edf0f4;
  padding: 18px;
}

.blog-author-strip {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-author-strip span {
  border-radius: 999px;
  padding: 7px 11px;
  background: #ecfdf3;
  color: #067647;
  font-size: 12px;
  font-weight: 850;
}

.blog-ask-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 850;
}

.blog-ask-form input,
.blog-ask-form select,
.blog-ask-form textarea,
.blog-detail-comment-form textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 12px;
  outline: 0;
  color: #1f2937;
  background: #fff;
  font: inherit;
}

.blog-ask-form input:focus,
.blog-ask-form select:focus,
.blog-ask-form textarea:focus,
.blog-detail-comment-form textarea:focus {
  border-color: #1c67d2;
  box-shadow: 0 0 0 3px rgba(28, 103, 210, .12);
}

.blog-ask-full,
.blog-ask-form .btn {
  grid-column: 1 / -1;
}

.blog-ask-form textarea {
  min-height: 150px;
  resize: vertical;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body.blog-composer-open {
  overflow: hidden;
}

.blog-composer-modal[hidden] {
  display: none;
}

.blog-composer-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.blog-composer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .58);
  backdrop-filter: blur(3px);
}

.blog-composer-dialog {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

.blog-composer-dialog header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 20px;
}

.blog-composer-dialog h2 {
  margin: 0;
  color: #1f2937;
  font-size: 20px;
}

.blog-composer-dialog p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 13px;
}

.blog-composer-dialog header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #344054;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.blog-ask-form-modal {
  grid-template-columns: 180px minmax(0, 1fr);
  border-top: 0;
  padding: 20px;
}

.blog-ask-form-modal textarea {
  min-height: 200px;
  border-color: transparent;
  padding: 12px 0;
  font-size: 22px;
}

.blog-ask-form-modal textarea::placeholder {
  color: #c8ced8;
}

.blog-composer-options {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 14px;
  color: #344054;
  font-weight: 750;
}

.blog-composer-options label {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
}

.blog-composer-dialog footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e5e7eb;
  margin: 2px -20px -20px;
  padding: 16px 20px;
}

.blog-composer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #475467;
  font-weight: 850;
}

.blog-composer-tools span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 6px;
  padding: 0 10px;
  background: #f3f6f8;
}

.blog-composer-dialog footer .btn {
  width: auto;
  min-width: 108px;
}

.blog-forum-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 16px;
}

.blog-forum-toolbar h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 34px;
  font-weight: 500;
}

.blog-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-topic-tags a,
.blog-question-tags span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 4px;
  padding: 0 8px;
  background: #e8f0e9;
  color: #1d6e44;
  font-size: 12px;
  font-weight: 800;
}

.blog-question-tabs {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #b8c4d2;
  border-radius: 4px;
  margin: 10px 0 0;
  background: #fff;
}

.blog-question-tabs span {
  min-height: 38px;
  padding: 9px 18px;
  color: #1f2937;
  font-size: 14px;
}

.blog-question-tabs .active {
  background: #edf2f7;
}

.blog-question-list {
  margin-top: 14px;
  border-top: 1px solid #d7dde5;
  background: #fff;
}

.blog-question-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid #d7dde5;
  padding: 18px 0;
}

.blog-question-stats {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #56616f;
  font-size: 13px;
  text-align: right;
}

.blog-question-stats span {
  display: block;
}

.blog-question-stats b {
  color: #111827;
  font-weight: 500;
}

.blog-question-stats .answered {
  display: inline-block;
  border: 1px solid #17a05d;
  border-radius: 4px;
  padding: 3px 6px;
  color: #078047;
}

.blog-question-title {
  color: #1167c8;
  font-size: 20px;
  line-height: 1.25;
}

.blog-question-title:hover {
  color: #0a4a96;
}

.blog-question-summary p {
  margin: 7px 0 10px;
  color: #465568;
  font-size: 14px;
}

.blog-question-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-question-user {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
}

.blog-question-user span {
  color: #1167c8;
}

.blog-question-user em {
  color: #2367a8;
  font-style: normal;
}

.blog-forum-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.blog-side-box {
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.blog-side-highlight {
  border-color: #e3c06f;
  background: #fff8e8;
}

.blog-side-box h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 18px;
}

.blog-side-box a,
.blog-side-box span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  color: #2367a8;
  font-size: 13px;
}

.blog-side-box a b {
  min-width: 38px;
  border-radius: 3px;
  padding: 3px 6px;
  background: #eef2f7;
  color: #111827;
  text-align: center;
}

.blog-empty-forum {
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.blog-empty-forum h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
}

.blog-empty-forum p {
  margin: 0;
  color: #667085;
}

.blog-detail-page {
  background: #fff;
}

.blog-detail-shell {
  padding: 42px 0 78px;
}

.blog-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #1167c8;
  font-weight: 850;
}

.blog-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.blog-detail-header h1 {
  max-width: 920px;
  margin: 0;
  color: #343942;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid #d7dde5;
  margin-top: 12px;
  padding-bottom: 18px;
  color: #667085;
  font-size: 13px;
}

.blog-detail-question,
.blog-comment {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
}

.blog-vote-column {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  color: #475467;
}

.blog-vote-column button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  cursor: pointer;
}

.blog-vote-column strong {
  color: #111827;
  font-size: 18px;
}

.blog-vote-column span {
  font-size: 11px;
}

.blog-detail-content {
  min-width: 0;
  color: #1f2937;
  font-size: 16px;
}

.blog-detail-content p {
  margin: 0 0 16px;
}

.blog-detail-author {
  display: grid;
  justify-content: end;
  margin-top: 18px;
  color: #2367a8;
  font-size: 13px;
  text-align: right;
}

.blog-detail-author em {
  color: #667085;
  font-style: normal;
}

.blog-comments-section {
  border-top: 1px solid #d7dde5;
  padding-top: 22px;
}

.blog-comments-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.blog-comments-title h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 500;
}

.blog-comments-title select {
  min-height: 38px;
  border: 1px solid #b8c4d2;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
}

.blog-comment {
  border-bottom: 1px solid #e3e8ef;
}

.blog-comment-votes {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  color: #111827;
}

.blog-comment-body {
  color: #1f2937;
}

.blog-comment-body p {
  margin: 0 0 12px;
}

.blog-comment footer {
  margin-top: 14px;
  color: #2367a8;
  font-size: 13px;
}

.blog-comment footer span {
  color: #667085;
}

.blog-comment-empty,
.blog-login-answer {
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  margin: 18px 0;
  padding: 18px;
  background: #f8fafc;
  color: #475467;
}

.blog-detail-comment-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.blog-detail-comment-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 850;
}

.blog-detail-comment-form .btn {
  width: max-content;
}

@media (max-width: 1280px) {
  .academy-courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .academy-filter-row,
  .academy-filter-controls,
  .academy-player-shell {
    grid-template-columns: 1fr;
  }

  .documentation-reader-hero-grid,
  .documentation-reader-shell {
    grid-template-columns: 1fr;
  }

  .documentation-outline {
    position: static;
    max-height: none;
  }

  .academy-player-sidebar {
    border-right: 0;
    border-bottom: 1px solid #d8e0ea;
  }

  .blog-forum-layout,
  .blog-detail-shell {
    grid-template-columns: 1fr;
  }

  .blog-forum-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .academy-courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .academy-filter-panel {
    padding: 22px;
  }

  .documentation-content {
    padding: 28px;
  }

  .documentation-feedback-heading,
  .documentation-comment > header,
  .documentation-reply > header {
    align-items: stretch;
    flex-direction: column;
  }

  .documentation-rating-summary {
    width: 100%;
  }

  .documentation-reader-hero {
    padding-top: 26px;
  }

  .academy-player-main {
    padding: 22px;
  }

  .academy-video-frame {
    min-height: 320px;
  }

  .blog-top-stories {
    padding: 58px 0 54px;
  }

  .blog-section-title h1 {
    font-size: 42px;
  }

  .blog-stories-grid,
  .blog-ask-form {
    grid-template-columns: 1fr;
  }

  .blog-ask-trigger,
  .blog-ask-card summary,
  .blog-ask-card-locked {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .blog-ask-trigger b,
  .blog-ask-card summary b,
  .blog-ask-card-locked .btn {
    grid-column: 1 / -1;
  }

  .blog-composer-modal {
    padding: 12px;
  }

  .blog-composer-dialog {
    max-height: calc(100vh - 24px);
  }

  .blog-composer-dialog header,
  .blog-ask-form-modal {
    padding: 16px;
  }

  .blog-ask-form-modal {
    grid-template-columns: 1fr;
  }

  .blog-composer-dialog footer {
    align-items: stretch;
    flex-direction: column;
    margin: 0 -16px -16px;
    padding: 14px 16px;
  }

  .blog-composer-dialog footer .btn {
    width: 100%;
  }

  .blog-forum-toolbar,
  .blog-detail-header,
  .blog-comments-title {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-detail-comment-form .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .academy-shell {
    padding-top: 18px;
  }

  .documentation-page .container,
  .documentation-reader-page .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .academy-courses-grid {
    grid-template-columns: 1fr;
  }

  .academy-filter-controls {
    gap: 16px;
  }

  .academy-filter-panel h2,
  .academy-list-section h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .academy-filter-chip {
    padding: 0 14px;
  }

  .academy-player-lessons span {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .academy-player-lessons em {
    grid-column: 2;
  }

  .academy-video-frame strong {
    font-size: 40px;
  }

  .documentation-reader-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .documentation-reader-meta span {
    justify-content: center;
  }

  .documentation-content {
    padding: 22px;
  }

  .documentation-feedback-section {
    padding: 20px;
  }

  .documentation-rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .documentation-rating-options label {
    justify-content: center;
    padding: 0 6px;
  }

  .documentation-feedback-form .btn,
  .documentation-edit-form .btn,
  .documentation-reply-form .btn {
    width: 100%;
  }

  .documentation-comment-side {
    justify-content: space-between;
    width: 100%;
  }

  .documentation-edit-actions {
    flex-direction: column;
  }

  .documentation-replies {
    padding-left: 12px;
  }

  .documentation-content h2 {
    font-size: 28px;
  }

  .documentation-content h3 {
    font-size: 21px;
  }

  .blog-question-row,
  .blog-detail-question,
  .blog-comment {
    grid-template-columns: 1fr;
  }

  .blog-question-stats {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
  }

  .blog-question-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .blog-question-user {
    justify-content: flex-start;
  }
}

.composer-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.composer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.composer-top span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 950;
}

.composer-box {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  color: #76867f;
  background: #f8fbf9;
}

.composer-actions,
.social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.composer-actions span,
.social-tabs span {
  border: 1px solid #cce5d6;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.social-section {
  background: #fff;
}

.social-tabs {
  margin: 0 0 26px;
}

.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.social-feed {
  display: grid;
  gap: 18px;
}

.blog-post-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 28, 20, .08);
}

.blog-post-card-featured {
  grid-template-columns: 300px minmax(0, 1fr);
}

.blog-post-card img,
.post-placeholder {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #e7f7ed, #eef4ff);
}

.post-placeholder {
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 950;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px;
  color: #6d7e76;
  font-size: 13px;
  font-weight: 800;
}

.blog-post-card form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #f8fbf9;
  box-shadow: 0 14px 34px rgba(8, 28, 20, .08);
}

.social-sidebar h2 {
  font-size: 24px;
}

.sidebar-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sidebar-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hero-clean .hero-grid,
  .learning-hero-grid,
  .social-hero-grid,
  .social-layout {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .module-homes,
  .docs-areas,
  .doc-grid,
  .pricing-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-clean .hero-grid,
  .impact-grid,
  .module-homes,
  .docs-areas,
  .doc-grid,
  .pricing-grid-wide {
    grid-template-columns: 1fr;
  }

  .hero-screenshot {
    display: block;
  }

  .learning-hero-page h1,
  .social-hero h1 {
    font-size: 34px;
  }

  .blog-post-card,
  .blog-post-card-featured {
    grid-template-columns: 1fr;
  }
}

/* Layout containment and final SmartCIP landing refinements */
html,
body {
  overflow-x: hidden;
}

.container,
.hero-single,
.split,
.split > *,
.real-screen,
.showcase-frame,
.screen-crop {
  min-width: 0;
  max-width: 100%;
}

.section-kicker {
  width: max-content;
  max-width: 100%;
  justify-self: start;
}

.hero-clean .hero-single {
  display: block;
}

.hero-clean .hero-single .hero-content {
  max-width: 980px;
}

.hero-clean .hero-single h1 {
  max-width: 1040px;
}

.hero-clean .hero-single p {
  max-width: 780px;
}

.impact-header {
  max-width: 980px;
}

.impact-header h2 {
  max-width: 980px;
}

.impact-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.impact-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
}

.impact-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.impact-card-top span {
  margin: 0;
}

.impact-code {
  display: inline-flex !important;
  width: 42px;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 12px !important;
  font-weight: 950;
}

.impact-card strong {
  margin: 0;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px 96px;
  margin: 42px 0 96px;
}

.process-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: -34px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  transform: translateX(-50%);
}

.process-flow article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 252, 250, .96)),
    #fff;
  box-shadow: 0 18px 44px rgba(8, 28, 20, .08);
}

.process-flow article:nth-child(odd) {
  grid-column: 1;
}

.process-flow article:nth-child(even) {
  grid-column: 2;
  transform: translateY(58px);
}

.process-flow article::before {
  content: "";
  position: absolute;
  top: 42px;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(17, 156, 58, .28);
  z-index: 2;
}

.process-flow article:nth-child(odd)::before {
  right: -55px;
}

.process-flow article:nth-child(even)::before {
  left: -55px;
  background: var(--blue);
}

.process-flow article::after {
  content: "";
  position: absolute;
  top: 47px;
  width: 46px;
  height: 14px;
  background: var(--green);
  clip-path: polygon(0 42%, calc(100% - 10px) 42%, calc(100% - 10px) 18%, 100% 50%, calc(100% - 10px) 82%, calc(100% - 10px) 58%, 0 58%);
  opacity: .9;
}

.process-flow article:nth-child(odd)::after {
  right: -48px;
}

.process-flow article:nth-child(even)::after {
  left: -48px;
  background: var(--blue);
  transform: scaleX(-1);
}

.process-flow article > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: var(--green-3);
  font-weight: 950;
}

.process-flow article:nth-child(even) > span {
  color: var(--blue);
  background: #eaf1ff;
}

.process-flow h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.process-flow p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.split {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 58px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
}

.visual-section,
.map-band,
.branch-section {
  overflow: hidden;
}

.real-screen,
.showcase-frame {
  display: grid;
  overflow: hidden;
}

.screen-crop {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(180deg, #f7fbf8, #eef6f1);
}

.screen-crop img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.screen-crop-dashboard {
  aspect-ratio: 16 / 8.4;
  padding: 12px;
}

.screen-crop-budget {
  aspect-ratio: 4 / 3;
  padding: 12px;
}

.screen-crop-phone {
  aspect-ratio: 4 / 5.25;
  padding: 16px;
}

.screen-crop-map {
  aspect-ratio: 16 / 9.4;
  padding: 12px;
}

.screen-crop-branch {
  aspect-ratio: 16 / 8.8;
  padding: 12px;
}

.real-screen figcaption,
.showcase-frame figcaption,
.hero-screenshot figcaption {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background: linear-gradient(135deg, #09221a, #0c7b50);
}

.real-screen figcaption strong,
.showcase-frame figcaption strong,
.real-screen figcaption span,
.showcase-frame figcaption span {
  color: #fff;
}

.dashboard-real,
.budget-showcase,
.map-real,
.branch-real {
  width: 100%;
}

.map-band .split {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr);
}

.branch-section .split {
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.12fr);
}

.pricing-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-grid-wide .price-card {
  display: flex;
  flex-direction: column;
}

.pricing-grid-wide .price-card .btn {
  margin-top: auto;
  align-self: start;
}

.pricing-grid-wide .roi-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 18px 28px;
  align-items: stretch;
}

.pricing-grid-wide .roi-card > .section-kicker,
.pricing-grid-wide .roi-card > h3 {
  grid-column: 1 / -1;
}

.pricing-grid-wide .roi-form {
  margin-top: 0;
}

.pricing-grid-wide .roi-result {
  display: grid;
  align-content: center;
  min-height: 100%;
  margin-top: 0;
}

@media (max-width: 1120px) {
  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-flow,
  .split,
  .split.reverse,
  .map-band .split,
  .branch-section .split,
  .pricing-grid-wide,
  .pricing-grid-wide .roi-card {
    grid-template-columns: 1fr;
  }

  .process-flow {
    gap: 18px;
    margin-bottom: 42px;
  }

  .process-flow::before,
  .process-flow article::before,
  .process-flow article::after {
    display: none;
  }

  .process-flow article,
  .process-flow article:nth-child(odd),
  .process-flow article:nth-child(even) {
    grid-column: auto;
    transform: none;
  }

  .screen-crop-dashboard,
  .screen-crop-map,
  .screen-crop-branch {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .hero-clean .hero-single h1,
  .impact-header h2 {
    font-size: 40px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .process-flow article {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 18px;
  }

  .process-flow article > span {
    width: 50px;
    height: 50px;
  }

  .screen-crop-dashboard,
  .screen-crop-budget,
  .screen-crop-map,
  .screen-crop-branch {
    aspect-ratio: 4 / 3;
    padding: 8px;
  }

  .pricing-grid-wide .roi-form {
    grid-template-columns: 1fr;
  }
}

/* SmartCIP social, academy and ROI refinements */
.screen-crop-budget {
  aspect-ratio: 16 / 9.6;
}

.budget-showcase .screen-crop {
  background: #eaf0ed;
}

.roi-result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.roi-result-metrics b {
  display: grid;
  gap: 4px;
  border: 1px solid #dce8e2;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  font-weight: 800;
}

.roi-result-metrics em {
  color: var(--blue);
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.roi-result-metrics small {
  color: var(--muted);
  font-size: 12px;
}

.social-composer-preview {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.social-composer-preview .composer-top {
  margin-bottom: 0;
}

.composer-top div {
  display: grid;
  gap: 2px;
}

.composer-top small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.social-composer-preview .composer-box {
  display: grid;
  gap: 8px;
  min-height: 126px;
  align-content: start;
  border-style: dashed;
  background: #f7fbf8;
}

.social-composer-preview .composer-box b {
  color: var(--ink);
  font-size: 17px;
}

.social-composer-preview .composer-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.composer-stats {
  display: grid;
  gap: 8px;
  border-radius: 10px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, #09221a, #0c7b50);
}

.composer-stats b {
  font-size: 18px;
}

.composer-stats span {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
}

.feed-composer-inline {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #f8fbf9;
  box-shadow: 0 12px 28px rgba(8, 28, 20, .06);
}

.feed-composer-inline > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 950;
}

.feed-composer-inline strong {
  display: block;
  margin-bottom: 2px;
}

.feed-composer-inline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.post-reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.post-reaction-row span {
  border: 1px solid #dce8e2;
  border-radius: 999px;
  padding: 6px 10px;
  color: #3f554d;
  background: #f8fbf9;
  font-size: 12px;
  font-weight: 900;
}

.academy-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.academy-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  margin: 16px 0;
  background: #e2ebe6;
}

.academy-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.academy-preview .lesson-list span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.academy-preview .lesson-list b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-3);
  font-size: 12px;
}

.academy-preview .lesson-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.academy-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.academy-strip article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 28, 20, .06);
}

.academy-strip strong {
  display: block;
  color: var(--green);
  font-size: 18px;
}

.academy-strip span {
  color: var(--muted);
  font-weight: 800;
}

.privacy-page {
  background:
    linear-gradient(180deg, #f7fbf8 0, #fff 360px),
    #fff;
}

.page--privacy,
.page--privacy * {
  min-width: 0;
}

.page--privacy {
  max-width: 100%;
  overflow-x: hidden;
}

.page--privacy .container {
  max-width: min(1220px, calc(100vw - 40px));
}

.privacy-hero {
  padding: 74px 0 34px;
}

.privacy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  gap: 30px;
  align-items: end;
}

.privacy-hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .96;
  letter-spacing: 0;
}

.privacy-hero p {
  max-width: 780px;
  color: #40534c;
  font-size: 18px;
}

.privacy-updated {
  margin-top: 18px;
  color: var(--green);
  font-size: 14px !important;
  font-weight: 900;
}

.privacy-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 28, 20, .08);
}

.privacy-summary strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
}

.privacy-summary ul,
.privacy-card ul {
  margin: 0;
  padding-left: 20px;
}

.privacy-summary li,
.privacy-card li {
  margin: 8px 0;
  color: #40534c;
}

.privacy-hero h1,
.privacy-card h2,
.privacy-card h3,
.privacy-hero p,
.privacy-summary li,
.privacy-card p,
.privacy-card li {
  overflow-wrap: anywhere;
}

.privacy-content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 86px;
}

.privacy-index {
  position: sticky;
  top: 98px;
  grid-column: 1;
  grid-row: 1 / span 12;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 28, 20, .06);
}

.privacy-index a {
  border-radius: 6px;
  padding: 10px 12px;
  color: #40534c;
  font-size: 13px;
  font-weight: 900;
}

.privacy-index a:hover {
  color: var(--green);
  background: var(--green-3);
}

.privacy-card {
  grid-column: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 28, 20, .055);
}

.privacy-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.15;
}

.privacy-card h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 16px;
}

.privacy-card p {
  margin: 0 0 14px;
  color: #40534c;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.privacy-card a {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.privacy-columns > div {
  border: 1px solid #e4eee8;
  border-radius: 8px;
  padding: 18px;
  background: #f8fcf9;
}

.privacy-highlight {
  border-color: #b7e4c4;
  background: linear-gradient(180deg, #f3fff6, #fff);
}

@media (max-width: 820px) {
  .roi-result-metrics,
  .feed-composer-inline,
  .academy-strip {
    grid-template-columns: 1fr;
  }

  .feed-composer-inline .btn {
    width: 100%;
  }

  .academy-preview .lesson-list span {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .academy-preview .lesson-list em {
    grid-column: 2;
  }

  .privacy-hero {
    padding-top: 48px;
  }

  .privacy-hero-grid,
  .privacy-content,
  .privacy-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-index {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }

  .privacy-card {
    grid-column: 1;
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .page--privacy .container {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .privacy-hero {
    padding: 42px 0 28px;
  }

  .privacy-hero h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  .privacy-hero p {
    font-size: 16px;
  }

  .privacy-summary,
  .privacy-card {
    padding: 20px;
  }

  .privacy-card h2 {
    font-size: 23px;
  }
}

/* Mobile navigation and hero refinements */
.nav {
  position: relative;
}

.nav-toggle,
.mobile-nav-panel {
  display: none;
}

.nav-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 156, 58, .28);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(8, 28, 20, .08);
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin: -1px 0 0 -9px;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(17, 156, 58, .18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(8, 28, 20, .18);
}

.mobile-nav-panel a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  padding: 0 12px;
  color: #40534c;
  font-size: 14px;
  font-weight: 900;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  color: var(--green);
  background: var(--green-3);
}

.mobile-nav-panel .mobile-nav-cta {
  margin-top: 6px;
  color: #fff;
  background: var(--green);
}

.mobile-nav-panel .mobile-nav-cta:hover {
  color: #fff;
  background: var(--green-2);
}

@media (max-width: 1060px) {
  .nav {
    min-height: 72px;
    gap: 14px;
  }

  .brand {
    min-width: 112px;
  }

  .brand img {
    width: 112px;
  }

  .nav-links,
  .site-header .nav > .btn {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.is-menu-open .mobile-nav-panel {
    display: grid;
    gap: 2px;
  }
}

@media (max-width: 900px) {
  .hero-clean .pest-ascent {
    display: block !important;
  }
}

@media (max-width: 820px) {
  html,
  body,
  .page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .site-header .container.nav,
  .hero-clean > .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero.hero-clean {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    padding: 54px 0 78px;
    align-items: center;
  }

  .hero-clean .hero-single,
  .hero-clean .hero-single .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 620px;
  }

  .hero-clean .hero-single h1,
  .hero-clean h1 {
    max-width: min(12em, 100%);
    font-size: clamp(30px, 8.1vw, 38px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .hero-clean p {
    max-width: min(34em, 100%);
    font-size: clamp(15px, 3.9vw, 17px);
    line-height: 1.5;
  }

  .hero-clean .eyebrow {
    max-width: 320px;
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-clean .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 330px;
  }

  .hero-clean .hero-actions .btn {
    width: 100%;
  }

  .hero-clean .trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-clean .pest-ascent {
    inset: 0;
    width: 100%;
    opacity: .36;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .88) 15%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .88) 15%, #000 100%);
  }

  .hero-clean .pest-ascent::before,
  .hero-clean .pest-ascent::after,
  .hero-clean .pest-trail,
  .hero-clean .pest-scan {
    opacity: .36;
  }

  .hero-clean .pest {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .22));
  }

  .hero-clean .pest-1 { --x: 84%; --size: 25px; --duration: 15s; --delay: -12s; --drift: -86px; --mid: -42px; }
  .hero-clean .pest-2 { --x: 70%; --size: 20px; --duration: 13s; --delay: -7s; --drift: 58px; --mid: 28px; }
  .hero-clean .pest-3 { --x: 92%; --size: 18px; --duration: 12s; --delay: -4s; --drift: -44px; --mid: -18px; }
  .hero-clean .pest-4 { --x: 64%; --size: 28px; --duration: 18s; --delay: -15s; --drift: 88px; --mid: 42px; }
  .hero-clean .pest-5 { --x: 80%; --size: 22px; --duration: 13s; --delay: -2s; --drift: -62px; --mid: -30px; }
  .hero-clean .pest-6 { --x: 58%; --size: 19px; --duration: 15s; --delay: -10s; --drift: 74px; --mid: 34px; }
  .hero-clean .pest-7 { --x: 94%; --size: 24px; --duration: 16s; --delay: -8s; --drift: -104px; --mid: -54px; }
  .hero-clean .pest-8 { --x: 74%; --size: 18px; --duration: 11s; --delay: -6s; --drift: 52px; --mid: 24px; }
  .hero-clean .pest-9 { --x: 52%; --size: 23px; --duration: 17s; --delay: -13s; --drift: 96px; --mid: 48px; }
}

@media (max-width: 520px) {
  .site-header {
    background: rgba(255, 255, 255, .96);
  }

  .nav {
    min-height: 78px;
  }

  .site-header .container.nav,
  .hero-clean > .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .brand {
    min-width: 104px;
  }

  .brand img {
    width: 104px;
  }

  .mobile-nav-panel {
    left: 0;
    right: 0;
    width: 100%;
  }

  .hero.hero-clean {
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
    padding: 48px 0 74px;
  }

  .hero-clean .hero-single h1,
  .hero-clean h1 {
    max-width: min(11.4em, 100%);
    font-size: clamp(28px, 7.7vw, 34px);
    line-height: 1.09;
  }

  .hero-clean p {
    font-size: 15px;
  }

  .hero-clean .hero-actions {
    max-width: 100%;
  }

  .hero-clean .trust-strip span {
    width: max-content;
    max-width: 100%;
  }

  .hero-clean .pest-ascent {
    opacity: .32;
  }

  .hero-clean .pest-1 { --x: 86%; --size: 23px; --drift: -64px; --mid: -30px; }
  .hero-clean .pest-2 { --x: 68%; --size: 18px; --drift: 44px; --mid: 20px; }
  .hero-clean .pest-3 { --x: 94%; --size: 17px; --drift: -36px; --mid: -16px; }
  .hero-clean .pest-4 { --x: 62%; --size: 25px; --drift: 64px; --mid: 30px; }
  .hero-clean .pest-5 { --x: 78%; --size: 20px; --drift: -48px; --mid: -22px; }
  .hero-clean .pest-6 { --x: 58%; --size: 18px; --drift: 54px; --mid: 24px; }
  .hero-clean .pest-7 { --x: 92%; --size: 22px; --drift: -72px; --mid: -36px; }
  .hero-clean .pest-8 { --x: 72%; --size: 17px; --drift: 38px; --mid: 18px; }
  .hero-clean .pest-9 { --x: 54%; --size: 21px; --drift: 68px; --mid: 32px; }
}

/* Mobile viewport hardening for browsers that expand the layout width */
@media (max-width: 1060px) {
  .site-header {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible;
  }

  .site-header .container.nav {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 14px;
  }

  .nav-toggle {
    position: fixed !important;
    top: 17px;
    right: 14px;
    z-index: 120;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }
}

@supports (width: 100dvw) {
  @media (max-width: 1060px) {
    .site-header,
    .site-header .container.nav {
      width: 100dvw !important;
      max-width: 100dvw !important;
    }
  }
}

@media (max-width: 820px) {
  .hero-clean > .container,
  .hero-clean .hero-single,
  .hero-clean .hero-single .hero-content {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-clean .hero-single h1,
  .hero-clean h1,
  .hero-clean p,
  .hero-clean .eyebrow,
  .hero-clean .hero-actions,
  .hero-clean .trust-strip {
    max-width: 100% !important;
  }
}

@supports (width: 100dvw) {
  @media (max-width: 820px) {
    .hero-clean > .container,
    .hero-clean .hero-single,
    .hero-clean .hero-single .hero-content {
      width: calc(100dvw - 28px) !important;
      max-width: calc(100dvw - 28px) !important;
    }
  }
}

@media (max-width: 520px) {
  .mobile-nav-panel {
    top: 78px;
  }
}

/* Narrow phone guard: keep controls inside the first visible viewport slice */
@media (max-width: 520px) {
  .nav-toggle {
    right: auto;
    left: min(calc(100vw - 58px), 330px);
  }

  .mobile-nav-panel {
    right: auto;
    width: min(calc(100vw - 28px), 362px);
    max-width: min(calc(100vw - 28px), 362px);
  }

  .hero-clean > .container,
  .hero-clean .hero-single,
  .hero-clean .hero-single .hero-content {
    width: min(calc(100vw - 28px), 362px) !important;
    max-width: min(calc(100vw - 28px), 362px) !important;
  }
}

@supports (width: 100dvw) {
  @media (max-width: 520px) {
    .nav-toggle {
      left: min(calc(100dvw - 58px), 330px);
    }

    .mobile-nav-panel,
    .hero-clean > .container,
    .hero-clean .hero-single,
    .hero-clean .hero-single .hero-content {
      width: min(calc(100dvw - 28px), 362px) !important;
      max-width: min(calc(100dvw - 28px), 362px) !important;
    }
  }
}

/* Final blog feed overrides */
.page--blog,
.blog-forum-page,
.blog-detail-page {
  background:
    linear-gradient(180deg, #eef6f2 0, #f5f8fb 430px, #eef4f6 100%);
}

.blog-top-stories {
  position: relative;
  overflow: hidden;
  padding: 54px 0 38px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 44, 41, .97) 0%, rgba(16, 94, 94, .96) 52%, rgba(181, 137, 29, .94) 100%);
}

.blog-top-stories::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .10) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 100%);
  background-size: 56px 56px;
  opacity: .45;
}

.blog-top-stories > .container {
  position: relative;
  z-index: 1;
}

.blog-section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.blog-section-title span {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  letter-spacing: 0;
}

.blog-section-title h1 {
  max-width: 720px;
  margin: 16px 0 10px;
  color: #fff;
  font-size: 44px;
  font-weight: 900;
}

.blog-section-title p {
  max-width: 650px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
}

.blog-stories-grid {
  gap: 18px;
}

.blog-story-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 50px rgba(8, 29, 37, .20);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(8, 29, 37, .26);
}

.blog-story-cover {
  border-radius: 0;
  background: #eaf1f3;
}

.blog-story-cover img,
.blog-cover-visual {
  aspect-ratio: 16 / 8.6;
}

.blog-cover-visual {
  padding: 20px;
  background: linear-gradient(135deg, #0b7669 0%, #167a9d 52%, #c49a2d 100%);
}

.blog-cover-visual::before,
.blog-cover-visual::after {
  display: none;
}

.blog-cover-visual span {
  letter-spacing: 0;
}

.blog-cover-visual strong {
  margin-top: 38px;
  font-size: 27px;
}

.blog-story-meta,
.blog-story-card h2,
.blog-story-card p {
  padding-right: 18px;
  padding-left: 18px;
}

.blog-story-meta {
  margin: 16px 0 10px;
  color: #0f766e;
  letter-spacing: 0;
}

.blog-story-card h2 {
  margin-bottom: 10px;
  color: #172033;
  font-size: 21px;
  font-weight: 900;
}

.blog-story-card p {
  margin-bottom: 18px;
  color: #4e6071;
}

.blog-question-hub {
  border-top: 0;
  padding: 30px 0 78px;
  background: transparent;
}

.blog-forum-layout,
.blog-detail-shell {
  grid-template-columns: minmax(0, 790px) 300px;
  justify-content: center;
  gap: 24px;
}

.blog-ask-card,
.blog-side-box,
.blog-question-row,
.blog-detail-header,
.blog-detail-question,
.blog-comments-section {
  border: 1px solid #d9e6e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 43, 50, .08);
}

.blog-ask-card {
  overflow: hidden;
  margin-bottom: 18px;
}

.blog-ask-trigger {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, #fff 0%, #f7fbf9 64%, #ecf8f1 100%);
}

.blog-avatar {
  border-radius: 8px;
  background: linear-gradient(135deg, #0d8074, #2458d3);
  box-shadow: 0 10px 22px rgba(13, 128, 116, .18);
}

.blog-avatar-sm {
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.blog-ask-trigger strong,
.blog-ask-card-locked h2 {
  color: #172033;
  font-size: 17px;
  font-weight: 900;
}

.blog-ask-trigger em,
.blog-ask-card-locked p {
  margin-top: 3px;
  color: #637487;
}

.blog-ask-trigger b {
  border-radius: 6px;
  background: #0da34a;
  box-shadow: 0 18px 36px rgba(13, 163, 74, .26);
}

.blog-composer-backdrop {
  background: rgba(10, 18, 28, .62);
  backdrop-filter: blur(4px);
}

.blog-composer-dialog {
  width: min(690px, 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: #fff;
}

.blog-composer-dialog header {
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  border-bottom: 1px solid #dde7eb;
  padding: 18px 20px;
  background: #f7fafb;
}

.blog-composer-dialog h2 {
  color: #172033;
  font-size: 21px;
  font-weight: 900;
}

.blog-ask-form-modal {
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 0;
  padding: 18px 20px 0;
}

.blog-type-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.blog-type-option {
  position: relative;
  min-width: 0;
}

.blog-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.blog-type-option span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid #d8e2e8;
  border-radius: 6px;
  padding: 0 10px;
  color: #415568;
  background: #f7fafb;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.blog-type-option input:checked + span {
  border-color: #18a957;
  color: #087442;
  background: #e8f8ee;
  box-shadow: inset 0 0 0 1px rgba(24, 169, 87, .18);
}

.blog-ask-form input,
.blog-ask-form select,
.blog-ask-form textarea,
.blog-detail-comment-form textarea {
  border-color: #d4e0e7;
  border-radius: 8px;
  background: #fbfdfe;
}

.blog-ask-form-modal textarea {
  min-height: 190px;
  border: 1px solid #d4e0e7;
  padding: 12px;
  font-size: 18px;
  line-height: 1.45;
}

.blog-composer-options,
.blog-composer-tools {
  display: none;
}

.blog-composer-dialog footer {
  margin: 4px -20px 0;
  border-top: 1px solid #dde7eb;
  background: #f7fafb;
}

.blog-composer-hint {
  min-width: 0;
  color: #637487;
  font-size: 13px;
  font-weight: 800;
}

.blog-composer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-forum-toolbar {
  align-items: flex-end;
  margin: 0 0 14px;
}

.blog-forum-toolbar h2 {
  margin-bottom: 12px;
  color: #172033;
  font-size: 30px;
  font-weight: 900;
}

.blog-topic-tags a,
.blog-question-tags span {
  min-height: 28px;
  border: 1px solid #d8e9df;
  border-radius: 6px;
  padding: 0 10px;
  color: #0e6d46;
  background: #eef8f1;
  font-weight: 900;
}

.blog-question-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  margin: 12px 0 0;
  background: transparent;
}

.blog-question-tabs span {
  min-height: 36px;
  border: 1px solid #d5e1e8;
  border-radius: 6px;
  padding: 8px 14px;
  color: #44576b;
  background: #fff;
  font-weight: 850;
}

.blog-question-tabs .active {
  border-color: #0e8f50;
  color: #087442;
  background: #e8f8ee;
}

.blog-question-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  border-top: 0;
  background: transparent;
}

.blog-question-row {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
}

.blog-feed-author {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.blog-feed-author strong {
  display: block;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 15px;
  font-weight: 900;
}

.blog-feed-author span {
  display: block;
  margin-top: 2px;
  color: #68798b;
  font-size: 12px;
  font-weight: 750;
}

.blog-question-title {
  display: inline-block;
  color: #0f4f99;
  font-size: 21px;
  font-weight: 900;
}

.blog-question-summary p {
  margin: 8px 0 12px;
  color: #33465a;
  font-size: 15px;
}

.blog-feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e4edf1;
  margin-top: 14px;
  padding-top: 12px;
}

.blog-feed-action-form {
  margin: 0;
}

.blog-feed-actions a,
.blog-feed-actions button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #425466;
  background: #f1f5f7;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.blog-feed-actions a:hover,
.blog-feed-actions button:hover {
  color: #0e6d46;
  background: #e8f8ee;
}

.blog-feed-actions span {
  color: #172033;
  font-weight: 950;
}

.blog-forum-sidebar {
  top: 92px;
  gap: 14px;
}

.blog-side-highlight {
  border-color: #e2c66f;
  background: linear-gradient(180deg, #fff7df 0%, #fff 100%);
}

.blog-side-box h2 {
  color: #172033;
  font-weight: 900;
}

.blog-side-box a,
.blog-side-box span {
  color: #2458d3;
  line-height: 1.35;
}

.blog-detail-shell {
  padding: 34px 0 80px;
}

.blog-detail-header {
  padding: 20px;
}

.blog-detail-header h1 {
  color: #172033;
  font-size: 32px;
  font-weight: 900;
}

.blog-detail-meta {
  border-bottom: 0;
  margin: 12px 0 0;
  padding: 0 20px;
  color: #607386;
}

.blog-detail-question {
  grid-template-columns: 52px minmax(0, 1fr);
  margin-top: 14px;
  padding: 20px;
}

.blog-comments-section {
  border-top: 1px solid #d9e6e6;
  margin-top: 16px;
  padding: 18px;
}

.blog-comments-title h2 {
  color: #172033;
  font-size: 24px;
  font-weight: 900;
}

.blog-comment {
  border-bottom: 1px solid #e4edf1;
  padding: 18px 0;
}

@media (max-width: 1040px) {
  .blog-forum-layout,
  .blog-detail-shell {
    grid-template-columns: 1fr;
  }

  .blog-forum-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .blog-top-stories {
    padding: 42px 0 30px;
  }

  .blog-section-title h1 {
    font-size: 34px;
  }

  .blog-stories-grid {
    grid-template-columns: 1fr;
  }

  .blog-ask-trigger,
  .blog-ask-card-locked {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .blog-ask-trigger b,
  .blog-ask-card-locked .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .blog-type-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-forum-toolbar,
  .blog-detail-header,
  .blog-comments-title {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .blog-forum-page .container {
    width: calc(100% - 28px);
  }

  .blog-question-row,
  .blog-detail-question,
  .blog-comment {
    grid-template-columns: 1fr;
  }

  .blog-type-picker {
    grid-template-columns: 1fr;
  }

  .blog-feed-actions a,
  .blog-feed-actions button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .blog-detail-meta {
    padding: 0;
  }
}

/* Blog social conversation polish */
.blog-avatar-image {
  display: block;
  object-fit: cover;
}

.blog-avatar-lg {
  width: 54px;
  height: 54px;
  font-size: 17px;
}

.blog-detail-question {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.blog-detail-author-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.blog-detail-author-top strong {
  display: block;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.blog-detail-author-top span {
  display: block;
  margin-top: 3px;
  color: #667789;
  font-size: 13px;
  font-weight: 750;
}

.blog-vote-column,
.blog-detail-author {
  display: none;
}

.blog-reaction-shell {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e4edf1;
  padding-top: 14px;
}

.blog-reaction-summary {
  color: #5f7183;
  font-size: 13px;
  font-weight: 800;
}

.blog-reaction-summary b {
  color: #172033;
}

.blog-reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-reaction-bar form {
  margin: 0;
}

.blog-reaction-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d6e1e7;
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  color: #2d4054;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 43, 50, .08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.blog-reaction-btn:hover,
.blog-reaction-btn.is-active {
  transform: translateY(-1px);
  border-color: #19a95a;
  color: #0d6d42;
  background: #ecfbf1;
}

.blog-reaction-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #e8f1f4;
  font-size: 19px;
  line-height: 1;
}

.blog-reaction-love .blog-reaction-icon {
  background: #ffe7e0;
}

.blog-reaction-idea .blog-reaction-icon {
  background: #fff1c7;
}

.blog-reaction-celebrate .blog-reaction-icon {
  background: #e8f7df;
}

.blog-reaction-support .blog-reaction-icon {
  background: #efe8ff;
}

.blog-reaction-fun .blog-reaction-icon {
  background: #dff8ff;
}

.blog-reaction-btn b {
  color: #172033;
  font-size: 12px;
}

.blog-reaction-bar-compact {
  border-top: 0;
  padding-top: 0;
}

.blog-reaction-bar-compact .blog-reaction-summary {
  display: none;
}

.blog-reaction-bar-compact .blog-reaction-bar {
  gap: 6px;
}

.blog-reaction-bar-compact .blog-reaction-btn {
  min-height: 34px;
  padding: 3px 9px 3px 4px;
  box-shadow: none;
}

.blog-reaction-bar-compact .blog-reaction-icon {
  width: 26px;
  height: 26px;
  font-size: 16px;
}

.blog-reaction-bar-compact .blog-reaction-label {
  display: none;
}

.blog-feed-actions {
  align-items: center;
}

.blog-feed-actions .blog-reaction-shell {
  flex: 1 1 100%;
}

.blog-feed-actions > a {
  min-height: 34px;
}

.blog-comments-section {
  display: grid;
  gap: 16px;
}

.blog-detail-comment-inline {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin: 0;
}

.blog-detail-comment-inline textarea {
  min-height: 44px;
  resize: vertical;
}

.blog-detail-comment-inline .btn {
  min-height: 44px;
}

.blog-comment {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border: 0;
  border-top: 1px solid #e4edf1;
  padding: 16px 0 0;
}

.blog-comment:first-of-type {
  border-top: 0;
}

.blog-comment-author {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.blog-comment-author strong {
  display: block;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.blog-comment-author span {
  display: block;
  margin-top: 2px;
  color: #718195;
  font-size: 12px;
  font-weight: 750;
}

.blog-comment-body {
  color: #223349;
  font-size: 15px;
  line-height: 1.55;
}

.blog-comment-body p:last-child {
  margin-bottom: 0;
}

.blog-comment-footer {
  display: grid;
  gap: 8px;
}

.blog-comment-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-comment-reactions form {
  margin: 0;
}

.blog-comment-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: #4f6072;
  background: #f1f5f7;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.blog-comment-action:hover,
.blog-comment-action.is-active {
  color: #0d6d42;
  background: #e8f8ee;
}

.blog-comment-action b {
  color: #172033;
}

.blog-comment-reply {
  width: 100%;
}

.blog-comment-reply summary {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #2458d3;
  background: #f3f7ff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.blog-comment-reply summary::-webkit-details-marker {
  display: none;
}

.blog-comment-reply form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-left: 52px;
}

.blog-comment-reply textarea {
  width: 100%;
  border: 1px solid #d4e0e7;
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfe;
  font: inherit;
  resize: vertical;
}

.blog-comment-reply .btn {
  justify-self: start;
  min-height: 38px;
}

.blog-comment-thread {
  display: grid;
  gap: 12px;
  border-left: 2px solid #dce9ef;
  margin-left: 20px;
  padding-left: 20px;
}

.blog-comment-nested {
  border-top: 0;
  padding-top: 4px;
}

@media (max-width: 820px) {
  .blog-detail-comment-inline {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .blog-detail-comment-inline .btn {
    grid-column: 2;
    width: max-content;
  }

  .blog-reaction-label {
    display: none;
  }
}

@media (max-width: 560px) {
  .blog-detail-author-top,
  .blog-comment-author {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .blog-detail-comment-inline {
    grid-template-columns: 1fr;
  }

  .blog-detail-comment-inline .blog-avatar {
    display: none;
  }

  .blog-detail-comment-inline .btn {
    grid-column: auto;
    width: 100%;
  }

  .blog-reaction-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .blog-comment-reply form {
    padding-left: 0;
  }

  .blog-comment-thread {
    margin-left: 10px;
    padding-left: 12px;
  }
}

/* Blog interaction fixes */
.blog-composer-anchor {
  position: relative;
  top: -92px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.blog-question-tabs button {
  min-height: 36px;
  border: 1px solid #d5e1e8;
  border-radius: 6px;
  padding: 8px 14px;
  color: #44576b;
  background: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.blog-question-tabs button:hover,
.blog-question-tabs button.active {
  border-color: #0e8f50;
  color: #087442;
  background: #e8f8ee;
}

.blog-reaction-btn:disabled,
.blog-comment-action:disabled {
  cursor: progress;
  opacity: .72;
}

.blog-comment-thread-details {
  margin-top: 4px;
}

.blog-comment-thread-details > summary {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #2458d3;
  background: #f3f7ff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.blog-comment-thread-details > summary::-webkit-details-marker {
  display: none;
}

.blog-comment-thread-details .blog-comment-thread {
  margin-top: 10px;
}

.blog-comment-nested {
  border-radius: 0;
  margin-top: 0;
  padding: 8px 0 8px 14px;
}

.blog-comment-nested .blog-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 13px;
}

.blog-comment-nested .blog-comment-author {
  grid-template-columns: 34px minmax(0, 1fr);
}

/* Blog comments, ownership actions and attachments */
.blog-file-picker input {
  width: 100%;
  border: 1px dashed #b8cbd8;
  border-radius: 8px;
  padding: 14px;
  color: #33465a;
  background: #f8fbfc;
  font: inherit;
  font-weight: 750;
}

.blog-file-picker em {
  display: block;
  margin-top: 6px;
  color: #667789;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.blog-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.blog-attachment {
  display: grid;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid #d9e6ec;
  border-radius: 8px;
  color: #172033;
  background: #f8fbfc;
  text-decoration: none;
}

.blog-attachment-image {
  aspect-ratio: 16 / 9;
}

.blog-attachment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-attachment-file {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.blog-attachment-file b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #0d6d42;
  background: #e8f8ee;
  font-size: 13px;
  font-weight: 950;
}

.blog-attachment-file span {
  overflow-wrap: anywhere;
  color: #26384d;
  font-size: 13px;
  font-weight: 850;
}

.blog-comment-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.blog-comment-owner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: flex-start;
}

.blog-feed-top,
.blog-post-headerline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.blog-post-owner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: flex-start;
}

.blog-icon-action {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #d9e6ec;
  border-radius: 999px;
  color: #506477;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.blog-icon-action:hover {
  border-color: #0ea65a;
  color: #087442;
  background: #e8f8ee;
}

.blog-comment-delete {
  margin: 0;
}

.blog-post-delete {
  margin: 0;
}

.blog-comment-edit,
.blog-post-edit {
  position: relative;
}

.blog-comment-edit summary,
.blog-post-edit summary {
  list-style: none;
}

.blog-comment-edit summary::-webkit-details-marker,
.blog-post-edit summary::-webkit-details-marker {
  display: none;
}

.blog-comment-edit form,
.blog-post-edit form {
  position: absolute;
  z-index: 4;
  top: 38px;
  right: 0;
  display: grid;
  width: min(420px, calc(100vw - 42px));
  gap: 8px;
  border: 1px solid #d6e3ea;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 43, 54, .16);
}

.blog-post-edit form {
  width: min(480px, calc(100vw - 42px));
}

.blog-post-edit label {
  display: grid;
  gap: 5px;
}

.blog-post-edit label span {
  color: #33465a;
  font-size: 12px;
  font-weight: 900;
}

.blog-comment-edit textarea,
.blog-post-edit textarea,
.blog-post-edit input,
.blog-post-edit select {
  width: 100%;
  border: 1px solid #d4e0e7;
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfe;
  font: inherit;
  resize: vertical;
}

.blog-comment-edit form div,
.blog-post-edit form div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.blog-comment-reply-context {
  display: inline-flex;
  justify-self: start;
  border-radius: 999px;
  padding: 4px 9px;
  color: #2458d3;
  background: #f0f5ff;
  font-size: 12px;
  font-weight: 900;
}

.blog-comment-thread {
  border-left: 3px solid #cddce7;
  margin-left: 52px;
  padding-left: 18px;
}

.blog-comment-thread .blog-comment {
  position: relative;
}

.blog-comment-thread .blog-comment::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -18px;
  width: 14px;
  height: 2px;
  background: #cddce7;
}

.blog-comment-nested {
  border: 1px solid #e4edf1;
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfe;
}

@media (max-width: 560px) {
  .blog-comment-top {
    display: grid;
  }

  .blog-comment-owner-actions {
    justify-content: flex-start;
  }

  .blog-feed-top,
  .blog-post-headerline {
    display: grid;
  }

  .blog-post-owner-actions {
    justify-content: flex-start;
  }

  .blog-comment-edit form,
  .blog-post-edit form {
    right: auto;
    left: 0;
  }

  .blog-comment-thread {
    margin-left: 18px;
    padding-left: 14px;
  }
}
