:root {
  color-scheme: light dark;
  --app-background: #f3f3f3;
  --app-surface: #ffffff;
  --app-panel: #eaeaea;
  --app-text: #1a1a1a;
  --app-muted: #6f6f6f;
  --app-accent: #48e0a5;
  --app-danger: #e62e2f;
  --app-on-accent: #1a1a1a;
  --app-header: rgba(255, 255, 255, 0.9);

  /* Compatibility aliases keep the existing site structure while using app tokens. */
  --ink: var(--app-text);
  --ink-soft: var(--app-text);
  --muted: var(--app-muted);
  --paper: var(--app-background);
  --surface: var(--app-surface);
  --surface-soft: var(--app-panel);
  --forest: var(--app-text);
  --forest-2: var(--app-accent);
  --forest-3: var(--app-panel);
  --mint: var(--app-panel);
  --ivory: var(--app-surface);
  --brass: var(--app-accent);
  --clay: var(--app-muted);
  --line: rgba(26, 26, 26, 0.1);
  --line-dark: rgba(245, 245, 245, 0.14);
  --shadow-soft: 0 24px 64px rgba(26, 26, 26, 0.1);
  --shadow-card: 0 12px 30px rgba(26, 26, 26, 0.07);
  --shadow-green: 0 24px 64px rgba(26, 26, 26, 0.18);
  --container: 1060px;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --app-background: #151515;
    --app-surface: #232323;
    --app-panel: #2e2e2e;
    --app-text: #f5f5f5;
    --app-muted: #9a9a9a;
    --app-on-accent: #1a1a1a;
    --app-header: rgba(21, 21, 21, 0.9);
    --line: rgba(245, 245, 245, 0.1);
    --line-dark: rgba(245, 245, 245, 0.14);
    --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.2);
    --shadow-green: 0 24px 64px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: clip;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.narrow {
  width: min(100% - 44px, 860px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 55, 39, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.topbar {
  width: min(100% - 44px, var(--container));
  min-height: 58px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.topbar-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(244, 239, 228, 0.76);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(244, 239, 228, 0.12);
  color: #fffaf0;
}

.topbar-action {
  color: var(--ink);
  background: var(--brass);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.topbar-action:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
}

.hero,
.hero.container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 560px;
  padding: 72px max(22px, calc((100vw - var(--container)) / 2)) 64px;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  align-items: center;
  gap: 46px;
  overflow: hidden;
  color: #fff9ee;
  background:
    linear-gradient(90deg, rgba(4, 55, 39, 0.95) 0%, rgba(4, 55, 39, 0.82) 42%, rgba(4, 55, 39, 0.28) 100%),
    url("/assets/hero-coffee-scene.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(244, 239, 228, 0.18);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff9ee;
  text-wrap: balance;
}

.hero-brand-lockup,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
}

.hero-kicker {
  gap: 9px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 249, 238, 0.24);
  border-radius: 999px;
  color: #fff9ee;
  background: rgba(255, 249, 238, 0.1);
  font-size: 12px;
  font-weight: 950;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}

.hero-brand-lockup {
  gap: 14px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.hero-brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: none;
}

.hero-lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 249, 238, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 249, 238, 0.76);
  font-size: 14px;
  font-weight: 750;
}

.hero-mobile-photo {
  display: none;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: #fff9ee;
  background: var(--forest-2);
  box-shadow: 0 16px 34px rgba(0, 98, 65, 0.22);
}

.hero .button-primary,
.page-hero .button-primary {
  color: var(--ink);
  background: var(--brass);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.hero .button-secondary,
.page-hero .button-secondary {
  color: var(--forest);
  background: #ffffff;
  border-color: rgba(4, 55, 39, 0.16);
  box-shadow: 0 12px 30px rgba(15, 18, 14, 0.08);
}

.hero .button-secondary:hover,
.page-hero .button-secondary:hover {
  background: var(--mint);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.hero-proof {
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 238, 0.16);
  border-radius: 14px;
  background: rgba(255, 249, 238, 0.16);
  box-shadow: none;
}

.proof-item {
  min-width: 0;
  padding: 14px;
  background: rgba(4, 55, 39, 0.38);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  display: block;
  color: #fff9ee;
  font-size: 22px;
  line-height: 1.05;
}

.proof-item span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 249, 238, 0.72);
  font-size: 13px;
}

.hero-visual {
  display: none;
}

.hero-visual::before {
  content: none;
}

.hero-photo-frame {
  display: none;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 55, 39, 0.02), rgba(4, 55, 39, 0.24)),
    linear-gradient(180deg, transparent 48%, rgba(4, 55, 39, 0.28));
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.coffee-scene {
  position: absolute;
  inset: auto 0 54px auto;
  width: 310px;
  height: 280px;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.coffee-bag {
  position: absolute;
  right: 8px;
  bottom: 70px;
  width: 150px;
  height: 190px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 14px 14px 8px 8px;
  color: #fff9ee;
  background:
    linear-gradient(180deg, rgba(141, 101, 61, 0.12), transparent 42%),
    #b98b58;
  box-shadow: 0 26px 56px rgba(77, 48, 26, 0.22);
}

.coffee-bag::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -18px;
  height: 34px;
  border-radius: 9px 9px 4px 4px;
  background: #d0a774;
  transform: perspective(120px) rotateX(34deg);
}

.coffee-bag img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.coffee-bag span {
  color: #fff9ee;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.coffee-cup {
  position: absolute;
  right: 134px;
  bottom: 0;
  width: 120px;
  height: 86px;
  border-radius: 0 0 44px 44px;
  background:
    radial-gradient(ellipse at 50% 10%, #f5ddbb 0 26%, #9a5d32 27% 42%, transparent 43%),
    linear-gradient(180deg, #efe4d1, #d2b894);
  box-shadow: 0 22px 42px rgba(80, 49, 25, 0.2);
}

.coffee-cup::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 22px;
  width: 44px;
  height: 36px;
  border: 10px solid #d2b894;
  border-left: 0;
  border-radius: 0 24px 24px 0;
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: 322px;
  min-height: 632px;
  padding: 14px;
  border: 10px solid #10130f;
  border-radius: 38px;
  background: #f7f4ee;
  box-shadow: var(--shadow-green);
  transform: rotate(2.5deg);
  display: none;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1d201a;
  font-size: 12px;
  font-weight: 900;
}

.phone-screen {
  padding: 2px 2px 0;
}

.phone-screen h2 {
  margin: 20px 0 12px;
  color: #171a14;
  font-size: 25px;
  line-height: 1.12;
}

.search-line {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #746e64;
  background: white;
  border: 1px solid rgba(17, 19, 15, 0.1);
  border-radius: 10px;
  font-weight: 800;
}

.shop-list {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.shop-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(17, 19, 15, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(17, 19, 15, 0.06);
}

.shop-photo {
  width: 58px;
  height: 58px;
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(4, 55, 39, 0.18), rgba(201, 154, 86, 0.45)),
    repeating-linear-gradient(45deg, #5d3c24 0 8px, #f6efe2 8px 15px);
}

.shop-row strong,
.shop-row span {
  display: block;
}

.shop-row span {
  color: #77716b;
  font-size: 12px;
}

.distance {
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 950;
}

.order-panel {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: auto;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  padding: 11px;
  color: #fff9ee;
  background: rgba(5, 66, 47, 0.88);
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-green);
  backdrop-filter: blur(16px);
}

.order-panel h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.status-line {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.status-line:first-of-type {
  border-top: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--brass);
}

.status-line span:last-child {
  color: #c7eadb;
  font-size: 11px;
  font-weight: 900;
}

.section {
  padding: 68px 0;
  background: var(--paper);
}

.section-soft {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.section-heading h2,
.legal-content h1,
.download-grid h2,
.legal-grid h2 {
  margin: 0;
}

.section-heading h2,
.download-grid h2,
.legal-grid h2 {
  max-width: 760px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 920;
}

.section-heading p,
.download-grid p,
.legal-grid p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-grid,
.feature-grid,
.story-grid,
.download-grid,
.business-grid,
.metric-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.business-grid,
.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-grid,
.legal-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.78fr);
  align-items: start;
}

.process-step,
.feature-card,
.story-card,
.metric-tile,
.download-card,
.faq-item,
.legal-note,
.info-panel,
.contact-panel,
.version-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.process-step,
.feature-card,
.story-card,
.metric-tile,
.download-card,
.info-panel,
.contact-panel,
.legal-note {
  padding: 20px;
}

.story-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(4, 55, 39, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 238, 0.98));
  box-shadow: var(--shadow-card);
}

.story-card-strong {
  color: #fff9ee;
  background:
    linear-gradient(140deg, rgba(4, 55, 39, 0.98), rgba(0, 98, 65, 0.9)),
    linear-gradient(180deg, var(--forest), var(--forest-2));
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

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

.story-card-strong p {
  color: rgba(255, 249, 238, 0.76);
}

.process-step {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(232, 244, 237, 0.78), rgba(255, 255, 255, 0.95));
}

.process-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--forest);
  border-radius: 50%;
  background: var(--ivory);
  font-weight: 950;
}

.process-step h3,
.feature-card h3,
.download-card h2,
.info-panel h2,
.contact-panel h2,
.legal-note h2 {
  margin: 18px 0 9px;
  font-size: 23px;
  line-height: 1.15;
}

.process-step p,
.feature-card p,
.download-card p,
.info-panel p,
.contact-panel p,
.legal-note p {
  margin: 0;
  color: var(--muted);
}

.role-tabs {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.role-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.role-tab-list button {
  min-height: 60px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-weight: 900;
}

.role-tab-list button:last-child {
  border-right: 0;
}

.role-tab-list button.is-active {
  color: #fff9ee;
  background: var(--forest);
}

.role-panel {
  display: none;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
}

.role-panel.is-active {
  display: grid;
}

.role-panel h3 {
  margin: 0 0 10px;
  font-size: 29px;
  line-height: 1.12;
}

.role-panel p {
  margin: 0;
  color: var(--muted);
}

.mini-dashboard {
  display: grid;
  gap: 10px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(4, 55, 39, 0.1);
  border-radius: 12px;
  background: var(--surface-soft);
}

.mini-row strong,
.mini-row span {
  min-width: 0;
}

.mini-row span {
  color: var(--forest-2);
  font-weight: 950;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.store-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #fff9ee;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 19, 15, 0.14);
  font-weight: 950;
  text-decoration: none;
}

.store-button span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.76;
}

.store-button strong {
  display: block;
  line-height: 1.08;
}

.download-card {
  box-shadow: var(--shadow-soft);
}

.download-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.78fr);
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: stretch;
}

.download-copy {
  min-width: 0;
  align-self: center;
}

.download-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--forest);
  font-size: 34px;
  line-height: 1.06;
  font-weight: 940;
}

.download-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.download-photo-card {
  position: relative;
  grid-row: span 2;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(4, 55, 39, 0.12);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.download-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.download-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 55, 39, 0.74));
  pointer-events: none;
}

.download-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px;
  color: #fff9ee;
  border: 1px solid rgba(255, 249, 238, 0.18);
  border-radius: 16px;
  background: rgba(4, 55, 39, 0.78);
  backdrop-filter: blur(14px);
}

.download-badge strong,
.download-badge span {
  display: block;
}

.download-badge strong {
  font-size: 18px;
}

.download-badge span {
  margin-top: 4px;
  color: rgba(255, 249, 238, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.download-meta div,
.metric-tile {
  min-width: 0;
}

.download-meta div {
  padding: 14px;
  border-radius: 12px;
  background: var(--mint);
}

.download-meta span,
.metric-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.download-meta strong,
.metric-tile strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.checksum {
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.version-row {
  padding: 16px;
}

.version-row + .version-row {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  font-weight: 950;
}

.faq-item button span {
  color: var(--forest-2);
  font-size: 24px;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open p {
  display: block;
}

.page-hero {
  padding: 56px 0 44px;
  color: #fff9ee;
  background: var(--forest);
  border-bottom: 1px solid var(--line-dark);
}

.download-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 154, 86, 0.18), transparent 32%),
    linear-gradient(110deg, #fffaf0 0%, #f6f0e5 52%, rgba(232, 244, 237, 0.96) 100%);
  color: var(--forest);
}

.business-hero {
  min-height: 540px;
  display: grid;
  align-items: center;
  padding: 58px 0;
  color: var(--forest);
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 154, 86, 0.16), transparent 34%),
    linear-gradient(110deg, #fffaf0 0%, #f6f0e5 52%, rgba(232, 244, 237, 0.96) 100%);
}

.business-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.business-hero-copy {
  min-width: 0;
}

.business-hero .eyebrow {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 0 11px;
  border: 1px solid rgba(0, 98, 65, 0.16);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(232, 244, 237, 0.82);
  text-transform: none;
}

.business-hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}

.business-hero h1 {
  max-width: 650px;
  color: var(--forest);
}

.business-hero p {
  max-width: 610px;
  color: rgba(17, 19, 15, 0.72);
}

.business-hero .button-secondary {
  color: var(--forest);
  background: white;
}

.business-hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(4, 55, 39, 0.14);
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 68px rgba(4, 55, 39, 0.16);
}

.business-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 55, 39, 0.18));
  pointer-events: none;
}

.business-hero-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.business-hero-proof {
  width: min(100%, 650px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(4, 55, 39, 0.12);
  border-radius: 14px;
  background: rgba(4, 55, 39, 0.1);
}

.business-hero-proof div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.84);
}

.business-hero-proof strong,
.business-hero-proof span {
  display: block;
}

.business-hero-proof strong {
  color: var(--forest);
  font-size: 20px;
  line-height: 1.1;
}

.business-hero-proof span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.58fr);
  gap: 42px;
  align-items: center;
}

.download-hero h1 {
  color: var(--forest);
}

.download-hero .store-button {
  color: #fff9ee;
  background: var(--forest);
  box-shadow: 0 16px 34px rgba(4, 55, 39, 0.18);
}

.download-hero .store-button:first-child {
  color: var(--ink);
  background: var(--brass);
}

.download-preview {
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: 26px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow-green);
}

.download-preview-photo {
  position: relative;
  min-height: 0;
  overflow: visible;
  padding: 0;
  align-content: stretch;
  border-radius: 24px;
  border-color: rgba(4, 55, 39, 0.14);
  background: transparent;
  box-shadow: none;
}

.download-preview-photo > img {
  width: 100%;
  height: 340px;
  min-height: 0;
  object-fit: cover;
  border: 1px solid rgba(4, 55, 39, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(4, 55, 39, 0.14);
}

.download-preview-photo::after {
  content: none;
}

.download-preview-glass {
  position: relative;
  z-index: 1;
  width: calc(100% - 26px);
  margin: 10px auto 0;
  padding: 14px;
  border: 1px solid rgba(255, 249, 238, 0.22);
  border-radius: 18px;
  background: rgba(4, 55, 39, 0.94);
  box-shadow: 0 18px 42px rgba(4, 55, 39, 0.22);
  backdrop-filter: blur(16px);
}

.download-preview-glass p {
  color: rgba(255, 249, 238, 0.82);
}

.download-hero .download-preview-glass p {
  color: rgba(255, 249, 238, 0.82);
}

.download-preview span {
  color: rgba(255, 249, 238, 0.74);
  font-weight: 900;
}

.download-preview strong {
  display: block;
  margin-top: 10px;
  color: var(--ivory);
  font-size: 42px;
  line-height: 0.92;
}

.download-install-grid {
  align-items: stretch;
}

.download-security-panel {
  display: grid;
  gap: 22px;
  color: #fff9ee;
  background:
    linear-gradient(150deg, rgba(4, 55, 39, 0.96), rgba(0, 98, 65, 0.9)),
    var(--forest);
}

.download-security-panel p,
.download-security-panel .checksum {
  color: rgba(255, 249, 238, 0.76);
}

.download-security-panel h2 {
  color: #fff9ee;
}

.security-checks {
  display: grid;
  gap: 10px;
}

.security-checks span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 249, 238, 0.14);
  border-radius: 12px;
  background: rgba(255, 249, 238, 0.08);
  color: #fff9ee;
  font-weight: 900;
}

.security-checks span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brass);
}

.download-preview p {
  margin-top: 18px;
  font-size: 14px;
}

.download-preview-glass p {
  color: rgba(255, 249, 238, 0.82);
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(17, 19, 15, 0.72);
  font-size: 16px;
}

.page-hero:not(.download-hero) p {
  color: rgba(255, 249, 238, 0.76);
}

.page-hero.business-hero p {
  color: rgba(17, 19, 15, 0.72);
}

.legal-content {
  padding: 64px 0 94px;
  background: var(--paper);
}

.legal-content h1 {
  font-size: 46px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 25px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-content a {
  color: var(--forest-2);
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 12px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 98, 65, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 98, 65, 0.1);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check-row input {
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  color: var(--forest-2);
  font-weight: 900;
}

.site-footer {
  padding: 58px 0 32px;
  color: #efe8dc;
  background: #0d100d;
}

.footer-grid {
  width: min(100% - 44px, var(--container));
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
}

.site-footer .brand {
  color: white;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 16px;
}

.footer-grid a,
.footer-grid .footer-link,
.footer-grid span {
  display: block;
  color: #d9d1c7;
  text-decoration: none;
}

.footer-grid .footer-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-grid a + a,
.footer-grid a + .footer-link,
.footer-grid .footer-link + a,
.footer-grid .footer-link + .footer-link,
.footer-grid span + span {
  margin-top: 9px;
}

.footer-brand p {
  max-width: 340px;
  color: #cfc5ba;
}

.footer-bottom {
  width: min(100% - 44px, var(--container));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 38px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #cfc5ba;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(460px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(201, 154, 86, 0.35);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-soft);
  transform: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner a {
  color: var(--forest-2);
  font-weight: 900;
}

.cookie-option {
  margin-top: 9px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.text-link {
  color: var(--forest-2);
  font-weight: 950;
}

.hide-mobile {
  display: inline;
}

@media (max-width: 1040px) {
  .hero,
  .hero.container {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .order-panel {
    right: 8%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

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

  .download-grid,
  .legal-grid,
  .download-showcase,
  .business-hero-grid,
  .role-panel {
    grid-template-columns: 1fr;
  }

  .business-hero {
    min-height: 0;
    padding: 58px 0 52px;
  }

  .business-hero-visual img {
    height: 320px;
  }

  .download-copy {
    grid-row: auto;
  }

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

@media (max-width: 760px) {
  .topbar {
    width: min(100% - 28px, var(--container));
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 58px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .topbar-action {
  display: none;
}

  .menu-button {
    width: 40px;
    height: 40px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(244, 239, 228, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--ivory);
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    display: none;
    flex-direction: column;
    padding: 8px;
    background: #083c2d;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    box-shadow: var(--shadow-green);
  }

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

  .site-nav a {
    min-height: 38px;
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 14px;
  }

  .section,
  .legal-content {
    padding: 48px 0;
  }

  .page-hero {
    padding: 44px 0 34px;
  }

  .container,
  .narrow {
    width: min(100% - 28px, var(--container));
  }

  .hero,
  .hero.container {
    padding: 34px 14px 42px;
    gap: 26px;
  }

  .page-hero h1,
  .legal-content h1 {
    font-size: 34px;
  }

  .legal-content h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.06;
  }

  .section-heading h2,
  .download-grid h2,
  .legal-grid h2 {
    font-size: 28px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .button-row,
  .store-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .store-button {
    width: 100%;
  }

  .hero-proof,
  .business-hero-proof,
  .process-grid,
  .feature-grid,
  .story-grid,
  .business-grid,
  .metric-grid,
  .download-meta,
  .download-hero-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .business-hero-proof {
    margin-top: 26px;
  }

  .business-hero-grid {
    gap: 28px;
  }

  .business-hero-visual img {
    height: 260px;
  }

  .hero-proof {
    margin-top: 34px;
    display: none;
  }

  .hero-brand-lockup {
    margin-bottom: 18px;
  }

  .hero-visual {
    min-height: 320px;
    align-items: start;
    margin-top: -6px;
  }

  .hero-photo-frame {
    inset: 0;
    border-radius: 24px;
    transform: none;
  }

  .coffee-scene {
    display: none;
  }

  .hero-visual::before {
    inset: 42px 0 46px 12px;
  }

  .phone-shell {
    width: min(100%, 312px);
    min-height: 560px;
    transform: none;
  }

  .download-copy h2 {
    font-size: 28px;
  }

  .download-photo-card,
  .download-photo-card img,
  .download-preview-photo,
  .download-preview-photo > img {
    min-height: 360px;
  }

  .order-panel {
    right: auto;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: min(100%, 322px);
    padding: 14px;
  }

  .order-panel .status-line:nth-of-type(3) {
    display: none;
  }

  .role-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-tab-list button:nth-child(2) {
    border-right: 0;
  }

  .role-panel {
    padding: 22px;
  }

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

  .footer-bottom {
    display: grid;
  }

  .cookie-banner {
    left: 50%;
    right: auto;
    grid-template-columns: 1fr;
    bottom: 10px;
    max-height: 44vh;
    padding: 12px;
    overflow: auto;
    transform: translateX(-50%);
  }

  .cookie-banner p {
    font-size: 12px;
    line-height: 1.45;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button {
    min-height: 48px;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .page-hero h1,
  .legal-content h1 {
    font-size: 35px;
  }

  .shop-row {
    grid-template-columns: 50px 1fr;
  }

  .shop-row .distance {
    grid-column: 2;
  }
}

/* BeanScout app visual system: exact shared palette and automatic device theme. */
body {
  background: var(--app-background);
  color: var(--app-text);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
  color: var(--app-on-accent);
  background: var(--app-accent);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(72, 224, 165, 0.55);
  outline-offset: 3px;
}

.site-header {
  background: var(--app-header);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.brand,
.site-header .brand,
.site-nav a {
  color: var(--app-text);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--app-text);
  background: var(--app-panel);
}

.topbar-action,
.button-primary,
.hero .button-primary,
.page-hero .button-primary {
  color: var(--app-on-accent);
  background: var(--app-accent);
  box-shadow: 0 12px 28px rgba(72, 224, 165, 0.22);
}

.menu-button {
  color: var(--app-text);
  border-color: var(--line);
  background: var(--app-surface);
}

.menu-button span {
  background: var(--app-text);
}

.hero,
.hero.container {
  color: #f5f5f5;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.96) 0%, rgba(21, 21, 21, 0.84) 46%, rgba(21, 21, 21, 0.32) 100%),
    url("/assets/hero-coffee-scene.png") center / cover no-repeat;
}

.hero::after {
  background: rgba(245, 245, 245, 0.14);
}

.hero h1,
.hero-kicker,
.hero-lead,
.hero-note,
.proof-item strong {
  color: #f5f5f5;
}

.hero-lead,
.hero-note,
.proof-item span {
  color: #9a9a9a;
}

.hero-kicker,
.hero-proof {
  border-color: rgba(245, 245, 245, 0.14);
  background: rgba(46, 46, 46, 0.72);
}

.hero-kicker::before,
.status-dot,
.security-checks span::before {
  background: var(--app-accent);
}

.proof-item {
  background: rgba(35, 35, 35, 0.78);
}

.hero .button-secondary {
  color: #f5f5f5;
  background: rgba(46, 46, 46, 0.88);
  border-color: rgba(245, 245, 245, 0.14);
}

.hero .button-secondary:hover {
  background: #2e2e2e;
}

.section,
.legal-content {
  background: var(--app-background);
}

.section-soft {
  background: var(--app-panel);
}

.process-step,
.feature-card,
.story-card,
.metric-tile,
.download-card,
.faq-item,
.legal-note,
.info-panel,
.contact-panel,
.version-row,
.role-tabs,
.business-hero-visual,
.download-photo-card,
.cookie-banner {
  color: var(--app-text);
  background: var(--app-surface);
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.process-step,
.story-card {
  background: var(--app-surface);
}

.process-step span,
.download-meta div,
.mini-row,
.role-tab-list {
  color: var(--app-text);
  background: var(--app-panel);
}

.process-step span {
  color: var(--app-on-accent);
  background: var(--app-accent);
}

.story-card-strong {
  color: var(--app-text);
  background: var(--app-panel);
}

.story-card-strong p,
.story-card p,
.role-panel p,
.section-heading p,
.download-grid p,
.legal-grid p,
.process-step p,
.feature-card p,
.download-card p,
.info-panel p,
.contact-panel p,
.legal-note p,
.legal-content p,
.legal-content li {
  color: var(--app-muted);
}

.eyebrow,
.legal-content a,
.text-link,
.form-status,
.mini-row span,
.distance,
.faq-item button span {
  color: var(--app-accent);
}

.role-tab-list button {
  color: var(--app-muted);
  border-color: var(--line);
}

.role-tab-list button.is-active {
  color: var(--app-on-accent);
  background: var(--app-accent);
}

.button-secondary {
  color: var(--app-text);
  background: var(--app-surface);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--app-panel);
}

.button-dark,
.store-button,
.download-hero .store-button {
  color: #f5f5f5;
  background: #232323;
  border: 1px solid rgba(245, 245, 245, 0.1);
  box-shadow: var(--shadow-card);
}

.download-hero .store-button:first-child {
  color: var(--app-on-accent);
  background: var(--app-accent);
}

.page-hero,
.download-hero,
.business-hero {
  color: var(--app-text);
  background:
    radial-gradient(circle at 88% 18%, rgba(72, 224, 165, 0.18), transparent 34%),
    var(--app-panel);
  border-bottom-color: var(--line);
}

.page-hero h1,
.business-hero h1,
.download-hero h1,
.business-hero-proof strong,
.download-copy h2 {
  color: var(--app-text);
}

.page-hero p,
.page-hero:not(.download-hero) p,
.page-hero.business-hero p,
.business-hero p,
.business-hero-proof span,
.download-copy p {
  color: var(--app-muted);
}

.business-hero .eyebrow {
  color: var(--app-text);
  background: var(--app-surface);
  border-color: var(--line);
}

.business-hero .eyebrow::before {
  background: var(--app-accent);
}

.business-hero .button-secondary {
  color: var(--app-text);
  background: var(--app-surface);
}

.business-hero-proof {
  border-color: var(--line);
  background: var(--line);
}

.business-hero-proof div {
  background: var(--app-surface);
}

.download-preview-glass,
.download-security-panel,
.order-panel {
  color: #f5f5f5;
  background: rgba(35, 35, 35, 0.94);
  border-color: rgba(245, 245, 245, 0.12);
  box-shadow: var(--shadow-green);
}

.download-security-panel h2,
.security-checks span,
.download-preview strong {
  color: #f5f5f5;
}

.download-security-panel p,
.download-security-panel .checksum,
.download-preview-glass p,
.download-hero .download-preview-glass p,
.download-preview span {
  color: #9a9a9a;
}

.security-checks span {
  border-color: rgba(245, 245, 245, 0.12);
  background: #2e2e2e;
}

.download-photo-card::after,
.business-hero-visual::after {
  background: linear-gradient(180deg, transparent 58%, rgba(21, 21, 21, 0.24));
}

.download-badge {
  color: #f5f5f5;
  border-color: rgba(245, 245, 245, 0.14);
  background: rgba(35, 35, 35, 0.9);
}

.download-badge span {
  color: #9a9a9a;
}

.field label {
  color: var(--app-text);
}

.field input,
.field textarea {
  color: var(--app-text);
  background: var(--app-surface);
  border-color: var(--line);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--app-accent);
  box-shadow: 0 0 0 4px rgba(72, 224, 165, 0.16);
}

.site-footer {
  color: #f5f5f5;
  background: #151515;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.site-footer .brand,
.footer-grid h2 {
  color: #f5f5f5;
}

.footer-grid a,
.footer-grid .footer-link,
.footer-grid span,
.footer-brand p,
.footer-bottom {
  color: #9a9a9a;
}

.cookie-banner {
  border-color: var(--line);
  background: var(--app-surface);
}

.cookie-banner p {
  color: var(--app-muted);
}

@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;
  }
}
