html {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", "Segoe UI", Roboto, "Helvetica", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin: 0;
  color: #0f172a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Layout width */
header, main, footer {
  margin: 0 auto;
  padding: 0 10px;
  text-align: left;
}

/* Main content panel */
.content-panel {
  max-width: 920px;
  margin: 24px auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: left;
}

/* homepage panel centers text */
.home .content-panel {
  text-align: center;
}

.section {
  margin-bottom: 40px;
}

/* Site navigation (stacked title + tagline). gap between lines 8-12px */
.site-nav {
  display: flex;
  flex-direction: column;
  align-items: left
  ;
  justify-content: center;
  gap: 10px; /* within 8-12px requirement */
  padding: 18px 20px;
  background: transparent;
  text-align: center;
}

.nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F172A;
}

.nav-tagline {
  font-size: 14px;
  color: #374151;
}

/* Full-width hero image container */
.hero-image {
  max-width: 820px;
  margin: 24px auto;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16; /* prefer 16:9; if you have 21:9, change to 21/9 */
  object-fit: cover;
  border-radius: 6px;
}

/* Header */
header {
  padding: 16px 20px;
  text-align: center;
}

.hotelligence-logo {
  max-width: 100%;
  height: auto;
  display: none;
  max-height: 80px;
  margin: 0 auto;
}

.hotelligence-logo {
  max-width: 100%;
  height: 40px;
  display: block;
  max-height: 80px;
}

/* Hero Section */
.hero {
  text-align: left;
  padding: 80px 20px; /* desktop top/bottom */
  margin: 0 auto;
  max-width: 1200px;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 48%;
  flex: 0 0 48%;
  height: 350px;
  border-radius: 6px;
  object-fit: cover;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hero-copy {
  flex: 1 1 48%;
  text-align: left;
}

.hero-copy h1 { margin: 0; }

.hero h1 {
  margin: 0 0 18px 0;
  line-height: 1.08;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .hero-sub {
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  color: #374151;
  font-size: 18px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.safescope-logo {
  display: block;
  margin: 0 0 18px 0;
  max-width: 140px;
  height: auto;
}

/* Inline SafeScope logo inside headline */
.safescope-inline {
  display: inline-block;
  vertical-align: middle;
  max-height: 56px;
  height: auto;
  margin-right: 12px;
}

.hero-headline {
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 24px 0;
}

.hero-subhead {
  font-size: 18px;
  color: #1F2937;
  margin: 0 0 16px 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #1F2937;
  margin: 0 0 8px 0;
}

.hero-subtitle--body {
  margin-top: 16px;
}

/* Architecture Diagram Section */

.diagram-section {
  text-align: center;
  margin-top: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 20px;
  color: #111111;
  text-align: center;
  line-height: 1.3;
}

.diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 20px 0;
  width: 100%;
}

.diagram-box {
  background-color: #FAFAFA;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  width: 75%;
  line-height: 1.5;
  margin: 12px auto;
  box-sizing: border-box;
}


.diagram-label {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.diagram-arrow {
  color: #6B7280;
  font-size: 22px;
  padding: 6px 0;
}

.diagram-arrow {
  display: block;
  width: 100%;
  text-align: center;
}

/* New layout styles per BUILD_SPEC */
.sticky-nav {
  position: sticky;
  top: 0;
  background: #ffffff;
  width: 100%;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: none;
  z-index: 100;
}

.sticky-nav .nav-wrap {
max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 36px;
    box-sizing: border-box;
}

.nav-left {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: visible;
  justify-content: flex-end;
}

.nav-right a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
  margin: 0;
}

.menu-toggle {
  display: none; /* hide hamburger on desktop by default */
}

.nav-right.show {
  display: flex !important;
}

.nav-right a:hover,
.nav-right a:focus {
  background-color: #F3F4F6;
  outline: none;
}

.accordion-header:hover,
.accordion-header:focus {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 4px;
}

.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.menu-toggle:focus {
  outline: 2px solid #1F2937;
}

.btn-primary {
  background-color: #0F172A;
  color: #ffffff;
  padding: 16px 26px;
  width: 190px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: 1.5;
}

.onboarding-btn {
  color: #ffffff;
}

.onboarding-btn:hover {
  background-color: #0F172A;
  color: #ffffff;
  cursor: pointer;
}

.btn-secondary {
  background: none;
  border: 2px solid #0F172A;
  color: #0F172A;
  padding: 14px 24px;
  width: 190px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: 1.5;
}

section.section {
  padding: 72px 20px; /* increase section spacing globally */
  text-align: left; /* center column, left-aligned content */
  max-width: 820px;
  margin: 0 auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

/* Onboarding specific styles */
:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe2ea;
  --primary: #0d1b3d;
  --primary-hover: #0b1633;
  --success: #0f766e;
}

* {
  box-sizing: border-box;
}

body.onboarding {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--primary);
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
}

.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.panel,
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.panel {
  padding: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c9d4e3;
  background: #f8fafc;
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.bullets {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  margin-top: 8px;
  flex: 0 0 auto;
}

.form-card {
  padding: 44px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.card-subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

form {
  display: grid;
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #c7d2fe;
  border-color: #94a3b8;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

.consent-box {
  margin-top: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  background: #f8fafc;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.checkbox-text {
  font-size: 14px;
  line-height: 1.65;
  color: #1e293b;
}

.microcopy {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.submit-btn {
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 20px;
  cursor: pointer;
}

.submit-btn:hover {
  background: var(--primary-hover);
}

.notice {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.proof-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.6;
}

footer {
  padding: 28px 0 44px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.status.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    padding: 18px 0;
    flex-direction: column;
  }

  .hero {
    padding-top: 40px;
  }

  .panel,
  .form-card {
    padding: 32px;
  }
}

.boundary-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
  text-align: left;
}

.boundary-list li {
  margin: 6px 0;
}

.boundary-note {
  font-size: 14px;
  color: #6B7280;
  margin-top: 12px;
}

.boundary-note.small {
  font-size: 13px;
  color: #4B5563;
}

/* Architecture stack visuals */
.architecture-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 24px auto 0 auto;
}
.arch-item {
  width: 100%;
  text-align: center;
}
.arch-title {
  font-weight: 700;
  font-size: 18px;
  color: #0f172a;
}
.arch-caption {
  font-size: 14px;
  color: #6B7280;
  margin-top: 6px;
}
.arch-divider {
  width: 60%;
  height: 1px;
  background: #E6E9EE; /* thin neutral divider */
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.step {
  flex: 1 1 200px;
  background: #FFFFFF;
  border: none;
  padding: 0;
}

.pricing-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin: 28px auto 0 auto;
}

.pricing-table th,
.pricing-table td {
    border-bottom: 1px solid #E6E9EE;
    padding: 10px 0px;
    text-align: center;
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-note {
  font-size: 14px;
  color: #6B7280;
  margin-top: 12px;
}

.accordion .accordion-item {
  border-bottom: 1px solid #E5E7EB;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #111111;
}

.accordion-content {
  display: none;
  padding: 0 0 16px 0;
  font-size: 15px;
  line-height: 1.5;
}

.accordion-content.open {
  display: block;
}

.cta-band {
  text-align: center;
  background: #F9FAFB;
  padding: 40px 20px;
}

/* responsive tweaks */
@media (max-width: 800px) {
  .cards, .steps {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .menu-toggle {
        display: block;
        background: none;
        border: solid;
        border-color: #dcdcdc;
        font-size: 24px;
        cursor: pointer;
        color: #000000;
     /* black hamburger */
  }
  .sticky-nav .nav-wrap { position: relative; }
  .nav-right {
    display: none; /* hidden until toggle */
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    box-sizing: border-box;
    padding: 12px 20px;
    flex-direction: column;
    gap: 8px;
    z-index: 90;
  }
  .nav-right.show {
    display: flex;
  }
  .nav-right a {
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 10px 0;
  }
}


.diagram-caption {
  font-size: 16px;
  color: #4B5563;
  margin-top: 20px;
  line-height: 1.6;
}

/* Content Blocks */

.content-block {
  padding: 0;
  margin-top: 60px;
}

.content-block .section-title {
  text-align: left;
}

.content-block p {
  font-size: 18px;
  line-height: 1.6;
  color: #1F2937;
  margin: 16px 0;
  text-align: left;
}

.section-subtitle {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Bullet Lists */
.bullet-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 12px auto;
  max-width: 600px;
  text-align: left;
}

.bullet-list li {
  font-size: 18px;
  line-height: 1.6;
  margin: 10px 0;
  text-align: left;
}

/* CTA Section */
.cta-section {
  padding: 40px 0 0 0;
  text-align: left;
}

/* Typography */
h2 {
  font-size: 24px;
  font-weight: 600;
}

h3 {
  font-size: 19px;
  font-weight: 600;
}

p {
  font-size: 18px;
  line-height: 1.5;
}

/* Button */
button {
  background-color: #1F3A8A;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin-top: 40px;
  transition: background-color 0.12s ease;
}

button:hover {
  background-color: #172554;
}

/* Footer */
footer {
  font-size: 14px;
  color: #6B7280;
  border-top: 1px solid #E5E7EB;
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
}

footer p {
  font-size: 14px;
  margin: 12px 0 0 0;
}

.footer-links {
  margin-bottom: 12px;
}

/* Footer link styling */
footer a {
  color: #9CA3AF;
  font-size: 13px;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #374151;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .content-panel {
    width: 94%;
    padding: 0;
    margin: 24px auto;
  }

  .hero {
    padding: 56px 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .hero-sub,
  .content-block p,
  .bullet-list li {
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .diagram-box {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .btn-primary, .btn-secondary {
    min-height: 48px;
  }
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-copy { text-align: center; }
  .hero-img { width: 100%; max-width: 460px; }
}