:root {
  --azul-principal: #18163d;
  --azul-boxer: #3976c4;
  --azul-neon: #5155ec;
  --blanco-hueso: #f9f9f9;
  --naranja: #e2881c;
  --texto: #4a4866;
  --texto-suave: #65627f;
  --borde: #dfdeea;
  --fondo-mensaje: #e9e3da;
  --blanco: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blanco-hueso);
  color: var(--texto);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

strong {
  color: var(--azul-principal);
  font-weight: 700;
}

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

h1,
h2,
h3 {
  color: var(--azul-principal);
  font-weight: 700;
}

h1 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 8vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.shell {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--naranja);
  color: var(--azul-principal);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--naranja);
  outline-offset: 4px;
}

.site-header {
  min-height: 52px;
  background: var(--azul-principal);
}

.site-header__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  flex: none;
  border-radius: 4px;
}

.brand img {
  width: 72px;
  height: auto;
}

.assistant-name {
  color: #f6d4a8;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.hero {
  overflow: hidden;
  background: var(--blanco-hueso);
}

.hero__grid {
  display: flex;
  flex-direction: column;
}

.hero__intro {
  display: grid;
  gap: 8px;
  padding-block: 28px 24px;
}

.eyebrow,
.received__label {
  margin-bottom: 0;
  color: var(--azul-neon);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: 0;
  color: var(--texto);
  font-size: 1rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.received {
  margin-inline: -16px;
  padding: 18px 16px 20px;
  background: var(--fondo-mensaje);
}

.received__label {
  margin-bottom: 10px;
  color: var(--azul-principal);
  font-size: 0.75rem;
  line-height: 1.35;
}

.message-bubble {
  overflow: hidden;
  border-radius: 5px 15px 15px 15px;
  background: var(--blanco);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.message-bubble__body {
  display: grid;
  gap: 4px;
  padding: 9px 11px 7px;
}

.message-bubble__sender {
  margin-bottom: 0;
  color: var(--azul-boxer);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.message-bubble__body > p:not(.message-bubble__sender) {
  margin-bottom: 0;
  color: var(--azul-principal);
  font-size: 0.875rem;
  line-height: 1.5;
}

.message-bubble__body strong {
  padding-inline: 3px;
  border-radius: 3px;
  background: rgba(226, 136, 28, 0.28);
}

.message-bubble time {
  color: #77738d;
  font-size: 0.6875rem;
  line-height: 1;
  text-align: right;
}

.message-bubble__action {
  min-height: 36px;
  border-top: 1px solid #e2e1e9;
  color: var(--azul-boxer);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
}

.message-bubble__action svg,
.account-preview svg,
.sample-button svg,
.notice svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.section {
  padding-block: 52px;
}

.section__heading {
  display: grid;
  align-content: start;
  gap: 9px;
}

.section__heading > p:last-child {
  max-width: 54ch;
  margin-bottom: 0;
}

.faq__grid {
  display: grid;
  gap: 28px;
}

.actions {
  border-top: 1px solid var(--borde);
  background: var(--blanco-hueso);
}

.actions > .shell {
  width: min(100% - 32px, 780px);
}

.section__heading--centered {
  max-width: 780px;
}

.account-preview {
  margin: 32px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1d2635;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.account-preview__topbar {
  padding: 10px 16px;
  color: #dce2ea;
  font-size: 0.6875rem;
}

.account-preview__topbar strong {
  color: var(--blanco);
}

.account-preview__page {
  background: #f4f5f7;
}

.account-preview__business {
  padding: 9px 12px;
  background: var(--blanco);
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-preview__avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid #e2e5ea;
  border-radius: 10px;
  background: #f8f8f8;
  color: var(--azul-principal);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.account-preview__business div {
  display: grid;
  gap: 1px;
}

.account-preview__business div > span {
  color: #647080;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-preview__business div > strong {
  color: #1d2635;
  font-size: 0.875rem;
}

.account-preview__columns {
  display: grid;
  grid-template-areas:
    "debt"
    "detail"
    "actions";
  gap: 10px;
  padding: 10px;
}

.account-preview__debt {
  grid-area: debt;
  min-height: 118px;
  position: relative;
  overflow: hidden;
  padding: 13px;
  border-radius: 10px;
  background: #202a39;
  color: #dce2ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.6875rem;
  text-align: center;
}

.account-preview__debt::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  top: -68px;
  right: -32px;
  border-radius: 50%;
  background: rgba(226, 136, 28, 0.18);
  filter: blur(24px);
}

.account-preview__debt > * {
  position: relative;
  z-index: 1;
}

.account-preview__debt > strong {
  color: var(--blanco);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.account-preview__debt > strong small {
  font-size: 0.55em;
  letter-spacing: 0;
}

.account-preview__debt > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.account-preview__detail {
  grid-area: detail;
}

.preview-receipt {
  overflow: hidden;
  border: 1px solid #e0e3e8;
  border-radius: 10px;
  background: var(--blanco);
}

.preview-receipt__heading {
  padding: 9px 11px 5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #273140;
  font-size: 0.8125rem;
}

.preview-receipt__heading div {
  display: grid;
  gap: 2px;
}

.preview-receipt__heading small {
  color: #606b79;
  font-size: 0.6875rem;
  font-weight: 400;
}

.preview-receipt__dates {
  padding: 0 11px 6px;
  color: #606b79;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.6875rem;
}

.preview-receipt__dates strong {
  color: #556170;
}

.preview-receipt__links {
  border-top: 1px solid #e7e9ed;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  color: #596777;
  font-size: 0.6875rem;
  font-weight: 700;
}

.preview-receipt__links span {
  min-height: 32px;
  padding: 6px;
  display: grid;
  place-items: center;
  text-align: center;
}

.preview-receipt__links span + span {
  border-left: 1px solid #e7e9ed;
}

.account-preview__actions {
  grid-area: actions;
  display: grid;
  align-content: start;
  gap: 9px;
  color: #273140;
  font-size: 0.75rem;
}

.account-preview__action-list {
  overflow: hidden;
  border: 1px solid #e0e3e8;
  border-radius: 8px;
}

.account-preview__action-list > span {
  min-height: 38px;
  padding: 6px 10px;
  background: var(--blanco);
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 9px;
}

.account-preview__action-list > span + span {
  border-top: 1px solid #e7e9ed;
}

.account-preview__action-list svg {
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 5px;
  background: #edf0f5;
  fill: none;
  stroke: #647080;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.account-preview__action-list b {
  color: #5f6875;
  font-size: 1rem;
}

.account-preview__action--whatsapp svg {
  background: #e2f7ec;
  stroke: #21a968;
}

.action-list {
  margin: 32px 0 0;
  border-top: 1px solid var(--borde);
}

.action-list > div {
  padding-block: 18px;
  border-bottom: 1px solid var(--borde);
}

.action-list dt {
  color: var(--azul-principal);
  font-weight: 700;
}

.action-list dd {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.notice {
  margin: 32px 0 0;
  padding-block: 20px;
  border-block: 1px solid var(--naranja);
  color: var(--naranja);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
}

.notice h3 {
  font-size: 0.95rem;
}

.notice p {
  margin: 5px 0 0;
  color: var(--texto);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.retailer {
  overflow: hidden;
  background: var(--azul-principal);
}

.retailer__inner {
  min-height: 390px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-block: 48px 0;
}

.retailer__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-bottom: 178px;
}

.retailer h2,
.retailer strong {
  color: var(--blanco);
}

.retailer p {
  margin: 16px 0 24px;
  color: #d7d5e7;
}

.cta {
  min-height: 48px;
  width: fit-content;
  padding: 13px 20px;
  border-radius: 6px;
  background: var(--naranja);
  color: var(--azul-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.cta:hover {
  background: #efa43e;
}

.retailer__oscar {
  width: 136px;
  height: auto;
  position: absolute;
  right: 4px;
  bottom: -4px;
}

.faq {
  border-top: 1px solid var(--borde);
  background: var(--blanco-hueso);
}

.faq__items {
  border-top: 1px solid var(--borde);
}

.faq details {
  border-bottom: 1px solid var(--borde);
}

.faq summary {
  min-height: 64px;
  padding-block: 18px;
  color: var(--azul-principal);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

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

.faq summary span {
  width: 18px;
  height: 18px;
  position: relative;
}

.faq summary span::before,
.faq summary span::after {
  content: "";
  width: 14px;
  height: 2px;
  position: absolute;
  top: 8px;
  left: 2px;
  border-radius: 2px;
  background: var(--azul-neon);
}

.faq summary span::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq details[open] summary span::after {
  transform: rotate(0deg);
}

.faq details > p {
  max-width: 70ch;
  margin: -4px 38px 20px 0;
  color: var(--texto);
  font-size: 0.86rem;
  line-height: 1.6;
}

.faq details a {
  color: var(--azul-neon);
  font-weight: 700;
}

.site-footer {
  padding-block: 38px;
  background: var(--azul-principal);
  color: var(--blanco);
}

.site-footer__grid {
  display: grid;
  gap: 28px;
}

.site-footer__logo {
  width: 105px;
  height: auto;
}

.social p {
  margin-bottom: 10px;
  color: #aaa7c4;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social__links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--blanco);
  font-size: 0.82rem;
  text-underline-offset: 4px;
}

.social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  color: var(--blanco);
  text-decoration: none;
}

.social a:hover,
.social a:focus-visible {
  border-color: var(--azul-neon);
  color: var(--azul-neon);
}

.social svg,
.footer-links__whatsapp svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social__dot {
  fill: currentcolor;
  stroke: none;
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-links__whatsapp {
  gap: 8px;
}

@media (min-width: 760px) {
  .shell {
    width: min(100% - 64px, 1180px);
  }

  .site-header,
  .site-header__inner {
    min-height: 56px;
  }

  .brand img {
    width: 78px;
  }

  .hero {
    padding-block: 64px;
    background: var(--blanco-hueso);
  }

  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    gap: 32px;
  }

  .hero__intro {
    gap: 14px;
    padding: 0;
  }

  .received {
    margin-inline: 0;
    padding: 24px;
    border-radius: 24px;
    background: var(--fondo-mensaje);
  }

  .received__label {
    margin-bottom: 14px;
  }

  .message-bubble__body {
    gap: 8px;
    padding: 17px 19px 13px;
  }

  .message-bubble__body > p:not(.message-bubble__sender) {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .message-bubble__action {
    min-height: 50px;
    font-size: 0.9375rem;
  }

  .section {
    padding-block: 82px;
  }

  .faq__grid {
    grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
    gap: 72px;
  }

  .section__heading--centered {
    justify-items: start;
    text-align: left;
  }

  .account-preview__columns {
    grid-template-areas:
      "debt detail"
      "actions detail";
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .account-preview__debt {
    min-height: 118px;
  }

  .action-list > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
  }

  .notice {
    margin-top: 42px;
    padding-block: 24px;
  }

  .retailer__inner {
    min-height: 390px;
    align-items: center;
    padding-block: 62px;
  }

  .retailer__content {
    max-width: 720px;
    padding: 0;
  }

  .retailer__content p {
    max-width: 62ch;
  }

  .retailer__oscar {
    width: 230px;
    right: 10px;
  }

  .site-footer {
    padding-block: 46px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 64px;
  }
}

@media (min-width: 1080px) {
  .retailer__content {
    max-width: 780px;
  }

  .retailer__oscar {
    width: 260px;
    right: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .faq summary span::after {
    transition: none;
  }
}
