:root {
  color-scheme: light;
  --bg: #fff8ef;
  --surface: #ffffff;
  --surface-soft: #fff2e9;
  --ink: #241915;
  --muted: #76685f;
  --line: #eadfd3;
  --brand: #e9611a;
  --brand-dark: #9b3d0f;
  --brand-soft: #ffe1d2;
  --green: #2f8f58;
  --blue: #2970a8;
  --gold: #8b6500;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(233, 97, 26, 0.14), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(36, 25, 21, 0.08);
  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a,
.footer-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
.footer-link:hover {
  color: var(--brand-dark);
}

.header-cta,
.primary-action,
.secondary-action,
.order-card button,
.form-submit {
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.header-cta,
.primary-action {
  padding: 0 18px;
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 26px rgba(233, 97, 26, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta:hover,
.primary-action:hover {
  transform: translateY(-1px);
  background: #d95715;
  box-shadow: 0 16px 32px rgba(233, 97, 26, 0.26);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 4vw, 68px);
  width: 100%;
  min-height: 86vh;
  padding: clamp(42px, 6vh, 72px) clamp(24px, 5vw, 76px);
  background: #fff9f4;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: 48vw;
  height: 48vw;
  max-width: 760px;
  max-height: 760px;
  inset: 50% -13% auto auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 225, 207, 0.52);
  filter: blur(2px);
  z-index: -1;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
  position: relative;
  z-index: 2;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 6.6vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin-bottom: 22px;
  color: #241914;
  font-size: clamp(4rem, 5.6vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: #f05a16;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 590px;
  margin-inline: 0;
  color: #766a63;
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.hero .primary-action,
.hero .secondary-action {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 10px;
}

.hero .primary-action {
  background: #f05a16;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #766a63;
  font-size: 0.82rem;
  font-weight: 760;
}

.hero-proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #35a463;
}

.hero-product-visual {
  position: relative;
  z-index: 1;
  width: min(110%, 920px);
  margin: 0;
  justify-self: end;
}

.hero-product-visual::before {
  content: "";
  position: absolute;
  inset: 18% 8% 10%;
  z-index: -1;
  border-radius: 40%;
  background: rgba(36, 25, 20, 0.06);
  filter: blur(46px);
}

.hero-product-visual img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  margin-left: -2%;
  -webkit-mask-image: radial-gradient(ellipse 84% 82% at center, #000 60%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 82% at center, #000 60%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  filter: drop-shadow(0 24px 38px rgba(65, 37, 23, 0.1));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 10px;
  max-width: 660px;
  margin-inline: auto;
}

.hero-stats span {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.hero-story {
  position: relative;
  width: min(100%, 1540px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 211, 0.94);
  border-radius: 24px;
  background: #fffaf5;
  box-shadow: 0 30px 90px rgba(70, 39, 22, 0.16);
}

.hero-story::before {
  content: "";
  position: absolute;
  inset: -28px 8% auto;
  height: 60px;
  border-radius: 50%;
  background: rgba(233, 97, 26, 0.28);
  filter: blur(38px);
  pointer-events: none;
}

.hero-story-desktop {
  display: block;
  width: 100%;
  height: auto;
}

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

.hero-story figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-story figcaption strong {
  color: var(--ink);
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--green);
  font-weight: 850;
}

.live-label i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 88, 0.12);
}

.mobile-swipe {
  display: none;
}

.hero-demo {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.hero-demo::before {
  content: "";
  position: absolute;
  inset: 38px 14px 44px 62px;
  border: 1px solid rgba(233, 97, 26, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 225, 210, 0.42)),
    repeating-linear-gradient(0deg, rgba(36, 25, 21, 0.04) 0 1px, transparent 1px 38px);
  z-index: -1;
}

.phone {
  position: absolute;
  width: min(296px, 43vw);
  min-width: 250px;
  height: 585px;
  overflow: hidden;
  border: 9px solid #181312;
  border-radius: 32px;
  background: #fbf7f2;
  box-shadow: 0 24px 70px rgba(36, 25, 21, 0.2);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 84px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #181312;
  z-index: 2;
}

.phone-chat {
  top: 12px;
  left: 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.4), rgba(239, 224, 209, 0.94)),
    #efe0d1;
}

.phone-admin {
  right: 0;
  bottom: 0;
  transform: rotate(1.5deg);
}

.phone-top,
.app-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.92);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f7d7c7;
  color: var(--brand-dark);
  font-weight: 900;
}

.phone strong {
  display: block;
  font-size: 0.94rem;
}

.phone small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px;
}

.bubble {
  max-width: 86%;
  margin: 0;
  padding: 11px 12px;
  border-radius: 16px;
  font-size: 0.87rem;
  line-height: 1.28;
}

.bubble.bot {
  align-self: flex-start;
  background: white;
}

.bubble.client {
  align-self: flex-end;
  background: #d9f2dc;
}

.bubble.accent {
  border: 1px solid rgba(233, 97, 26, 0.2);
  color: var(--brand-dark);
}

.typing-pill {
  position: absolute;
  right: 14px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(47, 143, 88, 0.22);
}

.app-title {
  justify-content: space-between;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 143, 88, 0.16);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.tab {
  padding: 9px 6px;
  border-radius: 12px;
  background: #f3ece5;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.tab.active {
  background: var(--gold);
  color: white;
}

.order-card {
  margin: 0 14px 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.order-card.active {
  border-color: rgba(233, 97, 26, 0.32);
  animation: pulse 2.8s ease-in-out infinite;
}

.order-card b {
  display: block;
  margin: 10px 0;
  font-size: 1.1rem;
}

.receipt {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f7d7c7;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.order-card button {
  width: 100%;
  margin-top: 12px;
  background: var(--brand);
  color: white;
}

.section {
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.pilot p {
  color: var(--muted);
  line-height: 1.55;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(36, 25, 21, 0.06);
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.flow-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-section {
  background:
    linear-gradient(180deg, #f8efe6 0%, #fff6ee 100%);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
}

.control-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(36, 25, 21, 0.08);
}

.control-card:first-child {
  min-height: 410px;
  background:
    radial-gradient(circle at 90% 12%, rgba(233, 97, 26, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.control-card-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.control-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.control-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  letter-spacing: -0.035em;
}

.control-card-copy p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mini-order-ui {
  position: absolute;
  right: clamp(22px, 4vw, 46px);
  bottom: clamp(24px, 4vw, 44px);
  left: clamp(22px, 4vw, 46px);
  padding: 18px;
  border: 1px solid rgba(234, 223, 211, 0.94);
  border-radius: 18px;
  background: #fffaf6;
  box-shadow: 0 22px 54px rgba(36, 25, 21, 0.13);
}

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mini-tabs > * {
  padding: 11px 8px;
  border-radius: 9px;
  background: #f2eae3;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.mini-tabs b {
  background: var(--brand);
  color: white;
}

.mini-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(233, 97, 26, 0.22);
  border-radius: 13px;
  background: white;
}

.mini-order span,
.mini-order strong,
.mini-order small {
  display: block;
}

.mini-order small {
  margin-top: 5px;
  color: var(--muted);
}

.receipt-ui,
.bot-status-ui {
  position: absolute;
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(20px, 3vw, 30px);
  left: clamp(20px, 3vw, 32px);
  display: grid;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf6;
}

.receipt-ui {
  grid-template-columns: 42px 1fr auto;
}

.receipt-ui small,
.receipt-ui strong,
.bot-status-ui small,
.bot-status-ui strong {
  display: block;
}

.receipt-ui small,
.bot-status-ui small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.receipt-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(47, 143, 88, 0.13);
  color: var(--green);
  font-weight: 900;
}

.receipt-ui button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--brand);
  color: white;
  font-size: 0.82rem;
  font-weight: 850;
}

.bot-status-ui {
  grid-template-columns: 48px 1fr 12px;
}

.bot-status-ui img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.bot-status-ui i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 88, 0.12);
}

.config-section {
  background: #fffaf5;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1320px;
}

.config-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(234, 223, 211, 0.95);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 238, 0.86));
  box-shadow: 0 16px 40px rgba(36, 25, 21, 0.06);
}

.config-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.config-card h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.config-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.operations-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(620px, 1.45fr) minmax(320px, 0.95fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
  min-height: 540px;
  padding: clamp(18px, 4vw, 38px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 36% 46%, rgba(233, 97, 26, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(139, 101, 0, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 225, 210, 0.42));
  box-shadow: 0 24px 70px rgba(36, 25, 21, 0.1);
  overflow: hidden;
}

.operations-showcase::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(36, 25, 21, 0.035) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(36, 25, 21, 0.035) 0 1px, transparent 1px 46px);
  pointer-events: none;
}

.commerce-scene,
.owner-console {
  position: relative;
  z-index: 1;
}

.commerce-scene {
  min-height: 470px;
}

.person-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  box-shadow: inset 0 -8px 14px rgba(36, 25, 21, 0.14);
}

.avatar-orange {
  background: var(--brand);
}

.avatar-green {
  background: var(--green);
}

.avatar-blue {
  background: var(--blue);
}

.avatar-dark {
  background: var(--ink);
}

.floating-order strong,
.owner-top strong,
.console-order strong {
  display: block;
}

.floating-order p,
.owner-top p,
.console-order p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.32;
}

.floating-order {
  position: absolute;
  display: grid;
  grid-template-columns: 44px minmax(120px, 1fr);
  gap: 12px;
  align-items: center;
  width: min(238px, 27vw);
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid rgba(234, 223, 211, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(36, 25, 21, 0.1);
}

.floating-order::after {
  content: "";
  position: absolute;
  right: -78px;
  top: 50%;
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, rgba(233, 97, 26, 0.38), transparent);
}

.order-one {
  top: 42px;
  left: 4px;
}

.order-two {
  top: 84px;
  right: 2px;
}

.order-two::after {
  right: auto;
  left: -70px;
  background: linear-gradient(90deg, transparent, rgba(233, 97, 26, 0.38));
}

.order-three {
  bottom: 122px;
  left: 28px;
}

.order-four {
  right: 18px;
  bottom: 38px;
}

.order-four::after {
  right: auto;
  left: -70px;
  background: linear-gradient(90deg, transparent, rgba(233, 97, 26, 0.38));
}

.commerce-phone {
  position: absolute;
  left: 47%;
  top: 50%;
  width: 284px;
  min-height: 430px;
  padding: 0 0 16px;
  transform: translate(-50%, -50%) rotate(-1deg);
  border: 9px solid #181312;
  border-radius: 34px;
  background: #fffaf4;
  box-shadow: 0 26px 72px rgba(36, 25, 21, 0.24);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 88px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #181312;
  z-index: 2;
}

.commerce-phone-header {
  display: grid;
  grid-template-columns: 42px 1fr 12px;
  gap: 10px;
  align-items: center;
  padding: 48px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.96);
}

.commerce-phone-header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.commerce-phone-header strong,
.commerce-phone-header span {
  display: block;
}

.commerce-phone-header span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.commerce-phone-header i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 88, 0.12);
}

.commerce-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f0e2d4;
}

.bot-msg,
.client-msg {
  max-width: 88%;
  margin: 0;
  padding: 10px 11px;
  border-radius: 15px;
  font-size: 0.82rem;
  line-height: 1.28;
}

.bot-msg {
  align-self: flex-start;
  background: white;
}

.client-msg {
  align-self: flex-end;
  background: #d9f2dc;
}

.client-msg.compact {
  max-width: 58%;
}

.order-summary {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(233, 97, 26, 0.18);
  border-radius: 15px;
  background: white;
  font-size: 0.78rem;
}

.order-summary span {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  align-items: center;
}

.order-summary em {
  font-style: normal;
}

.order-summary b,
.summary-total {
  color: var(--brand-dark);
}

.summary-total {
  justify-self: end;
}

.owner-console {
  padding: 18px;
  border: 1px solid rgba(234, 223, 211, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(36, 25, 21, 0.12);
}

.owner-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.console-tabs,
.console-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.console-tabs span,
.console-summary span {
  padding: 10px 8px;
  border-radius: 8px;
  background: #f4ece4;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
}

.console-tabs .active {
  background: var(--gold);
  color: white;
}

.console-order {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(233, 97, 26, 0.24);
  border-radius: 8px;
  background: #fffaf6;
}

.console-order b {
  white-space: nowrap;
}

.owner-console button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-weight: 900;
}

.pilot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(36px, 6vw, 76px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 97, 26, 0.18), transparent 38%),
    var(--ink);
  color: white;
  box-shadow: 0 24px 64px rgba(36, 25, 21, 0.14);
}

.pilot div {
  max-width: 720px;
}

.pilot .eyebrow {
  color: #ffb996;
}

.pilot h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.pilot p {
  margin-bottom: 0;
  color: #d9cfc8;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer span {
  font-weight: 900;
  color: var(--ink);
}

.footer-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.legal-main {
  min-height: calc(100vh - 87px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 88% 0%, rgba(233, 97, 26, 0.11), transparent 34%),
    #fff9f4;
}

.legal-article {
  width: min(100%, 900px);
  margin: 0 auto;
}

.legal-article > .eyebrow {
  margin-bottom: 16px;
}

.legal-article h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.legal-updated {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 720;
}

.legal-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(36, 25, 21, 0.07);
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card p {
  margin-bottom: 14px;
}

.legal-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-note {
  padding: 16px;
  border: 1px solid rgba(233, 97, 26, 0.22);
  border-radius: 10px;
  background: #fff4ec;
}

.legal-contact {
  display: inline-flex;
  color: var(--brand-dark);
  font-weight: 850;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal[aria-hidden="false"] {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 25, 21, 0.54);
}

.modal-panel {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(36, 25, 21, 0.32);
}

.modal-panel .eyebrow {
  margin-bottom: 10px;
  font-size: 0.76rem;
}

.modal-panel h2 {
  max-width: 390px;
  margin-bottom: 12px;
  font-size: clamp(2.05rem, 6vw, 3.25rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
}

.modal-copy {
  max-width: 410px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
  color: var(--ink);
  outline: 0;
}

input {
  height: 48px;
  padding: 0 13px;
}

textarea {
  padding: 12px 13px;
  resize: vertical;
}

.modal-panel input,
.modal-panel textarea {
  font-weight: 600;
}

.modal-panel input::placeholder,
.modal-panel textarea::placeholder {
  color: rgba(118, 104, 95, 0.76);
  font-weight: 650;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(233, 97, 26, 0.15);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  width: 100%;
  margin-top: 2px;
  font-weight: 820;
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #b42318;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(233, 97, 26, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(233, 97, 26, 0.15);
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-card:last-child {
    grid-column: 1 / -1;
    min-height: 320px;
  }

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

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-inline: clamp(24px, 7vw, 64px);
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-product-visual {
    width: min(100%, 780px);
    justify-self: center;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

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

  .control-card:first-child {
    grid-row: auto;
    min-height: 520px;
  }

  .hero-demo {
    min-height: 600px;
  }

  .phone {
    width: min(280px, 72vw);
  }

  .phone-chat {
    left: 0;
  }

  .phone-admin {
    right: 0;
  }

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

  .operations-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .commerce-scene {
    min-height: 540px;
  }

  .owner-console {
    width: min(100%, 560px);
    justify-self: center;
  }

  .pilot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 32px;
    padding: 42px 18px 46px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3.15rem, 15vw, 4.25rem);
    line-height: 0.9;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-proof {
    gap: 7px;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .hero-product-visual {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-stats span {
    min-height: 72px;
    padding: 10px 7px;
    font-size: 0.68rem;
  }

  .hero-stats strong {
    font-size: 0.92rem;
  }

  .hero-story {
    width: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-story-desktop {
    display: none;
  }

  .hero-story-mobile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 14px 18px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-story-mobile::-webkit-scrollbar {
    display: none;
  }

  .hero-story-mobile article {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: 58px 1fr;
    align-items: center;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: 0 18px 44px rgba(70, 39, 22, 0.12);
    scroll-snap-align: center;
  }

  .hero-story-mobile article > span {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .hero-story-mobile article > strong {
    grid-column: 2;
    grid-row: 1;
    padding: 0 14px 0 10px;
    color: var(--ink);
    font-size: 0.9rem;
  }

  .hero-story-mobile img {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 462px;
    object-fit: cover;
  }

  .hero-story figcaption {
    display: block;
    margin: 0 14px;
    padding: 14px 4px 0;
    border: 0;
    background: transparent;
    text-align: center;
  }

  .live-label {
    justify-content: center;
    margin-top: 10px;
  }

  .mobile-swipe {
    display: block;
    margin-top: 8px;
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 850;
  }

  .hero-demo {
    min-height: 690px;
  }

  .hero-demo::before {
    inset: 12px 0 24px;
  }

  .phone {
    left: 50%;
    width: min(290px, 86vw);
    min-width: 0;
    transform: translateX(-50%);
  }

  .phone-chat {
    top: 0;
  }

  .phone-admin {
    top: 292px;
    right: auto;
    bottom: auto;
    transform: translateX(-50%) scale(0.88);
  }

  .hero-actions,
  .hero-actions > * {
    width: 100%;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .config-grid {
    grid-template-columns: 1fr;
  }

  .control-grid {
    gap: 12px;
  }

  .control-card,
  .control-card:first-child {
    min-height: 420px;
    padding: 22px;
    border-radius: 15px;
  }

  .config-card {
    min-height: 0;
    padding: 20px;
  }

  .config-icon {
    margin-bottom: 18px;
  }

  .control-card:first-child {
    min-height: 470px;
  }

  .mini-order-ui,
  .receipt-ui,
  .bot-status-ui {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .mini-tabs {
    grid-template-columns: 1fr;
  }

  .mini-tabs span:last-child {
    display: none;
  }

  .mini-order,
  .receipt-ui {
    align-items: flex-start;
    grid-template-columns: 42px 1fr;
    flex-direction: column;
  }

  .receipt-ui button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .operations-showcase {
    padding: 16px;
  }

  .commerce-scene {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .floating-order,
  .commerce-phone {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .floating-order {
    grid-template-columns: 42px 1fr;
    width: 100%;
    min-height: 0;
  }

  .floating-order::after {
    display: none;
  }

  .person-avatar {
    width: 42px;
    height: 42px;
  }

  .commerce-phone {
    width: 100%;
    max-width: 300px;
    justify-self: center;
    margin: 10px 0;
  }

  .console-tabs,
  .console-summary {
    grid-template-columns: 1fr;
  }

  .console-order {
    flex-direction: column;
  }

  .section {
    padding-block: 48px;
  }

  .pilot {
    margin: 28px 18px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
