/* 智慧经营行家 — site styles */

/* Fonts: Inter (Latin & digits) + Noto Sans SC subset (Chinese), both SIL OFL, self-hosted */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-2013, U+2015-2017, U+2020-2025, U+2027-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans SC Web"; src: url("fonts/noto-sans-sc-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC Web"; src: url("fonts/noto-sans-sc-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans SC Web"; src: url("fonts/noto-sans-sc-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
:root {
  /* clean white and grey, ink buttons, the product's own orange as the accent */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --bg-dark: #0b0b0c;
  --ink: #1d1d1f;
  --ink-hover: #3a3a3c;
  --ink-2: #5f5f64;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --hair: #ececf0;
  --accent: #1d1d1f;
  --accent-ink: #c2570c;
  --money: #e8680c;
  --copper: #e8680c;
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --dark-line: #2c2c2e;
  --radius: 22px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --font: "Inter", "Noto Sans SC Web", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Inter", "Noto Sans SC Web", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 52px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .02em;
  font-feature-settings: "cv11", "ss03";   /* Inter: single-storey a, rounder figures */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-weight: 600;
  letter-spacing: .02em;
  text-wrap: balance;
}
h3 { font-size: 19px; font-weight: 500; line-height: 1.45; letter-spacing: .02em; }
p, li { text-wrap: pretty; }
b, strong { font-weight: 500; }
kbd {
  font: 500 13px/1 var(--font-num);
  padding: 3px 6px 4px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  white-space: nowrap;
}

.wrap { width: min(1080px, 100% - 44px); margin: 0 auto; }
.wrap.narrow { width: min(680px, 100% - 44px); }
.center { text-align: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 52px;
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  height: 100%;
  width: min(1080px, 100% - 44px); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.brand-mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--ink);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 2px;
  border-radius: 1px; background: var(--card);
  box-shadow: 0 -4px 0 #fff, 0 -8px 0 rgba(255,255,255,.55);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px; font-weight: 500;
  padding: 5px 13px; border-radius: 980px;
  background: var(--accent); color: #fff;
  transition: background .2s;
}
.nav-cta:hover { background: var(--ink-hover); }

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 16px; font-weight: 500; color: var(--money);
  margin-bottom: 14px; letter-spacing: .12em;
}
.section h2 { font-size: clamp(32px, 4.8vw, 52px); line-height: 1.22; }
.sub { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.75; color: var(--ink-2); margin-top: 18px; max-width: 640px; }
.center .sub { margin-left: auto; margin-right: auto; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.quiet { font-size: 15px; color: var(--ink-3); margin-top: 48px; }
.footnote { font-size: 13px; color: var(--dark-ink-2); text-align: center; margin-top: 22px; }
.muted { color: var(--ink-3); }

.btn {
  display: inline-block;
  font-size: 16px; font-weight: 500; letter-spacing: .06em;
  padding: 12px 24px; border-radius: 980px;
  background: var(--accent); color: #fff;
  transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--ink-hover); }
.btn:active { transform: scale(.98); }
.btn.light { background: var(--card); color: var(--ink); }
.btn.light:hover { background: #e8e8ed; }
.link-more { font-size: 17px; color: var(--accent-ink); }
.link-more::after { content: " ›"; }
.link-more:hover { text-decoration: underline; }
.actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.actions.left { justify-content: flex-start; margin-top: 56px; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 22px 0;
  overflow: hidden;
}
.hero .eyebrow { color: var(--ink-2); font-weight: 500; font-size: 19px; }
.hero h1 { font-size: clamp(46px, 8.4vw, 96px); line-height: 1.12; letter-spacing: .03em; }
.lede { font-size: clamp(18px, 2vw, 23px); line-height: 1.7; letter-spacing: .03em; color: var(--ink-2); margin-top: 22px; }
.hero-figure {
  margin: clamp(40px, 6vw, 72px) auto 0;
  width: min(720px, 92vw);
  transform-origin: 50% 0;
  will-change: transform;
}
.br-sm { display: none; }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 12vw, 150px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: var(--dark-ink); position: relative; overflow: hidden; isolation: isolate; }
.section.dark::before {
  content: ""; position: absolute; inset: -10% -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at var(--g1x, 22%) var(--g1y, 30%), var(--g1, rgba(255,140,40,.15)), transparent 70%),
    radial-gradient(34% 30% at var(--g2x, 80%) var(--g2y, 72%), var(--g2, rgba(110,90,255,.14)), transparent 70%),
    radial-gradient(30% 26% at var(--g3x, 60%) var(--g3y, 18%), var(--g3, rgba(40,160,255,.08)), transparent 70%);
  filter: blur(30px);
  animation: drift 26s ease-in-out infinite alternate;
}
.section.dark::after {          /* fine grain keeps the gradients from banding */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
#member  { --g1: rgba(255,150,50,.17); --g1x: 50%; --g1y: 24%; --g2: rgba(255,80,110,.09); --g2x: 82%; --g2y: 70%; --g3: rgba(255,200,120,.06); --g3x: 15%; --g3y: 75%; }
#ai      { --g1: rgba(205,115,45,.16); --g1x: 28%; --g1y: 42%; --g2: rgba(150,45,70,.13); --g2x: 76%; --g2y: 64%; --g3: rgba(70,100,170,.07); --g3x: 55%; --g3y: 12%; }
#partner { --g1: rgba(200,130,60,.13); --g1x: 84%; --g1y: 22%; --g2: rgba(120,60,40,.16); --g2x: 68%; --g2y: 92%; --g3: rgba(40,120,110,.06); --g3x: 10%; --g3y: 85%; }
.section.dark .sub, .section.dark p { color: var(--dark-ink-2); }
.section.dark h3 { color: var(--dark-ink); }
.section.dark .eyebrow { color: #ff9a4a; }

/* screenshot as a floating screen */
.screen {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -20px rgba(0,0,0,.22);
  outline: 1px solid rgba(0,0,0,.06);
}
.trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px;
  margin-top: clamp(48px, 6vw, 80px);
}
.trio p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.section.dark .trio p { color: var(--dark-ink-2); }

/* split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse { grid-template-columns: 7fr 5fr; }
.split.reverse .split-text { order: 2; }
.split .sub { margin-top: 20px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; font-size: 16px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
}

/* member card */
.card-stage { display: grid; place-items: center; margin-bottom: clamp(56px, 7vw, 96px); perspective: 1200px; }
.vip-card {
  width: min(400px, 100%); aspect-ratio: 1.586;
  border-radius: 20px;
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #f3e6cf;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,214,150,.18), transparent 55%),
    linear-gradient(150deg, #2a2620 0%, #17150f 60%, #0e0d0a 100%);
  box-shadow: inset 0 0 0 1px rgba(255,230,190,.14), 0 40px 80px -30px rgba(255,170,60,.25);
  transform: rotateX(8deg);
  transition: transform 1.2s var(--ease);
}
.card-stage.in .vip-card { transform: rotateX(0); }
.vip-top { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: .12em; }
.vip-no { font-family: var(--font-num); opacity: .6; letter-spacing: .08em; }
.vip-balance { font: 600 40px/1 var(--font-num); letter-spacing: -.01em; }
.vip-balance small { display: block; font: 400 13px/1 var(--font); opacity: .6; margin-bottom: 10px; letter-spacing: .1em; }
.vip-split { display: flex; gap: 18px; font-size: 13px; opacity: .72; font-family: var(--font-num); }
.section.dark .vip-card p { color: inherit; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.facts > div { background: var(--bg-dark); padding: 32px 28px 34px 0; }
.facts > div:not(:nth-child(3n+1)) { padding-left: 28px; }
.facts p { margin-top: 8px; font-size: 16px; }

/* phone */
.phone {
  justify-self: center;
  width: min(320px, 78vw);
  padding: 11px;
  border-radius: 54px;
  background: #1d1d1f;
  box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 40px 80px -30px rgba(0,0,0,.35);
}
.phone img { border-radius: 43px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  min-height: 236px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), background .3s;
}
.tile:hover { transform: translateY(-3px); background: #efeff2; }
.tag { font-size: 13px; color: var(--ink-3); margin-bottom: 44px; letter-spacing: .06em; }
.tile h3 { font-size: 20px; }
.tile p { font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

/* anomaly panel */
.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 8px 0 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -28px rgba(0,0,0,.18);
  font-size: 15px;
  overflow: hidden;
}
.panel-head { display: flex; justify-content: space-between; padding: 18px 26px 14px; font-weight: 600; font-size: 17px; }
.panel-head .muted { font-weight: 400; font-size: 13px; }
.panel-row {
  display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; align-items: center;
  padding: 15px 26px; border-top: 1px solid var(--hair);
}
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--ink); }
.delta { font-size: 13px; color: var(--ink-3); text-align: right; }
.delta.up { color: #d70015; }
.delta.down { color: #248a3d; }
.panel-foot {
  display: flex; gap: 40px;
  padding: 18px 26px 22px; margin-top: 4px;
  background: var(--bg-alt); font-size: 14px;
}
.panel-foot small { display: block; color: var(--ink-3); font-size: 12px; margin-bottom: 2px; }

/* chat */
.chat {
  width: min(720px, 100%); margin: 0 auto;
  background: rgba(28,28,30,.72);
  border-radius: 28px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,235,210,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  min-height: 200px;
}
.msg {
  max-width: 86%;
  padding: 12px 17px;
  border-radius: 20px;
  font-size: 16px; line-height: 1.6;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.msg.me { align-self: flex-end; background: var(--copper); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: #2c2c2e; color: var(--dark-ink); border-bottom-left-radius: 6px; }
.section.dark .msg.bot p { color: var(--dark-ink); }
.section.dark .msg.bot p.muted { color: var(--dark-ink-2); font-size: 14px; margin-top: 10px; }
.msg table { border-collapse: collapse; width: 100%; margin-top: 10px; font-size: 14px; }
.msg th { text-align: left; font-weight: 500; color: var(--dark-ink-2); padding: 4px 14px 6px 0; border-bottom: 1px solid #3a3a3c; }
.msg td { padding: 7px 14px 7px 0; font-variant-numeric: tabular-nums; border-bottom: 1px solid #333336; }
.msg tr:last-child td { border-bottom: 0; }
.msg th:not(:first-child), .msg td:not(:first-child) { text-align: right; }
.plain { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--dark-ink); }
.plain li { padding: 5px 0; border-bottom: 1px solid #333336; }
.plain li:last-child { border-bottom: 0; }
.chat.typing [data-step] { opacity: 0; transform: translateY(10px); }
.chat.typing [data-step].shown { opacity: 1; transform: none; }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dark-ink-2); animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* hardware */
.hw { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hw-item { margin: 0; background: var(--bg-alt); border-radius: 28px; padding: 48px 40px 40px; display: flex; flex-direction: column; }
.hw-img { height: 340px; display: grid; place-items: center; margin-bottom: 36px; }
.hw-img img { max-height: 340px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.hw-item h3 { font-size: 24px; }
.hw-item p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.spec { display: flex; gap: 32px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.spec dt { font-size: 12px; color: var(--ink-3); }
.spec dd { margin: 2px 0 0; font: 600 21px/1.3 var(--font-num); }
.spec dd small { font-size: 13px; font-weight: 500; margin-left: 2px; color: var(--ink-2); }

/* industries */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row h3 { font-size: clamp(22px, 2.4vw, 28px); }
.row p { color: var(--ink-2); font-size: 17px; }

/* contact */
.contact h2 { font-size: clamp(40px, 6.5vw, 72px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; text-align: left; }
.contact-item {
  background: var(--bg-alt); border-radius: var(--radius); padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 172px;
}
.contact-item small { font-size: 14px; color: var(--ink-3); }
.contact-item strong { font: 600 28px/1.2 var(--font-num); letter-spacing: .01em; }
.phone-num { display: block; font: 600 30px/1.2 var(--font-num); letter-spacing: .02em; color: var(--ink); }
.contact-actions { display: flex; gap: 10px; margin-top: 16px; }
.pill {
  font: 500 14px/1 var(--font); letter-spacing: .06em; cursor: pointer;
  padding: 9px 18px; border-radius: 980px; border: 0;
  background: var(--accent); color: #fff; transition: background .2s;
}
.pill:hover { background: var(--ink-hover); }
.pill.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill.ghost:hover { background: #fafafa; }
.qr-item { flex-direction: row; align-items: stretch; }
.qr-item > div { display: flex; flex-direction: column; justify-content: space-between; }
.qr-tip { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.tip-mob { display: none; }
.qr-img { width: 120px; height: 120px; margin-left: auto; border-radius: 12px; background: var(--card); padding: 6px; box-shadow: 0 0 0 1px var(--hair); }
.foot a:hover { color: var(--ink-2); text-decoration: underline; }

/* mobile contact dock */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: rgba(29,29,31,.9); color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 980px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .dock {
    display: flex; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 8px; border-radius: 22px;
    background: rgba(255,255,255,.82);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.25);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease);
  }
  .dock.show { transform: none; }
  .dock-btn {
    flex: 1; text-align: center; padding: 13px 0; border-radius: 15px;
    font-size: 16px; font-weight: 500; letter-spacing: .08em;
    background: var(--accent); color: #fff;
  }
  .dock-btn.ghost { background: #f0f0f3; color: var(--ink); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .tip-desk { display: none; }
  .tip-mob { display: inline; }
}
@media (max-width: 560px) {
  .qr-img { width: 132px; height: 132px; }
  .phone-num { font-size: 28px; }
}

/* footer */
.foot { background: var(--bg-alt); font-size: 12px; color: var(--ink-3); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div, .facts > div:not(:nth-child(3n+1)) { padding: 26px 20px 28px 0; }
  .facts > div:nth-child(2n) { padding-left: 20px; }
  .hw { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .br-lg { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow, .nav-inner { width: calc(100% - 32px); }
  .br-sm { display: inline; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tag { margin-bottom: 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div:nth-child(2n), .facts > div:not(:nth-child(3n+1)) { padding: 24px 0; }
  .screen { border-radius: 10px; }
  .chat { padding: 18px; border-radius: 22px; }
  .msg { max-width: 94%; font-size: 15px; }
  .hw-item { padding: 32px 22px 26px; }
  .hw-img { height: 260px; }
  .hw-img img { max-height: 260px; }
  .panel-row { grid-template-columns: 1fr auto auto; gap: 12px; padding: 14px 20px; }
  .panel-row .delta { grid-column: 1 / -1; text-align: left; margin-top: -6px; }
  .panel-head, .panel-foot { padding-left: 20px; padding-right: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .actions { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .section.dark::before { animation: none; }
  .laser { animation: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .vip-card { transform: none; transition: none; }
  .hero-figure { transform: none !important; }
  .chat.typing [data-step] { opacity: 1; transform: none; }
}

/* ---------- highlights strip ---------- */
.highlights { padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 100px); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hl { display: flex; flex-direction: column; gap: 4px; padding: 26px 20px 0 0; position: relative; }
.hl + .hl { padding-left: 22px; border-left: 1px solid #e8e8ed; }
.hl-k { font-size: 19px; font-weight: 500; letter-spacing: .04em; }
.hl-k::after { content: " ›"; color: var(--accent-ink); transition: margin .3s var(--ease); }
.hl:hover .hl-k::after { margin-left: 4px; }
.hl-d { font-size: 14px; color: var(--ink-2); }

/* ---------- scan to order ---------- */
.scan-demo { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: start; }
.menu-card, .order-card {
  background: var(--card); border-radius: 20px; padding: 22px 22px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 50px -24px rgba(0,0,0,.18);
}
.menu-card { position: relative; overflow: hidden; background: #fbfaf7; }
.menu-title { font-size: 13px; letter-spacing: .3em; color: var(--ink-3); margin-bottom: 10px; }
.menu-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px;
  padding: 12px 0 12px; border-top: 1px dashed #e3e3e8; font-size: 15px;
  transition: background .3s;
}
.menu-row .price { font-family: var(--font-num); color: var(--ink-2); font-size: 14px; }
.bc {
  grid-column: 1 / -1; height: 18px; margin-top: 8px; width: 112px; opacity: .78;
  background: repeating-linear-gradient(90deg, #1d1d1f 0 1px, transparent 1px 3px, #1d1d1f 3px 5px, transparent 5px 6px, #1d1d1f 6px 7px, transparent 7px 10px);
  transition: opacity .3s;
}
.laser {
  position: absolute; left: 12px; right: 12px; height: 2px; top: 0; opacity: 0;
  background: #ff3b30; border-radius: 2px;
  box-shadow: 0 0 10px 2px rgba(255,59,48,.55), 0 0 30px 6px rgba(255,59,48,.18);
  transition: top .55s var(--ease), opacity .25s;
}
.scan-demo[data-step="1"] .laser, .scan-demo[data-step="2"] .laser, .scan-demo[data-step="3"] .laser { opacity: 1; }
.order-head { display: flex; justify-content: space-between; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.order-count { font-weight: 400; font-size: 13px; color: var(--ink-3); }
.order-item {
  display: grid; grid-template-columns: 1fr auto 64px; gap: 10px; font-size: 15px; padding: 11px 0;
  border-bottom: 1px solid #f2f2f5; font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.order-item span:nth-child(2) { color: var(--ink-3); }
.order-item span:last-child { text-align: right; }
.order-item.on { opacity: 1; transform: none; }
.order-item.flash { background: linear-gradient(90deg, rgba(180,98,42,.10), transparent); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-size: 14px; color: var(--ink-2); }
.order-sum { font: 600 24px/1 var(--font-num); color: var(--money); }

/* ---------- group buy ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-item { background: var(--bg-alt); border-radius: 28px; padding: 40px 40px 0; overflow: hidden; display: flex; flex-direction: column; }
.duo-label { font-size: 14px; color: var(--ink-3); letter-spacing: .12em; margin-bottom: 10px; }
.duo-item h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.duo-item > p:not(.duo-label) { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.verify, .deal {
  margin-top: auto; transform: translateY(1px);
  background: var(--card); border-radius: 20px 20px 0 0; padding: 24px 26px 26px;
  box-shadow: 0 -1px 0 rgba(0,0,0,.03), 0 -20px 50px -30px rgba(0,0,0,.18);
  position: relative; top: 0;
}
.duo-item .verify, .duo-item .deal { margin-top: 36px; }
.v-row { display: flex; gap: 12px; align-items: baseline; font-size: 13px; color: var(--ink-3); }
.v-code { font-family: var(--font-num); letter-spacing: .12em; color: var(--ink); font-size: 15px; }
.v-name { font-size: 20px; font-weight: 500; margin-top: 12px; }
.v-meta { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.v-meta b { color: var(--ink); font-family: var(--font-num); }
.v-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f0f3; }
.v-ok { display: inline-flex; align-items: center; gap: 7px; color: #248a3d; font-size: 14px; }
.v-btn, .deal-btn { font-size: 14px; font-weight: 500; letter-spacing: .08em; color: #fff; background: var(--accent); padding: 7px 18px; border-radius: 980px; }
.deal { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; }
.deal-pic {
  width: 84px; height: 84px; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 35% 30%, #ffe1e4, #ffb8c0 70%, #f793a0);
  color: #fff; font-weight: 600; font-size: 18px; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(200,40,70,.35);
}
.deal-name { font-size: 16px; font-weight: 500; }
.deal-price { margin-top: 4px; display: flex; gap: 10px; align-items: baseline; }
.deal-price b { font: 600 22px/1 var(--font-num); color: #e8364f; }
.deal-price s { color: var(--ink-3); font-size: 13px; font-family: var(--font-num); }
.deal-meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.deal-btn { grid-column: 1 / -1; text-align: center; background: #e8364f; padding: 10px; margin-top: 4px; }

/* ---------- gift card ---------- */
.section.warm { background: var(--bg); }

.gift { justify-self: center; width: min(420px, 100%); display: grid; gap: 16px; }
.gift-card {
  aspect-ratio: 1.586; border-radius: 22px; padding: 26px 28px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255,255,255,.28), transparent 55%),
    linear-gradient(140deg, #f08a6c 0%, #e2604f 48%, #c84a4f 100%);
  box-shadow: 0 30px 60px -28px rgba(200,74,79,.55), inset 0 0 0 1px rgba(255,255,255,.18);
  transform: rotate(-3deg); transition: transform 1.2s var(--ease);
}
.gift.in .gift-card { transform: rotate(-1.5deg); }
.gift-top { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: .2em; opacity: .92; }
.gift-amt { font: 600 46px/1 var(--font-num); letter-spacing: -.01em; }
.gift-shop { font-size: 12px; letter-spacing: .12em; opacity: .8; }
.gift-note { background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: 0 14px 40px -24px rgba(120,60,30,.3); }
.gift-note p { font-size: 16px; color: var(--ink); }
.gift-note span { display: block; text-align: right; color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.gift-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: 13px; color: var(--ink-3); }
.gift-steps li { position: relative; padding-top: 18px; text-align: center; }
.gift-steps li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #d8cfc5; }
.gift-steps li::after { content: ""; position: absolute; top: 7.5px; left: calc(50% + 8px); right: calc(-50% + 8px); height: 1px; background: #e3d9ce; }
.gift-steps li:last-child::after { display: none; }
.gift-steps .done { color: var(--ink-2); }
.gift-steps .done::before { background: #c9573a; }
.gift-steps .now { color: #c9573a; font-weight: 500; }
.gift-steps .now::before { background: var(--card); box-shadow: 0 0 0 2px #c9573a; }

@media (max-width: 860px) {
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl:nth-child(3) { padding-left: 0; border-left: 0; }
  .hl { padding-bottom: 18px; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .scan-demo { grid-template-columns: 1fr; }
  .duo-item { padding: 30px 22px 0; }
  .verify, .deal { padding: 20px; }
  .hl-k { font-size: 17px; }
  .gift { width: 92%; }
  .gift-card, .gift.in .gift-card { transform: rotate(-1.5deg); }
}


/* =====================================================================
   Warm theme: dark "night shop" hero, ink buttons, larger type
   ===================================================================== */


/* buttons: ink instead of blue */
.btn, .nav-cta, .pill, .dock-btn, .v-btn { background: var(--accent); color: #ffffff; }
.btn:hover, .nav-cta:hover, .pill:hover { background: var(--ink-hover); }
.pill.ghost { background: var(--card); color: var(--ink); }
.dock-btn.ghost { background: #f0f0f3; color: var(--ink); }
.section.dark .btn.light { background: #f5f5f7; color: var(--ink); }

/* type scale: one step larger everywhere */
body { font-size: 18px; }
.nav { height: 60px; }
html { scroll-padding-top: 60px; }
.brand { font-size: 18px; }
.brand-mark { width: 22px; height: 22px; }
.nav-links { font-size: 15px; gap: 30px; }
.nav-cta { font-size: 15px; padding: 8px 18px; }
.eyebrow { font-size: 17px; }
.hero .eyebrow { font-size: 19px; }
.lede { font-size: clamp(19px, 2.1vw, 24px); }
.section h2 { font-size: clamp(34px, 5vw, 56px); }
.sub { font-size: clamp(18px, 1.8vw, 21px); }
h3 { font-size: 21px; }
.btn { font-size: 17px; padding: 14px 30px; }
.link-more { font-size: 18px; }
.trio p, .ticks li, .facts p, .hw-item p, .duo-item > p:not(.duo-label) { font-size: 17px; }
.hl-k { font-size: 21px; }
.hl-d { font-size: 15px; }
.tile h3 { font-size: 21px; }
.tile p { font-size: 16px; }
.tag { font-size: 14px; }
.quiet { font-size: 16px; }
.footnote { font-size: 14px; }
kbd { font-size: 14px; }
.panel { font-size: 16px; }
.panel-head .muted, .delta { font-size: 14px; }
.panel-foot { font-size: 15px; }
.panel-foot small { font-size: 13px; }
.msg { font-size: 17px; }
.msg table, .plain { font-size: 15px; }
.spec dt { font-size: 13px; }
.spec dd { font-size: 22px; }
.row h3 { font-size: clamp(24px, 2.6vw, 30px); }
.row p { font-size: 18px; }
.duo-label { font-size: 15px; }
.v-row { font-size: 14px; }
.v-code { font-size: 16px; }
.v-meta { font-size: 15px; }
.deal-name { font-size: 17px; }
.deal-meta { font-size: 13px; }
.gift-steps { font-size: 14px; }
.gift-note p { font-size: 17px; }
.menu-title { font-size: 14px; }
.menu-row { font-size: 17px; }
.menu-row .price { font-size: 16px; }
.order-head { font-size: 17px; }
.order-count { font-size: 14px; }
.order-item { font-size: 17px; }
.order-total { font-size: 15px; }
.qr-tip { font-size: 16px; }
.contact-item small { font-size: 15px; }
.foot { font-size: 13px; }

@media (max-width: 860px) {
  .nav { height: 56px; }
  html { scroll-padding-top: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand { font-size: 17px; }
  .nav-cta { font-size: 14px; padding: 7px 15px; }
  .hl-k { font-size: 18px; }
  .trio p, .ticks li, .facts p, .hw-item p, .duo-item > p:not(.duo-label) { font-size: 16px; }
  .msg { font-size: 16px; }
  .row p { font-size: 17px; }
}

/* ---------- hero stage: a lit screen and a phone, made from real screenshots ---------- */
.stage {
  position: relative; margin: clamp(48px, 6vw, 80px) auto 0;
  width: min(1000px, 92vw);
  transform-origin: 50% 0; will-change: transform;
}
.stage::before {           /* light the screen throws on the counter */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -14%; height: 30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,214,170,.20), transparent);
  filter: blur(18px);
}
.monitor {
  position: relative; padding: clamp(6px, 1.1vw, 13px); border-radius: clamp(14px, 2vw, 26px);
  background: linear-gradient(180deg, #2b2620, #15120f);
  box-shadow:
    0 0 0 1px rgba(255,236,210,.10),
    0 2px 0 rgba(255,255,255,.06) inset,
    0 50px 100px -30px rgba(0,0,0,.85),
    0 0 140px -30px rgba(255,196,140,.35);
}
.monitor img { border-radius: clamp(8px, 1.2vw, 14px); }
.monitor::after {          /* faint glass sheen */
  content: ""; position: absolute; inset: clamp(6px, 1.1vw, 13px); border-radius: clamp(8px, 1.2vw, 14px); pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%);
}
.pocket {
  position: absolute; right: -3%; bottom: -12%; width: 21%;
  padding: 2.2%; padding: clamp(4px, .7vw, 8px); border-radius: clamp(20px, 3.4vw, 40px);
  background: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(255,236,210,.12), 0 30px 60px -20px rgba(0,0,0,.8);
}
.pocket img { border-radius: clamp(16px, 2.8vw, 33px); }
.hero { padding-bottom: clamp(96px, 12vw, 160px); }

/* ---------- trades (home): light cards, picture on top, words on white ---------- */
.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trade {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -36px rgba(0,0,0,.28);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.trade:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -34px rgba(0,0,0,.32); }
.trade-bg, .trade-board { display: block; width: 100%; height: clamp(220px, 21vw, 280px); flex: none; }
.trade-bg { object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.trade:nth-child(2) .trade-bg { object-position: 50% 20%; }
.trade:hover .trade-bg { transform: scale(1.04); }
.trade-txt { display: flex; flex-direction: column; gap: 4px; padding: 24px 28px 28px; flex: 1; }
.trade-k { font-size: clamp(28px, 2.6vw, 34px); font-weight: 600; letter-spacing: .04em; line-height: 1.2; }
.trade-who { font-size: 14px; letter-spacing: .06em; color: var(--ink-3); }
.trade-d { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; text-wrap: balance; }
.trade-go { margin-top: auto; padding-top: 18px; font-size: 16px; font-weight: 500; color: var(--accent-ink); }
.trade-go::after { content: " ›"; transition: margin .3s var(--ease); }
.trade:hover .trade-go::after { margin-left: 4px; }

/* services card: a light booking board as the picture */
.trade-board {
  display: grid; align-content: center; gap: 10px; padding: 0 28px;
  background: radial-gradient(110% 90% at 85% 0%, #f4f8f1 0%, #e6eee1 60%, #dde7d7 100%);
}
.tb-row { display: flex; align-items: center; gap: 8px; }
.tb-row i { font-style: normal; }
.tb-name { width: 52px; flex: none; font-size: 12px; color: var(--ink-3); }
.tb-slot { width: var(--w); padding: 9px 10px; border-radius: 10px; font-size: 12px; white-space: nowrap; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tb-slot.a { background: #f8e6d6; color: #7a3e17; }
.tb-slot.b { background: #fff; color: #5c4a22; }
.tb-slot.c { background: #d9e7cf; color: #3d5229; }
.tb-slot.free { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- stock panel (retail) ---------- */
.stock-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 16px; align-items: center; padding: 15px 26px; border-top: 1px solid var(--hair); }
.bar { height: 6px; border-radius: 3px; background: #efeff2; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 3px; background: #f0a060; }
.num.low { color: #c0392b; }
.stock-row .num { min-width: 64px; text-align: right; }

/* ---------- booking board (services) ---------- */
.board { background: var(--card); border-radius: 26px; padding: 8px 0 22px; box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -36px rgba(60,40,20,.3); overflow: hidden; }
.board-head { display: flex; justify-content: space-between; padding: 18px 26px 12px; font-weight: 500; font-size: 17px; }
.board-head .muted { font-weight: 400; font-size: 14px; }
.board-grid {
  display: grid; grid-template-columns: 96px repeat(6, minmax(92px, 1fr)); grid-auto-rows: 64px;
  gap: 8px; padding: 0 22px; overflow-x: auto;
}
.bh { font-size: 13px; color: var(--ink-3); align-self: end; padding-bottom: 2px; font-family: var(--font-num); }
.br { font-size: 15px; font-weight: 500; align-self: center; grid-column: 1; }
.slot {
  grid-column: var(--c); border-radius: 12px; padding: 9px 12px; font-size: 14px; line-height: 1.35;
  display: flex; flex-direction: column; justify-content: center; gap: 2px; overflow: hidden; white-space: nowrap;
}
.slot em { font-style: normal; font-size: 12px; opacity: .75; }
.s-a { background: #f6e3d3; color: #7a3e17; }
.s-b { background: #ece4d2; color: #5c4a22; }
.s-c { background: #e3eadb; color: #3d5229; }
.s-free { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.035) 6px 7px); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--hair); }

/* ---------- switch to another trade ---------- */
.switch-sec { padding: 0 0 clamp(56px, 7vw, 88px); }
.switch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.switch-q { font-size: 16px; color: var(--ink-3); margin-right: 6px; }
.switch-link { font-size: 16px; padding: 8px 16px; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.switch-link:hover { background: var(--bg-alt); }

.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

@media (max-width: 860px) {
  .trades { grid-template-columns: 1fr; }
  .trade-bg, .trade-board { height: 220px; }
  .pocket { width: 26%; right: -2%; bottom: -16%; }
}
@media (max-width: 560px) {
  .stage { width: 88vw; }
  .stock-row { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .stock-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .board-grid { grid-template-columns: 76px repeat(6, 104px); }
}


/* =====================================================================
   Quiet background detail: rays, dots and hairlines that fade out
   ===================================================================== */

/* hero: white, the terminal in front of faint rays and a soft warm halo */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding-bottom: clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 66%, rgba(0,0,0,.05) 0deg .22deg, transparent .22deg 5deg);
  -webkit-mask-image: radial-gradient(52% 50% at 50% 66%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
          mask-image: radial-gradient(52% 50% at 50% 66%, #000 0%, rgba(0,0,0,.55) 45%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(28% 26% at 50% 64%, rgba(255,150,70,.10), transparent 72%);
}
.hero-figure { width: min(700px, 90vw); }
.hero-figure img { filter: drop-shadow(0 36px 40px rgba(0,0,0,.10)); }

/* real photo in a hero (restaurant page) */
.hero-photo { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; width: min(820px, 92vw); transform-origin: 50% 0; }
.hero-photo img { border-radius: clamp(18px, 2.6vw, 30px); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 40px 80px -36px rgba(0,0,0,.35); }
.hero-photo figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* dark sections: thin beams falling from above, fading towards the edges */
.section.dark {
  background:
    radial-gradient(85% 75% at 50% 0%, transparent 0%, rgba(11,11,12,.55) 45%, var(--bg-dark) 80%),
    repeating-conic-gradient(from 160deg at 50% -18%, rgba(255,255,255,.045) 0deg .18deg, transparent .18deg 3.2deg),
    var(--bg-dark);
}
/* grey sections: a fine dot field around the top centre */
.section.alt {
  background:
    radial-gradient(75% 65% at 50% 0%, rgba(245,245,247,0) 0%, rgba(245,245,247,.6) 40%, var(--bg-alt) 78%),
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.10) 1px, transparent 1.3px) 0 0 / 22px 22px,
    var(--bg-alt);
}
/* white sections: engineer's-paper hairlines, barely there */
.section:not(.alt):not(.dark) {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 42%, #fff 76%),
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    #fff;
}

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* nav: seven pages + mobile menu */
.nav-links { gap: 26px; }
.nav-links a { white-space: nowrap; }
.nav-toggle { display: none; }
@media (max-width: 1180px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .nav-inner { gap: 20px; }
}
@media (max-width: 960px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 22px 18px;
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hair); box-shadow: 0 20px 40px -24px rgba(0,0,0,.25);
    font-size: 17px;
  }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--hair); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-links { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle i { display: block; width: 20px; height: 1.6px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav.open .nav-toggle i:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav.open .nav-toggle i:last-child { transform: translateY(-3.8px) rotate(-45deg); }
}

/* footer links */
.foot-inner { align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; width: 100%; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--hair); }
.foot-links a { color: var(--ink-2); }

/* product cards on the home page */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 24px; border-radius: 26px;
  background: var(--card); box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -36px rgba(0,0,0,.25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -36px rgba(0,0,0,.32); }
.prod-art { height: 190px; border-radius: 18px; overflow: hidden; margin-bottom: 14px; display: grid; place-items: center; background: var(--bg-alt); }
.prod-k, .prod-d, .prod-go { padding: 0 6px; }
.prod-k { font-size: 21px; font-weight: 600; letter-spacing: .03em; }
.prod-d { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.prod-go { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 500; color: var(--accent-ink); }
.prod-go::after { content: " ›"; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.art-hw img { height: 92%; width: auto; }
.art-member { background: radial-gradient(80% 70% at 70% 20%, #3a3128, #121110); }
.mini-card {
  width: 78%; aspect-ratio: 1.586; border-radius: 12px; padding: 12px 14px; color: #f3e6cf;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #2a2620, #0e0d0a); box-shadow: inset 0 0 0 1px rgba(255,230,190,.16), 0 16px 30px -14px rgba(255,170,60,.35);
}
.mini-card small { font-size: 11px; letter-spacing: .14em; opacity: .75; }
.mini-card b { font: 600 22px/1 var(--font-num); }
.mini-card em { font-style: normal; font-size: 10px; opacity: .65; font-family: var(--font-num); }
.art-ai { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; background: #1c1c1e; }
.mini-msg { font-size: 13px; padding: 7px 11px; border-radius: 14px; max-width: 88%; line-height: 1.45; }
.mini-msg.me { align-self: flex-end; background: var(--copper); color: #fff; border-bottom-right-radius: 4px; }
.mini-msg.bot { align-self: flex-start; background: #2c2c2e; color: #f5f5f7; border-bottom-left-radius: 4px; }

/* photos */
.photo { margin: 0; }
.photo img { border-radius: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 30px 60px -34px rgba(0,0,0,.35); }
.photo figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.photo-pair .photo:last-child { margin-top: 56px; }
.photo-plain { margin: 0; }
.photo-plain img { mix-blend-mode: multiply; }
#in-store .photo, #kitchen .photo { justify-self: center; width: min(420px, 100%); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { display: flex; flex-direction: column; }
.step .photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 58%; }
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 22px 0 10px; border-radius: 50%;
  font: 600 15px/1 var(--font-num); color: #fff; background: var(--ink);
}
.step p { color: var(--ink-2); font-size: 17px; margin-top: 6px; }
.steps-text .step { padding: 28px 26px 30px; border-radius: 24px; background: var(--bg-alt); }
.steps-text .step-n { margin-top: 0; }
.ticket {
  aspect-ratio: 4 / 5; border-radius: 22px; padding: 22px; display: flex; flex-direction: column;
  background: var(--card); box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -34px rgba(0,0,0,.3); font-size: 16px;
}
.ticket-head { display: flex; justify-content: space-between; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.ticket-head .muted { font-weight: 400; font-size: 14px; }
.ticket-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--hair); font-variant-numeric: tabular-nums; }
.ticket-row span:last-child { color: var(--ink-3); }
.ticket-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
.ticket-btn { padding: 9px 26px; border-radius: 980px; background: var(--ink); color: #fff; font-weight: 500; letter-spacing: .1em; }
.ticket-ok { font-size: 14px; color: #248a3d; }
.ticket-ok::before { content: "● "; font-size: 10px; vertical-align: 2px; }

/* integration flow (dark) */
.flow { display: grid; grid-template-columns: 1fr 120px 1.2fr; align-items: center; gap: 0; max-width: 860px; margin: 0 auto; }
.node {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: 20px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.node-src { background: rgba(255,154,74,.12); box-shadow: inset 0 0 0 1px rgba(255,154,74,.35); }
.node-k { font-size: 19px; font-weight: 600; color: var(--dark-ink); }
.node-d { font-size: 14px; color: var(--dark-ink-2); }
.node-targets { display: grid; gap: 14px; }
.node-alt { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.flow-line { position: relative; height: 150px; }
.flow-line svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-line path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.flow-line i {
  position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #ff9a4a; box-shadow: 0 0 12px 3px rgba(255,154,74,.6);
  animation: pulse-run 2.6s var(--ease) infinite;
}
@keyframes pulse-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 55% { left: 50%; opacity: 1; } 100% { left: 50%; opacity: 0; } }
#integrate .trio { margin-top: clamp(56px, 7vw, 88px); }
#integrate .actions { margin-top: 48px; }

/* AI permissions panel */
.perm { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 14px 26px; border-top: 1px solid var(--hair); align-items: center; }
.perm small { grid-column: 2; font-size: 13px; color: var(--ink-3); }
.perm .box { grid-row: span 2; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.perm.on .box { background: var(--ink); box-shadow: none; }
.perm.on .box::after { content: ""; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.perm:not(.on) span:nth-child(2) { color: var(--ink-2); }

/* hero variants */
.hero-phone { margin: clamp(44px, 6vw, 72px) auto 0; transform-origin: 50% 0; }
.hero-phone .phone { width: min(300px, 70vw); margin: 0 auto; }
.hero-chat { margin: clamp(44px, 6vw, 72px) auto 0; width: min(620px, 92vw); transform-origin: 50% 0; }
.hc-window {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 28px; text-align: left;
  background: #1c1c1e; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 50px 90px -40px rgba(0,0,0,.55);
}
.hc-msg { max-width: 84%; padding: 12px 17px; border-radius: 20px; font-size: 17px; line-height: 1.6; }
.hc-msg.me { align-self: flex-end; background: var(--copper); color: #fff; border-bottom-right-radius: 6px; }
.hc-msg.bot { align-self: flex-start; background: #2c2c2e; color: #f5f5f7; border-bottom-left-radius: 6px; }
.hc-msg b { font-weight: 600; color: #ffb27a; }
.hero-chat figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

@media (max-width: 1000px) {
  .prods { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-line { height: 56px; width: 2px; margin: 0 auto; }
  .flow-line svg { display: none; }
  .flow-line { background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) center / 1px 100% no-repeat; }
  .flow-line i { left: 50% !important; margin-left: -4px; animation: pulse-down 2.2s var(--ease) infinite; }
  @keyframes pulse-down { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}
@media (max-width: 560px) {
  .prods { grid-template-columns: 1fr; }
  .photo-pair { gap: 10px; }
  .photo-pair .photo:last-child { margin-top: 32px; }
  .photo img { border-radius: 16px; }
  .hc-msg { font-size: 15px; }
  .hc-window { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .flow-line i { animation: none; opacity: 0; } }

/* cards that are grey on white become white on grey */
.section.alt .tile, .section.alt .duo-item, .section.alt .hw-item, .section.alt .contact-item, .section.alt .steps-text .step { background: #fff; }
.section.alt .tile:hover { background: #fff; }
.section.alt .duo-item .verify, .section.alt .duo-item .deal { background: var(--bg-alt); box-shadow: none; }

/* three phones with the owner's reports */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.phone-item { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone-item .phone { width: min(280px, 100%); }
.phone-item:nth-child(2) { margin-top: 48px; }
.phone-item figcaption { margin-top: 26px; max-width: 280px; font-size: 16px; line-height: 1.65; color: var(--ink-2); text-align: center; }
.phone-item figcaption b { display: block; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ticks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -22px; padding: 0 22px 12px; scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone-item { scroll-snap-align: center; }
  .phone-item:nth-child(2) { margin-top: 0; }
  .ticks-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .phones { margin: 0 -16px; padding: 0 16px 12px; } }
/* let hover lift win over the reveal reset */
.js .trade.reveal.in:hover, .js .prod.reveal.in:hover { transform: translateY(-4px); }

/* =====================================================================
   Top navigation: plain links + a fly-out panel that drops down on hover
   ===================================================================== */
.brand-word { font-size: 18px; font-weight: 600; letter-spacing: .04em; }
.nav { transition: background .3s, box-shadow .3s; border-bottom-color: transparent; }
.nav.scrolled { background: rgba(255,255,255,.88); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav.mega-open { background: rgba(255,255,255,.97); box-shadow: none; }
.nav-tel, .mega, .mega-scrim { display: none; }
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, #ffc08f, var(--copper)); opacity: 0; transition: opacity .3s;
}
.nav.scrolled:not(.mega-open) .nav-progress { opacity: 1; }

@media (min-width: 961px) {
  .nav { height: 60px; }
  html { scroll-padding-top: 60px; }
  .nav-links { gap: 28px; font-size: 15px; color: var(--ink-2); }
  .nav-links a { position: relative; padding: 6px 0; transition: color .25s; }
  .nav-links a:hover, .nav-links a.is-hot { color: var(--ink); }
  .nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
  .nav-tel { display: none; align-items: center; gap: 6px; font: 500 15px/1 var(--font-num); letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
  .nav-tel svg { width: 14px; height: 14px; color: var(--copper); }

  /* the panel */
  .mega {
    display: block; position: absolute; top: 100%; left: 0; right: 0; height: 0; overflow: hidden;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    transition: height .5s var(--ease), box-shadow .5s var(--ease);
  }
  .mega.open { box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 30px 60px -30px rgba(0,0,0,.25); }
  .mega-inner { padding: 30px 0 40px calc(var(--mega-left, 0px)); }
  .mega-cols { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(130px, 1fr) 300px; gap: 40px; align-items: start; }
  .mega-k { font-size: 13px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
  .mega-big { display: block; padding: 6px 0; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; color: var(--ink); transition: color .2s; }
  .mega-big:hover { color: var(--accent-ink); }
  .mega-side a { display: block; padding: 7px 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); transition: color .2s; }
  .mega-side a:hover { color: var(--ink); }
  .mega-card { display: block; border-radius: 18px; overflow: hidden; background: var(--bg-alt); }
  .mega-art { display: block; height: 160px; background: var(--bg-alt) center / cover no-repeat; transition: transform .8s var(--ease); }
  .mega-card:hover .mega-art { transform: scale(1.03); }
  .mega-art.contain { background-size: auto 92%; background-position: 50% 85%; }
  .mega-line { display: block; padding: 16px 20px 18px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
  .mega-line b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
  .mega-art.art-board { background: radial-gradient(110% 90% at 85% 0%, #f4f8f1 0%, #e6eee1 60%, #dde7d7 100%); display: grid; align-content: center; gap: 8px; padding: 0 20px; }
  .mega-art.art-board .tb-row { display: flex; gap: 6px; align-items: center; }
  .mega-art.art-board .tb-slot { padding: 7px 9px; font-size: 12px; border-radius: 8px; }
  .mega-art.art-chat { background: #1c1c1e; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 20px; }

  /* items rise in one after another */
  .mega-inner .mega-k, .mega-inner .mega-big, .mega-inner .mega-side a, .mega-inner .mega-card {
    opacity: 0; transform: translateY(8px);
    transition: opacity .4s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--i, 0) * 28ms);
  }
  .mega-inner.show .mega-k, .mega-inner.show .mega-big, .mega-inner.show .mega-side a, .mega-inner.show .mega-card { opacity: 1; transform: none; }

  /* the rest of the page softens while the panel is open */
  .mega-scrim {
    display: block; position: fixed; inset: 0; z-index: 40; pointer-events: none;
    background: rgba(245,245,247,.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .45s var(--ease);
  }
  .mega-scrim.on { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, .mega-scrim { transition: none; }
  .mega-inner .mega-k, .mega-inner .mega-big, .mega-inner .mega-side a, .mega-inner .mega-card { transition: none; }
}
@media (min-width: 961px) and (max-width: 1180px) { .nav-links { gap: 20px; font-size: 14px; } .mega-cols { gap: 36px; } .mega-big { font-size: 17px; } }
