/* ============================================================
   ratingg — marketing landing page
   Brand preserved: olive / yellow / coral, serif wordmark,
   organic blobs, warm cream ground. Elevated execution.
   ============================================================ */

:root {
  /* palette */
  --cream: #FBF6EA;
  --cream-deep: #F3EAD5;
  --ink: #2A2A1C;
  --ink-soft: #57543F;
  --ink-faint: #83805F;

  --olive-900: #2C3320;
  --olive-800: #384128;
  --olive-700: #4C5A34;
  --olive-600: #647A3F;
  --olive-500: #7E934E;
  --olive-300: #A7BE78;
  --olive-200: #CBDAA4;
  --olive-100: #E4EBCE;

  --yellow-600: #C99A1E;
  --yellow-500: #EEC13B;
  --yellow-300: #F5D986;
  --yellow-100: #FBEEC4;

  --coral-700: #B14B2C;
  --coral-600: #CE5B34;
  --coral-500: #E2703F;
  --coral-300: #EFA07C;
  --coral-100: #F8D9C6;

  --white: #FFFFFF;

  /* type */
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;

  /* spacing (8px rhythm) */
  --sp-1: .5rem;
  --sp-2: .75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 6.5rem;
  --sp-9: 9rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(42,42,28,.06), 0 12px 28px -12px rgba(42,42,28,.18);
  --shadow-lift: 0 2px 4px rgba(42,42,28,.08), 0 24px 48px -16px rgba(42,42,28,.24);

  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--olive-900); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: var(--coral-300); color: var(--olive-900); }

:focus-visible {
  outline: 2.5px solid var(--coral-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: var(--olive-300); border-radius: var(--radius-pill); border: 3px solid var(--cream-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--olive-500); }
html { scrollbar-color: var(--olive-300) var(--cream-deep); }

.skip-link {
  position: fixed; top: -60px; left: var(--sp-3); z-index: 1000;
  background: var(--olive-900); color: var(--cream); padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); transition: top .2s var(--ease-out);
}
.skip-link:focus { top: var(--sp-3); }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--sp-4); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s var(--ease-out), color .18s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--olive-900); color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--coral-700); color: var(--white); box-shadow: var(--shadow-lift); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-ghost {
  border-color: var(--olive-900); color: var(--olive-900); background: transparent;
}
.btn-ghost:hover { background: var(--olive-900); color: var(--cream); }
.btn-text { color: var(--olive-800); font-weight: 700; padding: .85rem .25rem; }
.btn-text span { display: inline-block; transition: transform .2s var(--ease-out); }
.btn-text:hover span { transform: translateY(3px); }
.google-mark { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,234,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44,51,32,.08);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-5); padding-top: 1.05rem; padding-bottom: 1.05rem; }
.brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.brand-dots { display: inline-flex; gap: 4px; }
.brand-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.brand-dots i:nth-child(1) { background: var(--olive-500); }
.brand-dots i:nth-child(2) { background: var(--yellow-500); }
.brand-dots i:nth-child(3) { background: var(--coral-500); }
.brand-word { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--olive-900); }
.site-nav { display: flex; gap: var(--sp-5); margin-inline: auto; }
.site-nav a { font-weight: 500; color: var(--ink-soft); font-size: .96rem; position: relative; padding-top: .3rem; padding-bottom: .3rem; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--coral-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.site-nav a:hover { color: var(--olive-900); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta { flex: none; }
.btn-header { padding: .65rem 1.15rem; font-size: .88rem; }
.btn-header .google-mark { width: 16px; height: 16px; }
.nav-toggle { display: none; }

.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: var(--sp-8); padding-bottom: var(--sp-8); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-7); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 4.1vw + 1rem, 3.9rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
}
.hero-accent { color: var(--coral-600); font-style: italic; font-weight: 500; }
.hero-lede {
  margin-top: var(--sp-4); max-width: 46ch; font-size: 1.15rem; color: var(--ink-soft);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* live-floor demo */
.hero-demo { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 500px; margin-inline: auto; }
.hero-blob { position: absolute; inset: -6% -4%; width: 108%; height: 108%; opacity: .55; }
.dots-cluster { position: absolute; top: 6%; right: 8%; display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dot-olive { background: var(--olive-500); }
.dot-yellow { background: var(--yellow-500); }
.dot-coral { background: var(--coral-500); }

.floor-card {
  position: absolute; inset: 12% 10%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: var(--sp-4);
  display: flex; flex-direction: column;
}
.floor-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.floor-card-title { font-weight: 700; color: var(--olive-900); font-size: .92rem; }
.floor-card-live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--coral-600); text-transform: uppercase; letter-spacing: .04em; }
.live-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--coral-500); }

.floor-grid {
  flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: var(--sp-3); place-items: center;
}
.table-unit { position: relative; width: 54px; height: 54px; }
.table-unit .top {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-deep); border: 2px solid var(--olive-200);
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.table-unit .chair { position: absolute; width: 9px; height: 9px; border-radius: 3px; background: var(--olive-200); transition: background .4s var(--ease-out); }
.table-unit .chair:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.table-unit .chair:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.table-unit .chair:nth-child(4) { left: 0; top: 50%; transform: translateY(-50%); }
.table-unit .chair:nth-child(5) { right: 0; top: 50%; transform: translateY(-50%); }
.table-unit.is-active .top {
  background: var(--coral-100); border-color: var(--coral-500);
  box-shadow: 0 0 0 6px rgba(226,112,63,.18);
}
.table-unit.is-active .chair { background: var(--coral-300); }
.table-unit.is-resolved .top { background: var(--olive-100); border-color: var(--olive-500); box-shadow: none; }
.table-unit.is-resolved .chair { background: var(--olive-200); }
.table-unit-label { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: .62rem; color: var(--ink-faint); font-weight: 700; }

.alert-toast {
  position: absolute; left: 50%; bottom: 4%; transform: translate(-50%, 12px);
  display: flex; align-items: center; gap: .7rem;
  background: var(--olive-900); color: var(--cream);
  padding: .85rem 1.15rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift); min-width: 230px;
  opacity: 0; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.alert-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.alert-toast.is-resolved { background: var(--olive-700); }
.alert-toast-icon { position: relative; width: 26px; height: 26px; flex: none; color: var(--yellow-500); }
.alert-toast-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s var(--ease-out); }
.alert-toast-icon .icon-check { opacity: 0; color: var(--olive-300); }
.alert-toast.is-resolved .alert-toast-icon .icon-bell { opacity: 0; }
.alert-toast.is-resolved .alert-toast-icon .icon-check { opacity: 1; }
.alert-toast-body { display: flex; flex-direction: column; gap: 1px; }
.alert-toast-title { font-weight: 700; font-size: .88rem; }
.alert-toast-meta { font-size: .76rem; color: var(--olive-200); font-variant-numeric: tabular-nums; }

/* ---------- problem ---------- */
.problem { padding-top: var(--sp-7); padding-bottom: var(--sp-7); background: var(--cream-deep); }
.problem-inner { max-width: 900px; }
.problem h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.6rem); font-weight: 600; line-height: 1.18; }
.problem-lede { margin-top: var(--sp-4); font-size: 1.08rem; color: var(--ink-soft); max-width: 68ch; }

.compare-strip {
  margin-top: var(--sp-6);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-5); align-items: center;
}
.compare-col p { color: var(--ink-soft); font-size: .98rem; }
.compare-tag { display: inline-block; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .8rem; border-radius: var(--radius-pill); margin-bottom: var(--sp-2); }
.compare-tag-before { background: var(--ink); color: var(--cream-deep); }
.compare-tag-after { background: var(--olive-700); color: var(--cream); }
.compare-arrow { color: var(--coral-500); width: 40px; }

/* ---------- mechanism ---------- */
.mechanism { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
.mechanism h2 { font-size: clamp(2rem, 2.6vw + 1rem, 2.9rem); font-weight: 600; max-width: 18ch; margin-bottom: var(--sp-6); }

.mechanism-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--sp-6); align-items: start; }
.mechanism-step h3 { font-size: 1.3rem; font-weight: 600; margin-block: var(--sp-3) var(--sp-2); }
.mechanism-step p { color: var(--ink-soft); }
.mechanism-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--olive-100); color: var(--olive-800); font-weight: 700; font-family: var(--font-display);
}
.mechanism-step-lead { grid-row: span 2; }

.phone-mock { margin-top: var(--sp-5); width: 100%; max-width: 210px; }
.phone-mock-screen {
  background: var(--olive-900); border-radius: var(--radius-md); padding: var(--sp-4) var(--sp-3);
  min-height: 150px; display: flex; align-items: flex-end; box-shadow: var(--shadow-soft);
}
.phone-mock-notification {
  background: var(--white); border-radius: var(--radius-sm); padding: .8rem .95rem; width: 100%;
  display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-soft);
}
.phone-mock-app { font-size: .68rem; font-weight: 700; color: var(--coral-700); text-transform: uppercase; letter-spacing: .05em; }
.phone-mock-notification strong { font-size: .92rem; color: var(--olive-900); }
.phone-mock-notification span:last-child { font-size: .76rem; color: var(--ink-faint); }
.phone-mock-notification-alt { box-shadow: none; }

.staff-ack-card {
  background: var(--white); border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%;
  display: flex; flex-direction: column; gap: .55rem; box-shadow: var(--shadow-soft);
}
.staff-ack-title { font-size: .68rem; font-weight: 700; color: var(--coral-700); text-transform: uppercase; letter-spacing: .05em; }
.staff-ack-row { display: flex; align-items: center; gap: .5rem; }
.staff-ack-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive-100); color: var(--olive-800); font-size: .7rem; font-weight: 700;
}
.staff-ack-name { flex: 1; font-size: .82rem; color: var(--olive-900); }
.staff-ack-check { width: 16px; height: 16px; flex: none; color: var(--olive-500); }

.log-card {
  background: var(--white); border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%;
  display: flex; flex-direction: column; gap: .5rem; box-shadow: var(--shadow-soft);
}
.log-card-title { font-size: .68rem; font-weight: 700; color: var(--coral-700); text-transform: uppercase; letter-spacing: .05em; }
.log-row {
  display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-faint);
  font-variant-numeric: tabular-nums; padding-bottom: .5rem; border-bottom: 1px solid var(--cream-deep);
}
.log-row span:first-child { flex: 1; font-weight: 600; }
.log-row-new { color: var(--olive-900); border-bottom: none; padding-bottom: 0; }
.log-row-check { width: 16px; height: 16px; flex: none; color: var(--olive-500); }

/* ---------- panel / dashboard proof ---------- */
.panel { padding-top: var(--sp-8); padding-bottom: var(--sp-8); background: var(--olive-900); color: var(--cream); }
.panel h2 { color: var(--cream); font-size: clamp(2rem, 2.6vw + 1rem, 2.9rem); font-weight: 600; }
.panel p { color: var(--olive-100); margin-top: var(--sp-4); font-size: 1.08rem; max-width: 50ch; }
.panel-inner { display: grid; grid-template-columns: .95fr 1.15fr; gap: var(--sp-7); align-items: center; }
.panel-list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.panel-list li { padding-left: 1.4rem; position: relative; color: var(--olive-100); font-size: .98rem; }
.panel-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-500);
}

.panel-visual { position: relative; }
.panel-visual-caption { display: block; margin-top: var(--sp-4); text-align: center; font-size: .8rem; color: var(--olive-300); }
.device-laptop { max-width: 420px; margin-inline: auto; }
.device-screen {
  background: var(--cream); border-radius: 14px 14px 4px 4px; padding: var(--sp-3);
  box-shadow: var(--shadow-lift);
}
.dash-topbar { display: flex; gap: 6px; margin-bottom: var(--sp-3); }
.dash-topbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-200); }
.dash-chart { padding-bottom: var(--sp-3); margin-bottom: var(--sp-3); border-bottom: 1px solid var(--cream-deep); }
.dash-chart svg { width: 100%; height: 70px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; }
.dash-stat { padding: 0 var(--sp-3); }
.dash-stat:first-child { padding-left: 0; }
.dash-stat + .dash-stat { border-left: 1px solid var(--cream-deep); }
.dash-stat-label { display: block; font-size: .68rem; color: var(--ink-soft); font-weight: 600; margin-bottom: .3rem; }
.dash-stat-value { font-weight: 700; color: var(--olive-900); }
.dash-lcd {
  font-family: 'DM Sans', monospace; font-variant-numeric: tabular-nums;
  color: var(--coral-600); letter-spacing: .03em; font-size: 1.05rem;
}
.device-base { height: 12px; background: var(--olive-700); margin-inline: 6%; border-radius: 0 0 10px 10px; }
.device-phone {
  position: absolute; right: -4%; bottom: -12%; width: 116px;
  border: 6px solid var(--olive-950, var(--olive-900)); border-radius: 22px; background: var(--olive-900);
  box-shadow: var(--shadow-lift);
}
.device-phone .device-screen { border-radius: 14px; padding: var(--sp-2); }
.device-phone .phone-mock-notification { padding: .55rem .6rem; }
.device-phone .phone-mock-notification strong { font-size: .74rem; }
.device-phone .phone-mock-app { font-size: .56rem; }
.device-phone .phone-mock-notification span:last-child { font-size: .64rem; }

/* ---------- methodology ---------- */
.methodology { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
.methodology-inner { max-width: 780px; }
.methodology h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.5rem); font-weight: 600; }
.methodology p { margin-top: var(--sp-4); font-size: 1.08rem; color: var(--ink-soft); }
.dimension-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-5); }
.dimension-pills li {
  font-size: .88rem; font-weight: 600; color: var(--olive-800);
  background: var(--olive-100); padding: .5rem 1.05rem; border-radius: var(--radius-pill);
}

/* ---------- final cta ---------- */
.cta-final { position: relative; padding-top: var(--sp-9); padding-bottom: var(--sp-9); text-align: center; overflow: clip; }
.cta-final-blob { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); width: 620px; opacity: .5; z-index: -1; }
.cta-final h2 { font-size: clamp(2.1rem, 3vw + 1rem, 3.2rem); font-weight: 600; max-width: 18ch; margin-inline: auto; }
.cta-final p { margin-top: var(--sp-4); color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; margin-inline: auto; }
.cta-final .btn { margin-top: var(--sp-6); }

/* ---------- legal page ---------- */
.legal { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
.legal-inner { max-width: 700px; }
.legal-updated { font-size: .85rem; font-weight: 600; color: var(--ink-faint); letter-spacing: .01em; margin-bottom: var(--sp-3); }
.legal h1 { font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem); font-weight: 600; }
.legal-lede { margin-top: var(--sp-4); font-size: 1.1rem; color: var(--ink-soft); }
.legal h2 { font-size: 1.35rem; font-weight: 600; margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.legal p { color: var(--ink-soft); margin-top: var(--sp-3); }
.legal p:first-of-type { margin-top: 0; }
.legal-list { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }
.legal-list li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.legal-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-500); }
.legal a { color: var(--coral-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive-900); color: var(--olive-100); padding-top: var(--sp-7); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-6); }
.footer-brand .brand-word { color: var(--cream); }
.footer-brand p { margin-top: var(--sp-3); font-size: .92rem; color: var(--olive-200); max-width: 32ch; }
.footer-col h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--olive-300); margin-bottom: var(--sp-3); }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .95rem; color: var(--olive-100); transition: color .18s var(--ease-out); }
.footer-col a:hover { color: var(--yellow-500); }
.footer-muted { font-size: .85rem; color: var(--olive-300); }
.footer-bottom { border-top: 1px solid rgba(251,246,234,.12); padding-top: var(--sp-4); padding-bottom: var(--sp-4); font-size: .85rem; color: var(--olive-300); }

/* ---------- reveal-on-scroll (signature motion) ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; margin-left: auto; background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--olive-900); border-radius: 2px; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav {
    flex-direction: column; gap: var(--sp-3); padding: var(--sp-4) var(--sp-4) var(--sp-5);
    border-top: 1px solid rgba(44,51,32,.08);
    background: var(--cream); box-shadow: var(--shadow-lift);
  }
  .mobile-nav a { font-weight: 600; padding-top: .4rem; padding-bottom: .4rem; }
  .mobile-nav .btn { margin-top: var(--sp-2); align-self: flex-start; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { margin-top: var(--sp-6); }
  .panel-inner { grid-template-columns: 1fr; }
  .panel-visual { margin-top: var(--sp-6); }
  .mechanism-grid { grid-template-columns: 1fr; }
  .mechanism-step-lead { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: var(--sp-3); }
  .hero { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
  .compare-strip { grid-template-columns: 1fr; text-align: left; }
  .compare-arrow { transform: rotate(90deg); width: 32px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .device-phone { display: none; }
  .device-laptop { max-width: 100%; }
  .hero-demo { max-width: 340px; }
  .floor-card { inset: 14% 6%; padding: var(--sp-3); }
  .table-unit { width: 42px; height: 42px; }
  .table-unit .top { width: 26px; height: 26px; }
}
