/* Page sections. */

/* =================== B. Hero =================== */
.hero {
  position: relative; min-height: min(100vh, 980px); padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(32, 165, 107, 0.20), transparent 62%),
    radial-gradient(40% 40% at 92% 10%, rgba(232, 163, 61, 0.16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(221, 245, 231, 0.9), transparent 70%),
    linear-gradient(180deg, #F6F4EA 0%, var(--ivory) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(18, 61, 43, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .display { margin-bottom: var(--s-5); }
.hero-copy .lead { margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.trust-list .lucide { color: var(--green-700); width: 18px; height: 18px; }

.hero-visual { position: relative; aspect-ratio: 1 / 0.92; width: 100%; }
.hero-halo {
  position: absolute; inset: 6% 4% 2% 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(221, 245, 231, 0.7) 55%, rgba(221, 245, 231, 0) 100%);
}
.thali-stage { position: absolute; inset: 4% 12% 4% 0; margin: 0; }
.thali-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 900ms var(--ease-out); }
.thali-fallback {
  position: absolute; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; object-fit: cover;
  transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: 0 40px 70px -30px rgba(15, 51, 36, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.75);
  transition: opacity 600ms var(--ease-out);
}
.is-3d .thali-stage canvas { opacity: 1; }
.is-3d .thali-fallback { opacity: 0; }

.hero-visual .float-card { position: absolute; z-index: 3; }
.fc-menu { top: 8%; left: -2%; }
.fc-order { bottom: 14%; left: 2%; }
.fc-wallet { top: 2%; right: 18%; }
.hero-visual .phone-hero { position: absolute; z-index: 4; right: -1%; bottom: 2%; width: 28%; }
.hero-tag { position: absolute; right: 0; top: -2%; z-index: 5; }
.hero-visual .hero-tag { top: auto; bottom: -28px; right: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid var(--line-strong); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green-700); animation: cue 1.8s var(--ease-in-out) 2; }

/* =================== C. Overview =================== */
.overview { background: var(--white); }
.overview-head { max-width: 1060px; margin-bottom: clamp(40px, 6vw, 72px); }
.overview-head .display-2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); }
.overview-stage { position: relative; margin-bottom: clamp(40px, 6vw, 72px); }
.overview-photo {
  margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3);
  aspect-ratio: 16 / 8; background: var(--ivory-2);
}
.overview-photo img { width: 100%; height: 100%; object-fit: cover; }
.overview-panel {
  position: absolute; background: rgba(255, 255, 255, 0.95); border-radius: var(--r-md);
  box-shadow: var(--sh-float); padding: 16px 18px; backdrop-filter: blur(10px);
}
.ov-k { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ov-p1 { left: clamp(16px, 4%, 48px); bottom: -28px; width: min(320px, 70%); display: grid; gap: 8px; }
.ov-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-sm); font-weight: 600; }
.ov-p2 { right: clamp(16px, 5%, 56px); top: 28px; }
.ov-p2 strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--green-700); line-height: 1.1; }
.ov-p2 small { color: var(--muted); font-weight: 600; }
.overview-caption { position: absolute; right: 18px; bottom: 14px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); font-weight: 600; }
.overview-lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); max-width: 52rem; color: var(--ink-2); margin: 24px 0 clamp(40px, 5vw, 64px); line-height: 1.6; }

.capability-rail { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.capability-rail li { position: relative; padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.capability-rail li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.cap-n { font-family: var(--font-display); font-size: 0.95rem; color: var(--emerald-500); font-weight: 600; }
.capability-rail .lucide { width: 28px; height: 28px; color: var(--forest-800); }
.capability-rail h3 { font-size: 1.15rem; color: var(--forest-800); }
.capability-rail p { color: var(--muted); font-size: var(--fs-sm); }

/* =================== D. Showcase =================== */
.showcase { background: linear-gradient(180deg, var(--ivory) 0%, var(--mint-50) 100%); overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.showcase-copy .seg-tabs { margin-bottom: var(--s-6); }
.showcase-panel { min-height: 470px; }
.showcase-panel .display-3 { margin-bottom: var(--s-4); }
.showcase-panel .muted { margin-bottom: var(--s-5); max-width: 36rem; }
.showcase-panel .check-list { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.showcase-panel:focus-visible { outline-offset: 10px; }
.showcase-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.showcase-stage::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(32, 165, 107, 0.22), rgba(32, 165, 107, 0) 70%);
}
.showcase-stage .proto-tag { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* =================== E. Ecosystem =================== */
.ecosystem { background: radial-gradient(80% 60% at 70% 0%, #17533A 0%, var(--forest-900) 55%, var(--forest-950) 100%); color: #fff; }
.ecosystem .display-2 { color: #fff; }
.ecosystem .display-2 em { color: var(--emerald-300); }
.eco-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr); gap: var(--s-5); align-items: stretch; }
.eco-scene {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px;
  background: radial-gradient(70% 70% at 50% 40%, #DCEDE2 0%, #B9D6C4 60%, #8DBBA1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  touch-action: pan-y;
}
.eco-scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.eco-scene canvas:active { cursor: grabbing; }
.eco-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.eco-scene.is-fallback .eco-fallback { display: block; }
.eco-scene.is-fallback canvas { display: none; }
.eco-scene .proto-tag { position: absolute; left: 16px; bottom: 16px; }
.eco-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--forest-800); font-weight: 700; font-size: var(--fs-sm); transition: opacity var(--t-med);
}
.eco-scene.is-ready .eco-loading, .eco-scene.is-fallback .eco-loading { opacity: 0; pointer-events: none; }
.eco-hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; left: 0; top: 0; pointer-events: auto;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: transparent; color: var(--forest-800);
  will-change: transform; transition: opacity var(--t-med);
}
.hotspot::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 18px -4px rgba(11, 37, 25, 0.5); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast);
}
.hotspot::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid #fff;
  animation: ping 2.2s var(--ease-out) 2;
}
.hotspot .lucide { position: relative; width: 17px; height: 17px; }
.hotspot:hover::before { transform: scale(1.12); }
.hotspot[aria-selected="true"]::before { background: var(--saffron-500); }
.hotspot[aria-selected="true"] { color: var(--forest-950); }
.hotspot-label {
  position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  background: var(--forest-950); color: #fff; padding: 4px 9px; border-radius: 8px;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast);
}
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label, .hotspot[aria-selected="true"] .hotspot-label { opacity: 1; }

.eco-panel {
  border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-5);
}
.eco-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-xs); font-weight: 700; transition: background var(--t-fast), color var(--t-fast);
}
.eco-chip .lucide { width: 14px; height: 14px; }
.eco-chip:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.eco-chip[aria-selected="true"] { background: var(--mint-100); color: var(--forest-900); border-color: transparent; }
.eco-detail { flex: 1; display: flex; flex-direction: column; gap: var(--s-4); }
.eco-detail .eco-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--emerald-500); color: #fff; }
.eco-detail .eco-icon .lucide { width: 28px; height: 28px; }
.eco-detail h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; }
.eco-who { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-300); }
.eco-detail p { color: rgba(255, 255, 255, 0.8); }
.eco-steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.eco-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-weight: 600; }
.eco-steps li::before {
  content: counter(s); width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 0.75rem; background: rgba(255, 255, 255, 0.1); color: var(--emerald-300);
}
.eco-detail .btn { margin-top: auto; align-self: flex-start; }

/* =================== F. Features =================== */
.features { background: var(--ivory); }
.fx-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: var(--s-5); scrollbar-width: thin; }
.fx-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; flex: none;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white);
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); transition: all var(--t-fast);
}
.fx-tab:hover { border-color: var(--green-700); color: var(--forest-800); }
.fx-tab[aria-selected="true"] { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.fx-tab .count { font-size: 0.7rem; padding: 1px 7px; border-radius: var(--r-pill); background: var(--ivory-2); color: var(--muted); }
.fx-tab[aria-selected="true"] .count { background: rgba(255, 255, 255, 0.16); color: #fff; }

.fx-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-5); align-items: start; }
.fx-list { list-style: none; display: grid; gap: 8px; }
.fx-item {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left;
  border-radius: var(--r-md); border: 1px solid transparent; background: transparent; transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.fx-item:hover { background: var(--white); border-color: var(--line); }
.fx-item[aria-pressed="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--sh-2); }
.fx-item .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--mint-100); color: var(--green-700); }
.fx-item[aria-pressed="true"] .ic { background: var(--green-700); color: #fff; }
.fx-item strong { display: block; color: var(--forest-800); }
.fx-item small { color: var(--muted); font-weight: 600; }
.fx-item .chev { margin-left: auto; color: var(--muted); opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.fx-item[aria-pressed="true"] .chev { opacity: 1; transform: translateX(2px); color: var(--green-700); }

.fx-detail {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--r-xl); background: var(--forest-800); color: #fff; overflow: hidden; min-height: 420px;
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-4); isolation: isolate;
}
.fx-detail::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(32, 165, 107, 0.55), transparent);
}
.fx-badge {
  width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--emerald-500), var(--green-700));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(500px) rotateX(10deg) rotateY(-14deg);
}
.fx-badge .lucide { width: 40px; height: 40px; color: #fff; }
.fx-detail h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.4rem); }
.fx-detail p { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-lg); max-width: 34rem; }
.fx-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: var(--fs-sm); margin-top: var(--s-2); }
.fx-meta dt { color: var(--emerald-300); font-weight: 800; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; padding-top: 3px; }
.fx-meta dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fx-meta .pill { background: rgba(255, 255, 255, 0.12); color: #fff; }
.fx-detail .btn { margin-top: auto; align-self: flex-start; }
.fx-empty { padding: 40px 24px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); }
.fx-empty .lucide { width: 28px; height: 28px; margin: 0 auto 8px; }

/* =================== G. How it works =================== */
.how { background: var(--white); }
.flow { --progress: 0; position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: var(--s-6); }
.flow::before, .flow::after {
  content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 35px; height: 3px; border-radius: 3px;
}
.flow::before { background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.flow::after {
  background: linear-gradient(90deg, var(--emerald-500), var(--saffron-500));
  transform-origin: 0 50%; transform: scaleX(var(--progress)); transition: transform 700ms var(--ease-out);
}
.flow-step { position: relative; z-index: 1; }
.flow-btn {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 0 4px 12px; border: 0; background: none; border-radius: var(--r-md);
}
.flow-node {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line-strong); color: var(--muted);
  transition: all var(--t-med) var(--ease-out);
}
.flow-node .lucide { width: 28px; height: 28px; }
.flow-step.is-done .flow-node { border-color: var(--emerald-500); color: var(--green-700); background: var(--mint-50); }
.flow-step.is-active .flow-node {
  background: var(--green-700); border-color: var(--green-700); color: #fff; transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(32, 165, 107, 0.16), 0 16px 30px -10px rgba(23, 107, 69, 0.6);
}
.flow-num { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.flow-title { font-weight: 800; color: var(--forest-800); font-size: 0.98rem; line-height: 1.25; }
.flow-actor { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.flow-btn:hover .flow-node { border-color: var(--emerald-500); }

.flow-detail {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center;
  padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line);
}
.flow-detail .fd-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--green-700); color: #fff; }
.flow-detail .fd-icon .lucide { width: 28px; height: 28px; }
.flow-detail h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--forest-800); margin-bottom: 4px; }
.flow-detail p { color: var(--ink-2); }
.fd-step { font-family: var(--font-display); font-size: 3.4rem; color: var(--mint-100); -webkit-text-stroke: 1px var(--emerald-500); line-height: 1; }
.flow-timer { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; grid-column: 1 / -1; }
.flow-timer span { display: block; height: 100%; background: var(--emerald-500); transform-origin: 0 50%; transform: scaleX(0); }
.flow-timer.is-running span { animation: timer var(--dur, 4200ms) linear forwards; }

/* =================== H. Dashboard =================== */
.dash-section { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); }
.browser { border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3), 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #F1EFE6; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E4675D; }
.dots i:nth-child(2) { background: #E9B949; }
.dots i:nth-child(3) { background: #5DBB6A; }
.browser-url {
  flex: 1; max-width: 420px; margin-inline: auto; display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  padding: 5px 12px; border-radius: var(--r-pill); background: var(--white); font-size: var(--fs-xs); color: var(--muted); font-weight: 600;
}
.browser-url .lucide { width: 12px; height: 12px; }
.demo-badge { font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); background: var(--saffron-100); color: #8a5310; letter-spacing: 0.04em; text-transform: uppercase; }

.dash { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 560px; }
.dash-side { background: var(--forest-900); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 0;
  background: none; color: rgba(255, 255, 255, 0.7); font-weight: 600; font-size: var(--fs-sm); text-align: left;
}
.dash-nav:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.dash-nav.is-active { background: rgba(32, 165, 107, 0.22); color: #fff; }
.dash-nav.is-active .lucide { color: var(--emerald-300); }
.dash-main { padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dash-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.dash-toolbar .seg { margin-left: auto; }
.dash-toolbar select { min-width: 170px; }
.dash-content { flex: 1; min-height: 400px; position: relative; }
.dash-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); }
.dash-foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.dash-foot .lucide { width: 14px; height: 14px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.kpi small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.kpi strong { display: block; font-size: 1.55rem; font-weight: 800; color: var(--forest-800); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.dash-charts { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.chart-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; background: var(--white); min-width: 0; }
.chart-card h4 { font-size: var(--fs-sm); color: var(--forest-800); margin-bottom: 2px; }
.chart-card .sub { font-size: 0.72rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-svg .bar { fill: var(--emerald-500); transition: opacity var(--t-fast); }
.chart-svg .bar:hover { fill: var(--green-700); }
.chart-svg .grid { stroke: var(--line); }
.chart-svg text { font-size: 10px; fill: var(--muted); font-family: var(--font-sans); font-weight: 600; }
.legend { list-style: none; display: grid; gap: 8px; margin-top: 8px; font-size: var(--fs-sm); }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; font-weight: 600; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend b { font-variant-numeric: tabular-nums; color: var(--forest-800); }
.chart-tip {
  position: absolute; pointer-events: none; background: var(--forest-950); color: #fff; padding: 6px 10px; border-radius: 8px;
  font-size: 0.75rem; font-weight: 700; transform: translate(-50%, -110%); white-space: nowrap; opacity: 0; transition: opacity var(--t-fast);
}
.chart-tip.is-visible { opacity: 1; }
.dtable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.dtable th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.dtable td.num, .dtable th.num { text-align: right; font-variant-numeric: tabular-nums; }
.dtable .thumb { display: flex; align-items: center; gap: 10px; }
.dtable .thumb img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.bar-inline { height: 6px; border-radius: 6px; background: var(--mint-100); overflow: hidden; min-width: 80px; }
.bar-inline span { display: block; height: 100%; background: var(--emerald-500); }
.table-scroll { overflow-x: auto; }

.dash-state { height: 100%; min-height: 380px; display: grid; place-items: center; text-align: center; padding: 24px; }
.dash-state > div { max-width: 360px; display: grid; gap: 10px; justify-items: center; }
.dash-state .state-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-100); color: var(--green-700); }
.dash-state.is-error .state-ic { background: #FDE8E5; color: var(--danger); }
.dash-state h4 { font-size: 1.1rem; color: var(--forest-800); }
.dash-state p { color: var(--muted); font-size: var(--fs-sm); }
.skeleton { border-radius: var(--r-md); background: linear-gradient(90deg, #EFEDE4 0%, #F8F6EF 50%, #EFEDE4 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton-grid { display: grid; gap: 12px; }
.skeleton-grid .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* =================== I. Benefits =================== */
.benefits { background: var(--white); overflow: hidden; }
.benefits-intro { margin-bottom: clamp(56px, 8vw, 110px); }
.benefit-rows { display: grid; gap: clamp(72px, 10vw, 140px); }
.benefit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.benefit:nth-child(even) .benefit-visual { order: -1; }
.benefit-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); margin-bottom: var(--s-4); }
.benefit-kicker b { font-family: var(--font-display); font-size: 1rem; color: var(--saffron-500); letter-spacing: 0; }
.benefit h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.05; color: var(--forest-800); margin-bottom: var(--s-4); letter-spacing: -0.02em; }
.benefit p { font-size: var(--fs-lg); color: var(--ink-2); max-width: 32rem; }
.benefit-visual { position: relative; min-height: 380px; border-radius: var(--r-xl); overflow: hidden; background: var(--mint-50); }
.bv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bv-card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-float); padding: 14px 16px; }
.bv-qr { right: 8%; bottom: 10%; display: grid; justify-items: center; gap: 6px; text-align: center; }
.bv-qr svg { width: 108px; height: 108px; }
.bv-qr small { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.bv-kitchen { background: linear-gradient(160deg, #F2EEE2, #E7E1CF); display: grid; place-items: center; padding: 32px; }
.kot-stack { position: relative; width: min(340px, 90%); height: 300px; }
.kot {
  position: absolute; inset: 0; background: #fff; border-radius: 14px; box-shadow: var(--sh-2); padding: 18px 20px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.82rem; color: var(--ink);
}
.kot:nth-child(1) { transform: rotate(-6deg) translate(-26px, 14px); opacity: 0.7; }
.kot:nth-child(2) { transform: rotate(3deg) translate(18px, 6px); opacity: 0.85; }
.kot:nth-child(3) { transform: rotate(-1deg); }
.kot header { display: flex; justify-content: space-between; border-bottom: 1.5px dashed var(--line-strong); padding-bottom: 8px; margin-bottom: 10px; font-weight: 800; }
.kot ul { list-style: none; display: grid; gap: 6px; }
.kot footer { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.bv-ledger { background: linear-gradient(160deg, var(--forest-800), var(--forest-950)); display: grid; place-items: center; padding: 32px; }
.ledger { width: min(380px, 100%); background: #fff; border-radius: var(--r-lg); padding: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.ledger h4 { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.ledger .bal { font-family: var(--font-display); font-size: 2.3rem; color: var(--forest-800); margin-bottom: 12px; }
.ledger ul { list-style: none; display: grid; }
.ledger li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.ledger li .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-100); color: var(--green-700); }
.ledger li .ic.out { background: var(--ivory-2); color: var(--ink-2); }
.ledger li small { display: block; color: var(--muted); font-size: 0.72rem; }
.ledger .amt-in { color: var(--green-700); }
.bv-privacy { background: radial-gradient(80% 80% at 50% 30%, var(--mint-100), var(--mint-50)); display: grid; place-items: center; }
.shield-wrap { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.shield {
  width: 150px; height: 170px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--emerald-500), var(--forest-800));
  clip-path: path("M75 0 L150 28 V82 C150 128 118 158 75 170 C32 158 0 128 0 82 V28 Z");
  box-shadow: 0 30px 60px -20px rgba(15, 51, 36, 0.6);
}
.shield .lucide { width: 56px; height: 56px; }
.orbit-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--sh-2); font-size: var(--fs-xs); font-weight: 800; color: var(--forest-800); white-space: nowrap;
}
.orbit-chip .lucide { width: 14px; height: 14px; color: var(--green-700); }
.oc-1 { top: 4%; left: -30%; } .oc-2 { top: 26%; right: -38%; } .oc-3 { bottom: 14%; left: -36%; } .oc-4 { bottom: 0; right: -24%; }

/* =================== J. FAQ =================== */
.faq { background: var(--ivory); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .muted { margin-top: var(--s-4); }
.faq-photo { margin: var(--s-6) 0 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-2); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =================== K. Final CTA =================== */
.cta {
  position: relative; overflow: hidden; padding-block: var(--section-y); isolation: isolate;
  background: radial-gradient(60% 80% at 85% 20%, #1C6B48 0%, transparent 60%), radial-gradient(50% 60% at 0% 100%, #0B2A1C, transparent), var(--forest-800);
  color: #fff;
}
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -10%; bottom: -40%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.02), inset 0 0 0 160px rgba(255, 255, 255, 0.015);
}
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-copy .display-xl { margin-bottom: var(--s-5); }
.cta-copy .lead { margin-bottom: var(--s-6); }

/* =================== L. Footer =================== */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); padding-bottom: var(--s-7); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand p { margin-top: var(--s-4); max-width: 26rem; line-height: 1.7; }
.footer-contact a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; width: fit-content; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: var(--fs-xs); }

/* ---- Refinements ---- */
.hero-visual .phone-hero { container-type: inline-size; }
.hero-visual .phone-screen { gap: 4cqw; padding: 15cqw 6cqw 6cqw; font-size: 8cqw; }
.hero-visual .ps-item small { display: flex; align-items: center; gap: 0.4em; }
.hero-visual .ps-item em { font-size: 0.8em; padding: 0.15em 0.6em; }
.hero-visual .ps-qr { padding: 0.7em 0.9em; white-space: nowrap; }
.hero-visual .ps-item img { width: 2.8em; height: 2.8em; }

.showcase-copy .seg-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; width: 100%; max-width: 520px; }
.showcase-copy .seg-tabs [role="tab"] { border-radius: 15px; justify-content: flex-start; padding: 0 14px; min-height: 46px; }
.device-wrap .phone { width: min(272px, 68%); }

.fx-tabs { flex-wrap: wrap; overflow: visible; }

.benefits-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.benefits-intro .lead { margin-bottom: var(--s-6); }
.plate-strip { display: flex; align-items: center; }
.plate-strip img {
  width: clamp(96px, 11vw, 148px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: var(--sh-2); transition: transform var(--t-med) var(--ease-out);
}
.plate-strip img + img { margin-left: -26px; }
.plate-strip img:nth-child(2) { transform: translateY(-14px); }
.plate-strip:hover img { transform: translateY(-6px) rotate(-4deg); }
.plate-strip figcaption { margin-left: 18px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; max-width: 9rem; }
.bv-kitchen .bv-photo { filter: brightness(0.6) saturate(0.95); }
.bv-kitchen .kot-stack { z-index: 1; }

.showcase-stage { padding-bottom: 56px; }
.device-wrap .phone-screen { font-size: clamp(9px, 2.4vw, 11px); }

/* =================== D2. App family =================== */
.apps { background: var(--white); }
.apps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.app-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.app-card.is-xl { grid-column: span 2; grid-row: span 2; flex-direction: row; align-items: center; background: linear-gradient(150deg, var(--mint-100), var(--mint-50) 60%, var(--ivory)); }
.app-card.is-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; background: linear-gradient(120deg, var(--forest-800), var(--forest-950)); color: #fff; border-color: transparent; }
.app-card.is-xl .app-visual { flex: 0 0 44%; display: grid; place-items: center; }
.app-card.is-wide .app-visual { flex: 0 0 52%; }
.app-phone { width: min(220px, 100%); }
.app-phone .phone-screen { font-size: clamp(8px, 0.75vw, 10.5px); }
.app-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest-800); color: var(--mint-100); box-shadow: var(--sh-2); }
.app-icon .lucide { width: 26px; height: 26px; }
.app-vendor .app-icon { background: var(--chilli-500); color: #fff; }
.app-staff .app-icon { background: var(--saffron-500); color: var(--forest-950); }
.app-web .app-icon { background: var(--emerald-500); color: #fff; }
.platform {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); font-size: 0.72rem; font-weight: 800; color: var(--forest-800); margin-bottom: 10px;
}
.platform .lucide { width: 13px; height: 13px; }
.app-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--forest-800); }
.app-card.is-xl h3 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); }
.app-who { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; margin: 4px 0 12px; }
.app-card ul { list-style: none; display: grid; gap: 8px; }
.app-card li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.app-card li .lucide { width: 16px; height: 16px; color: var(--emerald-500); margin-top: 2px; }
.app-card.is-wide h3 { color: #fff; }
.app-card.is-wide .app-who, .app-card.is-wide li { color: rgba(255, 255, 255, 0.78); }
.app-card.is-wide .platform { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.app-card.is-wide ul { grid-template-columns: 1fr 1fr; }
.desk-window { border-radius: 12px; overflow: hidden; background: var(--ivory); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6); transform: perspective(1200px) rotateY(8deg); }
.desk-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #E9E6DC; color: var(--ink-2); font-size: 0.75rem; font-weight: 700; }
.desk-bar .dots i { width: 9px; height: 9px; }
.desk-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.desk-col { background: #fff; border-radius: 8px; padding: 8px; display: grid; gap: 6px; align-content: start; box-shadow: var(--sh-1); }
.desk-col h5 { margin: 0; font-size: 0.72rem; color: var(--forest-800); }
.desk-col span { font-size: 0.7rem; font-weight: 700; color: var(--ink); padding: 5px 7px; border-radius: 6px; background: var(--ivory); }
.desk-col span.warm { background: var(--saffron-100); color: #8a5310; }
.desk-col span.ok { background: var(--mint-100); color: var(--green-700); }
.apps-note { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.apps-note .lucide { width: 14px; height: 14px; }

/* Food-safety benefit visual */
.bv-safety { background: linear-gradient(160deg, #F3EFE3, var(--mint-50)); display: grid; place-items: center; padding: 28px; }
.temp-log { width: min(420px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 18px; display: grid; gap: 10px; }
.temp-log header { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--forest-800); font-size: var(--fs-sm); }
.temp-log header span:first-child, .temp-log footer { display: inline-flex; align-items: center; gap: 6px; }
.temp-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ivory); font-size: var(--fs-sm); font-weight: 600; }
.temp-row b { font-variant-numeric: tabular-nums; color: var(--forest-800); font-size: 1rem; }
.temp-row small { display: flex; align-items: center; gap: 4px; color: var(--danger); font-size: 0.72rem; margin-top: 2px; }
.temp-row small .lucide { width: 12px; height: 12px; }
.temp-row.is-fail { background: #FDF1EF; }
.temp-log footer { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.temp-log .lucide { width: 15px; height: 15px; }

.app-card.is-half { grid-column: span 2; flex-direction: row; align-items: flex-start; }
.app-card.is-half .app-visual { flex: none; }
.app-agent .app-icon { background: var(--forest-950); color: var(--emerald-300); }
.app-kiosk .app-icon { background: var(--mint-100); color: var(--forest-800); }

.dash-foot { justify-content: flex-end; }

/* Final CTA: "Get started" steps card */
.cta-card {
  background: var(--ivory); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); display: grid; gap: 20px;
}
.cta-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; color: var(--forest-800); }
.start-steps { list-style: none; display: grid; gap: 0; position: relative; }
.start-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 18px; }
.start-steps li:last-child { padding-bottom: 0; }
.start-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--emerald-500), var(--mint-100));
}
.start-n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  box-shadow: 0 0 0 5px var(--mint-100);
}
.start-steps strong { display: block; color: var(--forest-800); font-size: 1.02rem; margin-top: 8px; }
.start-steps p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.start-address { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -8px; font-size: var(--fs-sm); font-weight: 700; }
.start-address .lucide { width: 15px; height: 15px; color: var(--green-700); }
.start-address a { color: var(--green-700); text-decoration: none; word-break: break-all; }
.start-address a:hover { text-decoration: underline; }
.start-links { list-style: none; display: grid; border-top: 1px solid var(--line); }
.start-links li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm);
}
.start-links li:last-child { border-bottom: 0; padding-bottom: 0; }
.start-links span { color: var(--ink-2); font-weight: 600; }
.start-links small { color: var(--muted); font-weight: 500; }
.start-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--green-700); font-weight: 800; text-decoration: none; }
.start-links a:hover { text-decoration: underline; }
.start-links .lucide { width: 15px; height: 15px; }
