/* GastroPos — marketing site */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/bricolage-latin.woff2) format("woff2");
  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-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  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-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #14171d;
  --ink-2: #1d222b;
  --ink-3: #2a313c;
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --white: #ffffff;
  --line: #e7e0d4;
  --line-dark: rgba(255,255,255,.12);
  --text: #1a1d23;
  --muted: #5b6270;
  --muted-light: #aab1bd;
  --brand: #ff5a2c;
  --brand-ink: #d23f12;
  --brand-soft: #ffe7de;
  --basil: #129c66;
  --basil-soft: #dcf3e8;
  --saffron: #ffb420;
  --saffron-soft: #fff1d1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(20,23,29,.06), 0 2px 8px rgba(20,23,29,.05);
  --shadow: 0 2px 6px rgba(20,23,29,.05), 0 18px 40px -12px rgba(20,23,29,.18);
  --shadow-lg: 0 30px 80px -20px rgba(20,23,29,.35);
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }
section[id], [id="early-access"] { scroll-margin-top: 80px; }

.i { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px rgba(255,90,44,.7); }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(20,23,29,.18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,23,29,.04); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,23,29,.4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.brand b { color: var(--brand); font-weight: 800; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.main-nav ul a:hover { color: var(--ink); background: rgba(20,23,29,.05); }
.lang-switch { display: inline-flex; padding: 3px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); letter-spacing: .02em; }
.lang-switch a[aria-current] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-switch a:hover:not([aria-current]) { color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }

.lang-hint { background: var(--ink); color: #fff; font-size: 14px; }
.lang-hint .wrap { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.lang-hint-go { color: var(--saffron); font-weight: 600; white-space: nowrap; }
.lang-hint-close { margin-left: auto; background: none; border: 0; color: var(--muted-light); cursor: pointer; padding: 4px; display: inline-flex; }

/* ---------- typography ---------- */
.display { font-size: clamp(40px, 6vw, 74px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
.display em { font-style: normal; color: var(--brand); position: relative; white-space: normal; background: linear-gradient(transparent 72%, var(--saffron-soft) 72%, var(--saffron-soft) 92%, transparent 92%); }
.h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 750; }
.h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 720; letter-spacing: -.03em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 36em; }
.lead-sm { font-size: 18px; color: var(--muted); max-width: 40em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.kicker .i { width: 16px; height: 16px; }
.kicker-light { color: var(--saffron); }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .h2 { margin-bottom: 16px; }
.section-head.center .lead-sm { margin: 0 auto; }
.dark { background: var(--ink); color: #f3f1ec; }
.dark .lead-sm, .dark p { color: var(--muted-light); }
.dark h2, .dark h3 { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 10%, rgba(255,180,32,.18), transparent 70%),
  radial-gradient(700px 500px at 10% 90%, rgba(255,90,44,.10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-3); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--basil); box-shadow: 0 0 0 4px var(--basil-soft); }
.hero-copy .display { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.hero-note .i { color: var(--basil); }

.hero-visual { position: relative; padding: 28px 20px 40px 28px; }
.hero-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; transform: rotate(1.2deg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font-weight: 650; color: var(--ink); }
.float-card small { color: var(--muted); font-size: 13px; }
.fc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fc-ic .i { width: 20px; height: 20px; }
.ic-brand { background: var(--brand-soft); color: var(--brand-ink); }
.ic-basil { background: var(--basil-soft); color: var(--basil); }
.ic-saffron { background: var(--saffron-soft); color: #a86b00; }
.ic-ink { background: var(--ink); color: var(--saffron); }
.fc-ticket { top: 6%; left: -4%; }
.fc-kds { top: 38%; right: -2%; animation-delay: -1.5s; }
.fc-eta { bottom: 16%; left: -6%; animation-delay: -3s; }
.fc-ai { bottom: 0; right: 8%; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.devices-strip { margin-top: clamp(40px, 6vw, 64px); display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding: 18px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.devices-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.devices-strip ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.devices-strip li { font: 650 17px/1 var(--font-display); color: var(--ink-3); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 26px; }
.devices-strip li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin-left: -15px; margin-right: -11px; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.why-quote { position: absolute; left: -24px; right: 32px; bottom: -32px; margin: 0; padding: 22px 24px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.why-quote p { font: 600 19px/1.35 var(--font-display); letter-spacing: -.01em; margin-bottom: 10px; color: #fff; }
.why-quote cite { font-style: normal; font-size: 13px; color: var(--saffron); font-weight: 600; }
.why-copy .h2 { margin-bottom: 18px; }
.why-copy .lead-sm { margin-bottom: 36px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.points li { display: flex; gap: 14px; }
.pt-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.points li:nth-child(2) .pt-ic { background: var(--saffron-soft); color: #a86b00; }
.points li:nth-child(3) .pt-ic { background: var(--basil-soft); color: var(--basil); }
.points li:nth-child(4) .pt-ic { background: #e7ecf7; color: #3557a8; }
.points h3 { font-size: 18px; margin: 4px 0 6px; letter-spacing: -.01em; }
.points p { font-size: 15px; color: var(--muted); }

/* ---------- platform ---------- */
.platform { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.role-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.role-img { aspect-ratio: 4 / 3; overflow: hidden; }
.role-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.role-card:hover .role-img img { transform: scale(1.05); }
.role-body { padding: 22px 22px 26px; position: relative; }
.role-ic { position: absolute; top: -26px; left: 20px; width: 50px; height: 50px; border-radius: 15px; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(255,90,44,.8); border: 3px solid var(--paper); }
.role-card:nth-child(2) .role-ic { background: var(--ink); box-shadow: 0 10px 22px -8px rgba(20,23,29,.6); }
.role-card:nth-child(3) .role-ic { background: var(--basil); box-shadow: 0 10px 22px -8px rgba(18,156,102,.7); }
.role-card:nth-child(4) .role-ic { background: var(--saffron); color: var(--ink); box-shadow: 0 10px 22px -8px rgba(255,180,32,.8); }
.role-body h3 { font-size: 21px; margin: 18px 0 8px; }
.role-body p { font-size: 15px; color: var(--muted); }

.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; counter-reset: f; }
.flow li { display: inline-flex; align-items: center; gap: 10px; }
.flow li span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.flow li span::before { counter-increment: f; content: counter(f); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; }
.flow li:last-child span::before { background: var(--basil); }
.flow li + li::before { content: ""; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 5px, transparent 5px 9px); }

/* ---------- AI ---------- */
.ai { overflow: hidden; }
.ai::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(255,90,44,.22), transparent 65%); pointer-events: none; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.ai-copy .h2 { margin-bottom: 18px; }
.ai-copy .lead-sm { margin-bottom: 34px; }
.ai-items { display: grid; gap: 22px; }
.ai-items li { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.ai-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,180,32,.14); color: var(--saffron); flex: none; }
.ai-items h3 { font-size: 18px; margin: 2px 0 6px; }
.ai-items p { font-size: 15px; }

.ai-visual { position: relative; }
.ai-visual::before { content: ""; position: absolute; inset: 40px -30px -30px 40px; border-radius: 28px; background: url(../img/ingredients.webp) center/cover; opacity: .35; filter: saturate(1.1); }
.chat { position: relative; background: #fbfaf7; color: var(--text); border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.chat-head strong { display: block; font-size: 15px; color: var(--ink); }
.chat-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--basil) !important; font-weight: 600; }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--saffron); display: grid; place-items: center; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--basil); box-shadow: 0 0 0 0 rgba(18,156,102,.6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,156,102,.55); } 70% { box-shadow: 0 0 0 8px rgba(18,156,102,0); } 100% { box-shadow: 0 0 0 0 rgba(18,156,102,0); } }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; color: var(--text) !important; }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff !important; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-actions, .nutri { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-btn { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.chip-btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.nutri span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--saffron-soft); color: #7a4e00; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: 14px; color: var(--muted); }
.chat-input .send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.chat-input .send .i { width: 17px; height: 17px; }
.js .chat .msg { opacity: 0; transform: translateY(10px); }
.js .chat.play .msg { animation: msgIn .5s var(--ease) forwards; animation-delay: var(--d); }
@keyframes msgIn { to { opacity: 1; transform: none; } }

/* ---------- modules ---------- */
.mod-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.mod-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 7px 13px; border-radius: 999px; margin-bottom: 16px; }
.mod-hint .i { width: 16px; height: 16px; }
.mod-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mod { width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s; height: 100%; }
.mod:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.mod[aria-pressed="true"] { border-color: var(--brand); background: #fff8f5; }
.mod-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--muted); flex: none; transition: background .2s, color .2s; }
.mod-ic .i { width: 19px; height: 19px; }
.mod[aria-pressed="true"] .mod-ic { background: var(--brand); color: #fff; }
.mod-txt { flex: 1; min-width: 0; }
.mod-txt strong { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 4px; color: var(--ink); }
.mod-txt small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.switch { width: 34px; height: 20px; border-radius: 999px; background: #d9d3c8; position: relative; flex: none; margin-top: 2px; transition: background .2s; }
.switch span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.mod[aria-pressed="true"] .switch { background: var(--basil); }
.mod[aria-pressed="true"] .switch span { transform: translateX(14px); }

.mod-preview { position: sticky; top: 100px; }
.app-window { border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2dbcf; }
.app-bar i:first-child { background: #ff8a6b; } .app-bar i:nth-child(2) { background: #ffcb5c; } .app-bar i:nth-child(3) { background: #5cc99a; }
.app-bar span { margin-left: 10px; }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.app-side { background: var(--ink); color: #dfe3ea; padding: 16px 10px; }
.app-brand { display: flex; align-items: center; gap: 8px; font: 700 15px var(--font-display); color: #fff; padding: 2px 8px 14px; }
.app-brand .logo-mark { width: 24px; height: 24px; }
.app-nav { display: grid; gap: 2px; }
.app-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13px; line-height: 1.2; animation: navIn .35s var(--ease); }
.app-nav li .i { width: 16px; height: 16px; color: var(--muted-light); }
.app-nav li.core:first-child { background: rgba(255,255,255,.08); color: #fff; }
.app-nav li.core:first-child .i { color: var(--brand); }
.app-nav li[hidden] { display: none; }
@keyframes navIn { from { opacity: 0; transform: translateX(-8px); background: rgba(255,90,44,.35); } to { opacity: 1; transform: none; } }
.app-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.app-count { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--basil-soft); color: var(--basil); }
.skel { display: block; height: 12px; border-radius: 6px; background: var(--paper-2); }
.skel.accent { background: var(--brand-soft); }
.skel-row { display: flex; gap: 10px; }
.w20 { width: 20%; } .w40 { width: 40%; } .w60 { width: 60%; } .w75 { width: 75%; } .w80 { width: 80%; } .w90 { width: 90%; }
.skel-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.skel-tiles span { aspect-ratio: 1.3; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.skel-tiles span:nth-child(2) { background: var(--brand-soft); border-color: #ffd2c3; }
.skel-tiles span:nth-child(5) { background: var(--basil-soft); border-color: #bfe8d5; }
.skel-lines { display: grid; gap: 10px; }

/* ---------- tracking ---------- */
.tracking { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.track-visual { position: relative; padding-right: 60px; }
.track-visual img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 78%; box-shadow: var(--shadow); }
.track-card { position: absolute; right: 0; bottom: 8%; width: min(340px, 72%); background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line); }
.tc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tc-head strong { display: block; font: 700 17px var(--font-display); }
.tc-head small { font-size: 13px; color: var(--muted); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--basil); background: var(--basil-soft); padding: 4px 9px; border-radius: 999px; }
.tc-steps { display: grid; gap: 0; position: relative; }
.tc-steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--muted); position: relative; }
.tc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 24px; height: calc(100% - 12px); width: 2px; background: var(--line); }
.tc-steps li.done:not(:last-child)::after { background: var(--basil); }
.tc-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); z-index: 1; transition: all .3s; }
.tc-steps li.done .tc-dot { background: var(--basil); border-color: var(--basil); box-shadow: inset 0 0 0 3px #fff; }
.tc-steps li.done { color: var(--ink); }
.tc-steps li.now { color: var(--ink); font-weight: 650; }
.tc-steps li.now .tc-dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.tc-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-eta { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--saffron-soft); color: #7a4e00; font-size: 14px; font-weight: 600; }
.track-copy .h2 { margin-bottom: 18px; }
.track-copy .lead-sm { margin-bottom: 28px; }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.checks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--basil-soft); color: var(--basil); stroke-width: 2.6; margin-top: 1px; }
.checks.light li { color: #e7e9ee; }
.checks.light .i { background: rgba(18,156,102,.25); color: #5fe0a8; }

/* ---------- integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.int-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.int-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.int-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--saffron); margin-bottom: 18px; }
.int-card h3 { font-size: 21px; margin-bottom: 8px; }
.int-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); }

/* ---------- migration ---------- */
.migration { background: var(--white); border-top: 1px solid var(--line); }
.migration .section-head .h2 { max-width: 16em; }
.mig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mig-card { padding: 32px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.mig-card.alt { background: var(--ink); color: #e9ebef; border-color: var(--ink); }
.mig-card.alt h3 { color: #fff; }
.mig-card.alt p { color: var(--muted-light); }
.mig-card.alt .checks li { color: #e7e9ee; }
.mig-card.alt .checks .i { background: rgba(18,156,102,.25); color: #5fe0a8; }
.mig-card h3 { font-size: 26px; margin-bottom: 10px; }
.mig-card > p { color: var(--muted); margin-bottom: 22px; }
.mig-diagram { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.mig-card.alt .node { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.node .logo-mark { width: 20px; height: 20px; }
.node-brand { border-color: var(--brand); }
.pipe { flex: 1; height: 2px; min-width: 30px; position: relative; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 11px); }
.pipe i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: travel 2.4s linear infinite; }
.pipe.both i { animation: travel2 3s ease-in-out infinite; background: var(--saffron); }
@keyframes travel { from { left: 0; } to { left: calc(100% - 10px); } }
@keyframes travel2 { 0%, 100% { left: 0; } 50% { left: calc(100% - 10px); } }
.proof { margin-top: 28px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--basil-soft); color: #0b5e3d; font-weight: 600; }
.proof .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--basil); color: #fff; stroke-width: 2.6; }

/* ---------- any device ---------- */
.any-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.any-copy .h2 { margin-bottom: 18px; }
.any-copy .lead-sm { margin-bottom: 28px; }
.os-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.os-row li { padding: 8px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font: 650 15px var(--font-display); }
.any-media { margin: 0; }
.any-media img { border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

/* ---------- roadmap ---------- */
.roadmap { background: var(--paper-2); }
.rm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.rm-col { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; }
.rm-col header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.rm-col h3 { font-size: 26px; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.rm-0 { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.rm-0 .badge { background: var(--brand); color: #fff; }
.rm-1 .badge { background: var(--saffron-soft); color: #7a4e00; }
.rm-col li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; }
.rm-col li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.rm-0 li::before { background: var(--brand); }
.rm-1 li::before { background: var(--saffron); }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 25%, rgba(20,23,29,.75) 60%, rgba(20,23,29,.9)); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cta-copy .h2 { margin-bottom: 18px; }
.cta-copy .lead-sm { margin-bottom: 28px; }
.lead-form { background: var(--white); color: var(--text); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 15px/1.4 var(--font-body); color: var(--text); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.field .bad { border-color: #e0483a; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.4em; text-align: center; }
.form-status.ok { color: var(--basil); }
.form-status.err { color: #c2321f; }
.lead-form.sent .field, .lead-form.sent .row2, .lead-form.sent .consent, .lead-form.sent button { display: none; }
.lead-form.sent .form-status { font: 650 22px/1.3 var(--font-display); padding: 40px 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-dark); font-size: 15px; }
.site-footer .brand { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; max-width: 22em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 24px; align-content: start; justify-content: start; }
.footer-nav a, .footer-lang a { text-decoration: none; color: var(--muted-light); }
.footer-nav a:hover, .footer-lang a:hover { color: #fff; }
.footer-lang { display: grid; gap: 8px; align-content: start; }
.footer-lang span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.footer-lang a[aria-current] { color: var(--saffron); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-base a { color: var(--muted-light); }

.notfound { min-height: 50vh; display: grid; place-items: center; }
.notfound .h1 { margin-bottom: 28px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul a { padding: 8px 8px; font-size: 14px; }
  .role-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { font-size: 17px; padding: 12px 8px; }
  .lang-switch { align-self: flex-start; }
  .nav-cta { padding: 13px 20px; font-size: 16px; }
  .hero-grid, .why-grid, .ai-grid, .track-grid, .any-grid, .cta-grid, .mod-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .why-media { max-width: 560px; margin-bottom: 40px; }
  .why-media img { aspect-ratio: 4 / 3.4; }
  .mod-preview { position: relative; top: 0; }
  .track-visual { max-width: 560px; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .rm-grid { grid-template-columns: 1fr; }
  .mig-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; }
  .main-nav { inset: 64px 0 auto 0; }
  .section { padding: 64px 0; }
  .actions .btn { width: 100%; }
  .hero-visual { padding: 18px 8px 30px 8px; }
  .float-card { padding: 9px 12px 9px 9px; font-size: 13px; gap: 9px; border-radius: 13px; }
  .float-card small { font-size: 12px; }
  .fc-ic { width: 32px; height: 32px; border-radius: 9px; }
  .fc-ticket { left: -2%; top: 3%; }
  .fc-kds { right: -2%; }
  .fc-eta { left: -2%; bottom: 14%; }
  .fc-ai { right: 0; bottom: 0; }
  .devices-strip { padding: 16px; gap: 12px; }
  .devices-strip ul { gap: 8px 18px; }
  .devices-strip li { font-size: 15px; gap: 18px; }
  .devices-strip li + li::before { margin-left: -11px; margin-right: -7px; }
  .points { grid-template-columns: 1fr; }
  .why-quote { left: 12px; right: 12px; bottom: -36px; padding: 18px; }
  .why-quote p { font-size: 17px; }
  .role-cards { grid-template-columns: 1fr; }
  .flow { justify-content: flex-start; }
  .flow li + li::before { width: 10px; }
  .mod-list ul { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 150px 1fr; min-height: 400px; }
  .app-nav li { font-size: 12px; padding: 7px 8px; gap: 7px; }
  .app-main { padding: 14px; }
  .track-visual { padding-right: 0; padding-bottom: 150px; }
  .track-visual img { width: 82%; }
  .track-card { width: 86%; bottom: 0; }
  .int-grid { grid-template-columns: 1fr; }
  .int-card, .mig-card { padding: 24px; }
  .mig-diagram { flex-wrap: wrap; }
  .row2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
  .chat-body { min-height: 0; }
  .ai-visual::before { inset: 30px -10px -16px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .chat .msg { opacity: 1; transform: none; }
}
