:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --ink: #121917;
  --muted: #61706b;
  --line: #dfe6dc;
  --green: #1c8f5a;
  --green-dark: #0c4f36;
  --lime: #d8ff62;
  --gold: #f0bf45;
  --blue: #1f6fff;
  --panel: #101820;
  --panel-soft: #17231f;
  --shadow: 0 22px 70px rgba(18, 25, 23, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 247, 242, 0.86);
  border-bottom: 1px solid rgba(18, 25, 23, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 40px, var(--container));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 112px;
  height: auto;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #26312e;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--green-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  background: #eef3e9;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 247, 242, 0.96) 0%, rgba(246, 247, 242, 0.8) 46%, rgba(16, 24, 32, 0.38) 100%),
    url("img/me-invite-bg.png") center right / cover no-repeat;
}

.hero-grid {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: 56px;
  padding: 76px 0 64px;
}

.hero-copy {
  max-width: 650px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin: 24px 0 0;
  color: #26312e;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 30px rgba(28, 143, 90, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border-color: var(--line);
}

.button-dark {
  background: var(--panel);
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 25, 23, 0.16);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(18, 25, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #24322e;
  font-size: 0.9rem;
  font-weight: 800;
}

.fine-print {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 0.5;
  padding: 14px;
  border: 8px solid #111614;
  border-radius: 44px;
  background: #101514;
  box-shadow: var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 82px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #2f3835;
  z-index: 2;
}

.app-screen {
  height: 100%;
  padding: 40px 18px 20px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f8fbf0 0%, #e7f1e7 100%);
  overflow: hidden;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.app-top img {
  width: 84px;
  height: auto;
}

.balance-panel {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  color: #fff;
}

.balance-panel span,
.checkin-panel span,
.mini-list {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.balance-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  line-height: 1;
}

.checkin-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
}

.checkin-panel strong {
  display: block;
  font-size: 1rem;
}

.checkin-panel button {
  min-width: 66px;
  height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: var(--lime);
  color: #182016;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: #3c4a46;
}

.mini-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(18, 25, 23, 0.1);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.mini-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.reward-card {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(18, 25, 23, 0.16);
  backdrop-filter: blur(14px);
}

.reward-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.reward-card span {
  display: block;
  margin-top: 8px;
  color: #3c4a46;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.reward-card-one {
  left: 8%;
  top: 20%;
}

.reward-card-two {
  right: 0;
  bottom: 18%;
}

.steps-section,
.rewards-section,
.invite-section,
.why-section,
.download-section,
.faq-section {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.62fr);
  gap: 32px;
  align-items: end;
}

.section-heading p,
.invite-grid p,
.why-copy p,
.download-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.steps article,
.feature,
.invite-flow article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(18, 25, 23, 0.06);
}

.steps article {
  min-height: 238px;
  padding: 24px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: #e7f6de;
  color: var(--green-dark);
  font-weight: 900;
}

.steps p,
.feature p,
.invite-flow strong,
.faq-list p,
.footer p {
  color: var(--muted);
}

.rewards-section {
  background: #fff;
}

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

.feature {
  min-height: 260px;
  padding: 24px;
}

.feature.highlight {
  background: var(--panel);
  color: #fff;
  border-color: transparent;
}

.feature.highlight p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: #ecf7e5;
  color: var(--green-dark);
  font-weight: 900;
}

.highlight .feature-icon {
  background: var(--lime);
  color: var(--ink);
}

.invite-section {
  background: #eef3e9;
}

.invite-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.invite-grid .button {
  margin-top: 18px;
}

.invite-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.invite-flow article {
  min-height: 142px;
  padding: 20px;
}

.invite-flow span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #e7f6de;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.invite-flow strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.why-section {
  background: var(--panel);
  color: #fff;
}

.why-section .eyebrow {
  color: var(--lime);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.why-copy p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.76);
}

.why-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.why-copy li {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.download-section {
  background: #dff1d5;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  border: 1px solid rgba(12, 79, 54, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.download-panel h2 {
  max-width: 720px;
}

.download-panel p {
  max-width: 680px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green-dark);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
}

.footer {
  padding: 54px 0;
  background: #09110f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.45fr) minmax(220px, 0.75fr);
  gap: 34px;
}

.footer h2,
.footer h3 {
  margin: 18px 0 10px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin: 10px 0;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero-grid,
  .section-heading.split,
  .invite-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .phone-stage {
    min-height: 540px;
  }

  .steps,
  .reward-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .nav {
    width: min(100% - 28px, var(--container));
  }

  .brand span {
    display: none;
  }

  .hero-grid {
    padding-top: 44px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3.05rem;
  }

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

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: min(285px, 82vw);
  }

  .reward-card {
    width: 158px;
    padding: 12px;
  }

  .reward-card strong {
    font-size: 1.3rem;
  }

  .reward-card-one {
    left: 0;
    top: 18%;
  }

  .reward-card-two {
    right: 0;
    bottom: 14%;
  }

  .steps-section,
  .rewards-section,
  .invite-section,
  .why-section,
  .download-section,
  .faq-section {
    padding: 68px 0;
  }

  .invite-flow {
    grid-template-columns: 1fr;
  }
}
