:root {
  --bg: #eef6f2;
  --surface: #ffffff;
  --surface-soft: #f5fbff;
  --ink: #102033;
  --muted: #5b6978;
  --line: #d7e3e8;
  --blue: #124f8f;
  --blue-2: #0b3d70;
  --green: #168566;
  --lime: #d7ef57;
  --yellow: #ffd15c;
  --red: #b64645;
  --shadow: 0 18px 46px rgba(16, 32, 51, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #000000;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: #000000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Bengali", sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

.page-shell {
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px;
}

.first-screen {
  height: auto;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
}

.story {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.story-primary {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  overflow: hidden;
  padding: 16px;
}

.story-primary::before,
.story-secondary::before {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--green);
  content: "";
}

.story-offer.story-primary::before {
  background: var(--yellow);
}

.story-velox.story-primary::before,
.story-velox.story-secondary::before {
  background: var(--green);
}

.story-secondary {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(245, 251, 255, 0.96);
}

.secondary-offer-visual {
  display: none;
}

.secondary-velox-visual {
  display: none;
}

.story-secondary.story-offer {
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
}

.story-secondary.story-offer .secondary-offer-visual {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 108px;
  height: 118px;
  border: 1px solid rgba(34, 93, 163, 0.2);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 9px 18px rgba(13, 57, 104, 0.18);
}

.story-secondary.story-offer .secondary-route-button {
  grid-column: 1 / -1;
  width: 100%;
}

.story-secondary.story-velox {
  grid-template-columns: minmax(0, 1fr) 106px;
  align-items: center;
}

.story-secondary.story-velox .secondary-velox-visual {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 3px;
  width: 106px;
  height: 146px;
  overflow: hidden;
  border: 1px solid rgba(54, 211, 153, 0.32);
  border-radius: 8px;
  padding: 4px;
  color: #f7fafc;
  background:
    radial-gradient(circle at 50% 48%, rgba(54, 211, 153, 0.15), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #05070a 0%, #091018 100%);
  background-size: auto, 12px 12px, auto;
  box-shadow: 0 9px 18px rgba(16, 32, 51, 0.2);
  font-family: "Segoe UI", "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
}

.secondary-velox-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  border: 1px solid rgba(154, 167, 181, 0.15);
  border-radius: 4px;
  padding: 3px 4px;
  background: rgba(10, 18, 27, 0.72);
}

.secondary-velox-row > div:last-child {
  text-align: right;
}

.secondary-velox-row span {
  display: block;
  margin-bottom: 2px;
  color: #aab5c3;
  font-size: 0.24rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.secondary-velox-row strong {
  display: block;
  color: #f7fafc;
  font-size: 0.47rem;
  line-height: 1;
  white-space: nowrap;
}

.secondary-velox-speed {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  min-height: 0;
  border: 1px solid rgba(54, 211, 153, 0.22);
  border-radius: 5px;
  background: rgba(54, 211, 153, 0.07);
}

.secondary-velox-speed strong {
  color: #f7fafc;
  font-size: 1.86rem;
  line-height: 0.9;
}

.secondary-velox-speed span {
  color: #36d399;
  font-size: 0.25rem;
  font-weight: 900;
}

.secondary-velox-start {
  display: grid;
  min-height: 13px;
  place-items: center;
  border-radius: 3px;
  color: #05231b;
  background: #36d399;
  font-size: 0.3rem;
  font-weight: 950;
}

.story-secondary.story-velox .secondary-route-button {
  grid-column: 1 / -1;
  width: 100%;
}

.story-offer {
  border-color: rgba(153, 226, 174, 0.28);
  color: #f4fff7;
  background: #006a4e;
}

.story-offer .eyebrow,
.story-offer .mini-label {
  color: #a8efbd;
}

.story-offer .intro,
.story-secondary.story-offer p:last-child {
  color: #d8f4df;
}

.story-offer .trust-row span {
  border-color: rgba(168, 239, 189, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #effff3;
}

.story-offer .primary-button {
  color: #063b2e;
  background: #ffc107;
  box-shadow: 0 12px 24px rgba(1, 28, 21, 0.32);
}

.story-offer .text-button {
  color: #ffb6a9;
}

.story-secondary.story-offer .secondary-route-button {
  border-color: #ffd54f;
  color: #063b2e;
  background: #ffc107;
}

.story-velox {
  background:
    linear-gradient(135deg, rgba(215, 239, 87, 0.22), rgba(255, 255, 255, 0.94) 48%),
    #ffffff;
}

.top-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.eyebrow,
.step-label,
.mini-label {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.variant-note {
  display: none;
  margin: 0;
  color: var(--blue-2);
  font-size: 0.82rem;
  font-weight: 900;
}

.status-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(18, 79, 143, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.80);
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 850;
}

.story-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 0.45fr);
  gap: 14px;
  align-items: start;
}

.story-copy {
  min-width: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 12px;
  font-size: clamp(2.18rem, 12vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.story-offer h1,
.story-offer h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 900;
  color: #7a3f00;
  text-shadow: 0 1px 0 rgba(255, 247, 196, 0.95), 0 2px 0 rgba(122, 63, 0, 0.28), 0 0 16px rgba(166, 91, 8, 0.38);
  animation: offer-glow 2.4s ease-in-out infinite;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .story-offer h1,
  .story-offer h2 {
    background: linear-gradient(112deg, #4d2100 0%, #7d3d00 25%, #d18a14 42%, #fff4a8 48%, #d18a14 54%, #7d3d00 70%, #4d2100 100%);
    background-size: 220% 100%;
    background-position: 100% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.35px rgba(111, 53, 0, 0.48);
  }
}

@keyframes offer-glow {
  0%,
  100% {
    filter: brightness(0.98) drop-shadow(0 0 0 rgba(255, 205, 76, 0));
    transform: translateY(0);
  }

  50% {
    filter: brightness(1.18) drop-shadow(0 0 9px rgba(166, 91, 8, 0.52));
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-offer h1,
  .story-offer h2 {
    animation: none;
  }
}

.story-velox.story-primary h1 {
  max-width: 10ch;
}

.intro {
  max-width: 600px;
  margin-bottom: 14px;
  color: #32465a;
  font-size: 1rem;
  line-height: 1.45;
}

.story-velox.story-primary .intro {
  display: grid;
  gap: 8px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(22, 133, 102, 0.22);
  border-radius: 50%;
  color: var(--green);
  background: rgba(22, 133, 102, 0.07);
}

.benefit-icon svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.trust-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 133, 102, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #0c5b45;
  font-size: 0.78rem;
  font-weight: 850;
}

.visual-slot {
  min-width: 0;
  display: grid;
  place-items: center;
}

.offer-visual,
.velox-visual {
  width: min(100%, 375px);
  aspect-ratio: 1;
}

.offer-visual[hidden],
.velox-visual[hidden] {
  display: none;
}

.offer-chest {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(34, 93, 163, 0.24);
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  background: #06111d;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.24);
  transform: rotate(2deg);
}

.velox-dashboard {
  display: grid;
  gap: 7px;
  width: min(100%, 236px);
  aspect-ratio: 0.64;
  overflow: hidden;
  border: 1px solid rgba(54, 211, 153, 0.24);
  border-radius: 18px;
  padding: 9px;
  background:
    radial-gradient(circle at 50% 42%, rgba(54, 211, 153, 0.15), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #05070a 0%, #091018 100%);
  background-size: auto, 18px 18px, 18px 18px, auto;
  color: #f7fafc;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.24);
  font-family: "Segoe UI", "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
}

.offer-card-preview {
  display: grid;
  gap: 8px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 12px;
  background:
    radial-gradient(circle at 74% 22%, rgba(255, 209, 92, 0.8), transparent 24%),
    linear-gradient(145deg, #122b4a 0%, #15588c 46%, #168566 100%);
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.24);
  color: #ffffff;
  transform: rotate(2deg);
}

.offer-preview-top,
.offer-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.offer-app-mark,
.offer-preview-dots,
.offer-preview-kicker {
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.offer-app-mark {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 4px 6px;
}

.offer-preview-dots {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.14em;
}

.offer-preview-hero {
  display: grid;
  align-content: center;
  min-height: 100px;
  margin-top: 4px;
  border-radius: 12px;
  padding: 12px;
  background: rgba(5, 22, 40, 0.32);
}

.offer-preview-kicker {
  margin-bottom: 8px;
  color: var(--yellow);
}

.offer-preview-hero strong {
  font-size: 1.35rem;
  line-height: 0.98;
}

.offer-preview-line {
  width: 72%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.offer-preview-row span {
  width: 28%;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.offer-preview-button {
  display: grid;
  place-items: center;
  min-height: 30px;
  margin-top: auto;
  border-radius: 9px;
  background: var(--yellow);
  color: #102033;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.velox-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 8px;
  border: 1px solid rgba(54, 211, 153, 0.22);
  border-radius: 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(17, 26, 36, 0.78), rgba(9, 16, 24, 0.7));
}

.velox-row div:last-child {
  text-align: right;
}

.velox-dashboard span {
  display: block;
  margin-bottom: 4px;
  color: #aab5c3;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.velox-dashboard strong {
  display: block;
  color: #ffffff;
  font-size: 1.32rem;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}

.velox-dashboard .velox-green {
  color: #36d399;
}

.velox-speed-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 96px;
  border: 1px solid rgba(54, 211, 153, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 211, 153, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(54, 211, 153, 0.09), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.velox-speed-card div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.velox-speed-card strong {
  font-size: 4.2rem;
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.velox-speed-card em {
  color: #36d399;
  font-size: 1rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
}

.velox-row-bottom strong {
  font-size: 1.42rem;
}

.velox-start {
  display: grid;
  place-items: center;
  min-height: 31px;
  border-radius: 10px;
  background: linear-gradient(180deg, #55efb3, #36d399);
  color: #05070a;
  font-size: 0.95rem;
  font-weight: 950;
}

.velox-preview {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 7px;
  width: min(100%, 236px);
  aspect-ratio: 0.64;
  overflow: hidden;
  border: 1px solid rgba(54, 211, 153, 0.24);
  border-radius: 18px;
  padding: 9px;
  background:
    radial-gradient(circle at 50% 38%, rgba(54, 211, 153, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #05070a 0%, #091018 100%);
  background-size: auto, 18px 18px, 18px 18px, auto;
  color: #f7fafc;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.24);
  font-family: "Segoe UI", "Trebuchet MS", Inter, ui-sans-serif, system-ui, sans-serif;
}

.velox-top-row,
.velox-stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.velox-top-row > div {
  display: grid;
  grid-template-rows: auto 1fr;
}

.velox-top-row .velox-cadence-block > div {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

.velox-panel-row {
  border: 1px solid rgba(154, 167, 181, 0.16);
  border-radius: 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(17, 26, 36, 0.78), rgba(9, 16, 24, 0.7));
}

.velox-label {
  display: block;
  margin-bottom: 4px;
  color: #aab5c3;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.velox-clock,
.velox-cadence,
.velox-mid-value,
.velox-avg-value {
  display: block;
  color: #f7fafc;
  line-height: 0.92;
  white-space: nowrap;
}

.velox-clock,
.velox-cadence {
  font-size: 1.72rem;
}

.velox-cadence-block,
.velox-right {
  text-align: right;
}

.velox-cadence {
  display: inline;
}

.velox-green-unit,
.velox-speed-unit {
  color: #36d399;
  font-weight: 900;
  white-space: nowrap;
}

.velox-green-unit {
  font-size: 0.5rem;
}

.velox-mid-value {
  font-size: 1.25rem;
}

@media (min-width: 621px) {
  .velox-stats-row {
    column-gap: 20px;
  }

  .velox-stats-row .velox-right {
    padding-left: 8px;
    border-left: 1px solid rgba(154, 167, 181, 0.18);
  }

  html[lang="bn"] .velox-stats-row .velox-mid-value {
    font-size: 1.08rem;
  }
}

.velox-speed-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 0;
  border: 1px solid rgba(54, 211, 153, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 211, 153, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(54, 211, 153, 0.09), rgba(255, 255, 255, 0.015));
}

.velox-speed-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: 4px;
}

.velox-speed {
  font-size: 4.94rem;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.velox-speed-unit {
  font-size: 0.72rem;
}

.velox-avg-value {
  font-size: 1.4rem;
}

.velox-ride-button {
  display: grid;
  place-items: center;
  min-height: 27px;
  border-radius: 8px;
  background: linear-gradient(180deg, #55efb3, #36d399);
  color: #05070a;
  font-size: 0.76rem;
  font-weight: 950;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-button,
.text-button,
.secondary-route-button {
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.primary-button {
  min-width: 178px;
  border: 0;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(22, 133, 102, 0.22);
}

.primary-button:disabled,
.secondary-route-button:disabled {
  color: #7d8994;
  background: #dce3e6;
  box-shadow: none;
  cursor: not-allowed;
}

.text-button {
  border: 0;
  color: var(--red);
  background: transparent;
}

.status-pill {
  margin-left: auto;
}

.mini-copy {
  min-width: 0;
}

.story-secondary h2 {
  margin-bottom: 7px;
  font-size: clamp(1.2rem, 6vw, 1.72rem);
  line-height: 1.1;
}

.story-secondary p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.36;
}

.secondary-route-button {
  min-width: 132px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #ffffff;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: min(380px, calc(100vw - 32px));
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #ffffff;
  background: #162b3e;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.22);
}

@media (min-width: 861px) {
  .page-shell {
    padding: 18px;
  }

  .first-screen {
    height: auto;
    grid-template-rows: auto;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    align-items: start;
  }

  .story-secondary {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
  }

  .story-secondary.story-offer {
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .story-secondary.story-velox {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .secondary-route-button {
    width: 100%;
  }

  .story-primary {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 10px;
  }

  .first-screen {
    height: auto;
    grid-template-rows: auto auto;
    gap: 8px;
  }

  body[data-variant="velox-first"] .first-screen {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .story-primary {
    gap: 8px;
    padding: 12px;
  }

  .story-primary::before,
  .story-secondary::before {
    left: 12px;
    right: 12px;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(138px, 41%);
    gap: 10px;
  }

  .story-velox.story-primary .story-grid {
    grid-template-columns: minmax(0, 1fr) 153px;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 8px;
    font-size: clamp(1.72rem, 7.6vw, 2.15rem);
    line-height: 1.02;
  }

  .story-velox.story-primary h1 {
    max-width: 100%;
    font-size: clamp(1.3rem, 5.7vw, 1.55rem);
    line-height: 1.02;
  }

  .story-velox.story-primary .velox-dashboard {
    width: 102px;
    gap: 5px;
    border-radius: 14px;
    padding: 6px;
  }

  .story-velox.story-primary .velox-preview {
    width: 153px;
    height: auto;
    aspect-ratio: 0.64;
    gap: 4px;
    border-radius: 14px;
    padding: 5px;
  }

  .story-velox.story-primary .velox-panel-row {
    gap: 4px;
    border-radius: 6px;
    padding: 4px 5px;
  }

  .story-velox.story-primary .velox-label {
    margin-bottom: 3px;
    font-size: 0.32rem;
  }

  .story-velox.story-primary .velox-clock,
  .story-velox.story-primary .velox-cadence {
    font-size: 1.02rem;
  }

  .story-velox.story-primary .velox-green-unit {
    font-size: 0.28rem;
  }

  .story-velox.story-primary .velox-mid-value {
    font-size: 0.73rem;
  }

  .story-velox.story-primary .velox-speed-panel {
    border-radius: 9px;
  }

  .story-velox.story-primary .velox-speed {
    font-size: 2.86rem;
  }

  .story-velox.story-primary .velox-speed-unit {
    font-size: 0.4rem;
  }

  .story-velox.story-primary .velox-avg-value {
    font-size: 0.86rem;
  }

  .story-velox.story-primary .velox-ride-button {
    min-height: 21px;
    border-radius: 6px;
    font-size: 0.56rem;
  }

  .story-offer.story-primary .offer-chest {
    border-radius: 14px;
  }

  .story-velox.story-primary .velox-row {
    gap: 5px;
    border-radius: 6px;
    padding: 4px 5px;
  }

  .story-velox.story-primary .velox-dashboard span {
    margin-bottom: 3px;
    font-size: 0.34rem;
  }

  .story-velox.story-primary .velox-dashboard strong {
    font-size: 0.78rem;
  }

  .story-velox.story-primary .velox-speed-card {
    min-height: 52px;
    border-radius: 9px;
  }

  .story-velox.story-primary .velox-speed-card strong {
    font-size: 2.24rem;
  }

  .story-velox.story-primary .velox-speed-card em {
    font-size: 0.52rem;
  }

  .story-velox.story-primary .velox-row-bottom strong {
    font-size: 0.82rem;
  }

  .story-velox.story-primary .velox-start {
    min-height: 22px;
    border-radius: 7px;
    font-size: 0.68rem;
  }

  .intro {
    margin-bottom: 9px;
    font-size: 0.86rem;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .story-velox.story-primary .intro {
    display: grid;
    gap: 6px;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .story-velox.story-primary .benefit-item {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 6px;
  }

  .story-velox.story-primary .benefit-icon {
    width: 16px;
    height: 16px;
  }

  .story-velox.story-primary .benefit-icon svg {
    width: 10px;
    height: 10px;
  }

  .trust-row {
    gap: 5px;
  }

  .trust-row span {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .story-primary .trust-row span:nth-child(n+4) {
    display: none;
  }

  .story-secondary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  .story-secondary.story-offer {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .story-secondary.story-offer .secondary-offer-visual {
    width: 82px;
    height: 92px;
  }

  .story-secondary.story-velox {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .story-secondary.story-velox .secondary-velox-visual {
    width: 76px;
    height: 108px;
    padding: 3px;
  }

  .story-secondary.story-velox .secondary-velox-row {
    gap: 3px;
    padding: 2px 3px;
  }

  .story-secondary.story-velox .secondary-velox-row span {
    font-size: 0.18rem;
  }

  .story-secondary.story-velox .secondary-velox-row strong {
    font-size: 0.34rem;
  }

  .story-secondary.story-velox .secondary-velox-speed strong {
    font-size: 1.28rem;
  }

  .story-secondary.story-velox .secondary-velox-speed span,
  .story-secondary.story-velox .secondary-velox-start {
    font-size: 0.21rem;
  }

  .story-secondary h2 {
    margin-bottom: 5px;
    font-size: clamp(1.05rem, 5vw, 1.28rem);
  }

  .story-secondary p:last-child {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.28;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .primary-button {
    width: 100%;
    min-height: 44px;
  }

  .secondary-route-button {
    width: auto;
    min-width: 112px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .text-button {
    width: auto;
    min-height: 28px;
    margin: 0 auto;
    padding: 0 8px;
  }

  .action-row {
    gap: 6px;
  }

  .status-pill {
    display: none;
  }

}

@media (max-width: 390px) {
  h1 {
    font-size: 2rem;
  }

  .visual-slot {
    align-self: start;
  }

  .offer-visual,
  .velox-visual {
    width: min(100%, 198px);
  }
}
