:root {
  --campaign-blue: #00529b;
  --campaign-blue-dark: #063f82;
  --campaign-blue-light: #4f91c9;
  --campaign-yellow: #ffd800;
  --campaign-red: #d51f2b;
  --white: #ffffff;
  --soft-white: #f5f7fa;
  --ink: #15304e;
  --muted: #667487;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft-white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--soft-white);
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--campaign-blue-dark);
  border-bottom: 3px solid var(--campaign-yellow);
}

.header-inner {
  width: min(1080px, calc(100% - 28px));
  min-height: 55px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.campaign-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.campaign-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.campaign-brand strong {
  font-size: 0.88rem;
  line-height: 1.1;
}

.campaign-brand small {
  color: #c9def0;
  font-size: 0.66rem;
}

.brand-stamp {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 7px;
  border: 3px solid var(--campaign-yellow);
  box-shadow: 0 0 0 2px var(--white);
  transform: rotate(-2deg);
}

.brand-stamp i {
  height: 3px;
  display: block;
  background: var(--campaign-yellow);
}

.brand-stamp i:nth-child(2) {
  width: 70%;
}

.header-value {
  padding: 5px 8px 4px;
  border: 2px solid var(--campaign-yellow);
  color: var(--campaign-yellow);
  font-size: 0.76rem;
  font-weight: 900;
  transform: rotate(2deg);
}

.campaign-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(108deg, rgba(5, 57, 118, 0.92) 0%, rgba(0, 82, 155, 0.76) 52%, rgba(80, 148, 203, 0.52) 100%),
    repeating-linear-gradient(113deg, transparent 0 58px, rgba(255, 255, 255, 0.05) 59px 61px),
    var(--campaign-blue);
}

.campaign-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -35%;
  left: 40%;
  width: 120%;
  height: 170%;
  background: repeating-conic-gradient(
    from 210deg at 42% 52%,
    rgba(255, 255, 255, 0.09) 0deg 7deg,
    transparent 7deg 19deg
  );
  opacity: 0.7;
}

.campaign-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -11%;
  bottom: -44px;
  width: 72%;
  height: 96px;
  background: var(--campaign-blue-dark);
  transform: rotate(-5deg);
  opacity: 0.65;
}

.campaign-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.percent {
  position: absolute;
  color: var(--campaign-yellow);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 3px 0 #d4a900,
    0 11px 20px rgba(2, 35, 74, 0.34);
  opacity: 0.94;
}

.percent-one {
  top: 16px;
  right: -18px;
  font-size: 6.5rem;
  transform: rotate(18deg);
}

.percent-two {
  left: -28px;
  bottom: 74px;
  font-size: 5.2rem;
  transform: rotate(-17deg);
  opacity: 0.42;
}

.percent-three {
  display: none;
}

.coupon-mark {
  position: absolute;
  top: 44%;
  right: -22px;
  padding: 7px 23px 7px 10px;
  border: 2px dashed var(--campaign-blue-dark);
  background: var(--white);
  color: var(--campaign-red);
  box-shadow: 0 8px 16px rgba(1, 38, 78, 0.18);
  font-size: 0.66rem;
  font-weight: 900;
  transform: rotate(9deg);
}

.hero-inner {
  width: min(1080px, calc(100% - 30px));
  margin: 0 auto;
  padding: 22px 0 23px;
  display: grid;
  grid-template-areas:
    "copy"
    "visual"
    "action";
  text-align: center;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 5px 9px;
  background: var(--campaign-yellow);
  color: var(--campaign-blue-dark);
  box-shadow: 3px 3px 0 rgba(2, 42, 88, 0.52);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 520px;
  margin: 0 auto 8px;
  color: var(--white);
  font-size: clamp(2rem, 9.6vw, 2.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 4px 14px rgba(2, 38, 78, 0.22);
}

h1 span {
  display: block;
  color: var(--campaign-yellow);
  font-size: 1.34em;
  line-height: 0.9;
}

.intro {
  max-width: 430px;
  margin: 0 auto;
  color: #e9f4fc;
  font-size: 0.91rem;
  line-height: 1.42;
}

.card-stage {
  grid-area: visual;
  position: relative;
  min-height: 0;
  margin: 14px auto 5px;
  display: grid;
  place-items: center;
}

.card-stage::before {
  content: "";
  position: absolute;
  width: 84%;
  height: 66%;
  border: 3px solid rgba(255, 216, 0, 0.55);
  transform: rotate(6deg);
}

.card-spark {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--campaign-yellow);
  box-shadow: 0 0 0 4px rgba(255, 216, 0, 0.18);
  transform: rotate(45deg);
}

.spark-one {
  top: 25px;
  left: 3%;
}

.spark-two {
  right: 4%;
  bottom: 25px;
}

.gift-card-wrap {
  width: min(82vw, 370px);
  display: grid;
  place-items: center;
  animation: cardArrive 520ms ease-out both;
}

.gift-card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow:
    0 24px 35px rgba(1, 26, 56, 0.42),
    0 3px 0 rgba(255, 255, 255, 0.16);
  transform: rotate(-2deg);
}

.hero-action {
  grid-area: action;
  position: relative;
  z-index: 4;
  width: min(100%, 430px);
  margin: 4px auto 0;
}

.primary-cta {
  min-height: 53px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 3px solid var(--campaign-yellow);
  border-radius: 4px;
  background: var(--campaign-yellow);
  color: var(--campaign-blue-dark);
  box-shadow:
    0 5px 0 #d5aa00,
    0 12px 24px rgba(1, 35, 73, 0.3);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.primary-cta:hover {
  background: var(--white);
  color: var(--campaign-blue);
  transform: translateY(2px);
  box-shadow:
    0 3px 0 #d5aa00,
    0 8px 18px rgba(1, 35, 73, 0.28);
}

.primary-cta:focus-visible,
.campaign-brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.hero-action p {
  margin: 12px 0 0;
  color: #d6e8f6;
  font-size: 0.72rem;
  line-height: 1.35;
}

.trust-strip {
  min-height: 49px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: var(--campaign-yellow);
  color: var(--campaign-blue-dark);
  border-bottom: 3px solid var(--campaign-blue-dark);
}

.trust-strip > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px;
  font-size: clamp(0.67rem, 3vw, 0.8rem);
  font-weight: 900;
  text-align: center;
}

.trust-strip > span + span {
  border-left: 1px solid rgba(6, 63, 130, 0.22);
}

.trust-strip i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--campaign-blue-dark);
  color: var(--white);
  font-size: 0.65rem;
  font-style: normal;
}

.site-footer {
  padding: 15px 12px 18px;
  background: var(--soft-white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.68rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--campaign-blue-dark);
  text-decoration: underline;
}

.activity-notice {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(320px, calc(100% - 24px));
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #dbe4ed;
  border-left: 5px solid var(--campaign-yellow);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(1, 31, 66, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.activity-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.activity-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: block;
  border: 2px solid var(--campaign-yellow);
  border-radius: 50%;
  background: #e9eef4;
  object-fit: cover;
}

.activity-details {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.activity-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--campaign-blue-dark);
  font-size: 0.75rem;
  line-height: 1.2;
}

.activity-person strong {
  font-size: 0.8rem;
}

.activity-message {
  display: block;
  color: var(--campaign-blue-dark);
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.3;
}

.activity-time {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.2;
}

@media (min-width: 740px) {
  .activity-notice {
    left: 16px;
    bottom: 16px;
    width: 330px;
    transform: translateY(16px);
  }

  .activity-notice.is-visible {
    transform: translateY(0);
  }

  .header-inner {
    min-height: 61px;
  }

  .campaign-brand strong {
    font-size: 0.96rem;
  }

  .hero-inner {
    min-height: 472px;
    padding: 35px 0 32px;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    grid-template-areas:
      "copy visual"
      "action visual";
    column-gap: 58px;
    align-content: center;
    text-align: left;
  }

  .eyebrow,
  h1,
  .intro,
  .hero-action {
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(3.35rem, 6vw, 4.8rem);
  }

  .intro {
    font-size: 1.02rem;
  }

  .card-stage {
    min-height: 400px;
    margin: 0;
  }

  .gift-card-wrap {
    width: min(39vw, 455px);
  }

  .hero-action {
    align-self: start;
    margin-top: 24px;
  }

  .percent-one {
    right: 4%;
    font-size: 9rem;
  }

  .percent-two {
    left: 35%;
    bottom: -30px;
    font-size: 8.5rem;
    opacity: 0.34;
  }

  .percent-three {
    top: 14%;
    left: -25px;
    display: block;
    font-size: 7rem;
    transform: rotate(-14deg);
    opacity: 0.22;
  }

  .coupon-mark {
    top: auto;
    right: 3%;
    bottom: 13%;
    padding-right: 12px;
  }

  .trust-strip {
    min-height: 55px;
  }
}

@media (max-width: 374px) {
  .hero-inner {
    width: min(100% - 22px, 1080px);
    padding-top: 18px;
  }

  .header-value {
    display: none;
  }

  h1 {
    font-size: 1.95rem;
  }

  .card-stage {
    margin-top: 12px;
  }

  .trust-strip > span {
    font-size: 0.66rem;
  }
}

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

  .gift-card-wrap {
    animation: none;
  }

  .primary-cta {
    transition: none;
  }

  .activity-notice {
    transition: none;
  }
}

@keyframes cardArrive {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
