:root {
  --espresso: #140b07;
  --espresso-2: #24140d;
  --roast: #5a321e;
  --roast-2: #7d4527;
  --caramel: #d98a4b;
  --caramel-2: #f0b06e;
  --cream: #f7ead7;
  --foam: #fff8ec;
  --sage: #9baa6d;
  --muted: #bfa58c;
  --line: rgba(255, 248, 236, 0.16);
  --panel: rgba(255, 248, 236, 0.075);
  --panel-strong: rgba(255, 248, 236, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--foam);
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 138, 75, 0.28), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(155, 170, 109, 0.19), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(125, 69, 39, 0.35), transparent 35%),
    linear-gradient(140deg, var(--espresso), #070302 65%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}
a { color: inherit; }

.section-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.bean-rain {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  opacity: 0.68;
}
.bean {
  position: absolute;
  display: block;
  width: var(--w, 48px);
  height: calc(var(--w, 48px) * .66);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #98613e, #4a2818 62%, #1a0d08 100%);
  box-shadow: inset -9px -8px 14px rgba(0,0,0,.38), 0 18px 38px rgba(0,0,0,.28);
  transform: rotate(var(--r, 12deg));
  opacity: var(--o, .32);
}
.bean::after {
  content: "";
  position: absolute;
  top: 13%;
  bottom: 13%;
  left: 49%;
  width: 7%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255,248,236,.4), transparent);
  transform: rotate(9deg);
}
.b1 { left: 4%; top: 16%; --r: -24deg; --o: .22; --w: 52px; }
.b2 { left: 12%; top: 74%; --r: 18deg; --o: .18; --w: 80px; }
.b3 { left: 29%; top: 9%; --r: 48deg; --o: .16; --w: 46px; }
.b4 { left: 70%; top: 18%; --r: -12deg; --o: .24; --w: 66px; }
.b5 { left: 84%; top: 70%; --r: 28deg; --o: .18; --w: 88px; }
.b6 { left: 48%; top: 84%; --r: -36deg; --o: .14; --w: 56px; }
.b7 { left: 94%; top: 34%; --r: 68deg; --o: .18; --w: 60px; }
.b8 { left: -1%; top: 47%; --r: 6deg; --o: .16; --w: 92px; }
.b9 { left: 61%; top: 7%; --r: 31deg; --o: .12; --w: 42px; }
.b10 { left: 39%; top: 54%; --r: -22deg; --o: .08; --w: 110px; }
.b11 { left: 78%; top: 48%; --r: 14deg; --o: .11; --w: 44px; }
.b12 { left: 21%; top: 33%; --r: 70deg; --o: .1; --w: 62px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: 22px 0;
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foam);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 27px;
}
.brand > span:last-child span { color: var(--caramel-2); }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--caramel), #7a3e22);
  box-shadow: 0 16px 38px rgba(217, 138, 75, 0.3);
  position: relative;
  overflow: hidden;
}
.brand-mark span {
  width: 19px;
  height: 27px;
  border-radius: 50%;
  background: #24120b;
  transform: rotate(24deg);
  box-shadow: inset -4px -3px 8px rgba(0,0,0,.44);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,248,236,.72);
  transform: rotate(24deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255,248,236,.75);
}
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--foam); }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 86px);
  padding: 30px 0 78px;
}
.eyebrow, .kicker {
  color: var(--caramel-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: rgba(255,248,236,.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 0 24px;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 20px rgba(155,170,109,.9);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(48px, 7.6vw, 94px);
  line-height: .9;
  letter-spacing: -.078em;
  margin-bottom: 25px;
}
.hero-lead {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  color: rgba(255,248,236,.78);
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--foam); color: #1f1009; box-shadow: 0 18px 45px rgba(247,234,215,.2); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--foam); }
.small-note { margin: 18px 0 0; font-size: 14px; color: rgba(255,248,236,.55); }

.hero-visual { position: relative; min-height: 610px; }
.dashboard-card, .mini-card, .feature-card, .problem-stack article, .roadmap article, .notes-grid article, .beta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,248,236,.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.roast-card {
  position: absolute;
  right: 0;
  top: 56px;
  width: min(510px, 100%);
  border-radius: 32px;
  overflow: hidden;
}
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.label { color: rgba(255,248,236,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; margin-bottom: 7px; }
.card-head h3 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.pill {
  color: #172010;
  background: #d9e5bc;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.curve { display: block; width: 100%; padding: 18px 18px 8px; }
.curve .grid { stroke: rgba(255,248,236,.11); stroke-width: 1; }
.curve .ghost { fill: none; stroke: rgba(255,248,236,.38); stroke-dasharray: 7 8; stroke-width: 4; }
.curve .area { fill: url(#curveFill); }
.curve .line { fill: none; stroke: var(--caramel-2); stroke-width: 6; stroke-linecap: round; }
.curve .events line { stroke: rgba(255,248,236,.2); stroke-width: 1; }
.curve .events text { fill: rgba(255,248,236,.54); font-size: 15px; font-weight: 700; }
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 22px 22px;
}
.metric-row div {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  padding: 13px;
}
.metric-row span { display: block; color: rgba(255,248,236,.56); font-size: 12px; margin-bottom: 6px; }
.metric-row strong { font-size: 20px; letter-spacing: -.03em; }
.coffee-bag {
  position: absolute;
  left: 4px;
  bottom: 60px;
  width: 245px;
  min-height: 330px;
  border-radius: 20px 20px 42px 42px;
  background: linear-gradient(145deg, #f1d8b7, #a86b3e 58%, #432414);
  color: #211209;
  transform: rotate(-7deg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.bag-seal { height: 18px; margin: 0 10px 50px; border-radius: 999px; background: rgba(255,255,255,.32); }
.bag-label { background: rgba(255,248,236,.86); border-radius: 16px; padding: 17px; }
.bag-label span { color: #87512d; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.bag-label h3 { margin: 8px 0; font-size: 30px; line-height: .95; letter-spacing: -.06em; }
.bag-label p { color: #664027; font-size: 13px; line-height: 1.38; margin: 0; font-weight: 650; }
.mini-card {
  position: absolute;
  right: 24px;
  bottom: 46px;
  width: 260px;
  border-radius: 22px;
  padding: 18px;
}
.mini-card span { color: var(--caramel-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.mini-card strong { display: block; margin: 8px 0; font-size: 20px; line-height: 1.05; letter-spacing: -.04em; }
.mini-card p { margin: 0; color: rgba(255,248,236,.66); font-size: 14px; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(0,0,0,.13); }
.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 18px 0;
  animation: slide 34s linear infinite;
}
.ticker span {
  color: rgba(255,248,236,.7);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  padding: 9px 13px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 750;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-35%); } }

section { padding: 92px 0; }
.section-intro { max-width: 760px; }
.centred { text-align: center; margin-inline: auto; }
h2 { font-size: clamp(35px, 5.2vw, 63px); line-height: .96; letter-spacing: -.065em; margin-bottom: 18px; }
.section-intro p:not(.kicker) { color: rgba(255,248,236,.68); font-size: 18px; line-height: 1.55; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.sticky-intro { position: sticky; top: 110px; }
.problem-stack, .roadmap { display: grid; gap: 16px; }
.problem-stack article, .roadmap article, .notes-grid article { border-radius: 24px; padding: 24px; box-shadow: none; }
.problem-stack span, .roadmap span, .notes-grid span { color: var(--caramel-2); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.problem-stack h3, .roadmap h3, .notes-grid h3 { margin: 10px 0 10px; font-size: 26px; letter-spacing: -.045em; }
.problem-stack p, .roadmap p, .notes-grid p { color: rgba(255,248,236,.65); line-height: 1.55; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.feature-card { border-radius: 26px; padding: 24px; min-height: 250px; box-shadow: none; }
.feature-card.tall { grid-row: span 2; }
.feature-card.wide { grid-column: span 2; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(217,138,75,.95), rgba(90,50,30,.95));
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 15px 30px rgba(0,0,0,.24);
}
.bean-icon::after, .artisan-icon::after, .cost-icon::after, .qc-icon::after, .compass-icon::after, .wholesale-icon::after, .consignment-icon::after, .whatsapp-icon::after {
  content: ""; position: absolute; inset: 13px; border: 2px solid rgba(255,248,236,.86); border-radius: 999px;
}
.artisan-icon::after { border-radius: 5px; transform: rotate(45deg); }
.cost-icon::after { border-radius: 3px; border-top: 0; border-left: 0; }
.qc-icon::after { width: 18px; height: 10px; border-radius: 0; border-top: 0; border-right: 0; transform: rotate(-45deg); left: 13px; top: 14px; }
.compass-icon::after { clip-path: polygon(50% 0, 70% 70%, 50% 55%, 30% 70%); background: rgba(255,248,236,.86); border: 0; }
.wholesale-icon::after { border-radius: 4px; box-shadow: 9px 9px 0 -4px rgba(255,248,236,.86); }
.consignment-icon::after { border-radius: 4px; transform: rotate(8deg); }
.whatsapp-icon::after { border-radius: 50%; border-bottom-right-radius: 4px; }
.feature-card h3 { font-size: 24px; letter-spacing: -.045em; margin-bottom: 10px; }
.feature-card p, .feature-card li { color: rgba(255,248,236,.65); line-height: 1.52; }
.feature-card ul { padding-left: 18px; margin: 18px 0 0; }

.flow { padding-top: 40px; }
.flow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
  position: relative;
}
.flow-line div {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255,248,236,.065);
}
.flow-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--caramel);
  color: #1f1009;
  font-weight: 900;
  margin-bottom: 20px;
}
.flow-line strong { display: block; font-size: 20px; letter-spacing: -.04em; margin-bottom: 8px; }
.flow-line small { color: rgba(255,248,236,.58); }

.roadmap-section { padding-top: 60px; }
.roadmap article { position: relative; overflow: hidden; }
.roadmap article::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--caramel), transparent);
}
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.notes-grid article { background: rgba(0,0,0,.14); }

.beta-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  padding: 42px;
  border-radius: 34px;
  margin-bottom: 56px;
}
.beta-copy h2 { margin-bottom: 18px; }
.beta-copy p:not(.kicker) { color: rgba(255,248,236,.7); font-size: 18px; line-height: 1.55; }
.beta-form { display: grid; gap: 14px; }
.beta-form label { display: grid; gap: 8px; font-weight: 800; color: rgba(255,248,236,.8); font-size: 14px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 15px; background: rgba(0,0,0,.19); color: var(--foam);
  padding: 14px 15px; font: inherit; outline: none;
}
input:focus, textarea:focus { border-color: rgba(217,138,75,.7); box-shadow: 0 0 0 4px rgba(217,138,75,.12); }
::placeholder { color: rgba(255,248,236,.38); }
.form-note { color: rgba(255,248,236,.48); font-size: 12px; line-height: 1.45; margin: 0; }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
}
.footer-brand { font-size: 23px; }
.site-footer p { color: rgba(255,248,236,.56); margin: 14px 0 0; }
.footer-links { display: flex; gap: 18px; color: rgba(255,248,236,.66); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--foam); }

@media (max-width: 980px) {
  .hero, .split-section, .beta-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .sticky-intro { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-line { grid-template-columns: 1fr 1fr; }
  .notes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 23px; }
  .hero { padding-top: 18px; }
  .hero-visual { min-height: 660px; }
  .roast-card { top: 20px; }
  .coffee-bag { left: 0; bottom: 108px; transform: rotate(-4deg) scale(.92); }
  .mini-card { right: 0; bottom: 20px; }
  .metric-row, .feature-grid, .flow-line { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; }
  section { padding: 70px 0; }
  .beta-panel { padding: 24px; border-radius: 26px; }
  .site-footer { flex-direction: column; align-items: start; }
}
