:root {
  --bg: #070807;
  --bg-soft: #0b0d0c;
  --panel: #101211;
  --panel-2: #151716;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 139, 0, 0.4);
  --text: #f6f6f3;
  --muted: #a7aaa6;
  --orange: #ff7a00;
  --amber: #ffae00;
  --green: #75ba16;
  --green-dark: #4d8d08;
  --blue: #0866f5;
  --blue-soft: #2e91ff;
  --danger: #ff5e45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --shell: 1220px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 105, 0, 0.045), transparent 30%),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.035em; line-height: 1.12; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding: 66px 0; }
.section-tight { padding: 18px 0 26px; }
.center { text-align: center; }
.skip-link {
  position: fixed; z-index: 1000; left: 20px; top: -80px;
  background: var(--orange); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 20, 19, 0.96), rgba(9, 10, 10, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font: 700 0.72rem/1.2 var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--pill {
  display: inline-flex; padding: 8px 12px; border: 1px solid rgba(255, 147, 0, 0.36);
  border-radius: 999px; color: #ffaf24; background: rgba(255, 122, 0, 0.035);
}
.section-lead { color: var(--muted); }
.brand-gradient {
  background: linear-gradient(100deg, #ff7500 0%, #ff9b00 48%, #72b718 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 7, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(130%);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 1.25rem/1 var(--font-head); letter-spacing: 0.035em; color: #ff8310; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand > span > span { color: #78b80e; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.7vw, 38px); margin-left: auto; }
.nav-menu a { color: #dddeda; font: 600 0.78rem/1 var(--font-head); transition: color 0.2s ease; }
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--orange); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: white; border-radius: 3px; transition: transform 0.2s, opacity 0.2s; }

.button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px;
  overflow: hidden;
  font: 700 0.82rem/1 var(--font-head); cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.button > * { position: relative; z-index: 1; }
.button:hover { transform: translateY(-2px); }
.button--large { min-height: 52px; padding-inline: 25px; font-size: 0.9rem; }
.button--primary { color: white; background: linear-gradient(120deg, #ff8a00, #ef4e00); box-shadow: 0 12px 30px rgba(238, 77, 0, 0.22); }
.button--primary::before {
  content: ""; position: absolute; inset: -70% auto -70% -55%; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-22deg); animation: buttonShine 4.8s ease-in-out infinite;
}
.button--primary:hover { box-shadow: 0 16px 38px rgba(238, 77, 0, 0.34); }
.button--outline { color: #f5f5f2; background: rgba(255, 255, 255, 0.015); border-color: rgba(255, 130, 0, 0.55); }
.button--outline:hover { border-color: var(--orange); background: rgba(255, 122, 0, 0.06); }
.button--blue { background: linear-gradient(120deg, var(--blue-soft), var(--blue)); box-shadow: 0 10px 25px rgba(0, 100, 255, 0.2); }
.button--green { background: linear-gradient(120deg, #86cf1c, #4f9509); box-shadow: 0 10px 25px rgba(100, 180, 10, 0.18); }

.hero { position: relative; padding: 54px 0 38px; overflow: hidden; isolation: isolate; }
.hero::after {
  content: ""; position: absolute; z-index: -2; left: 44%; right: 0; bottom: 18px; height: 180px;
  background: radial-gradient(ellipse, rgba(255, 104, 0, 0.2), transparent 65%);
  filter: blur(10px);
}
.hero-glow { position: absolute; z-index: -3; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: 0.12; }
.hero-glow--orange { right: 4%; bottom: -260px; background: #ff5800; }
.hero-glow--green { left: -280px; top: -260px; background: #5eaa10; opacity: 0.05; }
.embers {
  position: absolute; z-index: -1; inset: 5% 0 0 45%; opacity: 0.33;
  background-image:
    radial-gradient(circle, #ff7a00 0 1px, transparent 2px),
    radial-gradient(circle, #ff9d00 0 1px, transparent 2px);
  background-size: 110px 95px, 170px 130px;
  background-position: 0 0, 40px 33px;
  mask-image: linear-gradient(transparent, #000 20%, #000 70%, transparent);
  animation: emberDrift 13s linear infinite, emberGlow 3.4s ease-in-out infinite alternate;
}
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 590px; align-items: center; gap: 42px; }
.hero-copy { min-width: 0; max-width: 560px; padding-bottom: 24px; }
.hero h1 { max-width: 590px; margin-bottom: 20px; font-size: clamp(2.75rem, 5vw, 4.65rem); line-height: 1.06; }
.hero-lead { max-width: 490px; margin-bottom: 30px; color: var(--muted); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.value-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.value-chip {
  min-width: 132px; display: flex; align-items: center; gap: 9px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, #151716, #0c0d0d);
}
.chip-icon {
  width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto;
  color: var(--orange); border: 1px solid rgba(255, 122, 0, 0.52); border-radius: 8px; font-weight: 800;
}
.value-chip--green .chip-icon { color: #83ce1a; border-color: rgba(117, 186, 22, 0.65); border-radius: 50%; }
.value-chip > span:last-child { display: grid; color: #929590; font-size: 0.62rem; line-height: 1.25; }
.value-chip strong { color: #f3f3f0; font: 700 0.88rem/1.2 var(--font-head); }

.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; perspective: 1200px; }
.orbit { position: absolute; border: 1px solid rgba(255, 130, 0, 0.6); border-radius: 50%; transform: rotate(-18deg); will-change: transform; }
.orbit--one { width: 445px; height: 405px; box-shadow: 0 0 80px rgba(255, 92, 0, 0.07); animation: orbitOne 18s linear infinite; }
.orbit--two { width: 520px; height: 250px; opacity: 0.35; animation: orbitTwo 13s linear infinite reverse; }
.hero-fire {
  position: absolute; z-index: 1; left: 50%; bottom: 35px; width: 520px; height: 230px;
  transform: translateX(-50%); filter: saturate(1.18); pointer-events: none;
}
.hero-fire::before {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: -10px; height: 90px;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(255,106,0,.68), rgba(255,55,0,.17) 43%, transparent 72%);
  filter: blur(16px); animation: fireGlow 1.6s ease-in-out infinite alternate;
}
.flame {
  --lean: 0deg;
  position: absolute; bottom: 8px; left: 50%; width: 70px; height: 150px;
  clip-path: polygon(50% 0, 66% 19%, 73% 38%, 94% 64%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 7% 63%, 28% 38%, 36% 19%);
  background: radial-gradient(ellipse at 50% 100%, #ffe978 0 9%, #ffb000 28%, #ff5a00 62%, rgba(174,26,0,.24) 100%);
  box-shadow: 0 0 18px rgba(255,95,0,.38);
  transform-origin: 50% 100%; mix-blend-mode: screen; opacity: .72;
  animation: fireDance 1.55s ease-in-out infinite alternate;
}
.flame::after {
  content: ""; position: absolute; left: 34%; right: 34%; bottom: 0; height: 48%;
  clip-path: polygon(50% 0, 100% 72%, 74% 100%, 26% 100%, 0 72%);
  background: linear-gradient(to top, rgba(255,250,183,.92), rgba(255,183,0,.45));
  filter: blur(1px);
}
.flame:nth-child(1) { left: 8%; width: 58px; height: 110px; --lean: -10deg; animation-delay: -.6s; animation-duration: 1.25s; }
.flame:nth-child(2) { left: 21%; width: 76px; height: 165px; --lean: 8deg; animation-delay: -1.1s; animation-duration: 1.7s; }
.flame:nth-child(3) { left: 35%; width: 82px; height: 205px; --lean: -5deg; animation-delay: -.3s; animation-duration: 1.45s; }
.flame:nth-child(4) { left: 49%; width: 86px; height: 225px; --lean: 4deg; animation-delay: -.9s; animation-duration: 1.8s; }
.flame:nth-child(5) { left: 63%; width: 75px; height: 185px; --lean: -7deg; animation-delay: -1.35s; animation-duration: 1.4s; }
.flame:nth-child(6) { left: 77%; width: 64px; height: 135px; --lean: 11deg; animation-delay: -.5s; animation-duration: 1.65s; }
.flame:nth-child(7) { left: 88%; width: 47px; height: 90px; --lean: -4deg; animation-delay: -1.2s; animation-duration: 1.3s; }
.phone {
  position: relative; z-index: 3; width: 285px; height: 560px; padding: 10px;
  border: 2px solid #9a9b98; border-radius: 48px;
  background: linear-gradient(150deg, #4b4c4a, #111, #6b6d69);
  box-shadow: 0 38px 75px rgba(0, 0, 0, 0.65), 0 0 60px rgba(255, 90, 0, 0.12);
  transform: rotateY(-7deg) rotateZ(5deg);
  transform-style: preserve-3d; will-change: transform;
  animation: phoneTurn 7s cubic-bezier(.45,.05,.55,.95) infinite;
}
.phone::before { content: ""; position: absolute; inset: 5px; border: 1px solid #222; border-radius: 42px; pointer-events: none; }
.phone-speaker { position: absolute; z-index: 5; top: 16px; left: 50%; width: 78px; height: 18px; border-radius: 20px; background: #050505; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 17px 13px 10px; overflow: hidden; border-radius: 38px; background: linear-gradient(150deg, #0d1010, #050606 65%); }
.phone-status, .phone-brand, .phone-section-title { display: flex; justify-content: space-between; align-items: center; }
.phone-status { padding: 0 8px 10px; color: #d8d8d4; font-size: 0.56rem; }
.phone-brand { margin: 5px 0 18px; font: 700 0.75rem/1 var(--font-head); }
.phone-brand > span:first-child { display: flex; align-items: center; gap: 6px; }
.phone-brand img, .mini-phone__top img { width: 23px; height: 23px; border-radius: 50%; }
.muted-label { margin-bottom: 5px; color: #8e918c; font-size: 0.55rem; }
.credit-card { padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: linear-gradient(140deg, #1b1d1c, #111); }
.credit-card strong { display: block; font: 700 1.25rem/1 var(--font-head); }
.credit-card small { display: block; margin: 7px 0 11px; color: #8b8d89; font-size: .5rem; }
.credit-card button { width: 100%; padding: 8px; color: #fff; border: 0; border-radius: 5px; background: linear-gradient(100deg, #ff8c00, #f25300); font-size: .58rem; }
.phone-section-title { margin: 14px 0 7px; font-size: .57rem; }
.phone-section-title span { color: #7f817d; font-size: .47rem; }
.meal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.meal-card { padding: 5px; border-radius: 8px; background: #151716; }
.meal-photo { height: 67px; display: grid; place-items: center; border-radius: 6px; font-size: 2.15rem; }
.meal-photo--one { background: radial-gradient(circle at 30% 20%, #d9a34a, #5c2812); }
.meal-photo--two { background: radial-gradient(circle at 40% 20%, #e4ca94, #633b20); }
.meal-card strong, .meal-card small { display: block; margin-top: 4px; font-size: .48rem; }
.meal-card small { color: #ff9c00; }
.category-row { display: flex; justify-content: space-between; gap: 6px; }
.category-row span { min-width: 40px; padding: 7px 4px; border-radius: 8px; background: #171918; color: #a6a8a4; text-align: center; font-size: .42rem; }
.category-row span:first-child { color: #fff; background: #f26a00; }
.phone-tabs { display: flex; justify-content: space-around; margin: 15px -13px 0; padding: 8px 0; border-top: 1px solid #242624; color: #ff7900; font-size: .7rem; }
.phone-tabs span { display: grid; gap: 2px; text-align: center; }
.phone-tabs small { color: #7f827e; font-size: .38rem; }
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px;
  width: 175px; padding: 13px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  background: linear-gradient(145deg, rgba(27,29,28,.92), rgba(12,13,13,.92));
  box-shadow: 0 18px 35px rgba(0,0,0,.3); backdrop-filter: blur(10px);
  will-change: transform; animation: cardFloat 4.2s ease-in-out infinite;
}
.float-card--left { left: -12px; top: 170px; animation-delay: -.7s; }
.float-card--right { right: -4px; top: 234px; animation-delay: -2.2s; }
.float-card--bottom { right: 20px; bottom: 82px; animation-delay: -3.1s; }
.float-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: var(--orange); border-radius: 50%; font-size: 1.25rem; }
.float-icon--green { color: #83cc1a; border: 1px solid currentColor; font-size: .9rem; }
.float-card span:last-child { display: grid; }
.float-card strong { font: 700 .75rem/1.3 var(--font-head); }
.float-card small { color: #9a9c98; font-size: .58rem; }

.struggle-grid { display: grid; grid-template-columns: 1.08fr repeat(3, 1fr); gap: 12px; padding: 20px; align-items: stretch; }
.struggle-intro { padding: 21px 18px; }
.struggle h2 { margin-bottom: 6px; font-size: 1.45rem; }
.struggle p { margin: 0; color: var(--muted); font-size: .8rem; }
.pain-card { display: flex; gap: 14px; padding: 18px; border: 1px solid rgba(255, 134, 0, 0.18); border-radius: 12px; background: rgba(255,255,255,.014); }
.line-icon { flex: none; color: var(--orange); font-size: 1.7rem; line-height: 1; }
.pain-card h3 { margin-bottom: 7px; font-size: .85rem; letter-spacing: -.02em; }
.pain-card p { font-size: .66rem; line-height: 1.55; }

.partners { padding-bottom: 40px; }
.partners h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.partners .section-lead { margin-bottom: 25px; font-size: .9rem; }
.partner-rail {
  display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); align-items: center;
  min-height: 88px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 13px; background: #0e100f;
}
.partner-logo {
  min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 12px; border-right: 1px solid rgba(255,255,255,.09);
  color: #e6e7e3; font: 700 .74rem/1 var(--font-head); letter-spacing: .08em; white-space: nowrap;
}
.partner-logo:last-child { border-right: 0; }
.partner-logo--diph { height: 63px; margin-right: 10px; padding: 4px; overflow: hidden; border-radius: 9px; background: #fff; }
.partner-logo--diph img { width: 100%; height: 100%; object-fit: contain; }
.partner-mark { color: var(--orange); font-size: 1rem; }
.partner-mark--green { color: var(--green); }
.partner-note { margin: 10px 0 0; color: #626560; font-size: .64rem; }

.bistro { padding-top: 56px; }
.bistro .section-lead { max-width: 620px; margin: 10px auto 0; }
.bistro-grid { display: grid; grid-template-columns: 1.2fr repeat(2, 1fr); gap: 16px; }
.bistro-card {
  min-width: 0; min-height: 300px; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; border: 1px solid rgba(255, 132, 0, .22); border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 122, 0, .08), transparent 42%),
    linear-gradient(145deg, #151716, #0d0f0e);
}
.bistro-card--brand { border-color: rgba(117, 186, 22, .38); background: linear-gradient(145deg, #171a17, #0e100f); }
.bistro-brand-preview {
  width: 100%; margin-bottom: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  background: #0b0d0c;
}
.bistro-logo { display: flex; align-items: center; gap: 10px; color: #f5f5f2; font: 800 .92rem/1.2 var(--font-head); }
.bistro-logo img { width: 38px; height: 38px; object-fit: contain; }
.bistro-brand-preview small { display: block; margin-top: 10px; color: #ff9f1a; font-size: .6rem; }
.bistro-card h3 { margin-bottom: 13px; font-size: 1.05rem; letter-spacing: -.02em; }
.bistro-card p { margin: 0; color: var(--muted); font-size: .76rem; }
.bistro-card .feature-list { margin-bottom: 0; }

.section-heading { margin-bottom: 28px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-heading h2 span, .control-copy h2 span, .setup-panel h2 span { color: var(--orange); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card {
  min-height: 400px; display: grid; grid-template-columns: 1fr 190px; gap: 20px; padding: 27px;
  overflow: hidden; border: 1px solid; border-radius: 17px; background: radial-gradient(circle at 90% 100%, rgba(255,255,255,.04), transparent 40%), #101211;
}
.app-card--diph { border-color: rgba(26, 119, 255, 0.68); box-shadow: inset 0 0 45px rgba(0, 97, 255, .035); }
.app-card--order { border-color: rgba(100, 175, 16, 0.58); box-shadow: inset 0 0 45px rgba(95, 175, 16, .03); }
.app-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.app-logo-tile { width: 190px; height: 92px; overflow: hidden; margin-bottom: 12px; padding: 5px; border-radius: 11px; background: #fff; }
.app-logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.order-title { min-height: 92px; display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.order-title h3 { margin: 0; font-size: 1.35rem; }
.order-icon { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(112, 187, 17, .4); border-radius: 15px; background: rgba(105, 176, 16, .08); }
.order-icon img { width: 48px; height: 48px; object-fit: contain; }
.status { display: inline-flex; margin-bottom: 13px; padding: 5px 9px; border: 1px solid; border-radius: 999px; font: 700 .58rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.status--blue { color: #6fb0ff; border-color: rgba(65, 142, 255, .4); background: rgba(28, 111, 255, .08); }
.status--green { color: #92d435; border-color: rgba(112, 187, 17, .4); background: rgba(112, 187, 17, .08); }
.app-copy > p { min-height: 45px; margin-bottom: 14px; color: var(--muted); font-size: .8rem; }
.feature-list { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; color: #c2c4c0; font-size: .74rem; }
.feature-list li { position: relative; padding-left: 23px; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: .05em; display: grid; place-items: center;
  width: 14px; height: 14px; color: var(--orange); border: 1px solid currentColor; border-radius: 50%; font-size: .5rem; font-weight: 800;
}
.feature-list--blue li::before { color: #398dff; }
.feature-list--green li::before { color: #79bd19; }
.app-copy .button { margin-top: auto; align-self: stretch; color: white; }
.mini-phone {
  align-self: end; width: 174px; height: 330px; padding: 18px 11px; overflow: hidden;
  border: 2px solid #555; border-radius: 29px; background: #090a0a; box-shadow: 0 24px 45px rgba(0,0,0,.45); transform: rotate(5deg) translateY(35px);
}
.mini-phone--diph { border-color: #457ec1; }
.mini-phone--order { border-color: #58801e; transform: rotate(4deg) translateY(35px); }
.mini-phone__top { display: flex; align-items: center; gap: 5px; font-size: .5rem; }
.mini-phone__top img { width: 17px; height: 17px; object-fit: contain; }
.mini-credit { display: grid; gap: 4px; margin: 18px 0 11px; padding: 10px; border-radius: 8px; background: #171918; font-size: .6rem; }
.mini-credit small { color: #8a8d88; }
.mini-meals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-meals span { height: 63px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #5f371d, #1c1c18); font-size: 1.7rem; }
.mini-line { width: 100%; height: 8px; margin-top: 14px; border-radius: 10px; background: #252824; }
.mini-line--short { width: 62%; }

.control { padding-top: 30px; }
.control-panel { display: grid; grid-template-columns: 280px 1fr; min-height: 390px; overflow: hidden; }
.control-copy { padding: 35px 27px; border-right: 1px solid rgba(255, 122, 0, .25); background: radial-gradient(circle at 0 100%, rgba(255,90,0,.08), transparent 55%); }
.control-copy h2 { margin-bottom: 13px; font-size: 1.75rem; }
.control-copy > p:not(.eyebrow) { color: var(--muted); font-size: .78rem; }
.control-copy .feature-list { margin-top: 18px; }
.dashboard { display: grid; grid-template-columns: 54px 1fr; min-width: 0; background: #0b0d0c; }
.dash-nav { display: flex; flex-direction: column; align-items: center; gap: 7px; padding-top: 14px; border-right: 1px solid #262826; }
.dash-nav img { width: 30px; height: 30px; margin-bottom: 12px; object-fit: contain; }
.dash-nav span { width: 100%; height: 38px; display: grid; place-items: center; color: #a8aaa5; font-size: .8rem; }
.dash-nav .active { color: white; background: linear-gradient(90deg, #bd4000, #f17800); }
.dash-main { min-width: 0; padding: 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: .82rem; }
.dash-head button { padding: 7px 11px; color: #aaa; border: 1px solid #252725; border-radius: 6px; background: #141615; font-size: .6rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.metric-grid > div { display: grid; min-width: 0; min-height: 100px; padding: 14px 12px; border: 1px solid rgba(255,255,255,.04); border-radius: 8px; background: linear-gradient(145deg, #1b1d1c, #121413); }
.metric-grid small { color: #db9919; font-size: .54rem; }
.metric-grid strong { align-self: center; font: 600 clamp(.78rem, 1.5vw, 1.15rem)/1.1 var(--font-head); white-space: nowrap; }
.metric-grid span { color: #898c87; font-size: .5rem; }
.chart-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 9px; margin-top: 10px; }
.usage-chart, .category-chart { min-height: 150px; padding: 16px; border: 1px solid rgba(255,255,255,.04); border-radius: 8px; background: linear-gradient(145deg, #171918, #101211); font-size: .6rem; }
.chart-head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.usage-chart > strong { font-size: .65rem; }
.progress { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 10px; background: #292b29; }
.progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8c00, #f45a00); }
.progress-label { display: block; margin-top: 12px; text-align: center; }
.category-chart > span { display: block; margin-bottom: 8px; }
.category-chart p { display: flex; justify-content: space-between; margin: 4px 0; color: #a5a7a3; font-size: .55rem; }

.setup { padding-top: 10px; }
.setup-panel { padding: 24px 30px 30px; }
.section-heading--compact { margin-bottom: 28px; }
.section-heading--compact h2 { font-size: 1.7rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; min-width: 0; padding: 52px 24px 0; border-top: 1px solid rgba(255, 126, 0, .55); }
.step-number {
  position: absolute; top: -22px; left: 20px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  color: #ffb000; border: 1px solid var(--orange); border-radius: 50%; background: #0c0e0d;
  box-shadow: 0 0 20px rgba(255,104,0,.16); font: 700 1.05rem/1 var(--font-head);
}
.step-icon { color: var(--orange); font-size: 1.9rem; }
.steps h3 { margin: 9px 0 6px; font-size: .78rem; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: .65rem; }

.demo { padding-top: 10px; }
.demo-panel { display: grid; grid-template-columns: 0.72fr 1.28fr; overflow: hidden; }
.demo-copy {
  padding: 42px 34px; border-right: 1px solid rgba(117,186,22,.22);
  background:
    radial-gradient(circle at 0 100%, rgba(104, 181, 16, .16), transparent 45%),
    radial-gradient(circle at 100% 0, rgba(255, 114, 0, .09), transparent 45%);
}
.demo-copy > img { width: 70px; height: 70px; margin-bottom: 16px; object-fit: contain; }
.demo-copy h2 { margin-bottom: 15px; font-size: 1.65rem; }
.demo-copy > p { color: var(--muted); font-size: .76rem; }
.demo-benefits { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.demo-benefits span { display: grid; justify-items: center; gap: 7px; color: #b7b9b5; font-size: .57rem; }
.demo-benefits i { width: 27px; height: 27px; display: grid; place-items: center; color: #82ca18; border: 1px solid currentColor; border-radius: 50%; font-style: normal; }
.demo-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 15px; padding: 30px; align-content: center; }
.form-heading { grid-column: 1 / -1; }
.form-heading h3 { margin-bottom: 5px; font-size: 1.15rem; }
.form-heading p { margin-bottom: 8px; color: var(--muted); font-size: .68rem; }
.field { display: grid; gap: 6px; }
.field label { color: #c7c8c4; font-size: .58rem; }
.field label span { color: #737671; }
.field input, .field select, .field textarea {
  min-width: 0; width: 100%; padding: 11px 12px; color: #ecece9; border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; outline: 0; background: #1a1c1b; font-size: .66rem; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #696c68; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,.08); }
.field--email { grid-column: 1 / 2; }
.field--message { grid-column: 2 / -1; }
.form-submit { grid-column: 3; justify-self: end; align-self: end; min-width: 190px; }
.form-note { grid-column: 1 / 3; align-self: center; margin: 0; font-size: .68rem; }
.form-note.ok { color: #87ce24; }
.form-note.err { color: var(--danger); }

.footer { margin-top: 42px; border-top: 1px solid rgba(255,255,255,.07); background: #050605; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2.4fr 1fr; gap: 38px; padding-top: 36px; padding-bottom: 28px; }
.brand--footer { font-size: 1rem; }
.brand--footer img { width: 32px; height: 32px; }
.footer-brand p { margin: 9px 0 0; color: #7d807b; font-size: .62rem; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer h3 { margin-bottom: 10px; color: #e3e4e0; font-size: .7rem; letter-spacing: 0; }
.footer-links a, .footer-contact a, .footer-contact span { display: block; padding: 3px 0; color: #7f827d; font-size: .6rem; }
.footer a:hover { color: var(--orange); }
.footer-contact { padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: #101211; }
.footer-contact h3 { color: var(--orange); font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.06); color: #575a56; font-size: .57rem; }

.reveal { opacity: 1; transform: none; }
html.motion-ready .reveal {
  opacity: 0; transform: translateY(28px); filter: blur(3px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.72,.25,1), filter .7s ease;
}
html.motion-ready .reveal.is-visible { opacity: 1; transform: none; filter: none; }

@keyframes phoneTurn {
  0%, 100% { transform: translate3d(0, 4px, 0) rotateY(-8deg) rotateX(1deg) rotateZ(5deg); }
  25% { transform: translate3d(4px, -9px, 22px) rotateY(-1deg) rotateX(-1deg) rotateZ(3deg); }
  50% { transform: translate3d(0, -15px, 35px) rotateY(8deg) rotateX(1deg) rotateZ(1deg); }
  75% { transform: translate3d(-4px, -7px, 18px) rotateY(1deg) rotateX(2deg) rotateZ(4deg); }
}
@keyframes fireDance {
  0% { transform: translateX(-50%) scale(.86, .94) rotate(calc(var(--lean) - 4deg)) skewX(-4deg); opacity: .48; }
  45% { transform: translateX(-50%) scale(1.03, 1.08) rotate(var(--lean)) skewX(3deg); opacity: .78; }
  100% { transform: translateX(-50%) scale(.92, 1.17) rotate(calc(var(--lean) + 5deg)) skewX(-2deg); opacity: .58; }
}
@keyframes fireGlow {
  from { transform: scale(.9, .82); opacity: .5; }
  to { transform: scale(1.08, 1.12); opacity: .9; }
}
@keyframes orbitOne {
  from { transform: rotate(-18deg); }
  to { transform: rotate(342deg); }
}
@keyframes orbitTwo {
  from { transform: rotate(12deg) scaleX(1); }
  50% { transform: rotate(192deg) scaleX(.92); }
  to { transform: rotate(372deg) scaleX(1); }
}
@keyframes cardFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 14px); }
}
@keyframes emberDrift {
  from { background-position: 0 0, 40px 33px; }
  to { background-position: 50px -190px, -10px -227px; }
}
@keyframes emberGlow {
  from { opacity: .2; }
  to { opacity: .46; }
}
@keyframes logoFlicker {
  0%, 88%, 100% { filter: drop-shadow(0 0 0 rgba(255,101,0,0)); transform: scale(1); }
  92% { filter: drop-shadow(0 0 8px rgba(255,101,0,.65)); transform: scale(1.05); }
  96% { filter: drop-shadow(0 0 3px rgba(255,184,0,.35)); transform: scale(.99); }
}
@keyframes buttonShine {
  0%, 72% { left: -55%; opacity: 0; }
  77% { opacity: .8; }
  90%, 100% { left: 125%; opacity: 0; }
}

.brand img, .demo-copy > img { animation: logoFlicker 5.5s ease-in-out infinite; }

@media (max-width: 1080px) {
  .nav-menu { gap: 18px; }
  .float-card--left { left: -36px; }
  .float-card--right { right: -30px; }
  .partner-logo { padding-inline: 7px; font-size: .63rem; }
  .app-card { grid-template-columns: 1fr 145px; }
  .mini-phone { width: 150px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header { backdrop-filter: blur(14px); }
  .nav { min-height: 68px; }
  .nav-toggle { display: block; order: 3; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    position: fixed; inset: 68px 0 auto; z-index: 100; display: grid; gap: 0; padding: 15px 20px 25px;
    border-bottom: 1px solid var(--line); background: rgba(7,8,7,.98); transform: translateY(-130%); transition: transform .25s ease;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu a { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-copy { max-width: 680px; margin-inline: auto; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .value-chips { justify-content: center; }
  .hero-visual { min-height: 600px; }
  .struggle-grid { grid-template-columns: 1fr 1fr; }
  .struggle-intro { grid-column: 1 / -1; }
  .partner-rail { grid-template-columns: repeat(3, 1fr); }
  .partner-logo { border-bottom: 1px solid rgba(255,255,255,.07); }
  .bistro-grid { grid-template-columns: 1fr; }
  .bistro-card { min-height: auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr 220px; }
  .mini-phone { width: 190px; }
  .control-panel { grid-template-columns: 1fr; }
  .control-copy { border-right: 0; border-bottom: 1px solid rgba(255,122,0,.2); }
  .steps { grid-template-columns: 1fr 1fr; gap: 50px 0; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-copy { border-right: 0; border-bottom: 1px solid rgba(117,186,22,.2); }
  .footer-grid { grid-template-columns: 1fr 2fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 48px 0; }
  .nav-cta { display: none; }
  .brand { font-size: 1.05rem; }
  .hero { padding-top: 36px; }
  .hero-grid { min-height: auto; }
  .hero-copy { width: 100%; }
  .eyebrow--pill { max-width: 100%; justify-content: center; line-height: 1.4; text-align: center; white-space: normal; }
  .hero h1 { max-width: 100%; font-size: clamp(2.25rem, 11vw, 3.2rem); overflow-wrap: normal; }
  .hero-actions .button { width: 100%; }
  .value-chip { flex: 1 1 30%; min-width: 104px; padding: 9px; }
  .hero-visual { min-height: 530px; transform: scale(.86); margin: -25px -30px -40px; }
  .phone { width: 260px; height: 520px; }
  .float-card { width: 150px; padding: 10px; }
  .float-card--left { left: 0; top: 145px; }
  .float-card--right { right: 0; }
  .float-card--bottom { right: 8px; bottom: 52px; }
  .struggle-grid { grid-template-columns: 1fr; padding: 14px; }
  .struggle-intro { grid-column: auto; padding: 12px 8px; }
  .partner-rail { grid-template-columns: repeat(2, 1fr); }
  .partner-logo { min-height: 60px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .partner-logo--diph { margin: 5px; }
  .bistro-card { padding: 22px; }
  .app-card { grid-template-columns: 1fr; padding: 22px; }
  .mini-phone { display: none; }
  .app-logo-tile { max-width: 180px; }
  .dashboard { grid-template-columns: 40px 1fr; }
  .dash-main { padding: 11px; overflow-x: auto; }
  .metric-grid { min-width: 480px; }
  .chart-grid { min-width: 480px; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps li { padding-left: 15px; }
  .demo-copy, .demo-form { padding: 25px 20px; }
  .demo-benefits { margin-top: 25px; }
  .demo-form { grid-template-columns: 1fr; }
  .form-heading, .field--email, .field--message, .form-submit, .form-note { grid-column: 1; }
  .form-submit { width: 100%; justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Background music toggle */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 18, 17, 0.92);
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.music-toggle:hover {
  color: var(--orange);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.music-toggle__bars { display: none; align-items: flex-end; gap: 3px; height: 16px; }

.music-toggle__bars i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  animation: music-bar 0.9s ease-in-out infinite;
}

.music-toggle__bars i:nth-child(2) { animation-delay: -.3s; }
.music-toggle__bars i:nth-child(3) { animation-delay: -.6s; }

.music-toggle.is-playing { color: var(--orange); border-color: var(--line-strong); }
.music-toggle.is-playing .music-toggle__icon { display: none; }
.music-toggle.is-playing .music-toggle__bars { display: inline-flex; }

@keyframes music-bar {
  0%, 100% { height: 5px; }
  50% { height: 16px; }
}

@media (max-width: 640px) {
  .music-toggle { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.motion-ready .reveal, .reveal { opacity: 1; transform: none; filter: none; }
  .music-toggle__bars i { height: 10px; }
}
