:root {
  --ink: #081012;
  --ink-2: #10191b;
  --paper: #f5f5ec;
  --paper-2: #ecefe4;
  --white: #fffdf4;
  --muted: #68716d;
  --muted-dark: #a6b0aa;
  --line: rgba(8, 16, 18, 0.13);
  --line-dark: rgba(255, 253, 244, 0.15);
  --green: #43d47f;
  --lime: #dbff3d;
  --cyan: #32c7d8;
  --coral: #ff695d;
  --violet: #35244b;
  --shadow: 0 30px 90px rgba(8, 16, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 244, 0.18);
  border-radius: 8px;
  background: rgba(8, 16, 18, 0.62);
  color: var(--white);
  box-shadow: 0 18px 70px rgba(8, 16, 18, 0.22);
  backdrop-filter: blur(18px) saturate(1.15);
  transform: translateX(-50%);
}

.brand,
.nav,
.hero-actions,
.proof-bar,
.demo-head,
.demo-footer,
.sample-top,
.refund-flow {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--white);
  border-right-color: var(--coral);
  border-radius: 50%;
}

.nav {
  justify-content: center;
  gap: 22px;
  color: rgba(255, 253, 244, 0.72);
  font-size: 14px;
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-cta {
  min-height: 40px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.nav a:hover {
  transform: translateY(-1px);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

#bot,
#inside,
#payment,
#refund {
  scroll-margin-top: 108px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 44%, rgba(67, 212, 127, 0.18), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(50, 199, 216, 0.14), transparent 22%),
    linear-gradient(130deg, #071012 0%, #0a1417 48%, #13211c 100%);
  color: var(--white);
}

#macro-field,
.hero-noise {
  position: absolute;
  inset: 0;
}

#macro-field {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-noise {
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 253, 244, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 244, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 54px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 128px 0 76px;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.12;
}

.hero-lead,
.section-copy p,
.fine-print p,
.refund-panel p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.hero-lead {
  color: rgba(255, 253, 244, 0.72);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  padding: 0 18px;
}

.primary-btn {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(219, 255, 61, 0.16);
}

.secondary-btn {
  border: 1px solid rgba(255, 253, 244, 0.22);
  background: rgba(255, 253, 244, 0.06);
  color: var(--white);
}

.tech-demo {
  position: relative;
  min-width: 0;
  min-height: 620px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 253, 244, 0.1), rgba(255, 253, 244, 0.02)),
    rgba(8, 16, 18, 0.62);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 253, 244, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
}

.tech-demo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 244, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.scanner-line {
  position: absolute;
  inset: 0 auto 0 18%;
  width: 2px;
  background: linear-gradient(transparent, rgba(219, 255, 61, 0.8), transparent);
  opacity: 0.55;
  animation: scan 4.8s ease-in-out infinite;
}

.demo-head {
  position: relative;
  z-index: 2;
  justify-content: space-between;
  color: rgba(255, 253, 244, 0.64);
  font-size: 13px;
  text-transform: uppercase;
}

.demo-head b {
  color: var(--lime);
}

.macro-grid {
  position: absolute;
  top: 76px;
  left: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 220px;
  padding: 14px;
  border: 1px solid rgba(255, 253, 244, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 244, 0.1);
  backdrop-filter: blur(12px);
}

.macro-grid span {
  padding: 9px 8px;
  border-radius: 8px;
  background: rgba(8, 16, 18, 0.86);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.plate-engine {
  position: absolute;
  top: 100px;
  right: 28px;
  width: 360px;
  height: 360px;
  transform: perspective(760px) rotateX(58deg) rotateZ(-18deg);
  transform-style: preserve-3d;
}

.ring,
.plate-core {
  position: absolute;
  border-radius: 50%;
}

.ring {
  border: 1px solid rgba(255, 253, 244, 0.2);
  animation: rotatePlate 18s linear infinite;
}

.ring-a {
  inset: 12px;
  box-shadow: inset 0 0 0 30px rgba(67, 212, 127, 0.08);
}

.ring-b {
  inset: 58px;
  border-color: rgba(50, 199, 216, 0.36);
  animation-duration: 26s;
  animation-direction: reverse;
}

.plate-core {
  inset: 112px;
  background: conic-gradient(from 90deg, var(--lime), var(--green), var(--cyan), var(--coral), var(--lime));
  box-shadow:
    0 0 70px rgba(67, 212, 127, 0.22),
    inset 0 0 0 22px rgba(8, 16, 18, 0.48);
}

.food-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 88px;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  transform: rotateZ(18deg) rotateX(-58deg);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.chip-protein {
  top: 58px;
  right: 48px;
  background: var(--lime);
}

.chip-carb {
  top: 178px;
  left: 10px;
  background: var(--cyan);
}

.chip-veg {
  right: 0;
  bottom: 68px;
  background: var(--green);
}

.menu-output {
  position: absolute;
  right: 24px;
  bottom: 82px;
  z-index: 4;
  width: 320px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 244, 0.13);
  border-radius: 8px;
  background: rgba(8, 16, 18, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.menu-output div {
  padding: 11px 0;
  border-top: 1px solid rgba(255, 253, 244, 0.13);
}

.menu-output strong,
.menu-output span,
.menu-output i {
  display: block;
}

.menu-output span {
  margin: 4px 0 8px;
  color: rgba(255, 253, 244, 0.66);
}

.menu-output i,
.sample-row i {
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 253, 244, 0.32), rgba(255, 253, 244, 0.04));
  filter: blur(2px);
}

.demo-footer {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 5;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-footer span {
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.proof-bar {
  gap: 12px;
  padding: 22px 0 70px;
}

.proof-bar div {
  flex: 1 1 0;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(8, 16, 18, 0.06);
}

.proof-bar b {
  display: block;
  margin-bottom: 8px;
  font-size: 25px;
}

.proof-bar span {
  color: var(--muted);
}

.split-section,
.sample-section,
.payment-section,
.refund-section,
.stars-guide {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
  padding: 86px 0;
}

.section-copy {
  position: sticky;
  top: 112px;
}

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

.feature-card,
.sample-shell,
.step,
.payment-visual,
.refund-panel,
.fine-print,
.guide-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.feature-card span,
.sample-top span,
.step span {
  display: block;
  margin-bottom: 10px;
  color: #2a7546;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.5;
}

.accent-card {
  grid-row: span 2;
  min-height: 432px;
  background:
    linear-gradient(150deg, rgba(219, 255, 61, 0.84), rgba(255, 253, 244, 0.74)),
    var(--lime);
}

.accent-card h3 {
  max-width: 360px;
  font-size: 36px;
}

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

.dark-card p,
.dark-card span {
  color: rgba(255, 253, 244, 0.7);
}

.sample-section {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.sample-shell {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(8, 16, 18, 0.05), transparent),
    var(--white);
  box-shadow: var(--shadow);
}

.sample-top {
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.sample-row {
  display: grid;
  grid-template-columns: 150px 1fr 122px;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.sample-row span {
  color: var(--muted);
}

.sample-tags,
.refund-flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sample-tags span,
.refund-flow span {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.sample-tags span {
  background: var(--cyan);
  color: var(--ink);
}

.narrow {
  max-width: 450px;
}

.payment-section {
  grid-template-columns: 0.82fr 0.88fr 0.9fr;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.step b,
.step em {
  display: block;
}

.step b {
  margin-bottom: 6px;
  font-size: 18px;
}

.step em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.step.is-active {
  background: var(--ink);
  color: var(--white);
}

.step.is-active span,
.step.is-active em {
  color: rgba(255, 253, 244, 0.7);
}

.payment-visual {
  position: relative;
  min-height: 430px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 40%, rgba(219, 255, 61, 0.16), transparent 32%),
    var(--white);
}

.payment-visual::before {
  content: "";
  position: absolute;
  inset: 42px 30px 96px;
  border: 1px solid rgba(8, 16, 18, 0.1);
  border-radius: 8px;
  transform: perspective(600px) rotateX(62deg) rotateZ(-12deg);
}

.pay-cube {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(8, 16, 18, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8, 16, 18, 0.1);
  animation: cubeFloat 9s ease-in-out infinite;
}

.cube-a {
  top: 78px;
  left: 34%;
  background: var(--lime);
}

.cube-b {
  top: 150px;
  right: 20%;
  background: var(--coral);
  animation-delay: -2.4s;
}

.cube-c {
  left: 43%;
  bottom: 118px;
  background: var(--cyan);
  animation-delay: -4.4s;
}

#step-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.stars-guide {
  grid-template-columns: 0.76fr 1.24fr;
  align-items: stretch;
}

.guide-head {
  padding: 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(219, 255, 61, 0.16), transparent 34%),
    var(--ink);
  color: var(--white);
}

.guide-head p:last-child {
  margin-bottom: 0;
  color: rgba(255, 253, 244, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

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

.guide-card {
  min-height: 238px;
  padding: 24px;
  background: var(--white);
}

.guide-card span,
.faq-card span {
  display: block;
  margin-bottom: 10px;
  color: #2a7546;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-card p,
.faq-card p {
  color: var(--muted);
  line-height: 1.52;
}

.primary-guide {
  background:
    linear-gradient(145deg, rgba(219, 255, 61, 0.9), rgba(255, 253, 244, 0.82)),
    var(--lime);
}

.primary-guide h3 {
  font-size: 28px;
}

.warning-guide {
  border-color: rgba(255, 105, 93, 0.42);
  box-shadow: inset 5px 0 0 var(--coral);
}

.refund-section {
  grid-template-columns: 1.16fr 0.84fr;
}

.refund-panel,
.fine-print {
  padding: 28px;
  background: var(--white);
}

.refund-panel {
  background: var(--ink);
  color: var(--white);
}

.refund-panel .eyebrow,
.refund-panel p {
  color: rgba(255, 253, 244, 0.72);
}

.refund-flow {
  border-color: rgba(255, 253, 244, 0.15);
}

.refund-flow span {
  background: rgba(255, 253, 244, 0.1);
  color: var(--white);
}

.fine-print {
  border-left: 6px solid var(--coral);
}

.fine-print p + p {
  margin-top: 16px;
}

.faq-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 30px 0 82px;
}

.faq-card {
  padding: 22px;
  background: var(--white);
}

.faq-card a {
  color: #176a3a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-cta {
  padding: 112px 0 132px;
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .primary-btn {
  margin-top: 8px;
}

.reveal {
  transform: translateY(14px);
  opacity: 0;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes scan {
  0%,
  100% {
    transform: translateX(-150px);
    opacity: 0.08;
  }
  50% {
    transform: translateX(310px);
    opacity: 0.52;
  }
}

@keyframes rotatePlate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cubeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(14px, -18px, 0) rotate(7deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero-inner,
  .split-section,
  .sample-section,
  .payment-section,
  .refund-section,
  .stars-guide {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 30px;
    padding-top: 112px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .section-copy {
    position: static;
  }

  .proof-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: auto;
    max-width: calc(100vw - 16px);
    overflow: hidden;
    transform: none;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    max-width: calc(100% - 58px);
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.08;
    text-align: center;
    white-space: nowrap;
  }

  .section,
  .hero-inner {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 106px 0 50px;
  }

  .hero-copy,
  .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead,
  .section-copy p,
  .fine-print p,
  .refund-panel p {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .tech-demo {
    width: 100%;
    min-height: 590px;
    padding: 18px;
  }

  .demo-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .macro-grid {
    top: 58px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .plate-engine {
    top: 154px;
    right: 50%;
    width: 280px;
    height: 280px;
    transform: translateX(50%) perspective(760px) rotateX(58deg) rotateZ(-18deg);
  }

  .food-chip {
    min-width: 74px;
    min-height: 38px;
    font-size: 12px;
  }

  .menu-output {
    right: 18px;
    bottom: 74px;
    left: 18px;
    width: auto;
  }

  .proof-bar,
  .feature-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .accent-card {
    min-height: 280px;
  }

  .accent-card h3 {
    font-size: 29px;
  }

  .sample-row {
    grid-template-columns: 1fr;
  }

  .payment-visual {
    min-height: 360px;
  }
}
