:root {
  color-scheme: light;
  --paper: #fff9f2;
  --ink: #24140c;
  --muted: #6b5548;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --peach: #fed7aa;
  --peach-soft: #ffedd5;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --teal-soft: #e6f4f1;
  --mint: #ccfbf1;
  --line: #f1dfcd;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: inherit; }

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 2;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* The stall awning from the app icon, as the page's top edge. */
.awning {
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='36'%3E%3Cpath d='M0 0h44v16L22 36 0 16z' fill='%23ea580c'/%3E%3Cpath d='M44 0h44v16L66 36 44 16z' fill='%23fed7aa'/%3E%3C/svg%3E") repeat-x center top;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}
.brand img { border-radius: 10px; }

.site-header nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; font-size: 0.975rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--orange-dark); text-decoration: underline; }

/* Web app logins: customer orange, partner teal, matching the two panels. */
.logins { display: flex; flex-wrap: wrap; gap: 10px; }
.login {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.15s ease;
}
.login-customer { background: var(--orange); }
.login-customer:hover { background: var(--orange-dark); }
.login-partner { background: var(--teal); }
.login-partner:hover { background: var(--teal-dark); }

h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

.lead { font-size: 1.2rem; margin: 18px 0 0; max-width: 46em; }
.note { color: var(--muted); font-size: 0.95rem; margin: 14px 0 0; }

/* ---------- Intro ---------- */
.intro { padding-block: 24px 36px; text-align: center; }
.intro h1 { max-width: 16em; margin-inline: auto; }
.intro .lead { margin-inline: auto; color: var(--muted); }
.intro .lead strong { color: var(--ink); }

/* ---------- The two apps, side by side ---------- */
.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding-bottom: 72px;
}

.app {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 32px;
  scroll-margin-top: 16px;
}
.app-customer { background: var(--peach-soft); border: 2px solid var(--peach); }
.app-partner { background: var(--teal-dark); color: #fff; border: 2px solid var(--teal-dark); }

.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon { border-radius: 18px; box-shadow: 0 8px 18px -10px rgba(36, 20, 12, 0.6); flex: none; }
.app-for {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.app-customer .app-for { color: var(--orange-dark); }
.app-partner .app-for { color: var(--mint); }

.app-summary { font-size: 1.1rem; margin: 18px 0 0; }
.app-partner .app-summary { color: #e2f3f0; }

.phone {
  width: min(250px, 70%);
  margin: 28px auto 4px;
  border-radius: 28px;
  border: 6px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(36, 20, 12, 0.55);
}
.app-partner .phone { border-color: #06302d; background: #06302d; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-top: 10px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 8px;
  height: 14px;
  border: solid var(--orange-dark);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.app-partner .ticks li::before { border-color: var(--mint); }

/* Keep both panels' download buttons level at the bottom. */
.app-foot { margin-top: auto; padding-top: 28px; }
.app-partner .note { color: #cfe7e3; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 150px;
  min-height: 60px;
  padding: 8px 20px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease;
}
.store small { font-size: 0.75rem; opacity: 0.85; }
.store strong { font-size: 1.2rem; font-weight: 700; }

.app-customer .store { background: var(--ink); color: #fff; }
.app-customer .store:hover { background: var(--orange-dark); }
.app-partner .store { background: #fff; color: var(--teal-dark); }
.app-partner .store:hover { background: var(--mint); }

/* "Log in on the web": full-width, above the store badges. */
.web-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.app-customer .web-open { background: var(--orange); color: #fff; }
.app-customer .web-open:hover { background: var(--orange-dark); }
.app-partner .web-open { background: var(--mint); color: var(--teal-dark); }
.app-partner .web-open:hover { background: #fff; }

/* ---------- How it works ---------- */
.how { padding-block: 0 72px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.how-col { border-radius: 22px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); }
.how-customer h3 { color: var(--orange-dark); }
.how-partner h3 { color: var(--teal); }

.steps { list-style: none; counter-reset: step; margin: 18px 0 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-top: 16px;
  color: var(--muted);
  min-height: 36px;
}
.steps li strong { color: var(--ink); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
}
.how-customer .steps li::before { background: var(--orange-dark); }
.how-partner .steps li::before { background: var(--teal); }

/* ---------- Categories ---------- */
.categories { background: var(--peach-soft); padding-block: 48px; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}
.chips li {
  background: #fff;
  border: 1px solid var(--peach);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.975rem;
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px; font-size: 0.95rem; color: var(--muted); }
.site-footer p { margin: 0; }
.footer-brand { color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.site-footer nav a:hover { color: var(--orange-dark); }

@media (max-width: 900px) {
  .apps, .how-grid { grid-template-columns: 1fr; }
  .app { padding: 26px 22px; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-header nav { gap: 4px 18px; font-size: 0.925rem; }
  .intro { text-align: left; padding-top: 8px; }
  .lead { font-size: 1.08rem; }
  .app-icon { width: 60px; height: 60px; }
  .store { flex: 1 1 130px; padding: 8px 14px; }
  .how-col { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store, .login, .web-open { transition: none; }
}
