/* Home Joboscope: recherche d'abord, preuve produit ensuite. */

.page-home {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f6f8fb 100%);
}

.page-home img,
.page-home svg {
  max-width: 100%;
}

.page-home .header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.page-home .header-inner {
  max-width: var(--max);
}

.page-home .logo-img {
  width: auto;
  max-width: 150px;
  height: 54px;
  object-fit: contain;
}

.home-hero-v2 {
  min-height: clamp(660px, calc(100svh - 220px), 780px);
  display: grid;
  align-items: center;
  padding: clamp(34px, 7vh, 86px) var(--gutter) clamp(28px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(0, 191, 214, 0.10), transparent 34%),
    linear-gradient(225deg, rgba(255, 122, 200, 0.10), transparent 34%);
}

.home-hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.home-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(42px, 7.6vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.home-hero-subtitle {
  max-width: 720px;
  margin: clamp(16px, 2vw, 22px) 0 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.home-search-section {
  width: 100%;
  margin-top: clamp(24px, 4vw, 42px);
}

.home-search-box {
  width: 100%;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.11);
}

.home-search-box .search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-search-box .search-input-wrap {
  min-width: 0;
}

.home-search-box .search-input {
  min-height: 56px;
  font-size: 16px;
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.home-search-box .btn-search {
  min-height: 56px;
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 850;
}

.quick-filters {
  gap: 8px;
  margin-top: 14px;
}

.quick-filters button {
  border-radius: 999px;
}

.filters-row {
  margin-top: 14px;
}

.home-kpi-panel {
  width: 100%;
  max-width: 360px;
  align-self: start;
  justify-self: end;
  padding: 0;
}

.home-direct-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  width: fit-content;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.home-direct-proof strong { color: var(--text); }

.home-direct-proof-action {
  color: var(--accent-hover);
  font-weight: 700;
}

@media (max-width: 640px) {
  .home-direct-proof { align-items: flex-start; }
  .home-direct-proof span { width: 100%; }
}

.home-kpi-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
}

.home-kpi-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
}

.home-kpi-label,
.home-kpi-caption {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.home-kpi-label {
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-kpi-card strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.home-kpi-caption {
  max-width: 220px;
  margin-top: 12px;
}

.home-account-preview-section {
  padding-top: clamp(30px, 4.5vw, 58px);
}

.home-fresh-section,
.home-tracking-section {
  padding: clamp(30px, 5vw, 64px) var(--gutter) 0;
}

.home-section-head.home-fresh-head,
.home-section-head.home-tracking-head {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(16px, 2.4vw, 26px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.home-fresh-head h2,
.home-tracking-head h2 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.02;
}

/* Tapis roulant continu (façon sushi à 1 €) : la piste défile en boucle. */
.home-fresh-shell {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.home-fresh-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  padding: 8px 0 16px;
}

.home-fresh-track::-webkit-scrollbar {
  display: none;
}

/* Animation activée par JS une fois les cartes dupliquées (boucle sans couture). */
.home-fresh-track.is-marquee {
  animation: home-fresh-scroll var(--marquee-duration, 80s) linear infinite;
  will-change: transform;
}

.home-fresh-shell:hover .home-fresh-track.is-marquee,
.home-fresh-track.is-marquee:focus-within {
  animation-play-state: paused;
}

@keyframes home-fresh-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-fresh-card {
  flex: 0 0 clamp(280px, 80vw, 340px);
  margin-right: 14px;
  min-height: 230px;
}

/* Repli sans animation : scroll horizontal classique, recadré sur la largeur max. */
.home-fresh-track:not(.is-marquee) {
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: clamp(14px, 2.2vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
  .home-fresh-shell {
    width: min(var(--max), 100%);
    margin: 0 auto;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .home-fresh-track.is-marquee {
    animation: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

.home-carousel-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-carousel-btn:hover {
  border-color: rgba(15, 23, 42, 0.28);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.home-carousel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.home-carousel-prev {
  left: 0;
}

.home-carousel-next {
  right: 0;
}

.home-carousel-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.home-carousel-loading,
.home-carousel-empty {
  min-height: 210px;
  width: min(100%, 520px);
  padding: 22px;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: #475569;
}

.home-carousel-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #0f172a;
  font-weight: 850;
}

.home-carousel-empty p {
  margin: 0 0 14px;
}

.home-tracking-card {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.home-tracking-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-tracking-row {
  min-width: 0;
}

.home-tracking-note {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-tracking-demo-cap {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Aperçu pipeline "Mes candidatures" (démo accueil) ── */
.home-tracking-list.is-demo {
  display: block;
  grid-template-columns: none;
}

.home-pipe-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-pipe-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-pipe-barhead strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.home-pipe-barhead p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.home-pipe-count {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.home-pipe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.home-pipe-chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.home-pipe-chip.s-success,
.home-pipe-chip.s-positive { background: #ecfdf5; color: #047857; border-color: #bbf7d0; }
.home-pipe-chip.s-applied  { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.home-pipe-chip.s-interview { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }
.home-pipe-chip.s-rejected { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.home-pipe-titleline .tracker-status-pill.s-success,
.home-pipe-titleline .tracker-status-pill.s-positive {
  background: #ecfdf5;
  color: #047857;
  border-color: #bbf7d0;
}

.home-pipe-titleline .tracker-status-pill.s-applied,
.home-pipe-titleline .tracker-status-pill.s-interview {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.home-pipe-titleline .tracker-status-pill.s-rejected {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.home-pipe-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid #e6ebf2;
  border-left: 4px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
}

.home-pipe-row:last-child { margin-bottom: 0; }
.home-pipe-row.s-success,
.home-pipe-row.s-positive {
  border-color: #bbf7d0;
  border-left-color: #16a34a;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.11), #ffffff 38%);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.1);
}
.home-pipe-row.s-applied  { border-left-color: #2563eb; }
.home-pipe-row.s-interview { border-left-color: #4f46e5; }
.home-pipe-row.s-rejected { border-left-color: #ef4444; opacity: 0.92; }

.home-pipe-main { min-width: 0; }

.home-pipe-titleline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-pipe-titleline h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.home-pipe-company {
  margin: 8px 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.home-pipe-meta {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
}

.home-pipe-aside {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.home-pipe-field { min-width: 0; }

.home-pipe-label {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.home-pipe-value {
  display: block;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-pipe-noteval {
  color: #64748b;
  font-weight: 500;
  white-space: normal;
}

@media (max-width: 720px) {
  .home-pipe-row { grid-template-columns: 1fr; gap: 12px; }
  .home-pipe-aside { grid-template-columns: 1fr 1fr; }
  .home-pipe-notescol { grid-column: 1 / -1; }
}

.home-tracking-empty {
  padding: 24px;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 12px;
  background: #ffffff;
}

.home-tracking-empty[hidden] {
  display: none;
}

.home-tracking-empty strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
}

.home-tracking-empty p {
  margin: 8px 0 16px;
  color: #475569;
  font-weight: 600;
}

.home-account-preview-section .home-section-head {
  display: block;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto clamp(18px, 3vw, 30px);
  text-align: left;
}

.home-account-preview-section .home-section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.home-dashboard-simple {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(180px, 0.5fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: stretch;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.home-dashboard-column,
.home-dashboard-list {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.home-dashboard-column {
  padding: 18px;
}

.home-dashboard-label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-dashboard-column strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.home-dashboard-column p {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.home-dashboard-list {
  padding: 16px;
  background: #ffffff;
}

.home-dashboard-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.home-dashboard-list-head span {
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.home-dashboard-list-head a {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-dashboard-list ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-dashboard-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f7;
}

.home-dashboard-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-dashboard-list li span {
  min-width: 0;
}

.home-dashboard-list li strong,
.home-dashboard-list li small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dashboard-list li strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.home-dashboard-list li small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.home-dashboard-list li em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home-features-grid {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-feature-card {
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.home-feature-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-feature-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.home-section-cta {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: clamp(16px, 2vw, 24px) auto 0;
}

.home-alerts-section,
.home-premium-section {
  padding: clamp(28px, 5vw, 64px) var(--gutter) 0;
}

.home-alerts-inner,
.home-premium-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.home-alerts-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
}

.home-alerts-copy h2,
.home-premium-inner h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-alerts-copy p:not(.eyebrow),
.home-premium-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 650;
}

.home-mail-preview {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

.home-mail-top {
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
}

.home-mail-top span {
  display: block;
  margin-bottom: 6px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-mail-top strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.home-mail-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid #e2e8f0;
}

.home-mail-line:last-child {
  border-bottom: 0;
}

.home-mail-line span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 850;
}

.home-mail-line strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-mail-line em {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.home-premium-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(41, 216, 232, 0.18), transparent 34%),
    #0f172a;
  color: #ffffff;
}

.home-premium-inner h2 {
  color: #ffffff;
}

.home-premium-inner p:not(.eyebrow) {
  color: #cbd5e1;
}

.home-premium-inner .eyebrow {
  color: #67e8f9;
}

.home-premium-inner .btn-primary {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: center;
  background: #ffffff;
  color: #0f172a;
}

.home-premium-inner .btn-primary:hover {
  background: #e0f2fe;
}

.stats-section {
  padding-top: 18px;
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home input:focus-visible,
.page-home select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .home-search-box .search-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .home-search-box .btn-search {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(20px, 2.6vw, 36px);
  }

  .home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-kpi-panel {
    margin-top: 0;
  }
}

@media (min-width: 1180px) {
  .home-search-box .search-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(170px, auto);
  }

  .home-search-box .btn-search {
    grid-column: auto;
    width: auto;
  }
}

@media (max-width: 860px) {
  .home-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-home .logo-img {
    max-width: 128px;
    height: 40px;
  }

  .home-hero-v2 {
    min-height: auto;
    padding-top: 28px;
  }

  .home-hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(34px, 9.6vw, 44px);
    line-height: 1.03;
    letter-spacing: -0.045em;
  }

  .home-hero-subtitle {
    font-size: 16px;
  }

  .home-kpi-panel {
    align-self: center;
    justify-self: stretch;
    max-width: none;
  }

  .home-search-box {
    border-radius: 16px;
  }

  .filters-row {
    grid-template-columns: 1fr;
  }

  .home-alerts-section,
  .home-premium-section,
  .home-fresh-section,
  .home-tracking-section {
    padding-top: 34px;
  }

  .home-section-head.home-fresh-head,
  .home-section-head.home-tracking-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-fresh-card {
    flex-basis: clamp(260px, 86vw, 320px);
  }

  .home-tracking-list {
    grid-template-columns: 1fr;
  }

  .home-dashboard-simple {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .home-dashboard-list-head,
  .home-dashboard-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-alerts-inner,
  .home-premium-inner {
    grid-template-columns: 1fr;
  }

  .home-premium-inner {
    display: block;
    border-radius: 20px;
  }

  .home-premium-inner .btn-primary {
    display: block;
    margin-top: 18px;
    width: 100%;
  }

  .home-mail-line {
    grid-template-columns: 1fr;
  }

  .home-mail-line em {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    scroll-behavior: auto;
  }
}
