:root {
  color-scheme: light;
  --bg: #f6fbfb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #5b6778;
  --line: #dce8ea;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --sky: #0ea5e9;
  --slate: #0f172a;
  --coupon-bg: #fff8df;
  --coupon-line: #f2d178;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  background:
    linear-gradient(180deg, rgba(20, 184, 166, 0.16) 0%, rgba(246, 251, 251, 0) 44%),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: calc(100vh - 58px);
  place-items: center;
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 18px 0 10px;
}

.redirect-modal {
  width: min(100%, 680px);
  overflow: hidden;
  border: 1px solid rgba(220, 232, 234, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.brand-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  background: #ffffff;
}

.brand-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.globelink-logo,
.globly-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.globelink-logo {
  justify-self: end;
}

.globly-logo {
  justify-self: start;
}

.modal-copy {
  display: grid;
  justify-items: center;
  padding: 30px 28px 24px;
  text-align: center;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  font-weight: 650;
}

.coupon-card {
  display: grid;
  width: min(100%, 420px);
  gap: 7px;
  margin-bottom: 18px;
  border: 1px solid var(--coupon-line);
  border-radius: 8px;
  padding: 14px;
  background: var(--coupon-bg);
}

.coupon-card span {
  color: #8a5d05;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coupon-card strong {
  color: #6b4100;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  line-height: 1;
}

.coupon-card code {
  display: inline-flex;
  justify-self: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(242, 209, 120, 0.9);
}

.primary-cta {
  display: inline-flex;
  min-height: 54px;
  width: min(100%, 420px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  background: var(--slate);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.20);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--teal);
  box-shadow: 0 20px 38px rgba(15, 118, 110, 0.26);
  transform: translateY(-1px);
}

.primary-cta:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.32);
  outline-offset: 3px;
}

.redirect-status {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.redirect-status strong {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0;
  list-style: none;
  background: #f8fcfc;
}

.benefit-list li {
  min-height: 52px;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.benefit-list li:last-child {
  border-right: 0;
}

.site-footer {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.noscript-message {
  width: min(640px, calc(100% - 28px));
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}

@media (max-width: 560px) {
  .page-shell {
    min-height: auto;
    width: min(100% - 18px, 760px);
    padding-top: 10px;
  }

  .brand-strip {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 7px;
    padding: 11px;
  }

  .brand-strip span {
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .globelink-logo {
    height: 32px;
  }

  .globly-logo {
    height: 32px;
  }

  .modal-copy {
    padding: 22px 16px 18px;
  }

  h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .lead {
    margin-bottom: 15px;
    font-size: 0.96rem;
  }

  .coupon-card {
    margin-bottom: 15px;
    padding: 13px;
  }

  .coupon-card strong {
    font-size: clamp(1.42rem, 7.2vw, 1.9rem);
  }

  .primary-cta {
    min-height: 50px;
    font-size: 0.95rem;
  }

  .benefit-list li {
    min-height: 46px;
    padding: 13px 8px;
    font-size: 0.78rem;
  }
}

@media (max-width: 340px) {
  .brand-strip {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand-strip span {
    display: none;
  }

  .globelink-logo {
    width: 210px;
    height: auto;
    justify-self: center;
  }

  .globly-logo {
    width: 132px;
    height: auto;
    justify-self: center;
  }

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

  .benefit-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-list li:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
