:root {
  --bg: oklch(97.6% 0.004 90);
  --surface: oklch(93% 0.006 90);
  --surface-2: oklch(98% 0.004 90);
  --text: oklch(15% 0 0);
  --text-on-dark: oklch(98% 0.005 90);
  --muted: oklch(45% 0.012 75);
  --muted-2: oklch(42% 0.012 75);
  --muted-3: oklch(50% 0.012 75);
  --muted-4: oklch(30% 0.012 75);
  --border: oklch(85% 0.006 90);
  --border-2: oklch(88% 0.006 90);
  --green: #D6F4B3;
  --btn-primary: #121212;
  --font-serif: 'Newsreader', serif;
  --font-sans: 'Work Sans', sans-serif;
  --max: 1320px;
  --max-narrow: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

::selection { background: oklch(15% 0 0 / 0.15); }

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

summary {
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.hidden { display: none !important; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 40px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(97.6% 0.004 90 / 0.9);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right { justify-content: flex-end; }
.nav-logo { cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nav-logo img { height: 26px; width: auto; display: block; }

.pill-btn {
  background: var(--surface);
  border: none;
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
}

.hamburger-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  border: none;
}
.hamburger-lines { display: flex; flex-direction: column; gap: 4px; }
.hamburger-lines span { width: 16px; height: 2px; background: var(--text); display: block; }
.hamburger-x { position: relative; width: 16px; height: 16px; display: none; }
.hamburger-x span { position: absolute; top: 7px; left: 0; width: 16px; height: 2px; background: var(--text); }
.hamburger-x span:first-child { transform: rotate(45deg); }
.hamburger-x span:last-child { transform: rotate(-45deg); }
.dropdown-wrap[open] .hamburger-lines { display: none; }
.dropdown-wrap[open] .hamburger-x { display: block; }

.dropdown-wrap { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  background: var(--surface-2);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 20px 40px oklch(15% 0 0 / 0.12);
  z-index: 65;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}
.dropdown.left { left: 0; }
.dropdown.right { right: 0; }
.dropdown.wide { min-width: 260px; gap: 2px; }
.dropdown-item {
  font-size: 15.5px;
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 12px;
  white-space: nowrap;
  color: var(--text);
}
.dropdown-item:hover { background: var(--surface); }
.dropdown-product-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; cursor: pointer; border-radius: 14px;
}
.dropdown-product-item:hover { background: var(--surface); }
.dropdown-icon { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.dropdown-seeall {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}

.lang-switch {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
}
.lang-switch a {
  display: block;
  padding: 9px 12px; cursor: pointer;
  color: var(--text); font-family: var(--font-sans); font-weight: 600; font-size: 12.5px;
}
.lang-switch a.active { background: var(--text); color: white; }

.lang-switch-footer { display: flex; gap: 8px; }
.lang-switch-footer a {
  font-size: 14.5px; cursor: pointer; padding: 4px 10px; border-radius: 100px;
  color: var(--text); font-family: var(--font-sans);
}
.lang-switch-footer a.active { background: var(--text); color: white; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-sans);
  border: none;
}
.btn-primary { background: var(--btn-primary); color: white; }
.btn-secondary { background: var(--surface); color: var(--text); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-md { padding: 15px 30px; font-size: 15.5px; }
.btn-sm { padding: 13px 26px; font-size: 14.5px; }

/* ---------- Hero / typography ---------- */
.badge {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-4);
}
.serif { font-family: var(--font-serif); }
.hero-title { font-family: var(--font-serif); font-size: 72px; line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; max-width: 840px; margin: 0; }
.hero-sub { font-size: 19px; color: var(--muted-2); line-height: 1.6; max-width: 560px; margin: 20px 0 0; }
.pillars-grid { max-width: var(--max-narrow); margin: 0 auto; padding: 0 40px 100px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pillar-title { font-size: 18px; font-weight: 600; }
.pillar-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; max-width: 260px; }
.page-hero-title { font-family: var(--font-serif); font-size: 56px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 18px; }
.page-hero-sub { font-size: 18px; color: var(--muted-2); line-height: 1.6; margin: 0; }
.section-title { font-family: var(--font-serif); font-size: 36px; font-weight: 500; }
.section-title-sm { font-family: var(--font-serif); font-size: 28px; font-weight: 500; }
.big-title { font-family: var(--font-serif); font-size: 44px; font-weight: 500; line-height: 1.15; }
.start-title { font-family: var(--font-serif); font-size: 48px; font-weight: 500; letter-spacing: -0.01em; }

.chip {
  background: var(--surface); border-radius: 100px; padding: 9px 18px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  font-family: var(--font-sans); color: var(--text);
}
.tag-pill { background: var(--surface); border-radius: 100px; padding: 4px 12px; font-size: 12px; font-weight: 500; }

/* ---------- Placeholder image blocks ---------- */
.imgblock {
  border-radius: 28px;
  background: repeating-linear-gradient(115deg, oklch(88% 0.014 75), oklch(88% 0.014 75) 2px, oklch(93% 0.008 75) 2px, oklch(93% 0.008 75) 26px);
  display: flex; align-items: center; justify-content: center;
  color: oklch(45% 0.012 75); font-family: monospace; font-size: 14px;
  text-align: center;
  overflow: hidden;
}
.imgblock img, .imgblock video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-illustration { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.scene-icon {
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: oklch(98% 0.004 90 / 0.6);
}
.scene-icon svg { width: 56px; height: 56px; }
@media (max-width: 900px) {
  .scene-icon { width: 80px; height: 80px; }
  .scene-icon svg { width: 42px; height: 42px; }
}

/* ---------- Product icons ---------- */
.icon-badge-row { display: flex; align-items: center; gap: 16px; }
.product-icon-badge svg { display: block; }

/* ---------- Home page ---------- */
.hero-section { max-width: var(--max-narrow); margin: 0 auto; padding: 70px 40px 70px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.hero-media { max-width: var(--max); margin: 0 auto; padding: 0 40px 100px; position: relative; }
.hero-media-img { width: 100%; aspect-ratio: 16/7; }
.hero-overlay-cards {
  position: absolute; left: 64px; right: 64px; bottom: 36px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.overlay-card {
  background: oklch(98% 0.004 90 / 0.92); backdrop-filter: blur(6px);
  border-radius: 20px; padding: 26px 24px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.overlay-card-title { font-size: 18px; font-weight: 600; }
.overlay-card-desc { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }

.testimonials-section { max-width: var(--max); margin: 0 auto; padding: 20px 40px 110px; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; text-align: left; }
.testimonial-card { background: var(--surface); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 200px; }
.testimonial-top { display: flex; justify-content: space-between; align-items: center; }
.testimonial-stars { color: var(--text); font-size: 15px; }
.testimonial-quote { font-size: 16px; line-height: 1.5; flex: 1; }
.testimonial-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.verified-check {
  width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: oklch(20% 0.05 145);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}

.app-section { max-width: var(--max); margin: 0 auto; padding: 0 40px 110px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.app-phone-wrap { display: flex; justify-content: center; }
.app-phone { width: 280px; height: 580px; border-radius: 44px; background: var(--text); padding: 14px; box-shadow: 0 30px 60px oklch(15% 0 0 / 0.15); }
.app-phone-screen { width: 100%; height: 100%; border-radius: 32px; background: var(--surface-2); display: flex; flex-direction: column; padding: 22px 16px; gap: 14px; }
.app-phone-label { font-size: 13px; font-weight: 600; text-align: center; color: var(--muted); }
.app-phone-bubble-user { background: var(--surface); border-radius: 16px; padding: 12px 14px; font-size: 12.5px; align-self: flex-end; max-width: 85%; }
.app-phone-bubble-reply { background: var(--bg); border: 1px solid var(--border-2); border-radius: 16px; padding: 12px 14px; font-size: 12.5px; max-width: 85%; }
.app-features { display: flex; flex-direction: column; gap: 26px; }
.app-feature-n { font-size: 13px; color: oklch(55% 0.012 75); margin-bottom: 4px; }
.app-feature-text { font-size: 18px; font-weight: 500; }

.promo-tiles { max-width: var(--max); margin: 0 auto; padding: 0 40px 110px; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; }
.promo-tile { cursor: pointer; display: flex; flex-direction: column; gap: 12px; border: none; background: none; padding: 0; text-align: left; font-family: var(--font-sans); }
.promo-tile-img { width: 100%; aspect-ratio: 4/5; border-radius: 20px; font-size: 12px; }
.promo-tile-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-tile-title { font-size: 16px; font-weight: 500; color: var(--text); }
.promo-tile-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

.final-cta { max-width: 900px; margin: 0 auto; padding: 20px 40px 140px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final-cta-buttons { display: flex; gap: 14px; }

/* ---------- Generic page sections ---------- */
.page-section { max-width: var(--max-narrow); margin: 0 auto; padding: 70px 40px 120px; }
.page-hero { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.page-hero-wide { max-width: 720px; }

.usecase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.usecase-rows { display: flex; flex-direction: column; gap: 64px; }
.usecase-img { aspect-ratio: 5/4; border-radius: 24px; font-size: 13px; }
.usecase-title { font-family: var(--font-serif); font-size: 32px; font-weight: 500; margin: 0 0 14px; }
.usecase-desc { font-size: 16px; color: var(--muted-2); line-height: 1.65; margin-bottom: 22px; }
.usecase-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.feature-pill { background: var(--surface); border-radius: 100px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.panel-filled { background: var(--surface); }
.panel-outline { border: 1px solid var(--border-2); }
.panel-title { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin: 0; }
.point-list { display: flex; flex-direction: column; gap: 12px; }
.point-item { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--muted-4); line-height: 1.5; }
.point-item .bullet { font-weight: 700; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card { border: 1px solid var(--border-2); border-radius: 26px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; background: var(--surface-2); }
.pricing-card.is-coming-soon { opacity: 0.62; }
.pricing-badge { position: absolute; top: -13px; left: 28px; background: var(--text); color: white; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 100px; }
.pricing-badge-soon { background: var(--muted-3); }
.pricing-launch-note { max-width: 640px; margin: -20px auto 40px; text-align: center; font-size: 14px; color: var(--muted-3); background: var(--surface); border-radius: 14px; padding: 14px 20px; }
.pricing-name { font-size: 18px; font-weight: 600; }
.pricing-price { font-family: var(--font-serif); font-size: 27px; font-weight: 500; }
.pricing-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pricing-feature { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--muted-4); }
.pricing-select { margin-top: auto; padding-top: 16px; text-align: center; background: var(--surface); color: var(--text); padding: 13px 20px; border-radius: 100px; font-size: 14.5px; font-weight: 600; cursor: pointer; border: none; font-family: var(--font-sans); }
.pricing-select-disabled { cursor: not-allowed; color: var(--muted-3); }
.pricing-help { text-align: center; margin-top: 56px; font-size: 15px; color: var(--muted); }
.link-btn { font-weight: 600; cursor: pointer; text-decoration: underline; background: none; border: none; color: var(--text); font-family: var(--font-sans); font-size: inherit; padding: 0; }

.support-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 90px; }
.channel-card { background: var(--surface); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.channel-title { font-size: 18px; font-weight: 600; }
.channel-value { font-size: 15px; color: var(--muted-4); }
.channel-hours { font-size: 13.5px; color: var(--muted-3); }

.faq-title { font-family: var(--font-serif); font-size: 36px; font-weight: 500; text-align: center; margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border-radius: 16px; padding: 22px 26px; font-family: var(--font-sans); display: block; }
.faq-item-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 500; gap: 16px; }
.faq-marker { font-size: 20px; color: var(--muted); flex-shrink: 0; width: 1em; text-align: center; }
.faq-marker::before { content: '+'; }
.faq-item[open] .faq-marker::before { content: '\2212'; }
.faq-answer { font-size: 15px; color: var(--muted-2); line-height: 1.6; margin-top: 14px; }

.about-page { max-width: 900px; margin: 0 auto; padding: 70px 40px 120px; }
.about-title { font-family: var(--font-serif); font-size: 56px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 32px; text-align: center; }
.about-p { font-size: 19px; color: var(--muted-4); line-height: 1.7; margin-bottom: 24px; }
.about-p:last-of-type { margin-bottom: 44px; }
.about-trust { background: var(--surface); border-radius: 22px; padding: 28px 32px; font-size: 14.5px; color: var(--muted); }

.start-page { max-width: 720px; margin: 0 auto; padding: 130px 40px 160px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.start-sub { font-size: 18px; color: var(--muted-2); line-height: 1.6; max-width: 480px; }
.start-help { font-size: 14px; color: var(--muted-3); margin-top: 16px; }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 80px; }
.why-card { background: var(--surface); border-radius: 20px; padding: 26px; }
.why-card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.why-card-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; }

.roles-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.role-row { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 16px; }
.role-title { font-size: 17px; font-weight: 500; }
.role-meta { font-size: 14px; color: var(--muted-3); margin-top: 4px; }
.apply-btn { background: var(--text); color: white; padding: 11px 20px; border-radius: 100px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; border: none; font-family: var(--font-sans); }
.career-fallback { text-align: center; font-size: 15px; color: var(--muted); }
.career-fallback strong { font-weight: 600; text-decoration: underline; }

.type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 80px; }
.type-card { border: 1px solid var(--border-2); border-radius: 22px; padding: 30px; }
.type-card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.type-card-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; }

.benefits-box { background: var(--surface); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.benefits-box-title { font-family: var(--font-serif); font-size: 28px; font-weight: 500; }
.benefits-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 640px; }
.benefits-chip { background: var(--surface-2); border-radius: 100px; padding: 9px 18px; font-size: 14px; font-weight: 500; }

.tiers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tier-card { border: 1px solid var(--border-2); border-radius: 22px; padding: 30px; }
.tier-name { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.tier-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; }
.reseller-cta { text-align: center; margin-top: 48px; }

.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-bottom: 80px; }
.step-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: white; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }
.step-title { font-size: 18px; font-weight: 600; }
.step-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; }

.tech-categories { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 80px; }
.tech-cat-card { background: var(--surface); border-radius: 20px; padding: 26px; }
.tech-applications { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 80px; }
.tech-app-card { border: 1px solid var(--border-2); border-radius: 20px; padding: 26px; }
.tech-card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.tech-card-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; }
.tech-segments { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 90px; }
.segment-name { font-size: 15.5px; font-weight: 600; margin-bottom: 12px; }
.segment-items { display: flex; flex-direction: column; gap: 8px; }
.segment-item { font-size: 14px; color: var(--muted-2); line-height: 1.5; }
.tech-stories-title { font-family: var(--font-serif); font-size: 32px; font-weight: 500; text-align: center; margin-bottom: 44px; }
.tech-stories { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.story-card { background: var(--surface); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 200px; }
.story-quote { font-size: 16px; line-height: 1.55; flex: 1; }
.story-place { font-size: 13px; color: var(--muted); }

/* ---------- Tech specs ---------- */
.tech-specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card { border: 1px solid var(--border-2); border-radius: 20px; padding: 24px; }
.spec-value { font-family: var(--font-serif); font-size: 30px; font-weight: 500; margin-bottom: 6px; }
.spec-label { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.spec-desc { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }

/* ---------- Products page ---------- */
.product-cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 64px; }
.product-cat-nav-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: 100px; padding: 10px 18px 10px 14px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.product-cat-nav-link:hover { background: var(--border-2); }
.product-category { margin-bottom: 72px; scroll-margin-top: 100px; }
.product-category-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.product-category-title { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin: 0 0 6px; }
.product-category-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; margin: 0; max-width: 640px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  border: 1px solid var(--border-2); border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px; background: var(--surface-2);
  width: 100%; text-align: left; font-family: var(--font-sans); cursor: pointer;
}
.product-card:hover { border-color: var(--muted-3); }
.product-card-img {
  width: 88px; height: 88px; border-radius: 14px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img { width: 72px; height: 72px; object-fit: contain; }
.product-card-img.is-photo { overflow: hidden; }
.product-card-img.is-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.product-card-name { font-size: 15.5px; font-weight: 600; margin-top: 4px; }
.product-card-desc { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }

/* ---------- Product spec panel (native popover) ---------- */
[popover].spec-panel {
  border: none; margin: 0; padding: 0; color: var(--text);
  position: fixed; inset: 0 0 0 auto;
  width: min(420px, 92vw); height: 100dvh; max-height: 100dvh;
  background: var(--surface-2);
  box-shadow: -24px 0 60px oklch(15% 0 0 / 0.18);
  overflow-y: auto;
  transition: transform 0.25s ease, overlay 0.25s ease allow-discrete, display 0.25s ease allow-discrete;
}
[popover].spec-panel::backdrop { background: oklch(15% 0 0 / 0.35); }
@starting-style { [popover].spec-panel:popover-open { transform: translateX(100%); } }
[popover].spec-panel:not(:popover-open) { transform: translateX(100%); }
.spec-panel-inner { padding: 32px 28px 40px; display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.spec-panel-close {
  align-self: flex-end; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted-4);
}
.spec-panel-img {
  width: 100%; aspect-ratio: 1; border-radius: 20px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.spec-panel-img img { width: 76%; height: 76%; object-fit: contain; }
.spec-panel-img.is-photo img { width: 100%; height: 100%; object-fit: cover; }
.spec-panel-model { font-family: monospace; font-size: 12px; color: var(--muted-3); background: var(--surface); display: inline-block; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.spec-panel-name { font-family: var(--font-serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.spec-panel-desc { font-size: 15px; color: var(--muted-4); line-height: 1.6; margin: 0; }
.spec-panel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-panel-tag { background: var(--surface); border-radius: 100px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; }
.spec-panel-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }

/* ---------- Guides ---------- */
.guide-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.guide-card { display: flex; flex-direction: column; gap: 16px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 22px; padding: 30px; }
.guide-card-title { font-size: 18px; font-weight: 600; margin: 0; }
.guide-card-desc { font-size: 14.5px; color: var(--muted-2); line-height: 1.55; flex: 1; }
.guide-card-meta { font-size: 12.5px; font-weight: 500; color: var(--muted-3); }
.guide-card-link { font-size: 14px; font-weight: 600; text-decoration: underline; }

.guide-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted-3); margin-bottom: 28px; }
.guide-back:hover { color: var(--text); }
.guide-article-head { max-width: 720px; margin: 0 auto 56px; }
.guide-article-head .icon-badge-row { margin-bottom: 20px; }
.guide-audience { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.guide-article { max-width: 720px; margin: 0 auto; }
.guide-lead { font-size: 17px; color: var(--muted-2); line-height: 1.65; margin: 0 0 20px; }

.guide-section { margin: 52px 0; }
.guide-section:first-of-type { margin-top: 0; }
.guide-h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.guide-h2-title { font-family: var(--font-serif); font-size: 26px; font-weight: 500; }
.guide-sub { font-size: 15.5px; font-weight: 600; margin: 26px 0 10px; }

.guide-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 4px; padding: 0; list-style: none; }
.guide-list-item { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--muted-4); line-height: 1.55; }
.guide-list-item .bullet { font-weight: 700; flex-shrink: 0; }
.guide-list-nested { margin: 10px 0 10px 26px; }

.guide-ol { display: flex; flex-direction: column; gap: 18px; margin: 20px 0; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-ol-item { display: flex; gap: 14px; }
.guide-ol-num { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: white; display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; flex-shrink: 0; }
.guide-ol-body { font-size: 15px; color: var(--muted-4); line-height: 1.55; padding-top: 4px; }
.guide-ol-body strong { color: var(--text); }

.guide-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.guide-flow-step { background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; }
.guide-flow-arrow { color: var(--muted-3); font-size: 14px; }

.guide-code-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; font-family: monospace; }
.guide-code-chip { background: var(--surface); border-radius: 8px; padding: 9px 15px; font-weight: 600; font-size: 14px; }
.guide-code-arrow { color: var(--muted-3); }

.guide-callout { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 16px; padding: 20px 22px; font-size: 14.5px; color: var(--muted-4); line-height: 1.55; margin: 20px 0; }
.guide-callout-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.guide-callout-warn .guide-callout-icon { background: oklch(72% 0.16 55); color: white; }
.guide-callout-info .guide-callout-icon { background: var(--text); color: white; }

.guide-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.guide-pc-box { border-radius: 20px; padding: 26px 28px; }
.guide-pc-box.is-pros { background: var(--surface); }
.guide-pc-box.is-cons { border: 1px solid var(--border-2); }
.guide-pc-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-3); margin-bottom: 14px; }

.guide-diagram { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; margin: 24px 0 32px; }
.guide-diagram-img { aspect-ratio: 4/5; }
.guide-legend { display: flex; flex-direction: column; gap: 12px; }
.guide-legend-item { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--muted-4); line-height: 1.5; }
.guide-legend-num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-2); font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.guide-download-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.guide-download-btn { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px; padding: 10px 18px; font-size: 13.5px; font-weight: 500; }

/* ---------- Offer configurator ---------- */
.offer-page { max-width: 1180px; }

/* Wizard shell: sticky orb + caption on the left, question content on the right. */
.offer-shell { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; padding: 20px 0 60px; }
.offer-orb-col { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.offer-orb { flex-shrink: 0; }
.offer-orb-caption-title { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.offer-orb-caption-sub { font-size: 14px; color: var(--muted-3); max-width: 240px; line-height: 1.5; }
.offer-content-col { max-width: 560px; }

.offer-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.offer-progress-dots { display: flex; gap: 6px; }
.offer-progress-dot { width: 22px; height: 4px; border-radius: 100px; background: var(--border-2); }
.offer-progress-dot.is-active { background: var(--text); }
.offer-progress-label { font-size: 13px; color: var(--muted-3); font-weight: 500; }
.offer-title { font-family: var(--font-serif); font-size: 38px; font-weight: 500; line-height: 1.15; margin: 0 0 10px; }
.offer-title-sm { font-size: 28px; margin-bottom: 4px; }
.offer-sub { font-size: 16px; color: var(--muted-2); line-height: 1.6; margin: 0 0 36px; }
.offer-sub-tight { margin: 0; font-size: 14px; }
.offer-section-title { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin: 36px 0 16px; }

.offer-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.offer-type-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--border-2); border-radius: 18px; background: var(--surface-2); transition: border-color .15s ease, transform .15s ease; }
.offer-type-card:hover { border-color: var(--muted-3); transform: translateY(-1px); }
.offer-type-label { font-size: 15.5px; font-weight: 500; }

.offer-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.offer-check-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border-2); border-radius: 16px; cursor: pointer; background: var(--surface-2); transition: background .15s ease, border-color .15s ease; }
.offer-check-card:has(input:checked) { border-color: var(--text); background: var(--text); }
.offer-check-card:has(input:checked) .offer-check-title,
.offer-check-card:has(input:checked) .offer-check-desc { color: white; }
.offer-check-card:has(input:checked)::after { content: '\2713'; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: oklch(20% 0.05 145); font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.offer-check-card input { position: absolute; opacity: 0; pointer-events: none; }
.offer-check-title { font-size: 15px; font-weight: 600; padding-right: 20px; }
.offer-check-desc { font-size: 13px; color: var(--muted-3); line-height: 1.45; }

.offer-param-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.offer-param-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border-2); border-radius: 16px; background: var(--surface-2); cursor: default; }
.offer-param-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.offer-param-title { font-size: 14.5px; font-weight: 600; }
.offer-param-desc { font-size: 12.5px; color: var(--muted-3); line-height: 1.4; }
.offer-param-input {
  width: 64px; text-align: center; border: 1px solid var(--border-2); border-radius: 10px;
  padding: 10px 6px; font-size: 16px; font-weight: 600; font-family: var(--font-sans);
  background: var(--bg); color: var(--text); flex-shrink: 0;
}

.offer-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }

.offer-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted-3); line-height: 1.5; margin-top: 4px; }
.offer-consent input { margin-top: 2px; }
.offer-form-error { background: oklch(93% 0.05 40); color: oklch(35% 0.1 40); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 20px; }

.offer-result-topbar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
.offer-number-badge { display: inline-block; font-size: 12.5px; color: var(--muted-3); background: var(--surface); border-radius: 100px; padding: 5px 12px; margin-bottom: 10px; font-family: var(--font-sans); }
.offer-number-badge strong { color: var(--text); font-weight: 700; letter-spacing: 0.01em; }

.offer-staff-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: oklch(96% 0.03 90); border: 1px solid oklch(88% 0.05 90); border-radius: 14px; padding: 12px 18px; margin-bottom: 20px; font-size: 13.5px; }
.offer-staff-bar-tag { font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; color: oklch(45% 0.1 90); }
.offer-staff-bar-note { color: var(--muted-3); }
.offer-copy-btn { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 100px; padding: 10px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-sans); color: var(--text); white-space: nowrap; }
.offer-copy-btn:hover { background: var(--surface); }

.offer-result-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.offer-result.is-loading { opacity: 0.55; pointer-events: none; transition: opacity .15s ease; }
.offer-cat-block { margin-bottom: 40px; }
.offer-cat-title { font-family: var(--font-serif); font-size: 21px; font-weight: 500; margin: 0 0 16px; }
.offer-device-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.offer-device-img { width: 64px; height: 64px; border-radius: 12px; background: var(--bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.offer-device-img img { width: 52px; height: 52px; object-fit: contain; }
.offer-device-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.offer-device-name { font-size: 15.5px; font-weight: 600; }
.offer-device-desc { font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.offer-device-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer-select { border: 1px solid var(--border-2); border-radius: 10px; padding: 7px 10px; font-size: 13px; font-family: var(--font-sans); background: var(--surface-2); color: var(--text); }
.offer-color-row { display: flex; gap: 6px; }
.offer-color-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-2); padding: 0; cursor: pointer; }
.offer-color-dot.is-active { outline: 2px solid var(--text); outline-offset: 2px; }
.offer-qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.offer-qty-stepper { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 100px; padding: 5px 8px; }
.offer-qty-btn { width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--surface-2); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); }
.offer-qty-value { font-size: 14px; font-weight: 600; min-width: 14px; text-align: center; }
.offer-device-price { font-size: 14.5px; font-weight: 600; }
.offer-inline-form { display: inline-flex; margin: 0; }

.offer-add-device { margin-top: 6px; }
.offer-add-device summary { font-size: 14px; font-weight: 600; color: var(--muted-3); padding: 10px 0; }
.offer-add-device summary:hover { color: var(--text); }
.offer-add-device-list { display: flex; flex-direction: column; gap: 4px; padding: 6px 0 0; }
.offer-add-device-item { display: flex; justify-content: space-between; width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; border: none; background: none; font-size: 14px; font-family: var(--font-sans); color: var(--text); cursor: pointer; }
.offer-add-device-item:hover { background: var(--surface); }
.offer-add-device-item span { color: var(--muted-3); }

.offer-summary-col { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.offer-summary-card { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 24px; padding: 28px; }
.offer-summary-label { font-size: 13px; font-weight: 600; color: var(--muted-3); }
.offer-summary-price { font-family: var(--font-serif); font-size: 36px; font-weight: 500; margin: 6px 0; }
.offer-summary-note { font-size: 12.5px; color: var(--muted-3); margin-bottom: 8px; }
.offer-summary-subtitle { font-size: 15px; font-weight: 600; margin: 22px 0 12px; }

.offer-summary-card-dark { background: var(--text); color: var(--text-on-dark); border: none; box-shadow: 0 30px 60px -24px oklch(15% 0 0 / 0.4); }
.offer-summary-top-row { display: flex; justify-content: space-between; align-items: center; }
.offer-summary-card-dark .offer-summary-label { color: oklch(85% 0.01 90); }
.offer-summary-pill { background: var(--green); color: oklch(22% 0.06 145); font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.02em; }
.offer-summary-card-dark .offer-summary-price { color: white; }
.offer-summary-monthly-dark { font-size: 13.5px; color: oklch(85% 0.01 90); margin-bottom: 6px; }
.offer-summary-card-dark .offer-summary-note { color: oklch(70% 0.012 90); }
.offer-summary-cta { display: block; text-align: center; background: white; color: var(--text); font-weight: 600; font-size: 14.5px; padding: 14px 20px; border-radius: 100px; margin-top: 18px; }
.offer-summary-cta:hover { background: oklch(94% 0.004 90); }

.offer-pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.offer-pay-pill { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 100px; }
.offer-pay-pill.is-available { background: var(--green); color: oklch(20% 0.05 145); }
.offer-pay-pill.is-soon { background: var(--surface); color: var(--muted-3); }
.offer-pay-note { font-size: 12px; color: var(--muted-3); line-height: 1.5; margin: 12px 0 0; }

.offer-svc-card {
  display: block; width: 100%; text-align: left; font-family: var(--font-sans);
  border: 1px solid var(--border-2); border-radius: 20px; padding: 22px 24px;
  background: var(--surface-2); margin-bottom: 4px;
}
.offer-svc-card.is-selected { border-color: var(--text); }
.offer-svc-card.is-included { background: var(--btn-primary); border: none; color: white; }
.offer-svc-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.offer-svc-card-name { font-size: 16px; font-weight: 600; }
.offer-svc-card-pill { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; background: var(--surface); white-space: nowrap; }
.offer-svc-card-pill.is-included { background: var(--green); color: oklch(20% 0.05 145); }
.offer-svc-card-desc { font-size: 13.5px; line-height: 1.55; margin: 0 0 4px; color: var(--muted-4); }
.offer-svc-card.is-included .offer-svc-card-desc { color: oklch(85% 0.01 90); }
.offer-svc-card-features { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.offer-svc-card-features li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--muted-3); }
.offer-svc-card.is-included .offer-svc-card-features li { color: oklch(80% 0.01 90); }
.offer-svc-check { color: var(--text); font-size: 12px; }
.offer-svc-card.is-included .offer-svc-check { color: white; }
.offer-svc-card-btn {
  width: 100%; margin-top: 18px; padding: 13px 20px; border-radius: 100px; border: none;
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: var(--font-sans);
}
.offer-svc-card.is-selected .offer-svc-card-btn { background: var(--btn-primary); color: white; }
.offer-svc-card-footnote { font-size: 12px; color: oklch(75% 0.01 90); margin-top: 14px; }

.offer-customer-form { display: flex; flex-direction: column; gap: 10px; }
.offer-customer-form input, .offer-customer-form textarea { border: 1px solid var(--border-2); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-family: var(--font-sans); background: var(--bg); color: var(--text); resize: vertical; }
.offer-customer-form-wizard { max-width: 420px; }

.install-slot-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.install-slot-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: oklch(22% 0 0); border-radius: 14px; padding: 16px 18px;
}
.install-slot-time { font-size: 15px; font-weight: 600; color: white; }
.install-slot-installer { font-size: 12.5px; color: oklch(75% 0.01 90); margin-top: 2px; }
#install-result-root.is-loading { opacity: 0.6; pointer-events: none; }

.contract-doc { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.contract-heading { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 0 0 12px; }
.contract-intro { color: var(--muted-4); margin: 0 0 20px; }
.contract-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; font-size: 14px; }
.contract-section-title { font-size: 16px; font-weight: 600; margin: 28px 0 12px; }
.contract-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.contract-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.contract-table td:last-child { text-align: right; white-space: nowrap; }
.contract-total { font-size: 14.5px; margin: 4px 0 0; }
.contract-terms { padding-left: 20px; color: var(--muted-4); display: flex; flex-direction: column; gap: 8px; }
.contract-receipt { margin-top: 24px; padding: 20px; background: var(--surface); border-radius: 16px; }
#contract-result-root { max-width: 100%; }

.scan-alert-danger { background: oklch(94% 0.08 25); color: oklch(35% 0.15 25); border: 1px solid oklch(70% 0.15 25); border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 14.5px; margin-bottom: 20px; }
.scan-alert-ok { background: var(--green); color: oklch(20% 0.05 145); border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 14.5px; margin-bottom: 20px; }
#scan-result-root.is-loading { opacity: 0.6; pointer-events: none; }

.scan-viewfinder {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; margin: 0 auto 20px;
  background: oklch(15% 0 0); border-radius: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -30px oklch(15% 0 0 / 0.5);
}
.scan-viewfinder video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.scan-viewfinder.is-active video { opacity: 1; }
.scan-viewfinder-hint {
  position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  color: white; font-size: 13px; font-weight: 500; margin: 0; text-shadow: 0 1px 4px oklch(0% 0 0 / 0.6); z-index: 2;
}
.scan-viewfinder.is-unsupported { aspect-ratio: auto; padding: 24px; }
.scan-viewfinder.is-unsupported .scan-viewfinder-hint { position: static; color: var(--muted-3); text-shadow: none; }
.scan-viewfinder.is-unsupported .scan-frame { display: none; }

.scan-frame { position: relative; width: 72%; height: 55%; z-index: 1; }
.scan-corner { position: absolute; width: 28px; height: 28px; border: 3px solid white; opacity: 0.9; }
.scan-corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.scan-corner-tr { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.scan-corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.scan-corner-br { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 8px 0; }
.scan-line {
  position: absolute; left: 4%; right: 4%; top: 0; height: 2px;
  background: var(--green); box-shadow: 0 0 8px 1px var(--green);
  animation: scan-line-move 1.8s ease-in-out infinite;
}
.scan-viewfinder:not(.is-active) .scan-line { display: none; }
@keyframes scan-line-move {
  0%, 100% { top: 4%; }
  50% { top: 92%; }
}
.scan-viewfinder.is-detected .scan-corner { border-color: var(--green); }
.scan-viewfinder.is-detected .scan-line { display: none; }

/* ---------- Concierge+ ---------- */
.concierge-lead { font-size: 16px; color: var(--muted-4); line-height: 1.6; max-width: 620px; margin: 18px auto 0; }
.concierge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.concierge-card { border: 1px solid var(--border-2); border-radius: 20px; padding: 26px; background: var(--surface-2); }
.concierge-life-box { text-align: left; margin-bottom: 60px; }
.concierge-price-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; margin-bottom: 60px; align-items: stretch; }
.concierge-price-card { display: flex; flex-direction: column; justify-content: center; }
.concierge-launch-box { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.concierge-legal-note { font-size: 12.5px; color: var(--muted-3); line-height: 1.55; background: var(--surface); border-radius: 12px; padding: 14px 16px; }
.concierge-signature { display: flex; gap: 18px; align-items: flex-start; max-width: 640px; margin: 0 auto 56px; }
.concierge-signature-quote { font-family: var(--font-serif); font-size: 19px; font-style: italic; line-height: 1.45; margin-bottom: 12px; }
.concierge-signature-name { font-size: 14.5px; font-weight: 600; }
.concierge-signature-title { font-size: 13px; color: var(--muted-3); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); padding: 64px 40px 40px; margin-top: auto; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 56px; }
.footer-logo { height: 22px; width: auto; display: block; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: var(--muted-3); line-height: 1.6; max-width: 220px; }
.footer-badges { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.footer-badge { height: 60px; width: auto; opacity: 0.85; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-3); margin-bottom: 4px; }
.footer-link { font-size: 14.5px; cursor: pointer; color: var(--muted-4); background: none; border: none; padding: 0; text-align: left; font-family: var(--font-sans); }
.footer-legal { border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--muted-3); }

.page-wrap { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ---------- Staff CRM backoffice ---------- */
.staff-body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); }
.staff-shell { display: flex; min-height: 100vh; }
.staff-sidebar {
  width: 240px; flex-shrink: 0; background: var(--surface-2); border-right: 1px solid var(--border-2);
  display: flex; flex-direction: column; padding: 24px 20px; position: sticky; top: 0; height: 100vh;
}
.staff-sidebar-logo img { height: 22px; display: block; }
.staff-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; flex: 1; }
.staff-nav-link { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted-4); }
.staff-nav-link:hover { background: var(--surface); }
.staff-nav-link.is-active { background: var(--btn-primary); color: white; }
.staff-sidebar-foot { border-top: 1px solid var(--border-2); padding-top: 16px; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.staff-user-name { font-size: 14px; font-weight: 600; }
.staff-user-role { font-size: 12px; color: var(--muted-3); }
.staff-logout { font-size: 13px; color: var(--muted-3); text-decoration: underline; }
.staff-main { flex: 1; min-width: 0; }
.staff-main-inner { max-width: 1100px; margin: 0 auto; padding: 48px 40px; }
.staff-page-title { font-family: var(--font-serif); font-size: 32px; font-weight: 500; margin: 0 0 28px; }
.staff-card { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 20px; padding: 28px; }
.staff-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.staff-table th, .staff-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.staff-table th { color: var(--muted-3); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.staff-table tr:last-child td { border-bottom: none; }
.staff-form { display: flex; flex-direction: column; gap: 14px; }
.staff-form-label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted-3); }
.staff-form-label input, .staff-form-label select, .staff-form-label textarea {
  border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 14px; font-size: 14.5px;
  font-family: var(--font-sans); background: var(--bg); color: var(--text);
}
.staff-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; }
.staff-login-card { width: 100%; max-width: 380px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 24px; padding: 40px; }
.staff-login-logo { height: 22px; margin-bottom: 24px; display: block; }
.staff-login-title { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 0 0 20px; }
.staff-metric { font-family: var(--font-serif); font-size: 34px; font-weight: 500; }
.staff-metric-label { font-size: 13px; color: var(--muted-3); margin-top: 4px; }
.staff-section-title { font-size: 15px; font-weight: 600; margin: 32px 0 14px; }
.staff-search-form { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.staff-search-form input[type="text"] {
  flex: 1; min-width: 220px; border: 1px solid var(--border-2); border-radius: 10px;
  padding: 11px 14px; font-size: 14px; font-family: var(--font-sans); background: var(--surface-2); color: var(--text);
}
.staff-status-select { border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: var(--font-sans); background: var(--surface-2); color: var(--text); }
.staff-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--surface); color: var(--muted-3); }
.staff-badge-draft { background: var(--surface); color: var(--muted-3); }
.staff-badge-sent { background: oklch(90% 0.06 250); color: oklch(35% 0.1 250); }
.staff-badge-viewed { background: oklch(92% 0.07 90); color: oklch(38% 0.1 90); }
.staff-badge-accepted { background: var(--green); color: oklch(20% 0.05 145); }
.staff-badge-signed { background: var(--text); color: white; }
.staff-badge-awaiting_slots { background: var(--surface); color: var(--muted-3); }
.staff-badge-awaiting_customer { background: oklch(92% 0.07 90); color: oklch(38% 0.1 90); }
.staff-badge-scheduled { background: oklch(90% 0.06 250); color: oklch(35% 0.1 250); }
.staff-badge-completed { background: var(--green); color: oklch(20% 0.05 145); }
.staff-badge-cancelled { background: oklch(92% 0.06 25); color: oklch(40% 0.12 25); }

.staff-form-row { flex-direction: row; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.staff-form-row .staff-form-label { flex: 1; min-width: 140px; }

.staff-timeline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.staff-timeline-step { display: flex; align-items: center; gap: 8px; }
.staff-timeline-label { font-size: 12px; color: var(--muted-3); font-weight: 600; }
.staff-timeline-arrow { color: var(--border-2); font-size: 15px; }

.staff-calendar-day { margin-bottom: 18px; }
.staff-calendar-date { font-size: 13.5px; font-weight: 600; color: var(--muted-3); margin-bottom: 8px; }
.staff-calendar-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-slot-chip { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface-2); }
.staff-slot-open { border-color: var(--green); }
.staff-slot-pending { border-color: oklch(70% 0.12 90); background: oklch(96% 0.05 90); }
.staff-slot-booked { opacity: 0.75; }
.staff-slot-blocked { opacity: 0.5; text-decoration: line-through; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-inner { padding: 16px 20px; grid-template-columns: auto 1fr auto; }
  .nav-left { grid-column: 1; }
  .nav-logo { grid-column: 2; }
  .nav-right { grid-column: 3; }
  .nav-optional { display: none; }
  .container, .container-narrow, .page-section, .hero-section, .hero-media, .testimonials-section, .app-section, .promo-tiles, .final-cta, .about-page, .start-page { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 42px; }
  .page-hero-title, .about-title { font-size: 38px; }
  .big-title { font-size: 32px; }
  .three-col, .two-col, .four-col, .testimonials-grid, .app-section, .promo-tiles, .why-grid, .type-grid, .steps-grid, .tech-categories, .tech-applications, .tech-segments, .tech-stories, .tiers-grid, .footer-grid, .tech-specs-grid, .product-grid, .guide-hub-grid, .guide-pros-cons, .guide-diagram, .pillars-grid { grid-template-columns: 1fr; }
  .offer-type-grid, .offer-check-grid, .offer-result-grid { grid-template-columns: 1fr; }
  .offer-summary-col { position: static; }
  .offer-title { font-size: 30px; }
  .offer-shell { grid-template-columns: 1fr; gap: 32px; }
  .concierge-grid, .concierge-price-grid { grid-template-columns: 1fr; }
  .concierge-signature { flex-direction: column; align-items: center; text-align: center; }
  .offer-orb-col { position: static; flex-direction: row; text-align: left; }
  .offer-orb { width: 90px !important; height: 90px !important; }
  .offer-orb-caption-sub { max-width: none; }
  .offer-content-col { max-width: none; }
  .product-category-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .usecase-row { grid-template-columns: 1fr; gap: 24px; }
  .hero-overlay-cards { position: static; display: grid; grid-template-columns: 1fr; margin-top: 16px; }
  .hero-media { padding-bottom: 40px; }
  .final-cta-buttons { flex-direction: column; width: 100%; }
  .footer-grid { gap: 32px; }
  .staff-shell { flex-direction: column; }
  .staff-sidebar { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; }
  .staff-nav { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .staff-sidebar-foot { margin-top: 0; border-top: none; padding-top: 0; flex-direction: row; align-items: center; }
  .staff-main-inner { padding: 32px 20px; }
}
