:root {
  --green: #063d24;
  --green-light: #0b7543;
  --cream: #fbf7e9;
  --orange: #f15a24;
  --yellow: #f7c74a;
  --ink: #10291c;
  --muted: #627268;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 6% 6%, rgba(247, 199, 74, .2), transparent 28%),
    linear-gradient(135deg, #fffdf5 0%, #f7f5e9 55%, #eaf3e9 100%);
  color: var(--ink);
  font-family: Figtree, Arial, sans-serif;
}

.page-glow { position: fixed; z-index: 0; border-radius: 999px; filter: blur(4px); pointer-events: none; }
.page-glow-one { width: 420px; height: 420px; right: -190px; top: 12%; background: rgba(11, 117, 67, .08); }
.page-glow-two { width: 300px; height: 300px; left: -170px; bottom: -80px; background: rgba(241, 90, 36, .09); }

.app-header,
.download-shell,
.app-footer { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.app-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.app-brand img { display: block; width: 142px; height: auto; }
.store-link { color: var(--green); font-size: 14px; font-weight: 800; text-decoration: none; }
.store-link span { display: inline-grid; width: 28px; height: 28px; margin-left: 7px; place-items: center; border: 1px solid rgba(6, 61, 36, .22); border-radius: 50%; }

.download-shell { min-height: calc(100vh - 190px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); align-items: center; gap: clamp(54px, 8vw, 110px); padding: 48px 0 72px; }
.download-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--green-light); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }
h1 { margin: 0; font-size: clamp(44px, 6.2vw, 79px); font-weight: 900; letter-spacing: -.055em; line-height: .96; }
h1 em { color: var(--green-light); font-style: normal; }
.lead { max-width: 580px; margin: 27px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }

.device-notice { max-width: 580px; display: flex; align-items: center; gap: 13px; margin: 30px 0 18px; padding: 13px 16px; border: 1px solid rgba(6, 61, 36, .13); border-radius: 15px; background: rgba(255, 255, 255, .66); backdrop-filter: blur(12px); }
.device-icon { display: grid; flex: 0 0 auto; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--green); color: #fff; font-weight: 900; }
.device-notice > span:last-child { display: grid; gap: 2px; }
.device-notice strong { font-size: 13px; }
.device-notice small { color: var(--muted); font-size: 11px; line-height: 1.4; }

.download-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.download-button { min-width: 205px; min-height: 65px; display: flex; align-items: center; gap: 12px; padding: 10px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: #101410; color: #fff; box-shadow: 0 12px 28px rgba(16, 41, 28, .16); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
a.download-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(16, 41, 28, .22); }
.download-button svg { width: 34px; height: 38px; flex: 0 0 auto; }
.download-button span { display: grid; }
.download-button small { font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.download-button strong { margin-top: 1px; font-size: 20px; line-height: 1; }
.download-button.disabled { opacity: .55; box-shadow: none; cursor: not-allowed; }

.feature-list { display: flex; flex-wrap: wrap; gap: 16px 24px; margin: 27px 0 0; padding: 0; list-style: none; color: #435b4c; font-size: 13px; font-weight: 700; }
.feature-list span { display: inline-grid; width: 20px; height: 20px; margin-right: 5px; place-items: center; border-radius: 50%; background: #dcefe2; color: var(--green-light); font-size: 11px; }

.qr-card { position: relative; padding: 22px; overflow: hidden; border: 1px solid rgba(6, 61, 36, .12); border-radius: 28px; background: rgba(255, 255, 255, .83); box-shadow: 0 32px 70px rgba(26, 61, 41, .16); backdrop-filter: blur(18px); }
.qr-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; top: -75px; border-radius: 50%; background: var(--yellow); opacity: .4; }
.qr-card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.qr-card-top b { color: #9bad9f; }
.qr-frame { margin: 20px 0; padding: 18px; border-radius: 20px; background: var(--green); }
.qr-frame img { display: block; width: 100%; height: auto; border: 10px solid #fff; border-radius: 11px; background: #fff; image-rendering: pixelated; }
.qr-card h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.qr-card p { margin: 9px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.qr-url { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 12px; background: #eef4ee; color: var(--green); font-size: 12px; font-weight: 800; }
.qr-url button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font: inherit; font-size: 10px; cursor: pointer; }

.app-footer { min-height: 68px; display: flex; align-items: center; gap: 24px; border-top: 1px solid rgba(6, 61, 36, .12); color: var(--muted); font-size: 11px; }
.app-footer a { margin-left: auto; color: var(--green); font-weight: 800; text-decoration: none; }

@media (max-width: 820px) {
  .app-header { min-height: 88px; }
  .app-brand img { width: 120px; }
  .download-shell { grid-template-columns: 1fr; gap: 42px; padding-top: 32px; }
  .download-copy { max-width: none; }
  .qr-card { width: min(430px, 100%); margin-inline: auto; }
}

@media (max-width: 520px) {
  .app-header, .download-shell, .app-footer { width: min(100% - 28px, 1180px); }
  .app-header { min-height: 76px; }
  .app-brand img { width: 108px; }
  .store-link { font-size: 0; }
  .store-link span { margin-left: 0; font-size: 14px; }
  .download-shell { padding-top: 16px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  h1 { font-size: clamp(32px, 9.2vw, 43px); line-height: 1.04; }
  .lead { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .device-notice { margin: 18px 0 14px; padding: 10px 12px; }
  .download-buttons { display: grid; gap: 10px; }
  .download-button { width: 100%; min-height: 60px; }
  .feature-list { display: grid; gap: 11px; }
  .app-footer { flex-wrap: wrap; gap: 8px 18px; padding: 18px 0; }
  .app-footer a { width: 100%; margin-left: 0; }
}

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