:root {
  --charcoal: #263632;
  --ink: #111918;
  --muted: #5f6967;
  --teal: #139b85;
  --teal-soft: #dff4ef;
  --line: #dfe6e4;
  --paper: #ffffff;
  --mist: #f4f6f6;
  --blue: #2357c6;
  --green: #2a9d6f;
  --red: #c73b3b;
  --shadow: 0 18px 48px rgba(17, 25, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1200px, calc(100% - 64px));
  min-height: 96px;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 7vw, 330px);
  padding: 18px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 25, 24, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-nav a,
.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
}

.top-nav a {
  color: var(--charcoal);
}

.top-nav a.active,
.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--paper);
  background: var(--charcoal);
}

.contact-link {
  color: var(--ink);
  font-weight: 700;
  border: 1px solid var(--teal);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--paper);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  background:
    linear-gradient(rgba(244, 246, 246, 0.68), rgba(244, 246, 246, 0.86)),
    radial-gradient(circle at 22% 26%, rgba(19, 155, 133, 0.08), transparent 30%),
    var(--mist);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.network {
  position: absolute;
  opacity: 0.72;
  pointer-events: none;
}

.network::before,
.network::after {
  position: absolute;
  inset: 0;
  content: "";
}

.network::before {
  background:
    radial-gradient(circle at 8% 72%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 19% 44%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 34% 58%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 48% 30%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 63% 64%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 79% 38%, #0a0f0e 0 2px, transparent 3px),
    radial-gradient(circle at 92% 78%, #0a0f0e 0 2px, transparent 3px);
}

.network::after {
  opacity: 0.26;
  background:
    linear-gradient(28deg, transparent 7%, #111918 7.3% 7.6%, transparent 8% 26%, #111918 26.3% 26.6%, transparent 27%),
    linear-gradient(145deg, transparent 14%, #111918 14.3% 14.6%, transparent 15% 54%, #111918 54.3% 54.6%, transparent 55%),
    linear-gradient(78deg, transparent 20%, #111918 20.3% 20.6%, transparent 21% 73%, #111918 73.3% 73.6%, transparent 74%);
}

.network-a {
  top: 92px;
  left: -36px;
  width: min(520px, 45vw);
  height: 390px;
}

.network-b {
  right: -26px;
  bottom: 36px;
  width: min(620px, 48vw);
  height: 470px;
  transform: rotate(6deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  min-height: 84svh;
  margin: 0 auto;
  padding: 154px 0 80px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.wordmark {
  margin: 0;
  color: #101716;
  font-size: clamp(4.6rem, 10vw, 8.9rem);
  font-weight: 280;
  line-height: 0.9;
}

.brand-line {
  margin: 10px 0 38px;
  color: #1e2927;
  font-size: clamp(0.92rem, 1.6vw, 1.22rem);
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin: 0 auto;
  color: var(--charcoal);
  font-size: clamp(2.4rem, 4.9vw, 5.1rem);
  font-weight: 760;
  line-height: 0.98;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 760;
  line-height: 1;
}

h3 {
  margin: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

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

.hero-actions span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 14px;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(19, 155, 133, 0.34);
  border-radius: 999px;
}

.phone-stage {
  position: absolute;
  right: 0;
  bottom: -380px;
  left: 0;
  z-index: -1;
  height: 300px;
  pointer-events: none;
}

.phone {
  position: absolute;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 8px solid rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  box-shadow: 0 16px 44px rgba(17, 25, 24, 0.15);
}

.phone-main {
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(290px, 29vw);
  min-height: 470px;
  padding: 18px;
  transform: translateX(-50%);
}

.phone-wallet {
  left: 18%;
  bottom: 18px;
  z-index: 2;
  width: min(215px, 22vw);
  min-height: 370px;
  padding: 16px;
  transform: rotate(-6deg);
}

.phone-food {
  right: 18%;
  bottom: 16px;
  z-index: 2;
  width: min(215px, 22vw);
  min-height: 400px;
  padding: 16px;
  transform: rotate(5deg);
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
}

.app-logo {
  margin-top: 24px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 850;
  text-transform: lowercase;
}

.app-logo span {
  color: var(--teal);
}

.phone h2 {
  margin: 16px 0 18px;
  font-size: 1.42rem;
  line-height: 1.08;
}

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

.quick-grid div,
.mini-list p,
.food-card,
.transaction {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.quick-grid div {
  min-height: 72px;
  padding: 12px;
}

.quick-grid strong,
.quick-grid small,
.mini-list strong,
.mini-list span,
.food-card strong,
.food-card small {
  display: block;
}

.quick-grid small,
.mini-list span,
.food-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-list p {
  margin: 0;
  padding: 12px;
}

.wallet-balance {
  padding: 17px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--charcoal), var(--teal));
  border-radius: 8px;
}

.wallet-balance small,
.wallet-balance strong {
  display: block;
}

.wallet-balance strong {
  margin-top: 8px;
  font-size: 1.25rem;
}

.phone button {
  width: 100%;
  margin: 14px 0;
  padding: 12px;
  color: var(--paper);
  font: inherit;
  font-weight: 760;
  background: var(--charcoal);
  border: 0;
  border-radius: 8px;
}

.transaction {
  margin-top: 10px;
  padding: 12px;
  font-weight: 800;
}

.transaction.plus {
  color: var(--green);
}

.transaction.minus {
  color: var(--red);
}

.food-banner {
  margin-bottom: 14px;
  padding: 28px 16px;
  color: var(--paper);
  font-weight: 850;
  background: linear-gradient(135deg, var(--charcoal), var(--blue));
  border-radius: 8px;
}

.food-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
}

.food-card > span {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #d69b3a, #ee6a4d);
  border-radius: 8px;
}

.food-card p {
  margin: 0;
}

.intro-band,
.feature-section,
.preview-section,
.closing-band {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: end;
  padding: clamp(54px, 8vw, 90px) 0;
  border-bottom: 1px solid var(--line);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.feature-section,
.preview-section {
  padding: clamp(60px, 9vw, 110px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 0.38fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading::after {
  display: block;
  height: 1px;
  content: "";
  background: var(--line);
}

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

.feature-card {
  min-height: 280px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(17, 25, 24, 0.06);
}

.feature-card:nth-child(2) {
  background: #fbfdfd;
}

.feature-card:nth-child(3) {
  background: #f7fbfa;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--paper);
  font-weight: 850;
  background: var(--charcoal);
  border-radius: 8px;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--teal);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--blue);
}

.feature-card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.preview-section {
  border-top: 1px solid var(--line);
}

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

.screen-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(17, 25, 24, 0.08);
}

.screen-card > h3 {
  padding: 14px 16px 16px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 780;
  border-top: 1px solid var(--line);
}

.screen-mock {
  display: grid;
  align-content: center;
  min-height: clamp(360px, 46vw, 540px);
  padding: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(19, 155, 133, 0.16), transparent 30%),
    var(--mist);
}

.welcome-screen {
  justify-items: center;
  text-align: center;
}

.mock-logo {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--paper);
  font-size: 2rem;
  font-weight: 900;
  background: var(--charcoal);
  border-radius: 8px;
}

.welcome-screen h3 {
  margin-top: 22px;
  font-size: 2rem;
  font-weight: 340;
}

.login-screen {
  gap: 10px;
}

.login-screen label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.login-screen span,
.login-screen b,
.wallet-screen p,
.wallet-screen span,
.food-screen span {
  display: block;
  padding: 13px;
  border-radius: 8px;
}

.login-screen span,
.wallet-screen span,
.food-screen span {
  background: var(--paper);
  border: 1px solid var(--line);
}

.login-screen b,
.wallet-screen p {
  margin-top: 14px;
  color: var(--paper);
  text-align: center;
  background: var(--charcoal);
}

.wallet-screen,
.food-screen {
  gap: 12px;
}

.wallet-screen strong {
  color: var(--teal);
  font-size: 2rem;
}

.wallet-screen span:first-of-type {
  color: var(--green);
}

.wallet-screen span:last-of-type {
  color: var(--red);
}

.food-screen p {
  margin: 0 0 12px;
  color: var(--muted);
}

.closing-band {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(42px, 8vw, 84px);
  padding: clamp(38px, 6vw, 72px);
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 8px;
}

.closing-band::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background:
    radial-gradient(circle at 12% 72%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 42% 28%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 78% 62%, #fff 0 2px, transparent 3px),
    linear-gradient(34deg, transparent 10%, #fff 10.2% 10.4%, transparent 10.7% 60%, #fff 60.2% 60.4%, transparent 60.7%);
}

.closing-band > * {
  position: relative;
  max-width: 760px;
}

.closing-band h2 {
  color: var(--paper);
}

.closing-band p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    width: min(100% - 32px, 760px);
    min-height: 76px;
    justify-content: space-between;
    gap: 18px;
  }

  .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 130px;
  }

  .phone-stage {
    height: 240px;
    bottom: -330px;
  }

  .phone-main {
    width: min(280px, 42vw);
  }

  .phone-wallet {
    left: 8%;
    width: min(200px, 31vw);
  }

  .phone-food {
    right: 8%;
    width: min(200px, 31vw);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    min-height: 64px;
    padding: 10px 12px;
  }

  .top-nav {
    gap: 4px;
    font-size: 0.76rem;
  }

  .top-nav a {
    min-height: 38px;
    padding: 9px 11px;
  }

  .contact-link {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    width: min(100% - 32px, 1160px);
    min-height: 86svh;
    padding: 104px 0 118px;
  }

  .network-a {
    top: 70px;
    width: 78vw;
    height: 280px;
  }

  .network-b {
    right: -160px;
    bottom: 30px;
    width: 98vw;
    height: 320px;
  }

  .wordmark {
    font-size: clamp(3.65rem, 18vw, 5.4rem);
  }

  .brand-line {
    margin-bottom: 28px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions span {
    min-height: 34px;
    padding: 7px 12px;
    justify-content: center;
    font-size: 0.86rem;
  }

  .phone-stage {
    bottom: -4px;
    height: 190px;
    opacity: 0.68;
    mask-image: linear-gradient(to top, #000 36%, transparent 100%);
  }

  .phone {
    border-width: 6px;
    border-radius: 24px;
  }

  .phone-main {
    bottom: -280px;
    width: min(170px, 46vw);
    min-height: 410px;
    padding: 13px;
  }

  .phone-wallet {
    left: -6%;
    bottom: -166px;
    width: min(132px, 36vw);
    min-height: 300px;
    padding: 11px;
  }

  .phone-food {
    right: -6%;
    bottom: -198px;
    width: min(132px, 36vw);
    min-height: 330px;
    padding: 11px;
  }

  .phone h2 {
    font-size: 1.06rem;
  }

  .quick-grid {
    gap: 6px;
  }

  .quick-grid div {
    min-height: 58px;
    padding: 8px;
  }

  .food-card {
    grid-template-columns: 30px 1fr;
  }

  .food-card b {
    grid-column: 2;
  }

  .food-card > span {
    width: 30px;
    height: 30px;
  }

  .intro-band,
  .feature-section,
  .preview-section,
  .closing-band {
    width: min(100% - 32px, 1160px);
  }

  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .screen-mock {
    min-height: min(650px, 132vw);
  }

  .closing-band {
    padding: 30px 22px;
  }
}
