/* main.css — Site interactions */
/* ── mRoom — Main Stylesheet ─────────────────────────────────────── */

@font-face {
  font-family: "Helvetica Neue LT GEO";
  src: url("../assets/fonts/HelveticaNeueLTGEO55Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #05070a;
  --surface: #0b0f14;
  --surface-2: #10151c;
  --hairline: #1c2229;
  --ink: #f5f7fa;
  --muted: #8a93a6;
  --muted-2: #5b6472;
  --free-a: #0d9488;
  --free-b: #2563eb;
  --busy-a: #ec4899;
  --busy-b: #8b5cf6;
  --radius-panel: 28px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
  font-family:
    "Helvetica Neue LT GEO",
    "Inter",
    -apple-system,
    sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    "Helvetica Neue LT GEO",
    "Inter",
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1,
h2,
h3,
.display {
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--free-b);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--free-b);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Accessibility: Skip Link ────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  position: fixed;
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  background: var(--ink);
  color: #0a0c10;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  outline: 2px solid var(--free-b);
  outline-offset: 2px;
  text-decoration: none;
}

/* ── Nav ─────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--free-a), var(--free-b));
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a {
  transition: color 0.18s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a.current {
  color: var(--ink);
}
@media (min-width: 1061px) {
  .nav-links > .nav-cta {
    background: var(--ink);
    color: #0a0c10;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition:
      transform 0.18s ease,
      background 0.18s ease;
  }
  .nav-links > .nav-cta:is(:hover, :focus-visible) {
    transform: translateY(-1px);
    background: #fff;
    color: #0a0c10;
  }
}
.nav-mobile-toggle {
  display: none;
  color: var(--ink);
  cursor: pointer;
}

/* ── Section scaffolding ─────────────────────────── */
section {
  padding: 88px 0;
}
section.tight {
  padding: 88px 0;
}
.hairline-top {
  border-top: 1px solid var(--hairline);
}

.section-head {
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 16px;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding: 88px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 5.4vw, 40px);
  line-height: 1.06;
}
.hero-sub {
  color: var(--muted);
  font-size: 18px;
  margin-top: 24px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.btn-primary {
  background: var(--ink);
  color: #0a0c10;
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #fff;
}
.btn-ghost {
  border-color: var(--hairline);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--muted-2);
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.hero-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

/* device mock */
.device {
  border-radius: var(--radius-panel);
  padding: 8px;
  background: linear-gradient(160deg, #171d26, #0b0f14);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.7);
  cursor: default;
}
.panel {
  border-radius: calc(var(--radius-panel) - 8px);
  height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--free-a) 0%, var(--free-b) 100%);
  animation: panel-flip 8s ease-in-out infinite;
}
@keyframes panel-flip {
  0%,
  42% {
    background: linear-gradient(135deg, var(--free-a) 0%, var(--free-b) 100%);
  }
  50%,
  92% {
    background: linear-gradient(135deg, var(--busy-a) 0%, var(--busy-b) 100%);
  }
  100% {
    background: linear-gradient(135deg, var(--free-a) 0%, var(--free-b) 100%);
  }
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-brand {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.panel-sync {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}
.panel-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.panel-status {
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.panel-status-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 10px;
  font-weight: 500;
}

.panel-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.panel-clock {
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  opacity: 0.9;
}
.panel-tap {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  padding: 9px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .panel {
    height: 360px;
  }
}

/* ── Three states strip ──────────────────────────── */
.states-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.state-card {
  background: var(--surface);
  padding: 32px 28px;
}
.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}
.state-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.state-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.state-card p {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 760px) {
  .states-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Sync flow ────────────────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.flow-step {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.flow-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 16px;
  display: block;
}
.flow-step h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.flow-step p {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 760px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Split feature (walk-up booking) ─────────────── */
.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  justify-items: stretch;
}
.split.reverse .split-visual {
  order: 2;
}
.split.reverse .split-copy {
  order: 1;
}
.split-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin-bottom: 18px;
}
.split-copy p {
  color: var(--muted);
  font-size: 16.5px;
}
.split-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.split-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.split-list-item svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--free-a);
}
.split-list-item span {
  color: var(--ink);
  font-size: 15px;
}

.mini-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px;
  cursor: default;
}
.mini-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.mini-panel-row:last-child {
  border-bottom: none;
}
.mini-panel-label {
  font-size: 13px;
  color: var(--muted-2);
}
.mini-panel-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--ink);
}
.pin-boxes {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.pin-box {
  width: 34px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  background: var(--surface-2);
}

@media (max-width: 860px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.reverse .split-visual,
  .split.reverse .split-copy,
  .split .split-visual,
  .split .split-copy {
    order: 0;
  }
}

/* ── Calendar compatibility ──────────────────────── */
.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.compat-card {
  background: var(--surface);
  padding: 36px 32px;
}
.compat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.compat-top h3 {
  font-size: 20px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge-live {
  background: rgba(13, 148, 136, 0.16);
  color: #5eead4;
}
.badge-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.compat-card p {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 760px) {
  .compat-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Language strip ──────────────────────────────── */
.lang-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 36px 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.lang-strip h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.lang-strip p {
  color: var(--muted);
  font-size: 14.5px;
}
.lang-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lang-pill {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--muted);
}
.lang-pill.active {
  color: var(--ink);
  border-color: var(--muted-2);
}

/* ── Pricing ──────────────────────────────────────── */
.price-card {
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 24px;
  max-width: 480px;
  background: linear-gradient(180deg, var(--surface), var(--canvas));
}
.price-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-num {
  font-weight: 700;
  font-size: 52px;
}
.price-unit {
  color: var(--muted);
  font-size: 15px;
}
.price-card p.desc {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14.5px;
}
.price-list {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
}
.price-list-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--free-a);
}
.price-card .btn {
  margin-top: 36px;
  width: 100%;
}

/* ── Pricing grid ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--maxw);
  align-items: stretch;
}
.pricing-grid .price-card {
  max-width: none;
}
.pricing-grid .price-card .btn {
  margin-top: auto;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  margin-bottom: 16px;
}
.pricing-badge.recommended {
  background: rgba(13, 148, 136, 0.16);
  color: #5eead4;
}
.price-card.recommended {
  border: 1px solid rgba(13, 148, 136, 0.45);
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), var(--canvas));
  box-shadow: 0 20px 60px -30px rgba(13, 148, 136, 0.35);
}
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Final CTA ────────────────────────────────────── */
.cta-band {
  text-align: left;
  padding: 100px 0;
}
.cta-band h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  max-width: 16ch;
  line-height: 1.12;
}
.cta-band-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band .btn {
  margin-top: 0;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-brand p {
  color: var(--muted-2);
  font-size: 14px;
  margin-top: 10px;
}
/* Footer social icons */
.foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.foot-socials a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: color 260ms ease;
}
.foot-socials a[aria-label="Facebook"] {
  --social-gradient: linear-gradient(135deg, #6f98ec, #1877f2 52%, #4a5fbd);
}
.foot-socials a[aria-label="Instagram"] {
  --social-gradient: linear-gradient(135deg, #6d4deb, #c13584 42%, #e4405f 68%, #fcca64);
}
.foot-socials a[aria-label="LinkedIn"] {
  --social-gradient: linear-gradient(135deg, #0a66c2, #0b5cad 55%, #084686);
}
/* Lift the frame while keeping the link's hover area still. */
.foot-socials__frame {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: var(--hairline);
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.foot-socials__frame::before,
.foot-socials__frame::after {
  content: "";
  position: absolute;
}
.foot-socials__frame::before {
  inset: 0;
  border-radius: inherit;
  background: var(--social-gradient);
  opacity: 0;
  transition: opacity 260ms ease;
}
.foot-socials__frame::after {
  inset: 1px;
  border-radius: calc(var(--radius-sm) - 1px);
  background: var(--surface);
}
.foot-socials a:is(:hover, :focus-visible) { color: var(--ink); }
.foot-socials a:is(:hover, :focus-visible) .foot-socials__frame {
  transform: translateY(-2px);
}
.foot-socials a:is(:hover, :focus-visible) .foot-socials__frame::before {
  opacity: 1;
}
.foot-socials svg {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
}
@media (prefers-reduced-motion: reduce) {
  .foot-socials a,
  .foot-socials__frame,
  .foot-socials__frame::before { transition: none; }
  .foot-socials a:is(:hover, :focus-visible) .foot-socials__frame { transform: none; }
}
.foot-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.foot-col h4 {
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.18s ease;
}
.foot-col a:hover {
  color: var(--ink);
}
/* Compact footer navigation */
.foot-col__toggle { display: none; }
.foot-col__panel, .foot-col__items { display: contents; }
@media (max-width: 760px) {
  .foot-links--interactive {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 6px;
    row-gap: 0;
    align-items: start;
  }
  .foot-links--interactive .foot-col { display: contents; }
  .foot-links--interactive .foot-col h4 {
    grid-row: 1;
    margin: 0;
    min-width: 0;
  }
  .foot-links--interactive .foot-col__label { display: none; }
  .foot-links--interactive .foot-col__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 44px;
    padding: 6px 2px;
    border: 0;
    border-bottom: 1px solid var(--hairline);
    background: none;
    color: var(--ink);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 240ms ease, background-color 240ms ease;
  }
  .foot-col__toggle[aria-expanded="true"] {
    border-color: var(--free-a);
    background: var(--surface);
  }
  .foot-col__toggle::after {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin-inline-end: 3px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    transition: transform 240ms ease;
  }
  .foot-col__toggle[aria-expanded="true"]::after {
    transform: rotate(135deg);
  }
  .foot-links--interactive .foot-col__panel {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-5px);
    transition: grid-template-rows 300ms cubic-bezier(.2,.7,.3,1),
      opacity 220ms ease, transform 260ms ease;
  }
  .foot-links--interactive .foot-col[data-open] .foot-col__panel {
    z-index: 1;
    grid-template-rows: 1fr;
    opacity: 1;
    transform: none;
  }
  .foot-links--interactive .foot-col__items {
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--surface);
  }
  .foot-links--interactive .foot-col__items a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 4px 12px;
    overflow-wrap: anywhere;
  }
  .foot-links--interactive .foot-col__items a:focus-visible {
    outline-offset: -2px;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .foot-links--interactive .foot-col__panel,
  .foot-links--interactive .foot-col__toggle,
  .foot-col__toggle::after { transition: none; }
  .foot-links--interactive .foot-col__panel { transform: none; }
}
.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted-2);
  font-size: 13px;
}

/* ── Page Hero (subpages) ─────────────────────────── */
.page-hero {
  padding: 64px 0 64px;
}
.page-hero .eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}
.page-hero p.lead {
  color: var(--muted);
  font-size: 18px;
  margin-top: 20px;
}

/* ── Notice Bar ───────────────────────────────────── */
.notice-bar {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 56px;
  max-width: 640px;
}
.notice-bar strong {
  color: var(--ink);
}

/* ── Feature Grid ─────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.feature-cell {
  background: var(--surface);
  padding: 32px 28px;
}
.feature-cell .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-cell .ico svg {
  width: 17px;
  height: 17px;
  color: var(--free-a);
}
.feature-cell h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}
.feature-cell p {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ──────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 500;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q svg {
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[data-open="true"] .faq-q svg {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p {
  color: var(--muted);
  font-size: 14.5px;
  padding-bottom: 22px;
}

/* ── Docs ─────────────────────────────────────────── */
.docs-note {
  border-left: 2px solid var(--hairline);
  padding-left: 18px;
  margin-top: 8px;
}
.docs-note p {
  color: var(--muted);
  font-size: 14px;
}

/* ── Contact Form ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  transition: border-color 0.18s ease;
  resize: none;
  field-sizing: content;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--muted-2);
  resize: none;
  field-sizing: content;
}
.field textarea {
  resize: none;
  field-sizing: content;
  width: 100%;
  min-height: 120px;
}
.field input.error,
.field textarea.error {
  border-color: #ef4444;
}
.field .error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.field input.error ~ .error-msg,
.field textarea.error ~ .error-msg {
  display: block;
}
.contact-side {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px 32px 16px 32px;
  background: var(--surface);
  margin-top: 25px;
}
.contact-side h3 {
  font-size: 17px;
  margin-bottom: 14px;
}
.contact-side .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact-side .row svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--free-a);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Form States ──────────────────────────────────── */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}
.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-sent {
  display: none;
  color: var(--free-a);
  font-size: 14px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.form-error {
  display: none;
  color: #ef4444;
  font-size: 14px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-sent.is-visible, .form-error.is-visible { display: block; }

/* ── Legal Typography ─────────────────────────────── */
.legal-body h2 {
  font-size: 20px;
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-body ul {
  padding-left: 20px;
  margin-top: 10px;
}
.legal-body li {
  margin-bottom: 8px;
}
.legal-updated {
  color: var(--muted-2);
  font-size: 13px;
  margin-bottom: 8px;
}

/* ── About Stats ──────────────────────────────────── */
.about-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 56px;
}
.about-stat {
  background: var(--surface);
  padding: 28px;
}
.about-stat .num {
  font-weight: 700;
  font-size: 30px;
}
.about-stat .lbl {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .about-stat-row {
    grid-template-columns: 1fr;
  }
}

/* ── Scroll Animations ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Back to Top Button ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    background 0.18s ease;
  z-index: 40;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--surface-2);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ── Page Transition ──────────────────────────────────────────── */
body {
  animation: pageIn 0.45s ease;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.page-leave {
  animation: pageOut 0.25s ease forwards;
}
@keyframes pageOut {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ── Language dropdown ───────────────────────────────────────── */
.lang-switch {
  position: relative;
  flex-shrink: 0;
}
.lang-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  background: var(--surface-2);
  border-color: var(--muted-2);
}
.lang-flag {
  display: block;
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.lang-code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.lang-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.18s ease;
}
.lang-trigger[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(12rem, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
}
.lang-menu[hidden] {
  display: none;
}
.lang-option {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 11px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.lang-option:hover,
.lang-option:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}
.lang-option[aria-checked="true"] {
  background: var(--surface-2);
  color: var(--ink);
}
.lang-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}
.lang-check {
  display: block;
  width: 15px;
  height: 15px;
  color: var(--free-a);
  visibility: hidden;
}
.lang-option[aria-checked="true"] .lang-check {
  visibility: visible;
}
@media (max-width: 860px) {
  .nav-links .lang-switch {
    margin: 18px 0 6px;
  }
  .lang-menu {
    right: auto;
    left: 0;
  }
}

/* Only text runs and empty-field hints fade during a language change. */
.lang-text {
  font: inherit;
  letter-spacing: inherit;
  opacity: 1;
  transition: opacity 0.22s ease;
}
input[placeholder]::placeholder,
textarea[placeholder]::placeholder {
  transition: opacity 0.22s ease;
}
html[data-language-transition="out"] .lang-text,
html[data-language-transition="out"] input[placeholder]::placeholder,
html[data-language-transition="out"] textarea[placeholder]::placeholder {
  opacity: 0;
  transition-duration: 0.14s;
}
@media (prefers-reduced-motion: reduce) {
  .lang-text,
  input[placeholder]::placeholder,
  textarea[placeholder]::placeholder {
    transition: none !important;
  }
}

/* ── Georgian typography (Space Grotesk has no Georgian glyphs) ── */
html[lang="ka"] body {
  font-family:
    "Helvetica Neue LT GEO", "Noto Sans Georgian", "Inter", system-ui,
    sans-serif;
}
html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] .display,
html[lang="ka"] .brand,
html[lang="ka"] .panel-brand,
html[lang="ka"] .price-num,
html[lang="ka"] .about-stat .num,
html[lang="ka"] .foot-col h4,
html[lang="ka"] .eyebrow-tag,
html[lang="ka"] .stat-num {
  font-family:
    "Helvetica Neue LT GEO", "Noto Sans Georgian", "Space Grotesk", "Inter",
    sans-serif;
}

/* Balanced type scale for English and Georgian. */
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.2;
}
.section-head h2,
.cta-band h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.28;
  text-wrap: pretty;
}
.hero-sub,
.page-hero p.lead,
.section-head p {
  font-size: 16px;
  line-height: 1.65;
}
.split-copy h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.28;
}
h1,
h2,
h3,
p,
.btn {
  overflow-wrap: break-word;
}
html[lang="ka"] body {
  font-size: 15px;
  line-height: 1.65;
}
html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] .display {
  font-weight: 400;
  letter-spacing: 0;
}
html[lang="ka"] .hero h1,
html[lang="ka"] .page-hero h1 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.35;
}
html[lang="ka"] .section-head h2,
html[lang="ka"] .cta-band h2,
html[lang="ka"] .split-copy h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.4;
}
html[lang="ka"] .hero-sub,
html[lang="ka"] .page-hero p.lead,
html[lang="ka"] .section-head p {
  font-size: 15px;
  line-height: 1.7;
}
html[lang="ka"] .mono,
html[lang="ka"] .corridor-scrub-btn,
html[lang="ka"] .pin-status-pill {
  font-family: "Helvetica Neue LT GEO", "Inter", sans-serif;
  letter-spacing: 0;
}
html[lang="ka"] .panel-status {
  font-size: clamp(26px, 3.2vw, 40px);
}
.corridor-scrubber {
  max-width: 100%;
  flex-wrap: wrap;
  border-radius: 18px;
}
.hero-grid > *,
.corridor-showcase > *,
.feature-cell {
  min-width: 0;
}
@media (max-width: 600px) {
  .hero-sub,
  .page-hero p.lead,
  .section-head p {
    font-size: 15px;
  }
  .corridor-panel {
    padding: 20px;
  }
  .corridor-scrub-btn {
    padding: 8px 12px;
  }
}

/* Fast greeting preloader — scoped to avoid changing site layout. */
html.mroom-loading { overflow: hidden; }
#mroom-preloader[hidden] { display: none; }
#mroom-preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: var(--canvas, #05070a);
  isolation: isolate; transform: translateY(0);
}
#mroom-preloader::after {
  content: ""; position: absolute;
  top: calc(100% - 1px); left: -10%; width: 120%;
  height: clamp(80px, 15vh, 180px);
  background: var(--canvas, #05070a);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  pointer-events: none;
}
#mroom-preloader .mroom-preloader__word {
  margin: 0; padding: 8px 16px;
  font-family: "Helvetica Neue LT GEO", "Noto Sans Georgian", sans-serif;
  font-size: clamp(30px, 5vw, 56px); font-weight: 400;
  line-height: 1.4; letter-spacing: -0.025em; text-align: center;
  color: #0d9488;
  background: linear-gradient(135deg, var(--free-a, #0d9488), var(--free-b, #2563eb));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0; will-change: transform, opacity;
}
#mroom-preloader.is-leaving {
  transform: translateY(calc(-100% - clamp(80px, 15vh, 180px) - 2px));
  transition: transform 500ms cubic-bezier(0.65, 0, 0.2, 1);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #mroom-preloader { display: none; }
  #mroom-preloader.is-leaving { transition: none; }
  #mroom-preloader .mroom-preloader__word { will-change: auto; }
}
@media (forced-colors: active) {
  #mroom-preloader, #mroom-preloader::after { background: Canvas; }
  #mroom-preloader .mroom-preloader__word {
    background: none; color: CanvasText; -webkit-text-fill-color: currentColor;
  }
}

/* Odometer pricing: fixed character windows retain each final glyph's width. */
.price-num.price-rolling { display: inline-flex; vertical-align: baseline; }
.price-roll__cell {
  position: relative; display: inline-block; height: 1.5em;
  overflow: hidden; line-height: 1.5; flex: none;
}
.price-roll__sizer { visibility: hidden; white-space: pre; }
.price-roll__track { position: absolute; inset: 0 0 auto; will-change: transform; }
.price-roll__track > span {
  display: block; height: 1.5em; line-height: 1.5;
  text-align: center; white-space: pre;
}
@media (prefers-reduced-motion: reduce) {
  .price-roll__track { will-change: auto; }
}

/* Link003: center-out underline and rising arrow, direct contact links only. */
.contact-side .direct-link {
  position: relative; display: inline-flex; align-items: center;
  width: fit-content; max-width: 100%; text-decoration: none;
}
.contact-side .direct-link::before {
  content: ""; pointer-events: none; position: absolute;
  left: 0; bottom: -0.1em; width: 100%; height: max(1px, 0.05em);
  background: currentColor; transform: scaleX(0); transform-origin: center;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-side .row .direct-link .direct-link__arrow {
  width: 0.55em; height: 0.55em; flex: none;
  margin-left: 0.3em; opacity: 0; transform: translateY(4px);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms;
}
.contact-side .direct-link:focus-visible::before { transform: scaleX(1); }
.contact-side .row .direct-link:focus-visible .direct-link__arrow { opacity: 1; transform: translateY(0); }
@media (hover: hover) {
  .contact-side .direct-link:hover::before { transform: scaleX(1); }
  .contact-side .row .direct-link:hover .direct-link__arrow { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-side .direct-link::before,
  .contact-side .row .direct-link .direct-link__arrow { transition: none; }
}

/* Mobile header menu */
html.mobile-nav-open { overflow: hidden; }
@media (max-width: 1060px) {
  .nav-mobile-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nav-links {
    position: absolute;
    inset: calc(100% + 8px) max(12px, calc((100% - var(--maxw)) / 2)) auto;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border: 1px solid var(--hairline);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 48px #0008;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 230ms ease, transform 320ms cubic-bezier(.2,.75,.25,1),
      visibility 0s linear 320ms;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .nav-links > a {
    flex: none;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links .lang-switch {
    margin-top: 12px;
    align-self: flex-start;
    width: min(12rem, 100%);
  }
  /* Keep the dropdown inside the scrollable panel, including on iOS. */
  .nav-links .lang-menu {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
}
@media (max-width: 1060px) and (prefers-reduced-motion: reduce) {
  .nav-links, .nav-mobile-toggle { transition: none; }
  .nav-links { transform: none; }
}

/* Keep both Georgian hero actions on one row. */
html[lang="ka"] .hero-ctas { flex-wrap: nowrap; gap: 10px; }
html[lang="ka"] .hero-ctas .btn { padding-inline: 18px; white-space: nowrap; }
@media (max-width: 440px) {
  html[lang="ka"] .hero-ctas { gap: 8px; }
  html[lang="ka"] .hero-ctas .btn {
    padding-inline: clamp(8px, calc(16vw - 42px), 24px);
    font-size: clamp(11px, 3.45vw, 14px);
  }
  .foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  justify-content: space-evenly;
}
}

/* Teal-blue gradient shadow for Talk to us CTA. */
.mroom-gradient-shadow {
  position: relative; display: inline-flex; isolation: isolate;
  border-radius: 999px;
}
.mroom-gradient-shadow::before {
  content: ""; position: absolute; inset: -4px;
  z-index: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, var(--free-a, #0d9488), var(--free-b, #2563eb), var(--free-a, #0d9488));
  background-size: 200% 100%; filter: blur(16px); opacity: 0;
  transition: opacity 500ms ease;
  animation: mroom-shadow-flow 6s linear infinite paused;
}
.mroom-gradient-shadow > .btn {
  position: relative; z-index: 1; background: var(--canvas, #05070a);
}
.mroom-gradient-shadow:focus-within::before { opacity: 0.8; animation-play-state: running; }
@media (hover: hover) {
  .mroom-gradient-shadow:hover::before { opacity: 0.8; animation-play-state: running; }
}
@keyframes mroom-shadow-flow {
  from { background-position: 0% 0%; }
  to { background-position: 200% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .mroom-gradient-shadow::before { animation: none; transition: none; }
}
@media (forced-colors: active) {
  .mroom-gradient-shadow::before { display: none; }
}

/* Keep initial greetings visible instead of fading their entire parent. */
html.mroom-intro-page body:not(.page-leave) { animation: none; opacity: 1; transform: none; }

/* Retain scrollbar space so intro exit cannot shift the page sideways. */
html { scrollbar-gutter: stable; }

/* scroll-experience.css — Scroll effects */
/* ── mRoom — Scroll Experience Stylesheet ───────────────────────────────
 * Apple-grade scroll-driven animations, parallax depth & interactive storytelling
 * Pure GPU-accelerated transforms (translate3d, scale3d, opacity)
 * Zero scroll jank · Full reduced-motion compliance
 * ──────────────────────────────────────────────────────────────────────── */

/* ── 2. Parallax Ambient Background Glows ──────────────────────────────── */
.ambient-scene-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.8s ease;
}

.ambient-glow-1 {
  top: 15vh;
  right: -10vw;
  width: 65vw;
  height: 65vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, var(--free-b) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 55vh;
  left: -15vw;
  width: 70vw;
  height: 70vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--free-a) 0%, transparent 70%);
  opacity: 0.12;
}

/* ── 3. Hero Device 3D Perspective & Depth ────────────────────────────── */
.hero .device {
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateZ(0);
}

.hero .device:hover {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) scale(1.015) translateZ(10px);
  box-shadow: 0 50px 120px -30px rgba(13, 148, 136, 0.25), 0 30px 60px -20px rgba(37, 99, 235, 0.3);
}

.hero .panel {
  position: relative;
  overflow: hidden;
}

/* Specular glass reflection on tablet */
.hero .panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 50%
  );
  pointer-events: none;
  transform: rotate(-15deg);
  transition: transform 0.6s ease;
}

.hero .device:hover .panel::before {
  transform: rotate(-10deg) translateY(-10px);
}

/* ── 4. "The Hallway Perspective" Interactive Corridor Showcase ────────── */
.corridor-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.corridor-interactive-card {
  position: relative;
  border-radius: var(--radius-panel);
  padding: 12px;
  background: linear-gradient(160deg, #1A222C, #0B0F14);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.corridor-interactive-card.is-busy {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 40px 100px -30px rgba(236, 72, 153, 0.25);
  cursor: default;
}

.corridor-interactive-card.is-free {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 40px 100px -30px rgba(13, 148, 136, 0.25);
  cursor: default;
}

/* Wall ambient back-glow behind the device */
.corridor-wall-halo {
  position: absolute;
  inset: -20px;
  border-radius: inherit;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.35;
  transition: background 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
}

.corridor-interactive-card.is-free .corridor-wall-halo {
  background: radial-gradient(circle at 50% 50%, var(--free-a), var(--free-b) 70%, transparent 100%);
}

.corridor-interactive-card.is-busy .corridor-wall-halo {
  background: radial-gradient(circle at 50% 50%, var(--busy-a), var(--busy-b) 70%, transparent 100%);
}

.corridor-panel {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--radius-panel) - 8px);
  height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: background 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.corridor-panel.theme-free {
  background: linear-gradient(135deg, var(--free-a) 0%, var(--free-b) 100%);
}

.corridor-panel.theme-busy {
  background: linear-gradient(135deg, var(--busy-a) 0%, var(--busy-b) 100%);
}

.corridor-narrative {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corridor-scrubber {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.corridor-scrub-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: helvetica;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.corridor-scrub-btn .dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.corridor-scrub-btn.active {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.corridor-scrub-btn[data-state="free"].active {
  color: #5EEAD4;
}

.corridor-scrub-btn[data-state="busy"].active {
  color: #F472B6;
}

/* Match the width of the room cards on phones. */
@media (max-width: 440px) {
  html { overflow-x: hidden; }
  .corridor-scrubber {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
  }
  .corridor-scrub-btn {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    gap: 5px;
    padding: 8px clamp(7px, calc(5vw - 11px), 12px);
  }
  .corridor-scrub-btn .dot-indicator { flex: none; }
  .corridor-scrub-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 375px) {
  html[lang="ka"] .corridor-scrub-btn {
    padding-inline: 3px;
    gap: 3px;
  }
}

.corridor-narrative-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.corridor-narrative-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.corridor-narrative-card.is-active {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.corridor-narrative-card.state-free.is-active::before {
  background: linear-gradient(180deg, var(--free-a), var(--free-b));
}

.corridor-narrative-card.state-busy.is-active::before {
  background: linear-gradient(180deg, var(--busy-a), var(--busy-b));
}

.corridor-narrative-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.corridor-narrative-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .corridor-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── 5. "How It Works" Flow Pipeline Connector ────────────────────────── */
.flow {
  position: relative;
}

.flow-step {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hairline);
  transition: background 0.6s ease, box-shadow 0.6s ease;
}

.flow-step.is-illuminated::before {
  background: linear-gradient(90deg, var(--free-a), var(--free-b));
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.5);
}

.flow-step.is-illuminated .flow-num {
  color: #5EEAD4;
  text-shadow: 0 0 12px rgba(94, 234, 212, 0.4);
}

/* ── 6. Walk-Up Booking PIN Interactive Replay ─────────────────────────── */
.pin-box {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
  user-select: none;
}

.pin-box.is-entering {
  transform: scale(1.18);
  border-color: #5EEAD4;
  background: rgba(13, 148, 136, 0.2);
  color: #5EEAD4;
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.5);
}

.pin-box.is-locked {
  border-color: rgba(94, 234, 212, 0.6);
  background: rgba(13, 148, 136, 0.12);
  color: #fff;
}

.pin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #5EEAD4;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pin-status-pill.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 7. Universal Choreographed Scroll Reveals ────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Stagger sequence utility */
.scroll-stagger > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
  will-change: opacity, transform;
}

.scroll-stagger.is-revealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* ── 8. Back-To-Top Circular Progress Ring ────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
  border-color: var(--muted-2);
}

.back-to-top svg.progress-ring {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  transform: rotate(-90deg);
}

.back-to-top svg.progress-ring circle {
  fill: none;
  stroke: var(--free-a);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 0.1s linear;
}

.back-to-top svg.arrow-icon {
  width: 18px;
  height: 18px;
  z-index: 1;
}

/* ── 9. Interactive Micro-Glow on Cards ───────────────────────────────── */
.state-card, .price-card, .feature-cell, .compat-card {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.state-card:hover, .price-card:hover, .compat-card:hover {
  transform: translateY(-2px);
  border-color: var(--muted-2);
}

/* ── 10. Reduced Motion & Accessibility Strict Compliance ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar,
  .ambient-scene-glow,
  .scroll-reveal,
  .scroll-stagger > *,
  .hero .device,
  .corridor-panel,
  .pin-box,
  .flow-step,
  .back-to-top {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }

  .corridor-wall-halo {
    display: none !important;
  }
}

/* scroll-index.css — Section navigation */
/* Overlay navigation: no page padding, no content-width changes. */
.scroll-index {
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
  z-index: 45; padding: 20px 0;
  width: clamp(76px, calc((100vw - var(--maxw, 1180px)) / 2 - 8px), 168px);
}
.scroll-index__rail { position: relative; height: min(300px, 52vh); }
.scroll-index__tick {
  position: absolute; right: 0; width: 100%; height: 36px;
  transform: translateY(-50%); padding: 0; border: 0; border-radius: 4px;
  background: transparent; cursor: pointer; display: block; text-decoration: none;
}
.scroll-index__tick > span:first-child {
  position: absolute; right: 0; top: 17px; width: 8px; height: 2px;
  background: var(--muted-2); border-radius: 3px; transform-origin: right;
  transition: background 320ms ease, width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-index__tick[data-state="passed"] > span:first-child { background: var(--muted); }
.scroll-index__tick[aria-current] > span:first-child {
  width: 12px; background: linear-gradient(90deg, var(--free-a), var(--free-b));
}
.scroll-index__name {
  position: absolute; right: 22px; top: 50%; width: calc(100% - 22px);
  font: 400 12px/1.5 "Helvetica Neue LT GEO", sans-serif;
  color: var(--muted); text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity 360ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}
.scroll-index__tick[aria-current] .scroll-index__name {
  opacity: 1; transform: translate(0, -50%); color: var(--ink);
}
.scroll-index:focus-within .scroll-index__name { opacity: 1; transform: translate(0, -50%); }
.scroll-index__tick:focus-visible { outline: 2px solid var(--free-b); outline-offset: 2px; }
html.mroom-loading .scroll-index { visibility: hidden; }
@media (hover: hover) {
  .scroll-index:hover .scroll-index__name { opacity: 1; transform: translate(0, -50%); }
}
@media (max-width: 1319px), (max-height: 520px) { .scroll-index { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-index * { transition: none !important; } }
@media (forced-colors: active) {
  .scroll-index__tick > span:first-child { background: ButtonText; }
  .scroll-index__tick[aria-current] > span:first-child { background: Highlight; }
}

/* Section spacing on small screens */
section.legal-copy { padding-top: 56px; }
@media (max-width: 760px) {
  section,
  section.tight,
  section.hero,
  section.page-hero,
  section.cta-band,
  section.legal-copy {
    padding-block: 48px;
  }
}


/* Transitions.dev-inspired validation feedback, scoped to contact fields. */
#contactForm {
  --shake-distance: 6px;
  --shake-overshoot: 4px;
  --shake-ease: cubic-bezier(.22, 1, .36, 1);
}
#contactForm .t-input { transition: border-color 280ms ease-out; }
#contactForm .t-input.is-error { border-color: #ef4444; }
#contactForm .t-error-msg {
  display: block;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 280ms ease-out, max-height 280ms ease-out,
    margin-top 280ms ease-out, visibility 0s linear 280ms;
}
#contactForm .is-error .t-error-msg {
  max-height: 5em;
  margin-top: 6px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
#contactForm .t-input.is-shaking { animation: t-input-shake 280ms linear; }
@keyframes t-input-shake {
  0% { transform: translateX(0); animation-timing-function: var(--shake-ease); }
  28.57% { transform: translateX(var(--shake-distance)); animation-timing-function: var(--shake-ease); }
  50% { transform: translateX(calc(var(--shake-distance) * -1)); animation-timing-function: var(--shake-ease); }
  78.57% { transform: translateX(var(--shake-overshoot)); animation-timing-function: var(--shake-ease); }
  100% { transform: translateX(0); }
}
/* Burger: crossfade, blur and scale without adding an outside box. */
.nav-mobile-toggle .t-icon-swap { display: inline-grid; position: relative; }
.nav-mobile-toggle .t-icon {
  grid-area: 1 / 1;
  transition: opacity 250ms ease-in-out, filter 250ms ease-in-out,
    transform 250ms ease-in-out;
}
.nav-mobile-toggle .t-icon-swap[data-state="a"] [data-icon="a"],
.nav-mobile-toggle .t-icon-swap[data-state="b"] [data-icon="b"] {
  opacity: 1; filter: blur(0); transform: scale(1);
}
.nav-mobile-toggle .t-icon-swap[data-state="a"] [data-icon="b"],
.nav-mobile-toggle .t-icon-swap[data-state="b"] [data-icon="a"] {
  opacity: 0; filter: blur(2px); transform: scale(.25);
}
@media (prefers-reduced-motion: reduce) {
  #contactForm .t-input { animation: none !important; transform: none !important; }
  #contactForm .t-error-msg, .nav-mobile-toggle .t-icon { transition: none !important; }
}
