/* ==================== BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--surface-muted);
  color: var(--ink-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-lg svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
  transition: transform 0.2s var(--ease);
}

.btn-lg:hover svg { transform: translateX(3px); }

.btn-lg.solid {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -4px rgba(37, 99, 235, 0.45);
}

.btn-lg.solid:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
}

svg.ico {
  display: block;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================== FULL-COVER HERO SECTION ==================== */
.tv-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #c9d8ee;
  background-image: url("../images/travel/travelimg1.webp");
  background-size: cover;
  background-position: center 35%;
}

/* Full-bleed overlay to ensure clear readability */
.tv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 40%, rgb(239 245 255 / 13%) 65%, rgba(239, 245, 255, 0) 88%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(11, 19, 36, 0.1));
}

.tv-hero-container {
  position: relative;
  width: 100%;
}

.tv-hero-inner {
  position: relative;
}

/* Copy */
.tv-copy { max-width: 620px; }

.tv-copy h1 {
  font-size: clamp(2.3rem, 5vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 1.25rem;
}

.tv-copy p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 540px;
}

/* ==================== FEATURE POINTS ==================== */
.tv-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.tv-point-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.tv-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #e0edff;
  color: #2563eb;
  flex-shrink: 0;
}

.tv-point-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-point-text {
  display: flex;
  flex-direction: column;
}

.tv-point-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #183777;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.tv-point-desc {
  font-size: 0.775rem;
  line-height: 1.4;
  color: var(--ink-500);
}

/* CTAs */
.tv-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.tv-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s ease;
}

.tv-play-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--brand-600);
  background-color: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), 0 10px 22px -8px rgba(11, 19, 36, 0.35);
  transition: transform 0.2s var(--ease);
}

.tv-play-btn svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.tv-play:hover { color: var(--brand-600); }
.tv-play:hover .tv-play-btn { transform: scale(1.06); }

/* Floating trust chip (top right inside container) */
.tv-chip {
  position: absolute;
  top: 0;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.tv-chip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
}

.tv-chip-icon svg { width: 18px; height: 18px; }
.tv-chip strong { display: block; font-size: 0.825rem; font-weight: 700; color: var(--ink-900); line-height: 1.4; }
.tv-chip span { font-size: 0.825rem; line-height: 1.4; color: var(--ink-600); }

/* Entrance animation */
.js .tv-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: tvUp 0.8s var(--ease) forwards;
}

.js .tv-anim.d1 { animation-delay: 0.08s; }
.js .tv-anim.d2 { animation-delay: 0.16s; }
.js .tv-anim.d3 { animation-delay: 0.24s; }
.js .tv-anim.d4 { animation-delay: 0.32s; }

@keyframes tvUp {
  to { opacity: 1; transform: none; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .tv-hero { min-height: 560px; padding: 4rem 0; }
  .tv-hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 40%, rgba(239, 245, 255, 0.4) 65%, rgba(239, 245, 255, 0) 88%),
                linear-gradient(180deg, rgb(255 255 255 / 0%), rgb(11 19 36 / 0%));
  }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .tv-hero { min-height: 0; padding: 5rem 0 3.5rem; }
  .tv-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 65%, rgba(255, 255, 255, 0.45) 100%);
  }
  .tv-chip { top: -3.5rem; right: 1.25rem; padding: 0.4rem 0.8rem 0.4rem 0.4rem; }
  .tv-chip-icon { width: 30px; height: 30px; }
  .tv-chip span { display: none; }
}

@media (max-width: 580px) {
  .tv-points {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .tv-copy h1 { font-size: 2.1rem; }
  .tv-ctas { gap: 0.875rem; }
  .tv-ctas .btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .tv-anim { opacity: 1; transform: none; animation: none; }
}

/* ==================== SHARED SECTION HEAD ==================== */
.sec { padding: 6rem 0; }
.sec-white { background-color: var(--surface); }

.sec-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.sec-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 1rem;
}

.sec-head p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-600);
}

svg.i {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scroll reveal */
.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .rv.d2 { transition-delay: 0.12s; }
.js .rv.in { opacity: 1; transform: none; }

/* ==================== FEATURE FLOW (icon tiles joined by dashed arrows) ==================== */
.ft-grid { display: flex; flex-direction: column; gap: 4rem; }

.ft-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ft-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  text-align: center;
}

.ft-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.5rem;
  border-radius: 22px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 18px 32px -12px rgba(37, 99, 235, 0.55);
  transition: translate 0.35s var(--ease), box-shadow 0.35s ease;
}

/* Lighter diagonal facet, as in the reference design */
.ft-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 48%, rgba(255, 255, 255, 0) 48%);
}

.ft-ico svg.i { position: relative; width: 36px; height: 36px; stroke-width: 2; }

.ft-item:hover .ft-ico {
  translate: 0 -6px;
  box-shadow: 0 24px 38px -12px rgba(37, 99, 235, 0.65);
}

.ft-item h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-600);
}

.ft-item p {
  max-width: 270px;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--ink-600);
}

.ft-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 280px;
  margin-top: 0.7rem;
  list-style: none;
}

.ft-tags li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-600);
  background-color: var(--brand-50);
}

/* Curved dashed arrow from this tile to the next */
.ft-arrow {
  position: absolute;
  top: 18px;
  left: calc(50% + 60px);
  width: calc(100% - 120px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ink-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ft-arrow.down { top: 26px; }
.ft-arrow path:first-child { stroke-dasharray: 5 7; animation: ftDash 1.4s linear infinite; }
.ft-arrow .hd { stroke-width: 2.2; }

@keyframes ftDash { to { stroke-dashoffset: -24; } }

/* Staggered entrance: tile pops, text rises, then the arrow draws toward the next tile */
.js .ft-row .ft-ico { opacity: 0; transform: scale(0.6) rotate(-8deg); }
.js .ft-row .ft-item h3,
.js .ft-row .ft-item p,
.js .ft-row .ft-tags { opacity: 0; transform: translateY(14px); }
.js .ft-row .ft-arrow { clip-path: inset(0 100% 0 0); }

.js .ft-row.in .ft-ico {
  animation: ftPop 0.7s var(--ease) both;
  animation-delay: calc(var(--d) * 0.45s);
}

.js .ft-row.in .ft-item h3,
.js .ft-row.in .ft-item p,
.js .ft-row.in .ft-tags {
  animation: ftUp 0.6s var(--ease) both;
  animation-delay: calc(var(--d) * 0.45s + 0.15s);
}

.js .ft-row.in .ft-arrow {
  animation: ftDraw 0.6s ease-out forwards;
  animation-delay: calc(var(--d) * 0.45s + 0.35s);
}

.js .ft-row.in .ft-arrow path:first-child { animation: ftDash 1.4s linear infinite; }

@keyframes ftPop { to { opacity: 1; transform: none; } }
@keyframes ftUp { to { opacity: 1; transform: none; } }
@keyframes ftDraw { to { clip-path: inset(0 0 0 0); } }

/* ==================== CYCLING SHOWCASE (list left, mockup right) ==================== */
.cy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 4rem;
  align-items: start;
}

.cy-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cy-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cy-item:hover { background-color: rgba(255, 255, 255, 0.65); }
.cy-item:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3); }

.cy-item.is-active {
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.cy-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #e0edff;
  color: #2563eb;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cy-ico svg.i { width: 21px; height: 21px; stroke-width: 2.2; }

.cy-item.is-active .cy-ico {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.55);
}

.cy-text { flex: 1; min-width: 0; padding-top: 0.6rem; }

.cy-step {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.1rem;
}

.cy-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-700);
  transition: color 0.3s ease;
}

.cy-item.is-active .cy-title { color: var(--ink-900); }

.cy-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.cy-more > div { overflow: hidden; }
.cy-item.is-active .cy-more { grid-template-rows: 1fr; }

.cy-desc {
  padding-top: 0.45rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--ink-600);
}

.cy-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin-top: 0.75rem;
}

.cy-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}

.cy-points svg.i { width: 15px; height: 15px; stroke-width: 3; color: var(--brand-600); flex-shrink: 0; }

.cy-bar {
  display: block;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 3px;
  background-color: var(--line-soft);
  overflow: hidden;
}

.cy-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  transform: scaleX(0);
  transform-origin: left;
}

.cy-item.is-active .cy-bar i { animation: cyFill var(--cy-dur, 5.5s) linear forwards; }
.cy-grid.is-paused .cy-bar i { animation-play-state: paused; }

@keyframes cyFill { to { transform: scaleX(1); } }

/* Stage + mockup window */
.cy-stage {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  isolation: isolate;
}

.cy-stage::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 60% 50%, rgba(59, 123, 246, 0.22), rgba(59, 123, 246, 0) 70%);
  filter: blur(10px);
}

.mk {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mk-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 42px;
  padding: 0 1rem;
  background-color: #fbfcfe;
  border-bottom: 1px solid var(--line-soft);
}

.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background-color: #e2e8f0; }

.mk-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  max-width: 290px;
  height: 24px;
  margin: 0 auto;
  padding: 0 0.75rem;
  border-radius: 6px;
  background-color: var(--line-soft);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
}

.mk-url svg.i { width: 11px; height: 11px; flex-shrink: 0; }

.mk-body { position: relative; height: 470px; }

.mk-panel {
  position: absolute;
  inset: 0;
  padding: 1.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.45s;
}

.mk-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s;
}

.mk-panel.is-active .ma {
  animation: maIn 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 85ms + 120ms);
}

@keyframes maIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Mockup building blocks */
.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mp-head-l { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.mp-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.mp-sub { font-size: 0.75rem; line-height: 1.35; color: var(--ink-500); }

.mp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  white-space: nowrap;
}

.mp-btn.ghost { color: var(--brand-600); background: var(--brand-50); }
.mp-btn svg.i { width: 13px; height: 13px; stroke-width: 2.5; }

.av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--c, var(--brand-500));
}

.av.sm { width: 26px; height: 26px; font-size: 0.62rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-600);
  background-color: var(--brand-50);
  white-space: nowrap;
}

.tag.green  { color: #15803d; background-color: #dcfce7; }
.tag.amber  { color: #b45309; background-color: #fef3c7; }
.tag.purple { color: #7e22ce; background-color: #f3e8ff; }
.tag.rose   { color: #be123c; background-color: #ffe4e6; }
.tag.slate  { color: var(--ink-600); background-color: var(--line-soft); }
.tag svg.i  { width: 11px; height: 11px; stroke-width: 3; }

.m-rows { display: flex; flex-direction: column; gap: 0.55rem; }

.m-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background-color: var(--surface);
}

.m-row.sel { border-color: #bfd4fd; background-color: var(--brand-50); }

.m-grow { flex: 1; min-width: 0; }
.m-grow > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-name { font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.m-meta { font-size: 0.72rem; line-height: 1.35; color: var(--ink-500); }
.m-time { font-size: 0.7rem; color: var(--ink-400); white-space: nowrap; }
.m-strike { text-decoration: line-through; color: var(--ink-400); }

.m-card {
  padding: 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background-color: var(--surface);
}

.m-label {
  margin-bottom: 0.3rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.m-val { font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: var(--ink-900); }
.m-val small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-500); }
.m-up { font-size: 0.68rem; font-weight: 700; color: #16a34a; }

.m-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.m-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.span2 { grid-column: span 2; }

.m-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.m-chip {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-600);
  white-space: nowrap;
}

.m-chip.on { color: #ffffff; background-color: var(--ink-900); border-color: var(--ink-900); }

.m-meter {
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 6px;
  background-color: var(--line-soft);
  overflow: hidden;
}

.m-meter i {
  display: block;
  width: var(--w, 60%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
}

.mk-panel.is-active .m-meter i { animation: mGrow 1s var(--ease) 0.45s both; }
@keyframes mGrow { from { width: 0; } }

.m-tabs {
  display: flex;
  gap: 1.1rem;
  margin: 0.9rem 0 0.8rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
}

.m-tabs span { padding-bottom: 0.5rem; }
.m-tabs .on { color: var(--brand-600); box-shadow: inset 0 -2px 0 var(--brand-600); }

.m-sq {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--brand-600);
  background-color: var(--brand-50);
}

.m-sq svg.i { width: 17px; height: 17px; }

.m-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink-400);
  border-radius: 6px;
  flex-shrink: 0;
  color: #ffffff;
}

.m-check svg.i { width: 11px; height: 11px; stroke-width: 3.5; opacity: 0; }
.m-check.done { background-color: #16a34a; border-color: #16a34a; }
.m-check.done svg.i { opacity: 1; }

.m-alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #dbe7fe;
  border-radius: 12px;
  background-color: var(--brand-50);
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--ink-700);
}

.m-alert b { color: var(--ink-900); }

.m-toast {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background-color: var(--ink-900);
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1.4;
  box-shadow: 0 14px 30px -10px rgba(11, 19, 36, 0.5);
}

.m-toast span { color: #cbd5e1; }
.m-toast .m-sq { width: 30px; height: 30px; color: #ffffff; background-color: var(--brand-600); }
.mk-panel.is-active .m-toast { animation: maIn 0.6s var(--ease) 1.2s both; }

/* Kanban */
.m-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }

.m-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem;
  border-radius: 10px;
  background-color: var(--surface-muted);
}

.m-col-h {
  display: flex;
  justify-content: space-between;
  padding: 0 0.1rem 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-700);
}

.m-col-h span { color: var(--ink-400); }

.m-kc {
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background-color: var(--surface);
  border-left: 3px solid var(--k, var(--brand-500));
}

.m-kc b { display: block; font-size: 0.7rem; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-kc span { font-size: 0.66rem; color: var(--ink-500); }

.m-lb { display: flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 600; color: var(--ink-700); }
.m-lb > span:first-of-type { width: 64px; flex-shrink: 0; }
.m-lb .m-meter { flex: 1; margin-top: 0; }
.m-lb b { width: 22px; text-align: right; color: var(--ink-900); }

/* Table */
.m-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 36px;
  padding: 0 0.75rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--ink-400);
}

.m-search svg.i { width: 14px; height: 14px; }

.m-tr {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 0.8fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.74rem;
  color: var(--ink-600);
}

.m-tr.th { padding-top: 0.2rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-400); }
.m-tr > div:first-child { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font-weight: 700; color: var(--ink-900); white-space: nowrap; overflow: hidden; }
.m-tr > div:last-child { font-weight: 700; text-align: right; color: var(--ink-900); }

/* Feed */
.m-feed { display: flex; flex-direction: column; gap: 0.8rem; }
.m-msg { display: flex; gap: 0.6rem; }
.m-msg-h { margin-bottom: 0.25rem; font-size: 0.72rem; font-weight: 700; color: var(--ink-900); }
.m-msg-h span { font-weight: 500; color: var(--ink-400); }

.m-bubble {
  padding: 0.55rem 0.75rem;
  border-radius: 4px 12px 12px 12px;
  background-color: var(--surface-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-700);
}

.m-bubble b { color: var(--brand-600); }

.m-file {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-700);
}

.m-file svg.i { width: 13px; height: 13px; color: #e11d48; }

.m-sys {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--ink-500);
}

.m-sys svg.i { width: 14px; height: 14px; color: #16a34a; stroke-width: 2.5; }

.m-compose {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.4rem 0.4rem 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.74rem;
  color: var(--ink-400);
}

.m-compose span { flex: 1; }
.m-stack { display: flex; align-items: center; }
.m-stack .av { margin-left: -8px; border: 2px solid var(--surface); }
.m-stack .av:first-child { margin-left: 0; }

/* Chart */
.m-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  height: 120px;
  padding-top: 0.5rem;
}

.m-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  opacity: 0.3;
  transform-origin: bottom;
}

.m-chart span.hl { opacity: 1; }
.mk-panel.is-active .m-chart span { animation: mBar 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 0.35s); }
@keyframes mBar { from { transform: scaleY(0); } }

.m-months { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.m-months span { flex: 1; font-size: 0.64rem; font-weight: 600; text-align: center; color: var(--ink-400); }

/* ==================== WORKFLOW SECTION ==================== */
.wf-list { gap: 0.25rem; }
.wf-list .cy-item { padding: 0.75rem 1rem; gap: 0.9rem; }
.wf-list .cy-item:hover { background-color: var(--surface-muted); }

.wf-list .cy-item.is-active {
  background-color: var(--brand-50);
  border-color: #dbe7fe;
  box-shadow: none;
}

.wf-list .cy-ico { width: 44px; height: 44px; border-radius: 50%; }
.wf-list .cy-text { padding-top: 0.15rem; }
.wf-list .cy-title { font-size: 0.98rem; }
.wf-list .cy-item.is-done .cy-ico { color: #ffffff; background-color: var(--brand-600); }
.wf-list .cy-item.is-active .cy-ico { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.14); }

/* Connector line between timeline steps */
.wf-list .cy-item:not(:last-child)::before,
.wf-list .cy-item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(1rem + 21px);
  top: calc(0.75rem + 48px);
  bottom: calc(-1rem + 4px);
  width: 2px;
  border-radius: 2px;
}

.wf-list .cy-item:not(:last-child)::before { background-color: var(--line); }

.wf-list .cy-item:not(:last-child)::after {
  background-color: var(--brand-600);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.wf-list .cy-item.is-done::after { transform: scaleY(1); }

.wf-body { height: auto; padding: 1.25rem 1.35rem 0; }

.wf-rec { display: flex; align-items: center; gap: 0.75rem; }
.wf-rec .av { width: 40px; height: 40px; font-size: 0.8rem; }

.wf-track {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin: 1rem 0 0.25rem;
}

.wf-track span {
  height: 5px;
  border-radius: 4px;
  background-color: var(--line-soft);
  transition: background-color 0.4s ease;
}

.wf-track span.on { background-color: var(--brand-600); }

.wf-panels { position: relative; height: 380px; }
.wf-panels .mk-panel { padding: 1rem 0 1.35rem; }

.m-bubble.in { max-width: 88%; border-radius: 12px 12px 12px 4px; background-color: #dcfce7; color: #14532d; }

.m-field {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.m-field .m-label { margin-bottom: 0.15rem; }
.m-field .m-val { font-size: 0.8rem; font-weight: 600; }

.m-quote .m-ln {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.76rem;
  color: var(--ink-600);
}

.m-quote .m-ln b { color: var(--ink-900); white-space: nowrap; }
.m-quote .m-ln.total { border-bottom: 0; padding-top: 0.65rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-900); }
.m-quote .m-ln.total b { color: var(--brand-600); }

.m-btns { display: flex; gap: 0.5rem; margin-top: 0.8rem; }

.m-success {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0.25rem auto 0.75rem;
  border-radius: 50%;
  color: #ffffff;
  background-color: #16a34a;
  box-shadow: 0 0 0 8px #dcfce7;
}

.m-success svg.i { width: 28px; height: 28px; stroke-width: 3; }
.mk-panel.is-active .m-success { animation: mPop 0.7s var(--ease) 0.15s both; }
@keyframes mPop { from { transform: scale(0.4); opacity: 0; } }

.m-center { text-align: center; }
.m-stars { display: flex; gap: 2px; color: #f59e0b; }
.m-stars svg.i { width: 14px; height: 14px; fill: currentColor; stroke-width: 1.5; }

/* Workflow device mockups: laptop (agency CRM) + phone (traveller / agent) */
.dv-wrap { position: relative; padding: 0 112px 56px 0; }

.dv-lid {
  --dv-w: 563; /* layout width of the laptop screen before it is zoomed to fit */
  position: relative;
  padding: 16px 12px 12px;
  border-radius: 22px 22px 8px 8px;
  background-color: #0f172a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.dv-lid::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #334155;
  transform: translateX(-50%);
}

.dv-lid .mk { border: 0; border-radius: 6px; box-shadow: none; zoom: 0.84; }

/* Shorter screen so the laptop keeps a widescreen shape */
.dv-laptop .wf-body { padding-top: 1rem; }
.dv-laptop .wf-track { margin: 0.8rem 0 0; }
.dv-laptop .wf-panels { height: 322px; }
.dv-laptop .wf-panels .mk-panel { padding-top: 0.85rem; padding-bottom: 0; }

.dv-base {
  position: relative;
  height: 16px;
  margin: 0 -5%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1 55%, #94a3b8);
  box-shadow: 0 20px 30px -18px rgba(15, 23, 42, 0.5);
}

.dv-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background-color: #a8b4c6;
  transform: translateX(-50%);
}

/* Keep laptop content clear of the overlapping phone */
.dv-laptop .wf-panels .mk-panel { padding-right: 3.4rem; }

.dv-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 176px;
  padding: 7px;
  border-radius: 30px;
  background-color: #0f172a;
  box-shadow: 0 30px 50px -20px rgba(15, 23, 42, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ph-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 330px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
}

.ph-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 14px 0 18px;
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink-900);
}

.ph-island {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 50px;
  height: 15px;
  border-radius: 10px;
  background-color: #0f172a;
  transform: translateX(-50%);
}

.ph-sig { display: flex; align-items: flex-end; gap: 2px; }
.ph-sig i { width: 2px; border-radius: 1px; background-color: currentColor; }
.ph-sig i:nth-child(1) { height: 3px; }
.ph-sig i:nth-child(2) { height: 5px; }
.ph-sig i:nth-child(3) { height: 7px; }
.ph-sig b { width: 13px; height: 7px; margin-left: 3px; padding: 1px; border: 1px solid currentColor; border-radius: 2px; background-color: currentColor; background-clip: content-box; }

.ph-panels { position: relative; flex: 1; }
.ph-panels .mk-panel { display: flex; flex-direction: column; padding: 0; }

.ph-home {
  position: absolute;
  bottom: 5px;
  left: 50%;
  z-index: 3;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background-color: rgba(15, 23, 42, 0.35);
  transform: translateX(-50%);
}

.ph-status { transition: color 0.4s ease; }
.dv-phone.is-dark .ph-status { color: #ffffff; }
.dv-phone.is-dark .ph-home { background-color: rgba(255, 255, 255, 0.7); }

/* Phone: chat app */
.ph-app {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem 0.45rem 0.4rem;
  border-bottom: 1px solid var(--line-soft);
  background-color: #fbfcfe;
}

.ph-app .av { width: 22px; height: 22px; font-size: 0.5rem; }
.ph-app-n { overflow: hidden; font-size: 0.6rem; font-weight: 700; line-height: 1.2; color: var(--ink-900); white-space: nowrap; text-overflow: ellipsis; }
.ph-app-s { font-size: 0.52rem; color: #16a34a; }

.ph-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  overflow: hidden;
  background-color: #f1f5f9;
}

.ph-day {
  align-self: center;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--ink-500);
}

.ph-msg {
  max-width: 86%;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--ink-900);
}

.ph-msg.in { align-self: flex-start; border-bottom-left-radius: 3px; }
.ph-msg.out { align-self: flex-end; border-bottom-right-radius: 3px; background-color: #dcfce7; }
.ph-msg small { display: block; margin-top: 0.15rem; text-align: right; font-size: 0.46rem; color: var(--ink-400); }

.ph-file {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  margin-bottom: 0.3rem;
  border-radius: 7px;
  background-color: rgba(15, 23, 42, 0.05);
}

.ph-fi {
  display: grid;
  place-items: center;
  width: 20px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: #ef4444;
  font-size: 0.42rem;
  font-weight: 800;
  color: #ffffff;
}

.ph-fi.blue { background-color: var(--brand-600); }
.ph-file > div { min-width: 0; }
.ph-file > div b { display: block; font-size: 0.56rem; line-height: 1.25; word-break: break-all; }
.ph-file > div span { display: block; font-size: 0.48rem; color: var(--ink-500); }

.ph-offer {
  margin: -0.1rem -0.1rem 0.35rem;
  padding: 0.7rem 0.5rem;
  border-radius: 7px;
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.ph-offer span { display: block; font-size: 0.5rem; font-weight: 600; opacity: 0.9; }

.ph-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem 1rem;
  border-top: 1px solid var(--line-soft);
  background-color: #fbfcfe;
}

.ph-bar i { flex: 1; height: 20px; border: 1px solid var(--line); border-radius: 10px; background-color: #ffffff; }
.ph-bar b { width: 20px; height: 20px; border-radius: 50%; background-color: #16a34a; }

/* Phone: lock screen notifications */
.ph-lock {
  flex: 1;
  margin-top: -26px;
  padding: 2.4rem 0.55rem 0.8rem;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(165deg, #1e3a8a, #2563eb 55%, #38bdf8);
}

.ph-clock { font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.ph-date { margin: 0.25rem 0 1rem; font-size: 0.58rem; opacity: 0.85; }

.ph-note {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding: 0.5rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.92);
  text-align: left;
  color: var(--ink-900);
}

.ph-note-ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: var(--brand-600);
  color: #ffffff;
}

.ph-note-ic svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
.ph-note-ic.amber { background-color: #f59e0b; }
.ph-note-ic.slate { background-color: #64748b; }
.ph-note > div { min-width: 0; flex: 1; }
.ph-note em { float: right; font-style: normal; font-size: 0.46rem; color: var(--ink-400); }
.ph-note b { display: block; font-size: 0.58rem; line-height: 1.3; }
.ph-note > div > span { display: block; font-size: 0.54rem; line-height: 1.35; color: var(--ink-600); }

.ph-acts { display: flex; gap: 0.3rem; margin-top: 0.4rem; }
.ph-acts span { flex: 1; padding: 0.25rem; border-radius: 6px; background-color: var(--line-soft); text-align: center; font-size: 0.52rem; font-weight: 700; color: var(--ink-700); }

/* Phone: app screens */
.ph-top { padding: 0.35rem 0.6rem 0.5rem; background-color: var(--brand-600); color: #ffffff; }
.ph-top-t { display: flex; flex-direction: column; line-height: 1.25; }
.ph-top-t b { font-size: 0.68rem; }
.ph-top-t small { font-size: 0.5rem; opacity: 0.85; }

.ph-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.6rem 0.6rem 1rem;
  background-color: #f8fafc;
}

.ph-card { padding: 0.4rem 0.55rem; border: 1px solid var(--line-soft); border-radius: 10px; background-color: #ffffff; }
.ph-k { font-size: 0.48rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-400); }
.ph-v { font-size: 0.64rem; font-weight: 700; color: var(--ink-900); }

.ph-btn {
  display: block;
  margin-top: auto;
  padding: 0.45rem;
  border-radius: 8px;
  background-color: var(--brand-600);
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #ffffff;
}

.ph-ok { display: flex; align-items: center; gap: 0.3rem; font-size: 0.56rem; font-weight: 600; color: #15803d; }
.ph-ok svg.i { width: 11px; height: 11px; stroke-width: 3; }

.ph-pay { align-items: center; text-align: center; justify-content: center; }
.ph-pay .m-success { width: 44px; height: 44px; margin: 0 auto 0.5rem; box-shadow: 0 0 0 6px #dcfce7; }
.ph-pay .m-success svg.i { width: 22px; height: 22px; }
.ph-amt { font-size: 1.15rem; font-weight: 800; color: var(--ink-900); }
.ph-pay .ph-card { width: 100%; margin-top: 0.6rem; text-align: left; }
.ph-ln { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.15rem 0; font-size: 0.55rem; color: var(--ink-600); }
.ph-ln b { color: var(--ink-900); }

/* Mockup icons */
.m-label.ic, .ph-k.ic { display: flex; align-items: center; gap: 0.3rem; }
.m-label.ic svg.i { width: 12px; height: 12px; stroke-width: 2.4; color: var(--brand-500); }
.ph-k.ic svg.i { width: 9px; height: 9px; stroke-width: 2.6; color: var(--brand-500); }
.m-quote .m-ln .ic { display: flex; align-items: center; gap: 0.45rem; }
.m-quote .m-ln .ic svg.i { width: 13px; height: 13px; color: var(--ink-400); }
.m-chips .tag svg.i { width: 11px; height: 11px; stroke-width: 2.5; }

.ph-sig .ph-wifi { width: 9px; height: 9px; margin-right: 1px; stroke-width: 3; }
.ph-back { width: 12px; height: 12px; flex-shrink: 0; stroke-width: 2.6; color: var(--ink-700); }
.ph-app > div { flex: 1; min-width: 0; }
.ph-app-acts { display: flex; gap: 0.5rem; color: var(--brand-600); }
.ph-app-acts svg.i { width: 12px; height: 12px; stroke-width: 2.2; }

.ph-msg small { display: flex; align-items: center; justify-content: flex-end; gap: 0.15rem; }
.ph-ticks { width: 11px; height: 11px; stroke-width: 2.4; color: #0ea5e9; }

.ph-fi svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.ph-fi.green { background-color: #16a34a; }

.ph-bar i { display: flex; align-items: center; gap: 0.3rem; padding: 0 0.45rem; font-style: normal; font-size: 0.52rem; color: var(--ink-400); }
.ph-bar i svg.i { width: 10px; height: 10px; stroke-width: 2.2; }
.ph-bar > svg.i { width: 13px; height: 13px; stroke-width: 2.4; color: var(--ink-500); }
.ph-bar b { display: grid; place-items: center; color: #ffffff; }
.ph-bar b svg.i { width: 10px; height: 10px; stroke-width: 2.4; }

.ph-top { display: flex; align-items: center; gap: 0.5rem; }
.ph-top .ph-back { color: #ffffff; }
.ph-top > div { flex: 1; }
.ph-top > svg.i:last-child { width: 12px; height: 12px; stroke-width: 2.2; }

/* ==================== FAQ (same design as the home page FAQ) ==================== */
.faq {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 123, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.faq-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  border: 1px solid #d0e1fd;
  border-radius: 999px;
  background-color: var(--surface);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-700);
}

.faq-pill-tag {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-600);
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.faq-head h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.faq-head p {
  max-width: 660px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

.faq-head p strong { color: var(--ink-900); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  border: 1px solid transparent;
  border-radius: 20px;
  background-color: #eef4ff;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover { border-color: #d0e1fd; }

.faq-item.is-open {
  border-color: var(--line);
  background-color: var(--surface);
  box-shadow: 0 18px 40px -20px rgba(37, 99, 235, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
  border: 0;
  border-radius: 20px;
  background: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--ink-900);
  cursor: pointer;
}

.faq-question:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.3); outline-offset: 2px; }

.faq-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--surface);
  box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06);
  color: var(--ink-700);
  transition: transform 0.3s var(--ease), color 0.2s ease, background-color 0.2s ease;
}

.faq-icon svg.i { width: 16px; height: 16px; stroke-width: 2.25; }
.faq-question:hover .faq-icon { color: var(--brand-600); }

/* Plus rotates into a close (x) when open */
.faq-item.is-open .faq-icon {
  background-color: #e2eafa;
  box-shadow: none;
  color: var(--ink-900);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-body { padding: 0 4.5rem 1.35rem 1.5rem; }

.faq-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.faq-body p + p, .faq-body p + .faq-types, .faq-body p + .faq-checks, .faq-body p + .faq-compare { margin-top: 0.75rem; }
.faq-body strong { color: var(--ink-900); }

/* Answer layouts: business types, checklist, comparison */
.faq-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-type {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background-color: var(--surface-muted);
}

.faq-type h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
}

.faq-type h3 span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: #dfeeff;
  color: var(--brand-600);
}

.faq-type h3 svg.i { width: 15px; height: 15px; }
.faq-type p { font-size: 0.85rem; line-height: 1.6; }

.faq-checks { display: grid; gap: 0.55rem; list-style: none; }

.faq-checks li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-500);
}

.faq-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.faq-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-col {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background-color: var(--surface-muted);
}

.faq-col.is-good { border-color: #d0e1fd; background-color: #f3f7ff; }

.faq-col h3 {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.faq-col.is-good h3 { color: var(--brand-600); }
.faq-col ul { display: grid; gap: 0.5rem; list-style: none; }

.faq-col li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-600);
}

.faq-col li svg.i { width: 16px; height: 16px; margin-top: 0.15rem; flex-shrink: 0; stroke-width: 2.6; }
.faq-col li .no { color: #e11d48; }
.faq-col li .yes { color: #16a34a; }

/* ==================== NEW SECTIONS: RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .cy-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cy-stage { position: relative; top: auto; order: -1; width: 100%; max-width: 620px; margin: 0 auto; }
  .ft-grid { gap: 3rem; }
  .ft-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .ft-arrow { display: none; }
}

@media (max-width: 768px) {
  .sec { padding: 4.5rem 0; }
  .sec-head { margin-bottom: 2.5rem; }
}

@media (max-width: 580px) {
  .mk-body { height: 450px; }
  .mk-panel { padding: 1rem; }
  .wf-body { height: auto; padding: 1rem 1rem 0; }
  .wf-panels { height: 400px; }
  .wf-panels .mk-panel { padding: 1rem 0; }
  .dv-wrap { padding: 0 12px; }
  .dv-lid { --dv-w: 470; padding: 12px 8px 8px; border-radius: 16px 16px 6px 6px; }
  .dv-lid::before { top: 4px; width: 4px; height: 4px; }
  .dv-lid .mk { zoom: 0.6; }
  .dv-base { height: 11px; margin: 0 -4%; }
  .dv-laptop .wf-body { padding: 1rem 1.35rem 0; }
  .dv-laptop .wf-panels .mk-panel { padding-right: 0; }
  .dv-phone { position: relative; zoom: 0.8; margin: -24px auto 0; }
  .m-toast { right: 1rem; bottom: 1rem; left: 1rem; }
  .m-hide-sm { display: none !important; }
  .m-tr { grid-template-columns: 1.7fr 1.1fr 0.8fr; }
  .m-kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-grid3 .m-val { font-size: 0.78rem; }
  .cy-item { padding: 0.9rem 1rem; }
  .ft-grid, .ft-row { gap: 2.5rem; }
  .ft-row { grid-template-columns: 1fr; }
  .ft-ico { width: 76px; height: 76px; margin-bottom: 1.15rem; border-radius: 20px; }
  .ft-ico svg.i { width: 32px; height: 32px; }
  .cy-points { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .faq { padding: 3.5rem 0; }
  .faq-inner { padding: 0 1.25rem; }
  .faq-head { margin-bottom: 2.25rem; }
  .faq-question { padding: 0.95rem 0.9rem 0.95rem 1.15rem; font-size: 0.925rem; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-body { padding: 0 1.15rem 1.15rem; }
  .faq-types, .faq-compare { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .ft-row .ft-ico,
  .js .ft-row .ft-item h3,
  .js .ft-row .ft-item p,
  .js .ft-row .ft-tags { opacity: 1; transform: none; animation: none !important; }
  .js .ft-row .ft-arrow { clip-path: none; animation: none !important; }
  .ft-arrow path:first-child { animation: none !important; }
  .mk-panel, .mk-panel.is-active { transition: none; }
  .mk-panel.is-active .ma,
  .mk-panel.is-active .m-meter i,
  .mk-panel.is-active .m-chart span,
  .mk-panel.is-active .m-toast,
  .mk-panel.is-active .m-success { animation: none; }
}

/* ==================== HEADING BADGE (shared .ph-badge design) ==================== */
.ph-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700, #334155);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(15, 23, 42, 0.08));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ph-badge b {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb));
  border-radius: 999px;
}

/* ==================== SEO SECTIONS (page design) ==================== */
.kw-section, .alt-section, .rel-section {
  --kw-accent: #2563eb;
  --kw-accent-ink: color-mix(in srgb, #2563eb 82%, #000);
  --kw-tint: color-mix(in srgb, #2563eb 9%, #fff);
  --kw-tint-2: color-mix(in srgb, #2563eb 16%, #fff);
  --kw-ink: var(--ink-900, #0b1324);
  --kw-text: var(--ink-600, #475569);
  --kw-line: var(--line, #e6ebf2);
  position: relative;
  padding: 6rem 0;
  background-color: var(--surface, #fff);
}
.kw-inner, .rel-inner, .alt-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Badge: same pill as the page headers (ph-badge) */
.kw-badge {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 600;
  color: var(--ink-700, #334155); background-color: rgba(255, 255, 255, 0.85); border: 1px solid var(--kw-line);
  border-radius: 999px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06));
}
.kw-badge b {
  padding: 0.2rem 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb)); border-radius: 999px;
}

/* ---------- Keyword section: copy + product panel ---------- */
.kw-section .kw-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; align-items: center; }
.kw-section.kw-flip .kw-copy { order: 2; }
.kw-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; color: var(--kw-ink); }
.kw-lead { margin: 0 0 1.75rem; font-size: 1.05rem; line-height: 1.75; color: var(--kw-text); }
.kw-lead strong { color: var(--kw-ink); }
.kw-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.kw-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.kw-check { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; color: var(--kw-accent-ink); background: var(--kw-tint-2); border-radius: 8px; }
.kw-check svg { width: 15px; height: 15px; stroke-width: 3; }
.kw-item h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--kw-ink); }
.kw-item p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--kw-text); }
.kw-item a, .alt-card a { font-weight: 700; color: var(--kw-accent-ink); text-decoration: none; }

.kw-visual { position: relative; padding: 2rem 1rem 3rem; }
.kw-visual::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--kw-tint-2), transparent); filter: blur(10px); }
.kw-panel { position: relative; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 22px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-panel-head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--kw-accent), var(--kw-accent-ink)); }
.kw-panel-logo { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.18); border-radius: 11px; }
.kw-panel-logo svg { width: 19px; height: 19px; }
.kw-panel-head strong { display: block; font-size: 0.95rem; font-weight: 700; }
.kw-panel-head small { display: block; font-size: 0.72rem; opacity: 0.8; }
.kw-live { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--kw-accent-ink); background: #fff; border-radius: 999px; }
.kw-live i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.kw-ico { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: var(--kw-accent-ink); background: var(--kw-tint); border-radius: 10px; }
.kw-ico svg { width: 17px; height: 17px; }
.kw-panel-rows { margin: 0; padding: 0.4rem 0; list-style: none; }
.kw-panel-rows li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-rows li:last-child { border-bottom: 0; }
.kw-row-txt { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; color: var(--kw-ink); }
.kw-panel-rows em { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; font-style: normal; font-weight: 700; color: #15803d; }
.kw-panel-rows em svg { width: 13px; height: 13px; stroke-width: 3; }
.kw-panel-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 1.1rem; list-style: none; }
.kw-panel-tiles li { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; background: var(--surface-muted, #f7f9fc); border: 1px solid var(--line-soft, #f0f3f8); border-radius: 14px; }
.kw-panel-tiles b { font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: var(--kw-ink); }
.kw-panel-tiles em { width: fit-content; padding: 0.15rem 0.5rem; font-size: 0.68rem; font-style: normal; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 999px; }
.kw-panel-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; font-size: 0.75rem; color: var(--ink-500, #64748b); background: var(--surface-muted, #f7f9fc); border-top: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-foot b { color: var(--kw-accent-ink); }
.kw-toast { position: absolute; bottom: 0; right: 0; display: flex; align-items: center; gap: 0.7rem; max-width: 280px; padding: 0.75rem 1rem 0.75rem 0.75rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-toast-ico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; color: #fff; background: linear-gradient(180deg, #22c55e, #16a34a); border-radius: 10px; }
.kw-toast-ico svg { width: 17px; height: 17px; stroke-width: 3; }
.kw-toast b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: var(--kw-ink); }
.kw-toast small { display: block; font-size: 0.72rem; color: var(--ink-500, #64748b); }

/* ---------- Related solutions: one rounded card with tinted link chips ---------- */
.rel-section { padding-top: 2rem; }
.rel-card { padding: 2.25rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 28px; box-shadow: 0 18px 50px -30px rgba(11, 19, 36, 0.25); }
.rel-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.rel-top .kw-badge { margin-bottom: 0.9rem; }
.rel-top h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--kw-ink); }
.rel-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--kw-ink); text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 12px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06)); transition: border-color 0.2s ease, color 0.2s ease; }
.rel-all:hover { color: var(--brand-600, #2563eb); border-color: var(--brand-600, #2563eb); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.rel-grid a { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 0.95rem 1rem; text-decoration: none; background: var(--kw-tint); border: 1px solid transparent; border-radius: 16px; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.rel-grid a:hover { background: var(--surface, #fff); border-color: color-mix(in srgb, var(--kw-accent) 40%, #fff); transform: translateY(-2px); }
.rel-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--kw-accent) 40%, transparent); outline-offset: 2px; }
.rel-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; color: var(--kw-accent-ink); background: var(--surface, #fff); border-radius: 12px; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); }
.rel-ico svg { width: 19px; height: 19px; }
.rel-txt { flex: 1; min-width: 0; }
.rel-txt strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--kw-ink); }
.rel-txt-desc { display: block; margin-top: 0.15rem; font-size: 0.8rem; line-height: 1.45; color: var(--kw-text); }
.rel-arrow { flex-shrink: 0; color: var(--kw-accent); transition: transform 0.2s ease; }
.rel-grid a:hover .rel-arrow { transform: translateX(3px); }

/* Breadcrumb in the hero, above the badge */
.crumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink-500, #64748b); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "›"; color: var(--ink-400, #94a3b8); }
.crumbs a { font-weight: 600; color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { font-weight: 600; color: #0b1324; }

/* Contextual links in body copy: no underline, keep the paragraph colour */
main p a.ctx-link { color: inherit; font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .kw-section .kw-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .kw-section.kw-flip .kw-copy { order: 0; }
  .kw-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kw-section, .rel-section, .alt-section { padding: 3.5rem 0; }
  .rel-section { padding-top: 1rem; }
  .kw-inner, .rel-inner, .alt-inner { padding: 0 1rem; }
  .kw-visual { padding: 1rem 0 3.5rem; }
  .kw-toast { left: 0.5rem; right: auto; }
  .rel-card { padding: 1.5rem 1.1rem; border-radius: 22px; }
  .rel-top { flex-direction: column; align-items: flex-start; }
  .rel-grid, .alt-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-card:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rel-grid a, .rel-arrow { transition: none; }
}
/* Hero badge sits inside the H1 (keyword first); keep it looking like the normal badge */
main h1 .ph-badge.h1-badge {
  display: flex; width: fit-content; max-width: 100%; margin: 0 0 1.4rem;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none;
  -webkit-text-fill-color: currentColor;
}
main h1 .ph-badge.h1-badge b { display: inline; }
main h1 .ph-badge.h1-badge b::before { content: attr(data-label); }
/* ==================== END SEO SECTIONS ==================== */
