/*
Theme Name: Haily Commercial
Theme URI: https://haily.eu
Author: Haily
Author URI: https://haily.eu
Description: A focused commercial website theme for Haily.
Version: 1.0.89
License: Proprietary
Text Domain: haily-commercial
*/

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --paper: #f7f9fd;
  --panel: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #eef3fb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --success: #16a34a;
  --success-bright: #22c55e;
  --warning: #f59e0b;
  --danger: #dc2626;
  --dark: #05070c;
  --dark-panel: #0b1220;
  --dark-soft: #111827;
  --dark-surface: #12203a;
  --text-invert: #f8fafc;
  --mint: var(--accent);
  --mint-dark: var(--accent);
  --coral: var(--warning);
  --gold: var(--success);
  --navy: #0f172a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.booking-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(247, 249, 253, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: #334155;
}

.nav-links a {
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.language-switcher select {
  min-height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 820;
  cursor: pointer;
}

.language-switcher button {
  min-height: 36px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 820;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--ink);
  background: transparent;
  font-weight: 720;
  text-decoration: none;
}

.btn.primary {
  border-color: var(--mint-dark);
  color: #fff;
  background: var(--mint-dark);
}

.btn.secondary {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  min-height: auto;
  padding: 142px 0 150px;
  background:
    radial-gradient(circle at 86% 22%, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.94) 44%, rgba(219, 234, 254, 0.66) 100%),
    url("assets/haily-background.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 56%;
  height: 64%;
  background: rgba(37, 99, 235, 0.10);
  transform: rotate(-10deg);
  pointer-events: none;
}

.hero-inner,
.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 640px;
  margin: 22px 0 0;
  color: #334155;
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin-top: 44px;
}

.proof-item {
  border-top: 3px solid var(--mint);
  padding: 14px 0 0;
}

.proof-item:nth-child(2) {
  border-color: var(--coral);
}

.proof-item:nth-child(3) {
  border-color: var(--gold);
}

.proof-item strong {
  display: block;
  font-size: 0.98rem;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-widget {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(380px, 1fr);
  gap: 24px;
  width: min(980px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.booking-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-copy h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.12;
}

.booking-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-field {
  display: grid;
  gap: 5px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 740;
}

.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 520;
}

.booking-submit {
  align-self: end;
  width: 100%;
  min-height: 42px;
}

.booking-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.booking-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.booking-modal[aria-hidden="true"] {
  display: none;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
}

.booking-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  margin: 0;
  overflow: auto;
}

.booking-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.booking-google-card,
.booking-modal-panel > .booking-note {
  grid-column: 2;
}

.booking-google-card {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 320px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.booking-google-card p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
}

.booking-google-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 820;
}

.booking-google-button {
  justify-self: start;
}

.booking-scheduler-shell {
  position: relative;
  display: inline-flex;
}

.booking-scheduler-shell > .btn {
  position: relative;
  z-index: 1;
}

.booking-google-official-target {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.booking-google-official-target.is-loaded {
  pointer-events: auto;
}

.booking-google-official-target + * {
  position: absolute !important;
  z-index: 3 !important;
  inset: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

.booking-google-official-target *,
.booking-google-official-target + *,
.booking-scheduler-shell .calendar-scheduling-button {
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  cursor: pointer !important;
}

.product-scene {
  width: min(1060px, calc(100% - 40px));
  margin: -82px auto 0;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.scene-toolbar strong {
  font-size: 0.95rem;
}

.scene-instance-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 4px 12px;
  color: #475569;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.scene-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 760;
}

.scene-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success-bright);
}

.scene-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 270px;
  min-height: 430px;
}

.scene-rail {
  border-right: 1px solid var(--line);
  padding: 20px;
  background: #f7f9fd;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 10px;
  color: #475569;
  font-size: 0.94rem;
}

.rail-item.active {
  color: var(--ink);
  background: #dbeafe;
  font-weight: 760;
}

.rail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.scene-main {
  padding: 22px;
}

.scene-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mini-label {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scene-main h2,
.scene-side h2 {
  margin: 0;
  font-size: 1rem;
}

.status-chip {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 999px;
  padding: 4px 10px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}

.remote-window {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-panel);
}

.remote-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: #f8fafc;
}

.remote-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.remote-bar span:nth-child(2) {
  background: var(--gold);
}

.remote-bar span:nth-child(3) {
  background: var(--mint);
}

.remote-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.ledger-lines,
.assistant-lines,
.invoice-panel {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.panel-title {
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-row,
.job-row,
.device-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.data-row {
  min-height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.9rem;
}

.data-row span {
  color: #94a3b8;
}

.data-row strong {
  color: #bfdbfe;
  font-size: 0.82rem;
}

.data-row.warn strong {
  color: #fde68a;
}

.document-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.document-stack div {
  min-height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(#fff 0 0) 12px 12px / 58% 5px no-repeat,
    linear-gradient(#fff 0 0) 12px 24px / 76% 5px no-repeat,
    rgba(255, 255, 255, 0.18);
}

.line {
  height: 12px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.line.short {
  width: 58%;
}

.line.mid {
  width: 76%;
}

.assistant-bubble {
  margin-top: 12px;
  border-left: 3px solid var(--mint);
  padding: 12px;
  color: #e2e8f0;
  background: rgba(37, 99, 235, 0.18);
  font-size: 0.9rem;
}

.scene-side {
  border-left: 1px solid var(--line);
  padding: 22px;
  background: var(--surface);
}

.task-list {
  margin-top: 18px;
}

.task {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.task-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--mint-dark);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.task strong {
  display: block;
  font-size: 0.92rem;
}

.task span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-head.wide {
  max-width: 900px;
}

.band {
  padding: 96px 0;
}

.band.white {
  background: #fff;
}

.band.tint {
  background: var(--surface-strong);
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.use-case-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.feature-card,
.use-card,
.module-card,
.flow-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.module-card {
  min-height: 220px;
}

.module-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--mint-dark);
  background: #dbeafe;
  font-size: 0.75rem;
  font-weight: 840;
  text-transform: uppercase;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 820;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--mint-dark);
}

.feature-card h3,
.use-card h3,
.module-card h3,
.flow-item h3 {
  margin: 18px 0 0;
  font-size: 1.12rem;
}

.feature-card p,
.use-card p,
.module-card p,
.flow-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split-layout,
.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.flow-item {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: 18px;
  align-items: start;
}

.flow-item h3 {
  margin: 0;
}

.flow-item p {
  margin: 0;
}

.accounting-panel,
.agent-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.panel-top,
.device-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.panel-top strong,
.device-card-head strong {
  display: block;
  font-size: 1.1rem;
}

.panel-top span,
.device-card-head span,
.job-row span,
.device-detail span {
  color: var(--muted);
  font-size: 0.86rem;
}

.job-row,
.device-detail {
  min-height: 46px;
  border-bottom: 1px solid var(--line);
}

.job-row strong,
.device-detail strong {
  color: var(--mint-dark);
  font-size: 0.9rem;
}

.job-note {
  margin-top: 18px;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  color: #92400e;
  background: #fffbeb;
  font-size: 0.94rem;
}

.agent-copy {
  align-self: center;
}

.agent-steps {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: agent-step;
}

.agent-steps li {
  counter-increment: agent-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
  color: #334155;
}

.agent-steps li::before {
  content: counter(agent-step);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 0.9rem;
  font-weight: 820;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-bright);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.14);
}

.folder-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.folder-map span {
  border: 1px solid rgba(32, 55, 85, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  background: #f3f6f8;
  font-size: 0.82rem;
  font-weight: 750;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.security-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 0;
  color: #334155;
}

.security-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.security-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(5, 7, 12, 0.98));
  color: var(--text-invert);
}

.security-panel h3 {
  margin: 0;
  font-size: 1.35rem;
}

.security-panel p {
  margin: 12px 0 0;
  color: #cbd5e1;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
}

.metric span {
  color: #94a3b8;
  font-size: 0.86rem;
}

.cta {
  padding: 88px 0;
  background: var(--dark);
  color: #fff;
}

.cta-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.cta p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #cbd5e1;
  font-size: 1.08rem;
}

.cta .hero-actions {
  justify-content: center;
}

.cta .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
  color: #cbd5e1;
  background: var(--dark);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 8px;
  }

  .nav-links > a:not(.btn),
  .nav-links > .btn {
    display: none;
  }

  .scene-toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 14px 18px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .scene-grid,
  .security-layout,
  .split-layout,
  .agent-layout,
  .booking-widget {
    grid-template-columns: 1fr;
  }

  .booking-google-card,
  .booking-modal-panel > .booking-note {
    grid-column: 1;
  }

  .scene-rail,
  .scene-side {
    border: 0;
  }

  .scene-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-bottom: 1px solid var(--line);
  }

  .scene-side {
    border-top: 1px solid var(--line);
  }

  .feature-grid,
  .use-case-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 64px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .booking-modal {
    padding: 14px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .booking-widget {
    padding: 18px;
  }

  .booking-google-card {
    min-height: 240px;
    padding: 22px;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-proof,
  .booking-form,
  .remote-body,
  .metric-row,
  .flow-item {
    grid-template-columns: 1fr;
  }

  .product-scene {
    margin-top: -42px;
    width: min(100% - 24px, 1060px);
  }

  .scene-rail {
    grid-template-columns: 1fr;
  }

  .scene-heading-row,
  .panel-top,
  .device-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .scene-instance-pill {
    display: none;
  }

  .band {
    padding: 72px 0;
  }

  .section-head h2,
  .cta h2 {
    font-size: 2rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
