:root {
  color-scheme: light;
  --ink: #1d2722;
  --muted: #5d6d65;
  --line: #d7dfd4;
  --leaf: #2f6f4e;
  --leaf-dark: #214936;
  --sun: #f4c84a;
  --sky: #dcebef;
  --paper: #fbfcf8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 18%, rgba(244, 200, 74, 0.32), transparent 28rem),
    linear-gradient(145deg, #f8fbf3 0%, #eef6f0 44%, #dcebef 100%);
}

a {
  color: inherit;
}

.qr-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.qr-hero {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: grid;
  align-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.qr-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  bottom: clamp(2rem, 10vw, 7rem);
  width: clamp(11rem, 34vw, 25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(47, 111, 78, 0.92), rgba(33, 73, 54, 0.98)),
    repeating-linear-gradient(
      60deg,
      rgba(255, 255, 255, 0.14) 0 1.35rem,
      transparent 1.35rem 2.7rem
    );
  box-shadow: 0 2rem 5rem rgba(33, 73, 54, 0.2);
  z-index: 0;
}

.qr-hero::before {
  content: "";
  position: absolute;
  right: clamp(8rem, 28vw, 28rem);
  bottom: clamp(6rem, 18vw, 15rem);
  width: clamp(4rem, 12vw, 9rem);
  aspect-ratio: 1;
  border-radius: 1.2rem;
  background:
    linear-gradient(30deg, transparent 22%, rgba(244, 200, 74, 0.94) 23% 74%, transparent 75%),
    linear-gradient(150deg, transparent 22%, rgba(244, 200, 74, 0.94) 23% 74%, transparent 75%);
  opacity: 0.95;
  transform: rotate(15deg);
  z-index: 0;
}

.brand-mark,
.hero-copy,
.action-row {
  position: relative;
  z-index: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-dot {
  width: 1.05rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 0.45rem rgba(244, 200, 74, 0.22);
}

.brand-name {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.1rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.7;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.primary-action,
.secondary-action {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  padding: 0.9rem 1.1rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.primary-action {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 0.85rem 1.8rem rgba(47, 111, 78, 0.2);
}

.secondary-action {
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 3px solid rgba(244, 200, 74, 0.8);
  outline-offset: 3px;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(93, 109, 101, 0.18);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.info-item {
  min-height: 6.5rem;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  display: grid;
  align-content: center;
  gap: 0.45rem;
  border-right: 1px solid rgba(93, 109, 101, 0.16);
}

.info-item:last-child {
  border-right: 0;
}

.item-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-item strong {
  font-size: clamp(1rem, 2vw, 1.15rem);
}

@media (max-width: 740px) {
  .qr-page {
    grid-template-rows: auto auto;
  }

  .qr-hero {
    min-height: 74vh;
    padding: 1.25rem;
    gap: 2rem;
  }

  .qr-hero::after {
    right: -4rem;
    bottom: 3rem;
    opacity: 0.2;
  }

  .qr-hero::before {
    right: 2rem;
    bottom: 11rem;
    opacity: 0.35;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.7rem);
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .info-item {
    min-height: 5.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(93, 109, 101, 0.16);
  }

  .info-item:last-child {
    border-bottom: 0;
  }
}

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