:root {
  color-scheme: light;
  --brand: #1C4A68;
  --ink: #192D3C;
  --muted: #667781;
  --canvas: #FBFCFB;
  --line: #E3E9E8;
  /* One font family and one consistent type scale across the site. */
  --font-ui: Arial, Helvetica, sans-serif;
  --type-hero: clamp(34px, 3.4vw, 52px);
  --type-section: clamp(26px, 2.4vw, 32px);
  --type-body: 16px;
  --type-button: 14px;
  --type-meta: 13px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #DCEAF4 0%, #E5EFF7 55%, #EDF4FA 100%);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; border-radius: 4px; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; font-size: 22px; line-height: 1; letter-spacing: -0.9px; font-weight: 700; }
.wordmark img { display:block; width: 38px; height: 38px; border-radius: 9px; }
.header-note { font-size: var(--type-meta); color: var(--muted); }
.hero { text-align: center; padding-top: clamp(42px, 4.2vw, 60px); padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: 11px; letter-spacing: 1.9px; text-transform: uppercase; font-weight: 750; color: var(--brand); }
.eyebrow-rule { height: 1px; width: 27px; background: var(--brand); opacity: .7; }
h1 { margin: 24px auto 24px; max-width: 940px; font-size: var(--type-hero); letter-spacing: -.035em; line-height: 1.16; font-weight: 700; color: var(--brand); }
h1 em { font-style: normal; color: var(--brand); }
.hero-description { max-width: 595px; margin: 0 auto; color: var(--muted); font-size: var(--type-body); line-height: 1.6; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: #536F7D; border: 1px solid #D7E3E8; background: #F3F7F7; border-radius: 999px; padding: 10px 15px; margin: 30px 0 0; font-size: 12px; font-weight: 600; }
.availability-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--brand); opacity: .72; }
.preview { padding-bottom: 105px; }
.preview-stage { border: 1px solid transparent; background: transparent; border-radius: 19px; padding: 30px 34px 34px; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; color: #52717E; }
.preview-overline { font-size: 10px; font-weight: 750; letter-spacing: 1.7px; }
.preview-version { font-size: 11px; }
.preview-empty { min-height: 340px; background: rgba(255,255,255,.81); border: 1px dashed #C7D5D9; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; }
.preview-icon { position: relative; border: 1px solid #D9E5E9; border-radius: 12px; width: 60px; height: 60px; margin-bottom: 14px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 15px; background: #F6F9FA; }
.preview-icon span { height: 3px; border-radius: 3px; background: #B4CBD5; }
.preview-icon span:nth-child(2) { width: 69%; }
.preview-icon span:nth-child(3) { width: 82%; }
.preview-empty p { font-size: 16px; font-weight: 650; letter-spacing: -.2px; margin: 0 0 8px; }
.preview-empty > span { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 340px; }
.preview-caption { margin: 16px 0 0; color: #8A989E; text-align: center; font-size: var(--type-body); }
.site-footer { border-top: 1px solid var(--line); background: #FFF; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding-top: 28px; padding-bottom: 30px; color: #7A8890; font-size: var(--type-meta); }
@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1160px); }
  .header-inner { min-height: 74px; }
  .wordmark { font-size: 19px; }
  .wordmark img { width: 33px; height: 33px; }
  .header-note { font-size: var(--type-meta); max-width: 110px; text-align: right; line-height: 1.4; }
  .hero { padding-top: 72px; padding-bottom: 50px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  h1 { letter-spacing: -.055em; }
  .preview-stage { border-radius: 13px; padding: 18px; }
  .preview-empty { min-height: 250px; padding: 18px; }
  .preview { padding-bottom: 72px; }
  .footer-inner { align-items: center; }
}
/* Unified ConvoBay text palette */
:root {
  --ink: #1C4A68;
  --muted: #526B79;
}

body, .wordmark, #page-title,
.preview-overline, .preview-empty p {
  color: var(--ink);
}

.header-note, .hero-description,
.availability, .preview-topline,
.preview-version, .preview-empty > span,
.preview-caption, .footer-inner {
  color: var(--muted);
}

.preview-overline {
  color: var(--ink);
}
/* Expand only the product preview on wide screens; keep the rest of the site unchanged. */
.preview.container { width: min(1680px, calc(100% - 64px)); }

/* Product preview: preserve the source screenshot without cropping or scaling distortion. */
.preview-screenshot { overflow: hidden; border: 1px solid #DCE6E8; border-radius: 12px; background: #fff; }
.preview-screenshot img { display: block; width: 100%; height: auto; }

/* Retain the original side gutters on mobile. */
@media (max-width: 640px) {
  .preview.container { width: min(100% - 36px, 1680px); }
}


/* Secondary feature gallery: the approved hero and Home screenshot remain unchanged. */
.feature-gallery.container {
  width: min(1680px, calc(100% - 64px));
  padding-bottom: 105px;
}
.gallery-heading {
  text-align: center;
  margin-bottom: 26px;
}
.gallery-heading h2 {
  color: var(--brand);
  font-size: var(--type-section);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 12px;
}
.gallery-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 27px;
}
.gallery-tab {
  appearance: none;
  background: #fff;
  color: var(--brand);
  border: 1px solid #CFDDE2;
  border-radius: 999px;
  padding: 13px 22px;
  font: 600 var(--type-button)/1.3 var(--font-ui);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.gallery-tab:hover { background: #E9F0F4; border-color: #A2BBC9; }
.gallery-tab.is-active,
.gallery-tab.is-active:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.gallery-tab:focus-visible { outline: 3px solid #86B3C8; outline-offset: 3px; }
.gallery-stage { margin: 0; padding: 0; border: 0; background: transparent; }
.gallery-counter { font-size: 11px; }
@media (max-width: 640px) {
  .feature-gallery.container { width: min(100% - 36px, 1680px); padding-bottom: 72px; }
  .gallery-heading { margin-bottom: 20px; }
  .gallery-heading p { font-size: 14px; }
  .gallery-tabs { gap: 8px; margin-bottom: 20px; }
  .gallery-tab { font-size: var(--type-button); padding: 11px 16px; }
}

/* FAQ: compact native disclosure items, in the existing ConvoBay palette. */
.faq.container {
  width: min(900px, calc(100% - 64px));
  padding-bottom: 105px;
}
.faq-heading {
  text-align: center;
  margin-bottom: 28px;
}
.faq-heading h2 {
  color: var(--brand);
  font-size: var(--type-section);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}
.faq-list { border-top: 1px solid #CFDDE2; }
.faq-item { border-bottom: 1px solid #CFDDE2; }
.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 42px 22px 0;
  color: var(--brand);
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid #86B3C8; outline-offset: 4px; }
.faq-item p {
  margin: -6px 40px 23px 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .faq.container { width: min(100% - 36px, 900px); padding-bottom: 72px; }
  .faq-heading { margin-bottom: 20px; }
  .faq-item summary { font-size: var(--type-body); padding: 18px 35px 18px 0; }
  .faq-item p { font-size: var(--type-body); margin: -3px 30px 18px 0; }
}


/* Compact screenshot caption: one line aligned to the image's left edge. */
.gallery-copy {
  width: 100%;
  margin: 0 0 12px;
  text-align: left;
}
.gallery-copy-description {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
}
/* Site PNGs are already cropped to 1776x1390. Show every pixel with no CSS cropping. */
.gallery-stage .preview-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .gallery-copy { margin-bottom: 13px; }
  .gallery-copy-description { font-size: var(--type-body); }
}

/* Primary installation action: visible in prelaunch, never a fake Store link. */
.hero-install { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 24px; }
.hero-install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font: 700 var(--type-body)/1.35 var(--font-ui);
}
.hero-install-button:hover:not(:disabled) { background: #153C56; }
.hero-install-button:focus-visible { outline: 3px solid #86B3C8; outline-offset: 4px; }
.hero-install-button:disabled {
  background: #718EA0;
  border-color: #718EA0;
  cursor: not-allowed;
}
.hero-install-status { margin: 0; color: var(--muted); font-size: var(--type-meta); line-height: 1.5; }

/* Privacy Policy: use the existing ConvoBay type scale, colors and page layout. */
.footer-meta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; }
.footer-privacy-link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.footer-current-page { white-space: nowrap; }
.footer-privacy-link:hover { text-decoration-thickness: 2px; }
.policy-page.container { width: min(800px, calc(100% - 64px)); padding-top: 60px; padding-bottom: 100px; }
.policy-page h1 { margin: 0 0 12px; font-size: var(--type-section); letter-spacing: -.035em; line-height: 1.18; }
.policy-updated { margin: 0 0 36px; color: var(--muted); font-size: var(--type-meta); line-height: 1.6; }
.policy-page h2 { margin: 36px 0 12px; color: var(--brand); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.policy-page p, .policy-page li { margin: 0 0 14px; color: var(--muted); font-size: var(--type-body); line-height: 1.6; }
.policy-page ul { padding-left: 23px; margin: 0 0 18px; }
.policy-page li { margin-bottom: 8px; }
.policy-page a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.policy-page a:hover { text-decoration-thickness: 2px; }
.policy-page .pending-contact { font-style: italic; }
@media (max-width: 640px) {
  .policy-page.container { width: min(100% - 36px, 800px); padding-top: 44px; padding-bottom: 72px; }
  .policy-page h2 { font-size: 20px; }
}

/* Privacy Policy navigation: return directly to the site homepage. */
.policy-page .policy-back-link { display: inline-flex; align-items: center; margin-top: 26px; color: var(--brand); font-size: var(--type-body); font-weight: 600; line-height: 1.4; text-decoration: none; }
.policy-page .policy-back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.policy-page .policy-back-link:focus-visible { outline: 3px solid #86B3C8; outline-offset: 4px; border-radius: 2px; }
