/* ==========================================================================
   Verticos.ai — marketing site
   Parent brand: deep charcoal, off-white, electric blue accent.
   Product accents appear only inside product cards/features.
   ========================================================================== */

:root {
  /* Verticos identity */
  --ink: #1c1f24;            /* deep charcoal */
  --ink-soft: #3a3f47;
  --muted: #626872;
  --paper: #faf9f6;          /* off-white */
  --paper-tint: #f2f0ea;
  --surface: #ffffff;
  --border: #e5e2da;
  --blue: #2e6bff;           /* electric blue */
  --blue-dark: #1f52d4;

  /* Product accents (used only within accent-scoped components) */
  --trusso: #2d70f4;         /* Trusso brand blue (trussoapp.com) */
  --trusso-soft: #eaf1fe;
  --scanstead: #0e8f8a;      /* architectural teal */
  --scanstead-soft: #e9f6f5;
  --travel: #d95d78;         /* warm coral */
  --travel-soft: #fdeff2;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(28, 31, 36, 0.05), 0 12px 32px -12px rgba(28, 31, 36, 0.14);
  --shadow-lift: 0 2px 4px rgba(28, 31, 36, 0.06), 0 20px 44px -14px rgba(28, 31, 36, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

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

.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: #fff; }

.btn-ghost {
  color: var(--paper);
  border: 1.5px solid rgba(250, 249, 246, 0.4);
}
.btn-ghost:hover { border-color: var(--paper); }

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent, var(--blue));
  padding-bottom: 1px;
}
.text-link:hover { color: var(--accent, var(--blue)); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-mark { display: inline-flex; }

.logo-word {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 96px;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(46, 107, 255, 0.07), transparent 65%),
    var(--paper);
}

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

.hero-grid > *,
.product-feature > *,
.split > * {
  min-width: 0;
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.8em;
}

/* ---------- Hero product cards ---------- */

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.accent-trusso   { --accent: var(--trusso);   --accent-soft: var(--trusso-soft); }
.accent-scanstead{ --accent: var(--scanstead);--accent-soft: var(--scanstead-soft); }
.accent-travel   { --accent: var(--travel);   --accent-soft: var(--travel-soft); }

.product-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.product-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.product-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.product-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.product-for {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}

/* ---------- Mock screenshots (CSS-drawn) ---------- */

.mini-shot,
.feature-shot {
  background: linear-gradient(180deg, #fcfcfb, #f6f5f1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  overflow: hidden;
}

.feature-shot { padding: 18px 20px; box-shadow: var(--shadow); }

.shot-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.shot-title-line {
  height: 9px;
  width: 38%;
  border-radius: 4px;
  background: #dedbd2;
  margin-bottom: 14px;
}

.shot-row,
.itin-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
}

.shot-row + .shot-row,
.itin-row + .itin-row {
  border-top: 1px solid #efede7;
}

.chip {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  opacity: 0.85;
}
.chip-a { background: var(--accent); opacity: 0.9; }
.chip-b { background: var(--accent); opacity: 0.55; }
.chip-c { background: var(--accent); opacity: 0.3; }

.line {
  height: 7px;
  border-radius: 4px;
  background: #e3e0d8;
}
.w45 { width: 45%; } .w48 { width: 48%; } .w50 { width: 50%; }
.w52 { width: 52%; } .w55 { width: 55%; } .w58 { width: 58%; }
.w60 { width: 60%; } .w64 { width: 64%; } .w66 { width: 66%; }
.w70 { width: 70%; } .w72 { width: 72%; }

.pill {
  margin-left: auto;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-alt { opacity: 0.75; }

.itin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.itin-time {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Scanstead floor-plan mock */

.shot-scan { padding: 14px; }

.scan-plan {
  position: relative;
  height: 96px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(14, 143, 138, 0.07) 15px, rgba(14, 143, 138, 0.07) 16px),
    repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(14, 143, 138, 0.07) 15px, rgba(14, 143, 138, 0.07) 16px);
}

.scan-plan-lg { height: 220px; }

.dim {
  position: absolute;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  padding: 0 6px;
  border-radius: 3px;
}

.dim-top { top: -8px; left: 50%; transform: translateX(-50%); }
.dim-side { left: -6px; top: 50%; transform: translate(-40%, -50%) rotate(-90deg); transform-origin: center; }
.dim-room { right: 10px; bottom: 8px; background: var(--accent-soft); }

.wall {
  position: absolute;
  background: var(--accent);
  opacity: 0.65;
}
.wall-inner  { left: 38%; top: 0; width: 2px; height: 55%; }
.wall-inner2 { left: 38%; top: 55%; width: 34%; height: 2px; }

.scan-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 143, 138, 0.18) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: sweep 3.4s ease-in-out infinite;
}

@keyframes sweep {
  0%, 100% { background-position: 0 -100%; }
  50% { background-position: 0 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-sweep { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

.section { padding: 92px 0; }

.section-tint { background: var(--paper-tint); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark h2 { color: #fff; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 13.6L7 11.8l1.4-1.4 2.4 2.4 4.8-4.8L17 9.4l-6.2 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 13.6L7 11.8l1.4-1.4 2.4 2.4 4.8-4.8L17 9.4l-6.2 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.check-list.large li {
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

/* ---------- Product feature rows ---------- */

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}

.product-feature + .product-feature {
  border-top: 1px solid var(--border);
}

.product-feature.reverse .product-feature-copy { order: 2; }
.product-feature.reverse .product-feature-visual { order: 1; }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}

.product-feature h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7em;
}

.product-feature p { color: var(--ink-soft); }

.built-for {
  font-size: 0.95rem;
  margin: 1.4em 0 1.6em;
}
.built-for strong { color: var(--ink); }

/* ---------- Card grids ---------- */

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(250, 249, 246, 0.12);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.info-card h3 { color: #fff; font-size: 1.1rem; }

.info-card p {
  color: rgba(250, 249, 246, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(46, 107, 255, 0.18);
  color: #7ba2ff;
  margin-bottom: 16px;
}

.approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.approach-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 14px;
}

.approach-card h3 { font-size: 1.08rem; }

.approach-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #23272e 60%, #1e2f55 100%);
  color: var(--paper);
  padding: 96px 0;
}

.cta-band h2 { color: #fff; }

.cta-band p {
  color: rgba(250, 249, 246, 0.78);
  font-size: 1.12rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 249, 246, 0.72);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
}

.footer-brand .logo-word { color: #fff; }

.footer-brand p {
  margin-top: 14px;
  font-size: 0.93rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.site-footer nav a {
  display: block;
  color: rgba(250, 249, 246, 0.72);
  text-decoration: none;
  font-size: 0.94rem;
  margin-bottom: 10px;
}
.site-footer nav a:hover { color: #fff; }

.footer-legal {
  padding-top: 26px;
  font-size: 0.84rem;
  color: rgba(250, 249, 246, 0.5);
}
.footer-legal p { margin: 0; }

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 72px 0 96px;
}

.legal-container {
  max-width: 760px;
}

.legal-head {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin-bottom: 0.3em;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 22px;
  margin: 0 0 1.2em;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong { color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }

  .hero-grid,
  .split,
  .product-feature {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-feature.reverse .product-feature-copy { order: 1; }
  .product-feature.reverse .product-feature-visual { order: 2; }

  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }

  h1 { font-size: 2rem; }
  .hero h1 br { display: none; }

  .section { padding: 64px 0; }

  .card-grid.four { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-actions .btn { width: 100%; text-align: center; }
}
