.market {
  --home-gutter: clamp(24px, 5vw, 72px);
  width: 100%;
  overflow: hidden;
  background: #fdfdff;
  color: #302e51;
  font-family: Rubik, sans-serif;
}
.market [hidden] {
  display: none !important;
}
.market button {
  font: inherit;
}
.market button,
.market a,
.market select {
  touch-action: manipulation;
}
.market button {
  cursor: pointer;
}
.market :focus-visible {
  outline: 3px solid #8274ff;
  outline-offset: 3px;
}
.market .home-shell {
  width: min(100%, 1584px);
  margin-inline: auto;
  box-sizing: border-box;
}
.market .home-shell,
.market .navigation .constrained-box {
  padding-inline: var(--home-gutter);
}
.market h1,
.market h2,
.market h3,
.market p {
  margin: 0;
}
.market-hero {
  position: relative;
  /* The country menu can extend over the catalog controls below. */
  z-index: 2;
  isolation: isolate;
  background: linear-gradient(105deg, #0c1b31, #0d2e54);
  color: #fff;
}
.market-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: center / cover no-repeat var(--hero-photo, none);
  opacity: 0.40;
  /* Keep the selector and navigation readable over bright skies and stone. */
  -webkit-mask-image: linear-gradient(105deg, #0009, #000 80%);
  mask-image: linear-gradient(105deg, #0009, #000 80%);
  pointer-events: none;
}
.bonus-track,
.offer-track,
.country-track {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.bonus-track::-webkit-scrollbar,
.offer-track::-webkit-scrollbar,
.country-track::-webkit-scrollbar {
  display: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(480px, auto);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: 46px 72px;
}
.hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  min-width: 0;
}
.hero-form h1 {
  max-width: 420px;
  font:
    400 clamp(54px, 5vw, 72px) / 0.83334 'Dela Gothic One',
    sans-serif;
  letter-spacing: -1px;
}
.hero-form .phone-input-layout {
  padding: 0;
  align-items: stretch;
  gap: 16px;
}
.hero-form .phone-input-section {
  padding: 0;
}
.hero-phone {
  anchor-name: --home-phone;
  position: relative;
  width: min(100%, 500px);
  z-index: 3;
}
.hero-phone .btn--phone-prefix {
  /* Draw the keyboard focus ring inside the clipped phone field. */
  --md-focus-ring-outward-offset: -4px;
}
.hero-phone .phone-input-provider-suffix {
  cursor: text;
}
.hero-phone label[for],
.provider-label,
.provider-choice,
.bonus-card strong {
  font:
    600 18px/21px Rubik,
    sans-serif;
  letter-spacing: -0.3px;
}
.hero-phone .phone-country-menu {
  width: 100%;
}
.hero-phone .phone-country-menu:popover-open {
  position: absolute;
  inset: calc(var(--country-menu-top) + 8px) auto auto var(--country-menu-left);
  width: var(--country-menu-width);
  margin: 0;
  color: inherit;
}
@supports (top: anchor(bottom)) and (width: anchor-size(width)) {
  .hero-phone .phone-country-menu:popover-open {
    position-anchor: --home-phone;
    inset: calc(anchor(bottom) + 8px) auto auto anchor(left);
    width: anchor-size(width);
  }
}
.hero-phone .phone-country-menu-item {
  min-height: 48px;
  text-decoration: none;
}
.phone-country-flag {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}
.hero-phone .phone-input-field:focus-visible,
.hero-phone .phone-country-menu-search-input:focus-visible {
  outline: none;
}
.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.provider-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px 24px 24px;
  border-radius: 32px;
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(12px);
  color: white;
  text-decoration: none;
}
.provider-choice[aria-current] {
  box-shadow: 0 0 0 2px white;
}
.provider-choice:not([aria-current]) .provider-check {
  display: none;
}
.provider-choice > img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.provider-check {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    center / 30px no-repeat url('check.svg'),
    linear-gradient(100deg, #444df3, #9730f2);
  box-shadow: 0 5px 15px rgb(41 57 89 / 32%);
}
.bonus-region,
.bonus-wrap {
  position: relative;
  min-width: 0;
}
.bonus-region {
  overflow: clip;
}
.market .bonus-track:focus-visible {
  outline-offset: -3px;
}
.bonus-track {
  display: flex;
  gap: 8px;
  scroll-snap-type: x mandatory;
}
.bonus-page {
  display: grid;
  flex: 0 0 100%;
  overflow: clip;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  scroll-snap-align: start;
}
/* Only a sole bonus spans both slots. An odd final page keeps its empty slot. */
.bonus-page:only-child > .bonus-card:only-child {
  grid-column: 1 / -1;
}
.bonus-card {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  height: 480px;
  border-radius: 48px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font:
    400 16px/18px Rubik,
    sans-serif;
  color: #fdfdff;
}
.bonus-multiplier {
  background: linear-gradient(100.755deg, #444df3 17.175%, #9730f2 87.071%);
}
.bonus-discount {
  background: linear-gradient(-85.091deg, #079dd9 1.008%, #03b473 98.59%);
}
.bonus-data {
  background: linear-gradient(231.773deg, #ffb972 13.421%, #ff963a 85.233%);
}
.bonus-voice {
  background: linear-gradient(-85.091deg, #48c281 1.008%, #5cd453 98.59%);
}
.bonus-sms {
  background: linear-gradient(100.755deg, #b9e75e 17.175%, #eed63d 87.071%);
}
.bonus-other {
  background: linear-gradient(231.773deg, #ff6430 13.421%, #ff3072 85.233%);
}
.bonus-plus {
  background: linear-gradient(100.755deg, #a65bcb 17.175%, #d074e0 87.071%);
}
.bonus-percentage {
  background: linear-gradient(-85.091deg, #579aff 1.008%, #11cabd 98.59%);
}
.bonus-symbol {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.bonus-symbol img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
}
.market .bonus-card h2 {
  font:
    400 36px/34px 'Dela Gothic One',
    sans-serif;
  letter-spacing: -1px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.bonus-mark {
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
  width: 240px;
  height: 240px;
}
.bonus-card strong {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.bonus-brand {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.bonus-brand img {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.bonus-brand img + img {
  width: 28px;
  height: 28px;
  bottom: 0;
  right: 0;
}
.provider-choice > img,
.bonus-brand img + img {
  box-sizing: border-box;
  background-color: var(--fixed-white);
  padding: 3px;
  object-fit: contain;
}
.market img[src='/images/provider-error-icon.svg'] {
  /* The missing-logo glyph is near-white. */
  background-color: var(--light-onSurfaceVariant);
}
.bonus-arrows {
  position: absolute;
  inset: 50% 24px auto;
  pointer-events: none;
}
.bonus-arrows .rail-button {
  position: absolute;
  top: -24px;
  width: 48px;
  height: 48px;
  pointer-events: auto;
  background: rgb(107 107 115 / 30%);
  box-shadow: 0 2px 16px rgb(0 0 0 / 8%);
  border: none;
}
.bonus-arrows .rail-button img {
  filter: brightness(0) invert(1);
}
.bonus-arrows [data-direction='forward'] {
  right: 0;
}
.bonus-arrows [data-direction='back'] {
  left: 0;
}
.bonus-region:has(> .departing) {
  min-height: 480px;
}
.bonus-region > .departing {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (prefers-contrast: more) {
  .bonus-card h2,
  .bonus-card strong,
  .bonus-card > span:not(.bonus-symbol) {
    background: #242139;
  }
}
.market .home-section {
  padding: 72px 0;
  background: #fcfcff;
}
.selection-status {
  display: grid;
  place-items: center;
  min-height: 144px;
  box-sizing: border-box;
  padding: 16px var(--home-gutter);
  text-align: center;
}
.selection-status .spinner {
  color: var(--light-primary);
}
.selection-retry {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 24px;
  background: var(--light-primary);
  color: var(--light-onPrimary);
  margin-top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .selection-status .spinner {
    animation: none;
  }
}
.home-section h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.catalog-section h2 span {
  color: #999ab3;
}
.catalog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'title continue' 'controls controls' 'offers offers';
}
.catalog-shell h2 {
  grid-area: title;
  align-self: center;
}
.catalog-shell .catalog-controls { grid-area: controls; }
.catalog-shell .offer-track {
  grid-area: offers;
  min-width: 0;
}
.catalog-action {
  grid-area: continue;
  align-self: center;
  justify-self: end;
  margin-left: 24px;
}
.catalog-action-mobile { display: none; }
.catalog-continue {
  padding-inline: 20px;
  background: var(--catalog-continue-background);
  --md-filled-tonal-button-container-color: transparent;
  --md-filled-tonal-button-icon-size: 24px;
  --btn-text-color: var(--fixed-white);
  --btn-state-layer-color: var(--fixed-white);
}
.catalog-controls,
.directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 44px 0 24px;
}
.catalog-controls {
  /* Space-between leaves the paired arrows flush left on a line of their own. */
  /* The rail's shadow gutter extends behind the controls. */
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.category-list,
.rail-arrows {
  display: flex;
  gap: 8px;
}
.category-list {
  max-width: 100%;
  flex-wrap: wrap;
}
.category-list button,
.rail-button {
  border: 0;
  border-radius: 32px;
  background: #f5f5f9;
  color: #302e51;
  font-weight: 600;
  font-size: 15px;
}
.category-list button {
  box-sizing: border-box;
  min-width: 120px;
  max-width: 240px;
  min-height: 48px;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-wrap: anywhere;
  background: #f7f8fa;
  color: var(--light-onSurface);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.category-list button[aria-pressed='true'] {
  background: #2d2951;
  color: white;
}
.rail-button {
  /* Figma's Surface state layer also applies over the bonus glass override.
     Keep it separate from the ripple so touch and keyboard presses get it. */
  --md-ripple-hover-opacity: 0;
  --md-ripple-pressed-color: var(--light-onSurface);
  --md-ripple-pressed-opacity: 0.08;
  position: relative;
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  background: var(--light-surface);
  box-shadow: 0 4px 20px #302e5114;
  -webkit-tap-highlight-color: transparent;
}
.rail-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--light-onSurface);
  opacity: 0;
  pointer-events: none;
}
.rail-button md-ripple {
  /* Stay out of the button's grid before the Material module upgrades it. */
  position: absolute;
  inset: 0;
}
@media (hover: hover) {
  .rail-button:enabled:hover::before {
    opacity: 0.08;
  }
}
.rail-button:enabled:is(:active, :focus-visible)::before {
  opacity: 0.08;
}
@media (prefers-reduced-motion: reduce) {
  /* Two 8% layers combined, without a growing ripple. */
  .rail-button:enabled:active::before {
    opacity: 0.1536;
  }
}
.rail-button img {
  width: 18px;
  height: 18px;
}
.rail-button:disabled {
  opacity: 0.4;
  cursor: default;
}
.bonus-arrows .rail-button:disabled {
  visibility: hidden;
}
.catalog-controls .rail-button img { width: 24px; height: 24px; }
.category-icon, .offer-glyph {
  display: inline-block;
  flex: none;
  background: var(--ink, currentColor);
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
.category-icon { width: 24px; height: 24px; }
.category-icon.glyph-balance { --glyph: url('product_card_balance.svg'); }
.category-icon.glyph-plan { --glyph: url('product_card_plan.svg'); }
.offer-track {
  /* Keep the cards aligned with the shell while letting the scrolling box
     include the full shadow and the extra reach of a hovered card. Desktop
     pages own their padding so even a partial last page snaps a full stride. */
  --shadow-gutter: 48px;
  --rail-inset: min(var(--shadow-gutter), var(--home-gutter));
  display: flex;
  isolation: isolate;
  margin: calc(-1 * var(--shadow-gutter)) calc(-1 * var(--rail-inset));
  scroll-snap-type: x mandatory;
}
.offer-page {
  box-sizing: border-box;
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--shadow-gutter) var(--rail-inset);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 12px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.offer {
  all: unset;
  box-sizing: border-box;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  text-align: start;
  border-radius: 52px;
  background: var(--light-surface);
  color: var(--light-onSurface);
  box-shadow: 0 4px 24px rgb(0 0 0 / 10%);
  cursor: pointer;
  transition: transform 250ms ease-out, box-shadow 180ms ease;
}
.offer.featured { grid-row: span 2; }
.offer[aria-pressed='true'] { box-shadow: inset 0 0 0 3px #2d2951, 0 4px 24px #0002; }
.offer[aria-pressed='true']::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2d2951 center / 30px no-repeat url('check.svg');
  box-shadow: 0 4px 10px #0002;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offer:hover { z-index: 1; transform: scale(1.03); }
  .offer:active { transform: scale(.985); }
}
.offer-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.offer-body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 44px;
  background: #f7f8fa;
  overflow-wrap: anywhere;
}
.offer-body::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -5px -2px 0;
  background: right bottom / auto no-repeat url('product_card_wallet_watermark.svg');
}
.offer-body.plan::before {
  right: -3px;
  bottom: -4px;
  background-image: url('product_card_plan_watermark.svg');
}
.offer-icons {
  display: flex;
  flex-wrap: wrap;
  padding-left: 8px;
  row-gap: 4px;
}
.offer-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--light-surface);
  box-shadow: 0 0 8px rgb(0 0 0 / 15%);
}
.offer-glyph { width: 24px; height: 24px; }
.offer .glyph-balance, .offer .glyph-plan { --ink: #2d2951; }
.glyph-multiplier { --ink: linear-gradient(127deg, #444df3 17.17%, #9730f2 87.07%); }
.glyph-data { --ink: linear-gradient(225deg, #ffb972 13.42%, #ff963a 85.23%); }
.glyph-voice { --ink: linear-gradient(278deg, #48c281 1.01%, #5cd453 98.59%); }
.glyph-sms { --ink: linear-gradient(107deg, #b9e75e 17.17%, #eed63d 87.07%); }
.glyph-other { --ink: linear-gradient(225deg, #ff6430, #ff3072); }
.glyph-discount, .offer-price s + span { --ink: linear-gradient(278deg, #079dd9, #189366 98.59%); }
.glyph-percentage { --ink: linear-gradient(276deg, #579aff, #11cabd); }
.glyph-plus { --ink: linear-gradient(127deg, #a65bcb, #d074e0); }
.glyph-megaphone { --ink: linear-gradient(107deg, #444df3 17.17%, #9730f2 87.07%); }
.offer-title { display: grid; gap: 4px; }
.offer-subtitle {
  font-size: 18.9px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: -.315px;
  color: var(--light-onSurfaceVariant);
}
.offer-title strong { font: 700 33.6px/1 Rubik,sans-serif; letter-spacing: -1.05px; }
.offer-body.plan strong { font-size: 25.2px; line-height: 1.17; letter-spacing: 0; }
.offer-title .tinted, .offer-price s + span {
  color: transparent;
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
}
.offer-rows { display: grid; gap: 12px; }
.offer-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font: 500 14px/1.3 Rubik,sans-serif;
  color: var(--light-onSurfaceVariant);
}
.offer-row .offer-glyph {
  width: 16px;
  height: 16px;
  align-self: flex-start;
}
.offer-row small { font-size: inherit; }
.offer-price {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  font: 600 22px/1 Rubik,sans-serif;
}
.offer-price s { color: var(--light-outline); }
.campaign {
  touch-action: pan-y pinch-zoom;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 60%, #ffffff42, transparent 65%),
    var(--campaign-color, #444df3);
  color: white;
}
.brand-natcom {
  --campaign-color: #f36523;
}
.brand-digicel,
.brand-claro {
  --campaign-color: #c92739;
}
.brand-movistar {
  --campaign-color: #078bbb;
}
.campaign-person {
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: var(--home-gutter);
  /* At the 687px design height, keep 37px above the 650px portrait.
     Size from the banner's normal height and retain room for longer copy. */
  width: min(44%, calc((clamp(500px, 48vw, 687px) - 37px) * .75));
  height: auto;
  aspect-ratio: 3 / 4;
  pointer-events: none;
}
.campaign-watermark {
  --name-overhang: 80;
  --name-max-size: 600;
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: max-content;
  transform: translate(-50%, calc(-50% - var(--name-ink-offset, 0px)));
  /* Cap the text height so wide screens keep it inside the banner. */
  font:
    700 min(22vw, calc(var(--name-max-size) * 1px))/0.8 Rubik,
    sans-serif;
  opacity: 0.24;
  white-space: nowrap;
  pointer-events: none;
}
.campaign-content {
  position: relative;
  min-height: clamp(500px, 48vw, 687px);
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.campaign-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 38px;
}
/* The exported image includes the glow outside the icon's layout box. */
.campaign-speaker {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
}
.campaign-speaker img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
  pointer-events: none;
}
.campaign-wordmark {
  width: clamp(130px, 17vw, 247px);
}
.campaign-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
  width: 100%;
  max-width: 51%;
}
.campaign-slide:not([hidden]) {
  display: grid;
  gap: 20px;
  width: 100%;
}
.campaign-copy h2 {
  font:
    400 clamp(32px, 4.1vw, 64px) / 1 'Dela Gothic One',
    sans-serif;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.campaign-dates {
  font: var(--title-title-large-font-weight)
    var(--title-title-large-font-size) /
    var(--title-title-large-line-height)
    var(--title-title-large-font-family);
}
.campaign-dates > span {
  /* Keep each boundary together when the date range wraps on phones. */
  display: inline-block;
}
.campaign-cta {
  max-width: 100%;
  padding-inline: 24px;
  --md-filled-tonal-button-icon-size: 24px;
  --md-filled-tonal-button-container-color: var(--light-surface);
  --btn-text-color: var(--light-onSurface);
  --btn-state-layer-color: var(--light-onSurface);
}
.campaign-dots {
  display: flex;
  gap: 0;
}
.campaign-dots button {
  width: 26px;
  height: 32px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.campaign-dots button:before {
  content: '';
  width: 10px;
  height: 10px;
  background: #ffffff90;
  border-radius: 50%;
}
.campaign-dots button[aria-pressed='true']:before {
  background: white;
  width: 17px;
  height: 17px;
}
.directory-heading {
  margin: 0 0 44px;
}
.directory-heading p {
  margin-top: 12px;
}
.country-track {
  display: flex;
  gap: 8px;
}
/* Figma's 400ms photo track and 200ms arrow entrance share this curve.
   Transitions preserve the current position when hover is interrupted. */
.country-card {
  --country-motion-easing: cubic-bezier(0, 1, 0.6, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 min(320px, 83vw);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 48px;
  padding: 32px;
  background: linear-gradient(110deg, #0c1b31, #0d2e54);
  color: white;
  scroll-snap-align: start;
}
.country-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  -webkit-mask-image: linear-gradient(#000 35%, #0006 100%);
  mask-image: linear-gradient(#000 35%, #0006 100%);
  transform-origin: 50% 50%;
  transition: transform 400ms var(--country-motion-easing);
}
.country-arrow {
  /* Center the 48px arrow on the 72px flag, inset by the card's 32px padding. */
  position: absolute;
  top: 44px;
  right: 44px;
  pointer-events: none;
}
.country-card:has(a:focus-visible) {
  --country-photo-scale: 1.2;
  --country-arrow-opacity: 1;
  --country-arrow-position: translate(0, 0);
  --country-arrow-transition: transform 200ms var(--country-motion-easing),
    opacity 200ms ease-out;
}
@media (hover: hover) {
  .country-card:has(a):hover {
    --country-photo-scale: 1.2;
    --country-arrow-opacity: 1;
    --country-arrow-position: translate(0, 0);
    --country-arrow-transition: transform 200ms var(--country-motion-easing),
      opacity 200ms ease-out;
  }
}
.country-card .country-photo {
  transform: scale(var(--country-photo-scale, 1));
}
.country-card .country-arrow {
  /* Hide before resetting the entry position, with no return slide. */
  opacity: var(--country-arrow-opacity, 0);
  transform: var(--country-arrow-position, translate(-50px, 50px));
  transition: var(--country-arrow-transition,
    opacity 10ms linear, transform 0s 10ms);
}
@media (prefers-reduced-motion: reduce) {
  .country-card .country-photo { transform: none; }
  .country-card .country-arrow { transform: none; }
}
.country-flag {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}
.country-card h3 {
  font-size: 32px;
  letter-spacing: -0.05em;
}
.country-card a {
  color: inherit;
  text-decoration: none;
}
.country-card a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.country-card p {
  margin-top: 6px;
}
@media not all and (min-width: 840px) {
  .market-hero::before {
    background-image: var(--hero-photo-phone, var(--hero-photo, none));
  }
  .hero-grid {
    grid-template-rows: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 7px 24px;
  }
  .hero-form {
    gap: 32px;
  }
  .hero-form h1 {
    font-size: 45px;
    line-height: 44px;
  }
  .hero-form .phone-input-layout {
    gap: 12px;
  }
  .provider-list {
    margin-top: 12px;
  }
  .bonus-region {
    display: none;
  }
  .directory-heading {
    /* space-between puts the pair at the start when it occupies its own line. */
    flex-wrap: wrap;
  }
  .directory-heading .rail-arrows {
    flex: none;
  }
  .market .home-section {
    padding: 48px 0;
  }
  .catalog-controls,
  .directory-heading {
    margin-bottom: 24px;
  }
  .catalog-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'controls' 'offers' 'continue';
  }
  .catalog-action-desktop { display: none; }
  .catalog-action-mobile {
    display: block;
    width: 100%;
    margin: 48px 0 0;
  }
  .catalog-continue {
    background: var(--catalog-continue-mobile-background);
    width: 100%;
  }
  /* Keep the first and last cards inset while the row scrolls edge to edge. */
  .offer-track,
  .country-track {
    margin-inline: calc(-1 * var(--home-gutter));
    padding-inline: var(--home-gutter);
    scroll-padding-inline: var(--home-gutter);
  }
  .market .country-track:focus-visible {
    outline-offset: -3px;
  }
  .offer-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(280px, calc(100% - 48px));
    gap: 12px;
    padding-block: var(--shadow-gutter);
  }
  .offer-page { display: contents; }
  .offer.featured { grid-row: auto; }
  .offer { scroll-snap-align: start; }
  .campaign-watermark {
    /* Keep every provider name behind the portrait at hat level on mobile. */
    top: 156px;
    --name-overhang: 16;
    --name-max-size: 200;
    transform: translateX(-50%);
  }
  .campaign-content {
    min-height: clamp(730px, 225vw, 920px);
    justify-content: flex-end;
    padding-block: 36px;
  }
  .campaign-content::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(transparent 24%, #0c1b31 95%);
  }
  .campaign-brand {
    margin-bottom: auto;
    font-size: 26px;
    gap: 4px;
  }
  .campaign-speaker {
    width: 48px;
    height: 48px;
  }
  .campaign-person {
    /* Keep the approved 465x620 phone crop, then fill the taller tablet
       banner: (920px banner - 108px heading clearance) * 3/4 = 609px. */
    width: clamp(465px, 123vw, 609px);
    top: 108px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .campaign-copy h2 {
    font-size: clamp(38px, 10vw, 54px);
  }
  .campaign-copy {
    max-width: 100%;
    gap: 16px;
  }
  .campaign-slide:not([hidden]) {
    gap: 16px;
  }
  .campaign-dates {
    font-size: var(--title-title-medium-font-size);
    line-height: var(--title-title-medium-line-height);
    letter-spacing: var(--title-title-medium-letter-spacing);
  }
  .campaign-cta {
    width: 100%;
  }
  .campaign-dots {
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .market * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
