:root {
  --bg: #eef7f8;
  --surface: #ffffff;
  --ink: #152a2f;
  --muted: #607982;
  --line: rgba(78, 129, 143, 0.16);
  --primary: #2aa889;
  --primary-dark: #176f67;
  --blue: #497fa3;
  --blue-soft: #e4f1f6;
  --mint: #d8f4ec;
  --mint-soft: #e8f7f2;
  --shadow: 0 18px 44px rgba(34, 83, 94, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(73, 127, 163, 0.16), transparent 34rem),
    linear-gradient(180deg, #f9fdfd 0%, var(--bg) 48%, var(--mint-soft) 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(42, 168, 137, 0.3);
  outline-offset: 3px;
}

.hero {
  max-width: 1280px;
  min-height: 650px;
  margin: 0 auto;
  padding: 78px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 5.8vw, 5.35rem);
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow),
.qr-card p,
.social-grid p,
.share-band p,
.footer p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--primary);
  color: #fff;
}

.primary:hover {
  background: var(--primary-dark);
}

.secondary {
  background: var(--blue-soft);
  color: var(--blue);
}

.light {
  background: #fff;
  color: var(--primary-dark);
}

.copy-status {
  color: var(--primary-dark);
  font-weight: 900;
}

.qr-card,
.social-grid article,
.network-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.qr-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 242, 0.9)),
    var(--surface);
}

.qr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(42, 168, 137, 0.18), transparent 12rem),
    radial-gradient(circle at 90% 0%, rgba(73, 127, 163, 0.18), transparent 14rem);
}

.qr-card > * {
  position: relative;
}

.qr-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-pill,
.scan-note {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.social-pill {
  padding: 7px 11px;
  background: var(--primary);
  color: #fff;
}

.scan-note {
  padding: 7px 0;
  color: var(--muted);
}

.qr-showcase {
  display: block;
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(42, 168, 137, 0.22), rgba(73, 127, 163, 0.18)),
    #f9fdfd;
  border: 1px solid rgba(78, 129, 143, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.qr-showcase:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 168, 137, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 20px 44px rgba(34, 83, 94, 0.14);
}

.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: clamp(18px, 4vw, 30px);
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(78, 129, 143, 0.22);
  box-shadow: 0 18px 38px rgba(34, 83, 94, 0.13);
}

.qr-frame img {
  display: block;
  width: min(100%, 470px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  image-rendering: pixelated;
}

.corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: var(--primary);
  opacity: 0.82;
}

.top-left {
  top: 14px;
  left: 14px;
  border-top: 4px solid;
  border-left: 4px solid;
  border-top-left-radius: 8px;
}

.top-right {
  top: 14px;
  right: 14px;
  border-top: 4px solid;
  border-right: 4px solid;
  border-top-right-radius: 8px;
}

.bottom-left {
  bottom: 14px;
  left: 14px;
  border-bottom: 4px solid;
  border-left: 4px solid;
  border-bottom-left-radius: 8px;
}

.bottom-right {
  right: 14px;
  bottom: 14px;
  border-right: 4px solid;
  border-bottom: 4px solid;
  border-bottom-right-radius: 8px;
}

.qr-fallback {
  min-height: 260px;
  width: 100%;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 24px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--primary-dark);
  text-align: center;
}

.qr-fallback strong,
.qr-fallback span {
  display: block;
}

.qr-card h2 {
  max-width: 100%;
  margin: 12px auto 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  text-align: center;
  overflow: hidden;
}

.qr-card h2 a {
  display: inline-block;
  max-width: 100%;
  color: var(--primary);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-shadow: 0 12px 26px rgba(42, 168, 137, 0.22);
  background: linear-gradient(90deg, #176f67 0%, #2aa889 42%, #5c9f9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qr-card h2 a:hover {
  filter: brightness(0.95);
}

.qr-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 320px);
  min-height: 44px;
  margin: 10px auto 0;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.qr-link:hover {
  color: var(--primary-dark);
}

.network-section,
.social-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading h2,
.share-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.network-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.network-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 168, 137, 0.32);
}

.network-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.network-card h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
}

.network-card p {
  margin: 0;
  color: var(--muted);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.social-grid article {
  min-height: 210px;
  padding: 24px;
}

.social-grid span {
  color: var(--blue);
  font-weight: 900;
}

.social-grid h3 {
  margin: 14px 0 8px;
}

.share-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 70px max(20px, calc((100vw - 1180px) / 2 + 20px));
  background: var(--primary-dark);
  color: #fff;
}

.share-band > div {
  max-width: 760px;
}

.share-band .eyebrow,
.share-band p {
  color: #d9f2ec;
}

.footer {
  padding: 28px 20px;
  text-align: center;
  background: #e7f4f6;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .hero,
  .network-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .qr-card {
    max-width: 680px;
    justify-self: stretch;
  }

  .share-band {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .qr-card {
    padding: 16px;
  }

  .qr-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .qr-showcase {
    padding: 8px;
  }

  .qr-frame {
    min-height: 260px;
    padding: 18px;
  }

  .qr-card h2 {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .qr-card h2 a {
    letter-spacing: 0;
  }

  .corner {
    width: 34px;
    height: 34px;
  }
}
