/* Kho Gọn — warehouse label & kraft paper. One accent: safety orange. */
:root {
  --paper: #F2EDE4; --paper-2: #E8E1D4; --paper-3: #D9CFBE; --card: #FBF8F2;
  --ink: #1D1B18; --ink-2: #57514A; --ink-3: #7A7266; --line: #D6CDBD;
  --kraft: #B98E5A; --accent: #C4501A; --accent-ink: #FFFFFF; --accent-soft: #F6DED0;
  --ok: #2F6B4A; --ok-soft: #DCE9DF; --warn: #8A5A0B; --warn-soft: #F2E4C6;
  --rack-2d: #3A3732; --bar: #D3C8B5;
  --logo-bg: #1D1B18; --logo-fg: #F2EDE4;
  --f-d: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --f-b: "Be Vietnam Pro", system-ui, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 14px;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #14120F; --paper-2: #1E1B17; --paper-3: #2C2822; --card: #221F1A;
  --ink: #F2ECE2; --ink-2: #BDB3A4; --ink-3: #9A9083; --line: #3A352D;
  --kraft: #C9A06A; --accent: #FF7A3D; --accent-ink: #1A0F08; --accent-soft: #3B2216;
  --ok: #8CC7A2; --ok-soft: #1F3328; --warn: #E7BE6E; --warn-soft: #3A2E16;
  --rack-2d: #8A8070; --bar: #3D372F;
  --logo-bg: #F2ECE2; --logo-fg: #1D1B18;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.6 var(--f-b); color: var(--ink); background: var(--paper);
  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 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.mono { font-family: var(--f-m); font-weight: 500; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.sm { font-size: 14px; }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 34px; height: 34px; flex: none; }
.eyebrow { font: 500 14px/1.4 var(--f-m); letter-spacing: .02em; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { background: var(--paper-2); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-acc { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.btn-acc:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-danger { background: #A8321E; color: #fff; box-shadow: none; }
.btn-danger:hover { background: #8E2816; }
.btn-ghost { background: transparent; }
.btn-l { min-height: 52px; font-size: 16px; padding: 0 22px; border-radius: 12px; }
.btn-xl { min-height: 60px; font-size: 17px; padding: 0 28px; border-radius: 14px; }
.btn-s { min-height: 42px; font-size: 14px; padding: 0 14px; }
.btn-w { width: 100%; }
.ib { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 11px; background: transparent; cursor: pointer; color: var(--ink-2); transition: background .2s, transform .18s var(--ease); }
.ib:hover { background: var(--paper-2); color: var(--ink); }
.ib:active { transform: scale(.94); }
.ib.on { color: var(--accent); }
.lang { font: 600 14px var(--f-m); }
.lnk { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; background: none; border: 0; cursor: pointer; padding: 10px 0; font-size: 15px; }
.lnk:hover { color: var(--accent); }

/* ---------- product photo + brand label ---------- */
.ph { position: relative; display: block; overflow: hidden; aspect-ratio: 1; container-type: inline-size; background: #EEE8DD; border-radius: var(--r); flex: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.lbl { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw); transform: translate(-50%, -50%) rotate(var(--r)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; font-family: var(--f-d); line-height: 1; mix-blend-mode: multiply; }
.lbl b { font-size: calc(var(--w) * .16cqw); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.lbl i { font-style: normal; font-family: var(--f-m); font-size: calc(var(--w) * .085cqw); margin-top: .5em; white-space: nowrap; }
.lbl-band { background: linear-gradient(90deg, rgba(0,0,0,.16), transparent 22%, transparent 68%, rgba(0,0,0,.2)), #F1ECE1; color: #23382D; border-top: .3cqw solid #23382D; border-bottom: .3cqw solid #23382D; }
.lbl-band b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: calc(var(--w) * .2cqw); }
.lbl-band i { display: none; }
.lbl-jar { background: linear-gradient(90deg, rgba(0,0,0,.25), transparent 20%, transparent 75%, rgba(0,0,0,.3)), #EFE4CE; color: #3A2412; border-radius: .4cqw; }
.lbl-jar::before { content: ""; position: absolute; inset: .7cqw; border: .2cqw solid rgba(58,36,18,.55); border-radius: .3cqw; }
.lbl-bottle { background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 25%, transparent 70%, rgba(0,0,0,.14)), #FAF6EE; color: #6A431A; }
.lbl-bottle b { font-size: calc(var(--w) * .15cqw); }
.lbl-stamp { color: rgba(74, 44, 24, .82); border: .35cqw solid rgba(74, 44, 24, .7); border-radius: 50%; }
.lbl-stamp b { font-size: calc(var(--w) * .15cqw); }
.lbl-deboss { color: rgba(70, 62, 50, .62); }
.lbl-deboss b { font-size: calc(var(--w) * .17cqw); letter-spacing: .2em; }
.lbl-print { color: #1D1B18; opacity: .86; }
.lbl-print b { font-size: calc(var(--w) * .2cqw); letter-spacing: .04em; }
.lbl-print i { font-size: calc(var(--w) * .09cqw); letter-spacing: .3em; text-transform: uppercase; }
.lbl-sticker { background: #EADBC0; color: #5A3618; border-radius: 50%; height: calc(var(--w) * 1cqw); box-shadow: inset 0 0 0 .5cqw #EADBC0, inset 0 0 0 .7cqw rgba(90,54,24,.6); }
.lbl-sticker b { font-size: calc(var(--w) * .14cqw); }
.th { width: 64px; height: 64px; border-radius: 12px; }
.th-l { width: 80px; height: 80px; border-radius: 14px; }
.th-s { width: 48px; height: 48px; border-radius: 10px; }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) calc(var(--i, 0) * 60ms), transform .6s var(--ease) calc(var(--i, 0) * 60ms); }
.rv.in { opacity: 1; transform: none; }
.clip { clip-path: inset(7% 5% 7% 5% round 22px); transition: clip-path 1s var(--ease) calc(var(--i, 0) * 60ms), opacity .5s var(--ease), transform .6s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0 round 22px); }
.lr { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease) calc(var(--i, 0) * 90ms + 150ms), transform .9s var(--ease) calc(var(--i, 0) * 90ms + 150ms); }
.lr.in { opacity: 1; transform: none; }
[data-par] { will-change: transform; }
.calm *, .calm *::before, .calm *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; } }

/* ---------- app shell ---------- */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.app[hidden], #landing[hidden] { display: none; }
.sb { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 24px 18px; background: var(--paper-2); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 22px var(--f-d); letter-spacing: -.02em; padding: 4px 8px; }
.site { display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; padding: 10px; border-radius: 14px; background: var(--card); }
.site img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.site b { display: block; font-size: 14px; line-height: 1.3; }
.site small { font-size: 13px; color: var(--ink-2); }
.nav-h { font: 500 13px var(--f-m); color: var(--ink-3); margin: 24px 12px 6px; }
.nav-i { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 11px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.nav-i:hover { background: var(--card); color: var(--ink); }
.nav-i.on { background: var(--card); color: var(--ink); font-weight: 600; }
.nav-i.on .ic { color: var(--accent); }
.cnt { margin-left: auto; font: 500 13px var(--f-m); font-style: normal; color: var(--ink-2); }
.sb-foot { margin-top: auto; padding-top: 24px; }
.col { min-width: 0; }
.tb { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px 48px; background: color-mix(in srgb, var(--paper) 94%, transparent); }
.kbar { display: flex; align-items: center; gap: 10px; height: 46px; width: min(440px, 100%); padding: 0 14px; border: 0; border-radius: 12px; background: var(--card); color: var(--ink-2); font-size: 15px; cursor: pointer; text-align: left; transition: box-shadow .2s; }
.kbar:hover { box-shadow: inset 0 0 0 1px var(--line); }
.kbar span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
kbd { font: 500 13px var(--f-m); background: var(--paper-2); color: var(--ink-2); padding: 2px 8px; border-radius: 6px; }
.tb-r { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.me { width: 40px; height: 40px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; }
.main { padding: 16px 48px 96px; max-width: 1240px; outline: none; }
.tabbar { display: none; }

/* ---------- shared blocks ---------- */
.vh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 20px 0 28px; flex-wrap: wrap; }
.vh h1 { font-size: clamp(30px, 3.2vw, 40px); }
.vh p { margin-top: 8px; font-size: 16px; }
.card { background: var(--card); border-radius: 20px; padding: 28px; margin-bottom: 24px; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card-h h2, .card > h2 { font-size: 21px; }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.two > .card { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 10px 12px; margin: 0 -12px; width: calc(100% + 24px); border-radius: 14px; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; transition: background .2s; }
a.row:hover, button.row:hover { background: var(--paper); }
button.row:disabled { cursor: default; opacity: .6; }
.row-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-m b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-m small { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows li + li { margin-top: 4px; }
.qty { font-size: 18px; font-weight: 600; }
.qty small { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-low { background: var(--warn-soft); color: var(--warn); }
.pill-out { background: var(--accent-soft); color: var(--accent); }
[data-theme="light"] .pill-out { color: #9E3C10; }
.rush { display: inline-block; font: 600 13px var(--f-b); color: var(--accent); margin-left: 6px; }
[data-theme="light"] .rush { color: #A6420F; }
.empty { text-align: center; padding: 36px 16px; }
.empty img { width: 150px; height: 150px; object-fit: cover; border-radius: 18px; margin: 0 auto 18px; }
.empty h3 { font-size: 21px; margin-bottom: 6px; }
.empty .btn { margin-top: 18px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 500; margin-top: 8px; }
.back:hover { color: var(--ink); }
.k-n { display: block; font: 700 clamp(34px, 3.4vw, 44px)/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.k-l { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* skeleton */
.sk { padding-top: 24px; }
.sk-b { position: relative; display: block; overflow: hidden; background: var(--paper-2); border-radius: 18px; margin-bottom: 24px; }
.sk-b::after, .sk-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--card) 70%, transparent) 50%, transparent 80%); transform: translateX(-100%); animation: shimmer 1.2s var(--ease) infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- today ---------- */
.hero-strip { position: relative; height: clamp(280px, 30vw, 360px); border-radius: 22px; overflow: hidden; margin-top: 12px; background: #2A2620; }
.hero-strip img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.hero-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 15, 11, .82) 0%, rgba(18, 15, 11, .55) 45%, rgba(18, 15, 11, .05) 85%); }
.hs-in { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 36px 40px; color: #F6F1E8; max-width: 760px; }
.hs-in .eyebrow { color: rgba(246, 241, 232, .82); }
.hs-h { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; margin: 10px 0 22px; line-height: 1.2; }
.hs-h .big { font-size: clamp(52px, 5vw, 68px); font-weight: 800; letter-spacing: -.04em; vertical-align: -6px; }
.hs-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hs-note { font-size: 15px; color: rgba(246, 241, 232, .85); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 8px 36px; }
.feed li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.feed li + li { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.feed p { flex: 1; font-size: 15px; }
.feed time { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 600 15px var(--f-d); }
.bars { width: 100%; height: auto; display: block; }
.bars rect { fill: var(--bar); }
.bars .b-max { fill: var(--ink-3); }
.bars .b-now { fill: var(--accent); }
.bars text { font: 600 14px var(--f-b); fill: var(--ink); }
.bars .t-now { fill: var(--accent); }
.bars .t-ax { font-weight: 400; font-size: 13px; fill: var(--ink-2); }

/* ---------- filters ---------- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sbox { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; flex: 1; min-width: 240px; border-radius: 12px; background: var(--card); color: var(--ink-2); transition: box-shadow .2s; }
.sbox:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.sbox input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--ink); height: 46px; }
.sbox input::placeholder { color: var(--ink-3); }
.sel select { height: 48px; padding: 0 40px 0 14px; border: 0; border-radius: 12px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7266' stroke-width='1.8'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; appearance: none; font-size: 15px; cursor: pointer; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 28px; }
.chip { min-height: 42px; padding: 0 16px; border: 0; border-radius: 99px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s, transform .18s var(--ease); }
.chip:hover { color: var(--ink); background: var(--card); }
.chip:active { transform: scale(.97); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip-s { min-height: 36px; padding: 0 12px; font-size: 13px; margin: 4px 2px 0 0; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--paper-2); flex-wrap: wrap; }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.seg button .num { font-size: 13px; color: var(--ink-3); }
.seg button.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.seg-w { display: flex; width: 100%; }
.seg-w button { flex: 1; justify-content: center; }

/* ---------- products ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 24px; }
.pcard { position: relative; display: block; text-decoration: none; background: var(--card); border-radius: 20px; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .3s; }
.pcard:hover { box-shadow: 0 18px 40px -24px rgba(40, 28, 12, .45); }
.pcard:active { transform: scale(.98); }
.pc-img { border-radius: 0; }
.pc-img img { transition: transform .6s var(--ease); }
.pcard:hover .pc-img img { transform: scale(1.04); }
.pc-b { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 20px 20px; }
.pc-t { min-width: 0; }
.pc-t b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.pc-t small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.pc-n { text-align: right; flex: none; }
.pc-n b { display: block; font: 700 28px/1 var(--f-d); letter-spacing: -.02em; }
.pc-n small { font-size: 13px; color: var(--ink-2); }
.pc-flag { position: absolute; top: 14px; left: 14px; }
.shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--sx, 50%) 30%, rgba(255, 255, 255, .28), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.pcard:hover .shine { opacity: 1; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin: 16px 0 40px; }
.pd-img { position: sticky; top: 92px; }
.pd-ph { border-radius: 24px; }
.pd-info h1 { font-size: clamp(32px, 3.2vw, 44px); margin: 10px 0 14px; }
.pd-price { font: 600 24px var(--f-d); }
.pd-price small { font: 400 15px var(--f-b); margin-left: 8px; }
.pd-stock { display: flex; align-items: center; gap: 32px; padding: 28px 0; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-stock .pill { margin-bottom: 8px; }
.pd-act { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-note { margin: 28px 0 24px; font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.bc { width: 210px; height: 72px; fill: var(--ink); }
.bc text { font: 500 7px var(--f-m); letter-spacing: .5px; }
.binl li a { display: grid; grid-template-columns: 110px 1fr 90px; gap: 18px; align-items: center; min-height: 56px; padding: 0 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.binl li a:hover { background: var(--paper); }
.bcode { font-size: 16px; font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--kraft); }
.binl .num { text-align: right; font-weight: 600; font-size: 16px; }
.binl .num small { color: var(--ink-2); font-weight: 400; }

/* ---------- orders ---------- */
.otab li { position: relative; }
.orow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 130px 90px 120px 24px; gap: 20px; align-items: center; min-height: 88px; padding: 12px 16px; border-radius: 16px; text-decoration: none; transition: background .2s; }
.orow:hover { background: var(--card); }
.otab li + li .orow::before { content: ""; position: absolute; left: 100px; right: 16px; top: 0; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.orow:hover::before, .otab li:hover + li .orow::before { opacity: 0; }
.more { position: absolute; left: 62px; top: 60px; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 600 13px/26px var(--f-b); text-align: center; }
.more-0 { display: none; }
.o-m { display: flex; flex-direction: column; min-width: 0; }
.o-m b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-m small { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-ch { display: flex; flex-direction: column; font-size: 15px; }
.o-ch small { font-size: 13px; color: var(--ink-2); }
.o-n { text-align: right; font-size: 18px; font-weight: 600; }
.o-n small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.o-t { text-align: right; font-size: 14px; color: var(--ink-2); }
.chev { color: var(--ink-3); width: 20px; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 28px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); }
.steps li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 600 14px var(--f-m); }
.steps li span .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.steps .done { color: var(--ink); }
.steps .done span { background: var(--ink); color: var(--paper); }
.steps .cur { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 2px var(--accent); }
.steps .cur span { background: var(--accent); color: var(--accent-ink); }
.od { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.od-side h2 { margin-bottom: 18px; }
.dl { margin: 24px 0 0; }
.dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); font-size: 15px; }
.dl dt { color: var(--ink-2); }
.dl dd { margin: 0; font-weight: 600; }

/* ---------- 3D ---------- */
.w3 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; height: calc(100vh - 110px); min-height: 580px; margin-top: 12px; }
.w3-stage { position: relative; border-radius: 22px; overflow: hidden; background: var(--paper-2); outline: none; }
.w3-stage:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }
.w3-cv { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.w3-load { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; transition: opacity .6s var(--ease); }
.w3-load img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.75); }
.w3-load p { position: relative; max-width: 360px; padding: 14px 20px; border-radius: 14px; background: var(--card); font-size: 15px; text-align: center; }
.sk-line { position: relative; display: block; height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-bottom: 10px; }
.w3-load.done { opacity: 0; pointer-events: none; }
.w3-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; max-width: 220px; }
.w3-ctl { position: absolute; right: 14px; top: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.w3-ctl .ib { background: var(--card); color: var(--ink); }
.w3-panel { background: var(--card); border-radius: 22px; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
#w3side { display: flex; flex-direction: column; gap: 14px; }
.w3-sel { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: var(--paper); }
.w3-sel b { display: block; font-size: 16px; line-height: 1.35; }
.w3-sel small { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.w3-code { display: block; font-size: 24px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
[data-theme="light"] .w3-code { color: #A6420F; }
.w3-res li + li { margin-top: 2px; }
.w3-res .row { margin: 0; width: 100%; min-height: 76px; }
.w3-res .num { font-weight: 600; font-size: 16px; }
.pk-h { display: flex; flex-direction: column; }
.pk-h b { font: 700 22px var(--f-d); }
.pk-h .mono { font-size: 14px; color: var(--ink-2); }
.pk-k { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px; border-radius: 16px; background: var(--paper); }
.pk-k .k-n { font-size: 34px; }
.pk-s li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .3s, opacity .3s; }
.pk-s li.cur { background: var(--paper); box-shadow: inset 0 0 0 2px var(--accent); }
.pk-s li.done { opacity: .55; }
.pk-n { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font: 600 14px var(--f-m); }
.pk-s li.cur .pk-n { background: var(--accent); color: var(--accent-ink); }
.pk-s .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pk-s .th { width: 56px; height: 56px; }
.pk-a { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk-a .btn { padding: 0 10px; }

/* ---------- scan ---------- */
.scan-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.scan { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; background: #2A2620; }
.scan > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.vf { position: absolute; left: 22%; right: 22%; top: 26%; bottom: 40%; }
.vf i { position: absolute; width: 28px; height: 28px; border: 3px solid #fff; }
.vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.laser { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: #FF5A2A; box-shadow: 0 0 14px 3px rgba(255, 90, 42, .6); animation: laser 2.2s var(--ease) infinite alternate; }
@keyframes laser { from { transform: translateY(-46px); } to { transform: translateY(46px); } }
.scan-f { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 10px; }
.scan-f input { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 12px; padding: 0 16px; background: rgba(251, 248, 242, .96); color: #1D1B18; font: 500 18px var(--f-m); letter-spacing: .04em; }
.scan-f input::placeholder { font: 400 15px var(--f-b); letter-spacing: 0; color: #6E665B; }
.scan-f .btn { min-height: 52px; }
.scan-msg { position: absolute; left: 20px; right: 20px; top: 20px; padding: 12px 16px; border-radius: 12px; background: rgba(20, 18, 15, .74); color: #F6F1E8; font-size: 15px; }
.scan-msg.ok { box-shadow: inset 4px 0 0 #7FC79A; }
.scan-msg.bad { box-shadow: inset 4px 0 0 #FF7A3D; }
.meter { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-bottom: 14px; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .5s var(--ease); }
.row.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.scan-wrap .card .btn-w { margin: 18px 0 10px; }

/* ---------- ABC ---------- */
.abc-top { margin: 0 0 28px; }
.abc-lead { font: 500 clamp(22px, 2.4vw, 30px)/1.3 var(--f-d); max-width: 30ch; letter-spacing: -.01em; }
.abc-lead .big { font-size: 1.9em; font-weight: 800; letter-spacing: -.04em; vertical-align: -4px; }
.abc li a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 18px; align-items: center; min-height: 84px; padding: 10px 12px; margin: 0 -12px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.abc li a:hover { background: var(--paper); }
.abc-n b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.abc-bar { display: flex; align-items: center; gap: 12px; }
.abc-bar i { display: block; height: 14px; width: calc(var(--w) * .78); border-radius: 4px; background: var(--paper-3); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) calc(var(--i, 0) * 50ms); }
.card.in .abc-bar i { transform: none; }
.gA .abc-bar i { background: var(--ink); }
.gB .abc-bar i { background: var(--ink-3); }
.abc-bar em { font-style: normal; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.abc-g { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 16px var(--f-d); background: var(--paper-2); }
.gA .abc-g { background: var(--ink); color: var(--paper); }

/* ---------- dialogs / toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 17, 12, .46); opacity: 0; transition: opacity .25s var(--ease); }
.scrim.in { opacity: 1; }
.dlg { width: min(520px, 100%); max-height: 88vh; overflow-y: auto; background: var(--card); border-radius: 22px; padding: 32px; transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.scrim.in .dlg { transform: none; }
.dlg h2 { font-size: 26px; margin-bottom: 10px; }
.dlg-l { width: min(640px, 100%); }
.dlg-k { width: min(640px, 100%); padding: 16px; align-self: flex-start; margin-top: 10vh; }
.dlg-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.fld { display: grid; gap: 6px; margin: 16px 0 0; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld input, .fld select { height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); font-size: 16px; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld.bad input { border-color: var(--accent); }
.err { font-style: normal; font-size: 13px; color: var(--accent); font-weight: 600; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.imgpick { border: 0; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.imgpick legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.imgpick label { position: relative; cursor: pointer; }
.imgpick input { position: absolute; opacity: 0; }
.imgpick img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: box-shadow .2s, transform .2s var(--ease); }
.imgpick input:checked + img { box-shadow: 0 0 0 3px var(--accent); transform: scale(.95); }
.imgpick input:focus-visible + img { outline: 3px solid var(--accent); outline-offset: 2px; }
.sbox-l { min-height: 56px; background: var(--paper); }
.kres { margin-top: 10px; max-height: 56vh; overflow-y: auto; }
.kres li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; min-height: 60px; }
.kres li[aria-selected="true"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--accent); }
.kic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.kempty { padding: 24px; justify-content: center; }
.kfoot { padding: 12px 6px 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
#toasts { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 420px; padding: 14px 16px 14px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 15px; pointer-events: auto; opacity: 0; transform: translateY(14px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast span { flex: 1; }
.toast .ic { color: #8CC7A2; }
.toast.err .ic { color: #FF9A6A; }
.tl { border: 0; background: transparent; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 40px; padding: 0 6px; }

/* ================= LANDING ================= */
.is-landing { background-color: var(--paper); }
.ln-nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px clamp(20px, 4vw, 56px); color: #F6F1E8; transition: background .35s var(--ease), color .35s, padding .35s var(--ease); }
.ln-nav .logo { --logo-bg: #F6F1E8; --logo-fg: #1D1B18; }
.ln-nav nav { display: flex; gap: 6px; }
.ln-nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 10px; opacity: .9; }
.ln-nav nav a:hover { opacity: 1; background: rgba(255,255,255,.1); }
.ln-r { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ln-r .btn { margin-left: 10px; }
.ln-nav .ib { color: inherit; }
.ln-nav .ib:hover { background: rgba(255,255,255,.12); }
.ln-nav.solid { background: var(--paper); color: var(--ink); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.ln-nav.solid .logo { --logo-bg: var(--ink); --logo-fg: var(--paper); }
.ln-nav.solid nav a:hover, .ln-nav.solid .ib:hover { background: var(--paper-2); }
#main { outline: none; }
.ln-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #1A1713; color: #F6F1E8; }
.ln-hero-img { position: absolute; inset: 0; }
.ln-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-out both; }
@keyframes kb { from { scale: 1.12; } to { scale: 1; } }
.ln-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 13, 10, .92) 0%, rgba(16, 13, 10, .55) 38%, rgba(16, 13, 10, .12) 70%, rgba(16, 13, 10, .45) 100%); }
.ln-hero-in { position: relative; z-index: 2; width: 100%; padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 7vh, 80px); }
.on-dark { color: rgba(246, 241, 232, .86) !important; }
.ln-h1 { font-size: clamp(54px, 10.4vw, 176px); font-weight: 800; line-height: .9; letter-spacing: -.045em; margin: 18px 0 34px; }
.ln-h1 span { display: block; }
.ln-h1 span + span { padding-left: clamp(0px, 8vw, 150px); color: #F4C9AE; }
.ln-hero-b { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ln-hero-b p { max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(246, 241, 232, .9); }
.ln-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ln-cta .lnk { color: #F6F1E8; }
.tag { position: absolute; z-index: 2; right: clamp(20px, 5vw, 80px); top: 22vh; width: 230px; padding: 16px 18px 18px; background: #F4EEE3; color: #1D1B18; border-radius: 6px; transform: rotate(3deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 4px; }
.tag::before { content: ""; height: 34px; margin-bottom: 10px; background: repeating-linear-gradient(90deg, #1D1B18 0 2px, transparent 2px 4px, #1D1B18 4px 5px, transparent 5px 8px, #1D1B18 8px 11px, transparent 11px 12px); }
.tag .mono { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: #A6420F; }
.tag b { font-size: 15px; }
.tag small { font: 500 13px var(--f-m); color: #57514A; }
.tag.lr.in { transform: rotate(3deg); }
section[id] { scroll-margin-top: 70px; }
.ln-stat { padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 96px); max-width: 1440px; margin: 0 auto; }
.ln-quote { font: 500 clamp(28px, 3.6vw, 52px)/1.18 var(--f-d); letter-spacing: -.025em; max-width: 24ch; }
.ln-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.ln-nums .n { display: block; font: 800 clamp(64px, 8vw, 120px)/.95 var(--f-d); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ln-nums span:not(.n) { display: block; margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 22ch; }
.ln-nums div:nth-child(2) .n { color: var(--accent); }
[data-theme="light"] .ln-nums div:nth-child(2) .n { color: #B4471A; }
.ln-story { position: relative; height: 330vh; background: var(--paper-2); }
.st-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 80px clamp(20px, 6vw, 96px) 40px; max-width: 1440px; margin: 0 auto; }
.st-txt { position: relative; height: 380px; }
.st-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.ln-story[data-s="0"] .st-step[data-step="0"], .ln-story[data-s="1"] .st-step[data-step="1"], .ln-story[data-s="2"] .st-step[data-step="2"], .ln-story:not([data-s]) .st-step[data-step="0"] { opacity: 1; transform: none; pointer-events: auto; }
.st-n { font-size: 15px; color: var(--accent); font-weight: 600; }
[data-theme="light"] .st-n { color: #A6420F; }
.st-step h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 22px; }
.st-step p { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.st-vis { position: relative; aspect-ratio: 4 / 3; }
.sv { position: absolute; inset: 0; margin: 0; border-radius: 20px; overflow: hidden; background: var(--paper); clip-path: inset(0 0 100% 0 round 20px); transition: clip-path .8s var(--ease); }
.sv img, .sv svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ln-story:not([data-s]) .sv0, .ln-story[data-s="0"] .sv0, .ln-story[data-s="1"] .sv0, .ln-story[data-s="1"] .sv1, .ln-story[data-s="2"] .sv0, .ln-story[data-s="2"] .sv1, .ln-story[data-s="2"] .sv2 { clip-path: inset(0 0 0 0 round 20px); }
.beam { position: absolute; left: 25%; top: 0; width: 7%; height: 52%; background: linear-gradient(180deg, rgba(255, 122, 61, .05), rgba(255, 122, 61, .75)); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); animation: beam 2.4s ease-in-out infinite alternate; }
.sv0::after { content: ""; position: absolute; left: 22.5%; top: 48%; width: 12%; height: 9%; border-radius: 8px; border: 3px solid #FF7A3D; box-shadow: 0 0 0 6px rgba(255, 122, 61, .25), 0 0 30px #FF7A3D; }
@keyframes beam { from { opacity: .75; } to { opacity: 1; } }
.sv-tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 10px; background: #1D1B18; color: #F6F1E8; font-size: 15px; }
.sv .laser { top: 46%; }
.route { stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, var(--sp, 0) * 1.4)); }
.ln-story[data-s="2"] .route { stroke-dashoffset: 0; }
.svt { font: 600 15px var(--f-m); fill: var(--ink-2); }
.svn { font: 700 13px var(--f-b); fill: #fff; }
.svp { font: 600 11px var(--f-m); fill: var(--paper); letter-spacing: .06em; }
.ln-wide { padding: clamp(24px, 3vw, 40px); }
.ln-wide figure { position: relative; margin: 0; height: min(88vh, 860px); border-radius: 22px; overflow: hidden; background: #1A1713; }
.ln-wide img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.ln-wide figcaption { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); right: 24px; max-width: 30ch; color: #F6F1E8; font: 600 clamp(24px, 2.8vw, 40px)/1.15 var(--f-d); letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.ln-wide figcaption .mono { display: block; font-size: 16px; font-weight: 500; margin-bottom: 12px; color: #F4C9AE; }
.ln-wide figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(10, 8, 6, .7), transparent 55%); }
.ln-wide figcaption { z-index: 1; }
.ln-sec-h { max-width: 1240px; margin: 0 auto 56px; }
.ln-sec-h h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.04em; max-width: 18ch; margin-top: 16px; }
.ln-devices { padding: clamp(80px, 10vw, 150px) clamp(20px, 6vw, 96px); }
.dev { position: relative; max-width: 1180px; margin: 0 auto; padding-right: clamp(40px, 12vw, 180px); }
.laptop .scr { aspect-ratio: 16 / 10; border: 12px solid #1D1B18; border-bottom-width: 18px; border-radius: 18px 18px 6px 6px; overflow: hidden; background: #1D1B18; }
.laptop .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop .base { height: 16px; margin: 0 -5%; border-radius: 0 0 22px 22px; background: linear-gradient(#CFC7B9, #A59C8D); }
[data-theme="dark"] .laptop .base { background: linear-gradient(#5B554C, #3A352D); }
.phone { position: absolute; right: 0; bottom: -40px; width: clamp(150px, 20vw, 250px); }
.phone .scr { aspect-ratio: 390 / 844; border: 9px solid #1D1B18; border-radius: 38px; overflow: hidden; background: #1D1B18; box-shadow: 0 40px 70px -40px rgba(30, 20, 8, .6); }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.feat { max-width: 1180px; margin: 100px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feat li { padding-top: 20px; border-top: 2px solid var(--ink); }
.feat b { display: block; font: 700 22px var(--f-d); letter-spacing: -.02em; margin-bottom: 8px; }
.feat span { color: var(--ink-2); font-size: 16px; }
.ln-voices { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 96px); max-width: 1440px; margin: 0 auto; align-items: start; }
.v-main { margin: 0; }
.v-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.v-main blockquote { margin: 32px 0 0; }
.v-main p { font: 500 clamp(24px, 2.6vw, 38px)/1.22 var(--f-d); letter-spacing: -.02em; }
.v-main figcaption { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.v-main figcaption b { display: block; color: var(--ink); font-size: 17px; }
.v-side { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.v-side blockquote { margin: 0; padding: 32px; border-radius: 20px; background: var(--card); }
.v-side p { font-size: 18px; line-height: 1.55; }
.v-side footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.v-side footer b { display: block; font-size: 16px; }
.v-side footer small { font-size: 14px; color: var(--ink-2); }
.ln-price { padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 96px); background: var(--paper-2); }
.plans { max-width: 1240px; margin: 0 auto 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: var(--card); }
.plan header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 26px; }
.pop { font: 500 13px var(--f-m); padding: 6px 10px; border-radius: 99px; background: var(--paper); color: var(--ink); }
.price { margin: 26px 0 8px; padding-top: 24px; border-top: 2px dashed var(--line); font-size: 18px; }
.price b { font: 800 52px/1 var(--f-d); letter-spacing: -.04em; }
.price small { color: var(--ink-2); font-size: 15px; }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li .ic { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2; }
.plan-hi { background: var(--ink); color: var(--paper); }
.plan-hi .muted, .plan-hi .price small { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.plan-hi .price { border-color: color-mix(in srgb, var(--paper) 25%, transparent); }
.plan-hi .ic { color: #F4A57D; }
[data-theme="dark"] .plan-hi .ic { color: #A6420F; }
.ln-final { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; background: #1A1713; color: #F6F1E8; }
.ln-final img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.ln-final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 13, 10, .86), rgba(16, 13, 10, .35) 70%); }
.ln-final-in { position: relative; z-index: 1; padding: 0 clamp(20px, 6vw, 96px); max-width: 900px; }
.ln-final h2 { font-size: clamp(42px, 6vw, 96px); line-height: .98; letter-spacing: -.045em; }
.ln-final p { margin: 24px 0 34px; font-size: 19px; color: rgba(246, 241, 232, .88); max-width: 40ch; }
.ln-foot { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 56px clamp(20px, 6vw, 96px) 64px; background: var(--paper); }
.lf-a p { margin-top: 12px; color: var(--ink-2); }
.lf-a .brand { padding: 0; }
.lf-b { display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; justify-items: start; }
.lf-b .lnk { padding: 8px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main { padding: 12px 32px 96px; }
  .tb { padding: 12px 32px; }
  .w3 { grid-template-columns: minmax(0, 1fr) 340px; }
  .orow { grid-template-columns: 64px minmax(0, 1fr) 90px 110px 20px; }
  .o-ch { display: none; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sb { display: none; }
  .tb { padding: 10px 18px; gap: 8px; }
  .kbar { width: auto; flex: 1; }
  .kbar kbd { display: none; }
  .main { padding: 8px 18px calc(110px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -1px 0 var(--line); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .tab.on { color: var(--ink); font-weight: 600; }
  .tab.on .ic { color: var(--accent); }
  .tab-scan .ic { width: 44px; height: 34px; padding: 6px 11px; border-radius: 12px; background: var(--accent); color: var(--accent-ink) !important; margin-top: -4px; }
  .two, .od, .scan-wrap, .pd { grid-template-columns: 1fr; }
  .pd { gap: 28px; }
  .pd-img { position: static; }
  .w3 { grid-template-columns: 1fr; height: auto; }
  .w3-stage { height: 58vh; min-height: 380px; }
  .w3-panel { overflow: visible; }
  #toasts { bottom: calc(92px + env(safe-area-inset-bottom)); right: 16px; left: 16px; align-items: stretch; }
  .ln-nav nav { display: none; }
  .st-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 84px; align-content: start; gap: 24px; }
  .st-vis { order: -1; aspect-ratio: 4 / 3; max-height: 42vh; width: 100%; }
  .st-txt { height: 300px; }
  .ln-voices, .ln-foot { grid-template-columns: 1fr; }
  .plans, .feat { grid-template-columns: 1fr; }
  .feat { margin-top: 80px; gap: 28px; }
  .tag { display: none; }
}
@media (max-width: 640px) {
  .hs-in { padding: 24px 22px; }
  .hero-strip { height: auto; min-height: 340px; }
  .hero-strip::after { background: linear-gradient(0deg, rgba(18, 15, 11, .9) 10%, rgba(18, 15, 11, .45) 70%, rgba(18, 15, 11, .2)); }
  .hs-in { position: relative; padding-top: 120px; }
  .hs-act .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 28px 4px; }
  .kpis > div:last-child { display: none; }
  .card { padding: 22px 18px; border-radius: 18px; }
  .row { margin: 0 -8px; width: calc(100% + 16px); padding: 8px; }
  .row .pill { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pc-b { flex-direction: column; align-items: flex-start; padding: 14px; gap: 8px; }
  .pc-n { text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .pc-n b { font-size: 22px; }
  .pc-t b { font-size: 15px; }
  .pc-flag { top: 10px; left: 10px; }
  .orow { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; padding: 12px 6px; min-height: 80px; }
  .orow .th { width: 56px; height: 56px; }
  .more { left: 48px; top: 54px; }
  .o-t, .chev { display: none; }
  .otab li + li .orow::before { left: 76px; right: 6px; }
  .filters .sbox { min-width: 100%; }
  .filters .seg { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .seg button { flex: none; }
  .binl li a { grid-template-columns: 90px 1fr 70px; gap: 12px; }
  .scan { min-height: 400px; }
  .scan-f { flex-direction: column; }
  .abc li a { grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 12px; }
  .abc .th { width: 56px; height: 56px; }
  .dlg { padding: 24px 20px; }
  .scrim { align-items: flex-end; padding: 0; }
  .dlg { border-radius: 22px 22px 0 0; width: 100%; max-height: 92vh; }
  .dlg-k { margin-top: 0; align-self: flex-end; }
  .fr { grid-template-columns: 1fr; gap: 0; }
  .ln-nav { padding: 14px 18px; gap: 10px; }
  .ln-r .btn { display: none; }
  .ln-hero-in { padding-bottom: 36px; }
  .ln-cta .btn { width: 100%; }
  .ln-h1 span + span { padding-left: 0; }
  .ln-nums { grid-template-columns: 1fr; gap: 36px; }
  .ln-story { height: 300vh; }
  .st-step h2 { font-size: 32px; margin: 12px 0 14px; }
  .st-step p { font-size: 16px; }
  .st-txt { height: 290px; }
  .dev { padding-right: 70px; }
  .phone { width: 120px; bottom: -24px; }
  .laptop .scr { border-width: 6px; border-bottom-width: 10px; border-radius: 10px 10px 4px 4px; }
  .v-side blockquote { padding: 24px; }
  .price b { font-size: 44px; }
}
.two > *, .od > *, .scan-wrap > *, .pd > *, .w3 > *, .ln-voices > *, .st-pin > * { min-width: 0; }
.calm .route { stroke-dashoffset: 0; }
.sv0 .beam { width: 9%; background: linear-gradient(180deg, rgba(255, 150, 90, .15), rgba(255, 110, 50, .9)); filter: blur(1px); }
@media (max-width: 640px) { .tb .me { display: none; } .tb-r { gap: 0; } .tb .ib { width: 42px; } }
