:root {
  color-scheme: light;
  --ink: #071d32;
  --muted: #526477;
  --blue: #167a91;
  --blue-deep: #0b4779;
  --cyan: #2bb7d6;
  --mint: #54e3a5;
  --cloud: #f3f7fa;
  --line: #dbe6ed;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); }
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; font-size: 20px; letter-spacing: -.03em; }
.brand img { border-radius: 13px; box-shadow: 0 8px 24px rgba(11, 71, 121, .17); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--ink); }
.nav-action { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-deep); font-size: 13px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow > span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(84, 227, 165, .14); }
h1 { max-width: 690px; margin: 22px 0 24px; font-size: clamp(48px, 6.1vw, 82px); line-height: .98; letter-spacing: -.066em; }
.hero-text { max-width: 620px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 22px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 820; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--cyan)); box-shadow: 0 16px 35px rgba(11, 71, 121, .22); }
.button.secondary { color: var(--ink); background: var(--cloud); border: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; color: var(--muted); font-size: 12px; font-weight: 750; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--blue); }

.product-scene { min-height: 510px; position: relative; display: grid; place-items: center; isolation: isolate; }
.product-scene::before { content: ""; position: absolute; inset: 28px; border-radius: 52px; background: #eaf3f7; transform: rotate(-3deg); z-index: -2; }
.product-scene::after { content: ""; position: absolute; inset: 70px 20px 30px 90px; background-image: radial-gradient(rgba(22,122,145,.18) 1.4px, transparent 1.4px); background-size: 18px 18px; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.glow-one { width: 180px; height: 180px; right: 3%; top: 1%; background: rgba(84, 227, 165, .32); }
.glow-two { width: 130px; height: 130px; left: 2%; bottom: 3%; background: rgba(43, 183, 214, .25); }
.loyalty-card { width: min(430px, 88%); padding: 26px; color: var(--white); background: linear-gradient(145deg, #071d32, #0b4779 62%, #167a91); border-radius: 30px; box-shadow: 0 32px 70px rgba(7, 29, 50, .28); transform: rotate(2deg); }
.card-top { display: flex; align-items: center; gap: 12px; }
.merchant-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--mint); font-weight: 900; font-size: 20px; }
.card-top > div:nth-child(2) { display: grid; gap: 3px; flex: 1; }
.card-top strong { font-size: 15px; }
.card-top span { font-size: 12px; color: rgba(255,255,255,.7); }
.active-dot { flex: none!important; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(84,227,165,.13); }
.reward-copy { margin: 35px 0 24px; }
.reward-copy span { color: var(--mint); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.reward-copy h2 { max-width: 330px; margin: 8px 0 0; font-size: 25px; line-height: 1.18; letter-spacing: -.03em; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamps i { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.6); font-style: normal; font-size: 12px; }
.stamps i.done { color: var(--ink); border-color: var(--mint); background: var(--mint); font-weight: 900; }
.card-progress { margin-top: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.72); font-size: 12px; }
.card-progress b { color: var(--white); }
.floating-note { position: absolute; display: grid; gap: 2px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 16px 35px rgba(7,29,50,.13); }
.floating-note b { font-size: 13px; }
.floating-note span { color: var(--muted); font-size: 11px; }
.note-one { right: -12px; top: 104px; }
.note-two { left: -4px; bottom: 84px; }

.section { padding: 110px max(20px, calc((100% - 1180px) / 2)); background: var(--cloud); }
.section-heading { max-width: 740px; }
.section-heading > span { color: var(--blue); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.section-heading h2 { margin: 13px 0 0; font-size: clamp(35px, 4.3vw, 55px); line-height: 1.08; letter-spacing: -.052em; }
.feature-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); }
.feature-card.featured { color: var(--white); background: var(--ink); border-color: var(--ink); }
.feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--blue); background: #e8f4f7; font-size: 13px; font-weight: 900; }
.featured .feature-icon { color: var(--ink); background: var(--mint); }
.feature-card h3 { margin: 50px 0 12px; font-size: 23px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.featured p { color: rgba(255,255,255,.7); }

.steps-section { padding: 110px max(20px, calc((100% - 1180px) / 2)); color: var(--white); background: linear-gradient(135deg, #071d32, #0a304f); }
.section-heading.light > span { color: var(--mint); }
.steps { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.steps article { border-top: 1px solid rgba(255,255,255,.18); padding-top: 25px; }
.steps b { color: var(--mint); font-size: 13px; }
.steps h3 { margin: 24px 0 10px; font-size: 22px; }
.steps p { margin: 0; color: rgba(255,255,255,.67); line-height: 1.6; }

.closing { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 105px 0; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing h2 { max-width: 760px; margin: 20px 0 0; font-size: clamp(38px, 5vw, 65px); line-height: 1.05; letter-spacing: -.055em; }
.closing .button { flex: none; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 42px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 30px; }
.footer-brand { font-size: 17px; }
footer p { grid-column: 1; margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  nav a:not(.nav-action) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-text { margin-inline: auto; }
  .product-scene { min-height: 520px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 30px; }
  .closing { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header, .hero, .closing, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .brand img { width: 39px; height: 39px; }
  .nav-action { padding: 9px 13px; }
  .hero { min-height: auto; padding: 46px 0 70px; gap: 34px; }
  h1 { font-size: 51px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .product-scene { min-height: 430px; }
  .product-scene::before { inset: 16px 0; }
  .loyalty-card { width: 96%; padding: 21px; }
  .note-one { right: -4px; top: 35px; }
  .note-two { left: -2px; bottom: 32px; }
  .stamps { gap: 7px; }
  .section, .steps-section { padding-top: 78px; padding-bottom: 78px; }
  .section-heading h2 { font-size: 38px; }
  .closing { padding: 78px 0; }
  footer { grid-template-columns: 1fr; }
  footer p, .footer-links { grid-column: 1; grid-row: auto; }
  .footer-links { flex-wrap: wrap; margin-top: 12px; }
}

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