/* Clicklahh marketing site.
   One stylesheet, no imports. Fonts are self-hosted (Geist, SIL OFL, see assets/fonts/OFL.txt).
   No inline styles anywhere (the Content Security Policy forbids them), so sizes that vary per element use classes.
   Motion: transform and opacity only, and none at all under prefers-reduced-motion. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1b3a;
  --ink-2: #24324f;
  --ink-soft: #3b4763;
  --muted: #5b6477;
  --faint: #8790a3;
  --line: #e4e7ef;
  --line-strong: #d3d8e3;
  --canvas: #f7f8fb;
  --tint: #eff2f8;
  --surface: #ffffff;

  --blue: #2257f5;
  --blue-700: #1a46cc;
  --blue-50: #eef3ff;
  --blue-100: #dbe5ff;
  --orange: #ff6b35;
  --orange-700: #c2410c;
  --orange-50: #fff4ed;
  --orange-100: #ffe3d3;

  --green: #047857;
  --green-50: #e8f8f0;
  --amber: #8a4b08;
  --amber-50: #fff5e0;
  --violet: #5b21b6;
  --violet-50: #f2edff;
  --slate: #475569;
  --slate-50: #eef1f5;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-1: 0 1px 2px rgba(11, 27, 58, 0.05);
  --shadow-2: 0 1px 2px rgba(11, 27, 58, 0.04), 0 12px 32px -12px rgba(11, 27, 58, 0.16);
  --shadow-3: 0 2px 4px rgba(11, 27, 58, 0.04), 0 32px 64px -24px rgba(11, 27, 58, 0.28);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 4.2vw + 0.9rem, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 640;
}

h2 {
  font-size: clamp(1.85rem, 2.6vw + 0.9rem, 3rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

s {
  color: var(--faint);
}

[hidden],
[data-start-hidden].is-hidden {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.i-sm {
  width: 16px;
  height: 16px;
}

.i-lg {
  width: 24px;
  height: 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.narrow {
  max-width: 820px;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.eyebrow--crm::before {
  background: var(--blue);
}

.eyebrow--suite::before {
  background: var(--ink);
}

.lead {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.fine {
  font-size: 0.8125rem;
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
}

.malay {
  font-style: italic;
  color: var(--muted);
}

.hl {
  color: var(--blue);
}

.hl-o {
  color: var(--orange-700);
}

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms var(--ease), box-shadow 160ms ease-out;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 1px 2px rgba(11, 27, 58, 0.18);
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}

.btn-secondary:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #14284f;
  color: #fff;
}

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

.btn-light:hover {
  background: var(--blue-50);
  color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 560;
  text-decoration: none;
}

.text-link .i {
  transition: transform 180ms var(--ease);
}

.text-link:hover .i {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Preview banner ---------- */

.preview-banner {
  background: repeating-linear-gradient(-45deg, #ffe9a8 0 12px, #ffe08a 12px 24px);
  color: #4a3200;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out, background-color 200ms ease-out;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.logo-mark {
  width: 30px;
  height: 30px;
}

.wordmark {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.wordmark span {
  color: var(--orange-700);
}

.brand--light {
  color: #fff;
}

.brand--light:hover {
  color: #fff;
}

.brand--light .wordmark span {
  color: var(--orange);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease), opacity 160ms;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}

.site-nav.is-open {
  display: block;
}

html:not(.js) .site-nav {
  display: block;
  position: static;
  box-shadow: none;
  border: 0;
  background: transparent;
}

html:not(.js) .nav-toggle {
  display: none;
}

html:not(.js) .header-inner {
  flex-wrap: wrap;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px 20px;
  display: flex;
  flex-direction: column;
}

.nav-list > li > a,
.nav-menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 520;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.nav-list > li > a.btn {
  margin-top: 16px;
  border-bottom: 0;
  justify-content: center;
  color: #fff;
}

.nav-list > li > a[aria-current="page"] {
  color: var(--blue-700);
}

.nav-menu > summary {
  list-style: none;
  justify-content: space-between;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] .chev {
  transform: rotate(180deg);
}

.chev {
  transition: transform 200ms var(--ease);
}

.nav-panel {
  display: grid;
  gap: 4px;
  padding: 8px 0 12px;
}

.nav-prod {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}

.nav-prod:hover,
.nav-prod[aria-current="page"] {
  background: var(--tint);
  color: var(--ink);
}

.nav-prod strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.nav-prod small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.nav-panel-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 12px 10px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 560;
  text-decoration: none;
}

.prod-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
}

.prod-glyph--crm {
  background: var(--blue-50);
  color: var(--blue);
}

.prod-glyph--mkt {
  background: var(--orange-50);
  color: var(--orange-700);
}

.prod-glyph--suite {
  background: var(--ink);
  color: #fff;
}

.prod-glyph--ai {
  background: var(--violet-50);
  color: var(--violet);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  html:not(.js) .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  html:not(.js) .header-inner {
    flex-wrap: nowrap;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .nav-list > li > a,
  .nav-menu > summary {
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--ink-2);
  }

  .nav-list > li > a:hover,
  .nav-menu > summary:hover {
    background: rgba(11, 27, 58, 0.05);
    color: var(--ink);
  }

  .nav-list > li > a.btn {
    margin: 0 0 0 6px;
    color: #fff;
    padding: 0 16px;
  }

  .nav-list > li > a.btn:hover {
    background: var(--blue-700);
    color: #fff;
  }

  .nav-sep {
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--line-strong);
  }

  .nav-products {
    position: relative;
  }

  .nav-menu .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    width: 380px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-3);
    transform-origin: top left;
    animation: pop 180ms var(--ease);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

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

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section--white {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

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

.section--ink {
  background: var(--ink);
  color: #c9d1e3;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section--ink .lead,
.section--ink .muted {
  color: #aeb8cf;
}

.section--ink .eyebrow {
  color: #c9d1e3;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head.center {
  margin-inline: auto;
}

.section-head .lead {
  margin-top: 16px;
}

.section-head.center .lead {
  margin-inline: auto;
}

.section-head--split {
  max-width: none;
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 48px;
  }

  .section-head--split .lead {
    margin: 0;
  }
}

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

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
  }
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lead {
  margin-bottom: 28px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-note li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note .i {
  color: var(--green);
  width: 16px;
  height: 16px;
}

.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
}

.page-hero .lead {
  margin-top: 20px;
}

.page-hero .actions {
  margin-top: 28px;
}

.page-hero--plain {
  padding-bottom: 24px;
}

.product-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.product-hero .hero-grid {
  align-items: center;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.price-from {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.price-from strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Status badges ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 560;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: middle;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status--live {
  color: var(--green);
  background: var(--green-50);
}

.status--auth {
  color: var(--blue-700);
  background: var(--blue-50);
}

.status--beta {
  color: var(--violet);
  background: var(--violet-50);
}

.status--approval {
  color: var(--amber);
  background: var(--amber-50);
}

.status--soon {
  color: var(--slate);
  background: var(--slate-50);
}

.status--soon .status-dot {
  background: transparent;
  border: 1.5px solid currentColor;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .legend {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.legend li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legend .status {
  justify-self: start;
}

.legend-help {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.caps {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cap {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.cap:first-child {
  border-top: 0;
}

.cap .status {
  justify-self: start;
}

@media (min-width: 720px) {
  .cap {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
  }
}

.cap-name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.cap-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Cards and grids ---------- */

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid {
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--ink);
}

.card-icon--blue {
  background: var(--blue-50);
  color: var(--blue);
}

.card-icon--orange {
  background: var(--orange-50);
  color: var(--orange-700);
}

.card-icon--violet {
  background: var(--violet-50);
  color: var(--violet);
}

.card .status {
  margin-top: 4px;
}

.card-foot {
  margin-top: 16px;
}

.section--ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #c9d1e3;
}

.section--ink .card-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Product cards (home) */

.products {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--ink);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 200ms;
}

.product-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}

.product-card .prod-glyph {
  margin-bottom: 22px;
}

.product-card h3 {
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 24px;
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.product-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product-card li .i {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green);
}

.product-card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9375rem;
}

.product-card-foot .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue-700);
}

.product-card--suite {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-card--suite:hover {
  color: #fff;
  border-color: var(--ink);
}

.product-card--suite h3 {
  color: #fff;
}

.product-card--suite p,
.product-card--suite ul {
  color: #c3cbe0;
}

.product-card--suite .product-card-foot {
  border-color: rgba(255, 255, 255, 0.14);
}

.product-card--suite .go {
  color: #fff;
}

.product-card--suite .prod-glyph--suite {
  background: rgba(255, 255, 255, 0.1);
}

.product-card--suite li .i {
  color: var(--orange);
}

/* Split feature rows */

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 72px;
  }

  .split--flip > :first-child {
    order: 2;
  }
}

.split + .split {
  margin-top: clamp(64px, 8vw, 112px);
}

.split h3 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.ticks li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ticks .status {
  margin-left: 6px;
}

/* ---------- Product mockups (illustrative, synthetic data) ---------- */

.window {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-url {
  flex: 1;
  max-width: 280px;
  margin-inline: auto;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tint);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .window-body--side {
    grid-template-columns: 148px 1fr;
  }
}

.app-side {
  display: none;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: #fbfcfe;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .app-side {
    display: block;
  }
}

.app-side p {
  margin: 0 0 8px;
  padding: 0 8px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.app-side ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.app-side li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--ink-soft);
}

.app-side li.on {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.app-side li.on--mkt {
  background: var(--orange-50);
  color: var(--orange-700);
}

.app-side .i {
  width: 14px;
  height: 14px;
}

.app-main {
  padding: 16px;
  min-width: 0;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.app-title {
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
}

.sample-tag {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(11, 27, 58, 0.72);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Pipeline board */

.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.col {
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: var(--tint);
}

.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 2px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.col-head .n {
  font-family: var(--mono);
  color: var(--faint);
}

.col-head .bar {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
}

.bar--a { background: #94a3b8; }
.bar--b { background: var(--blue); }
.bar--c { background: var(--orange); }
.bar--d { background: var(--green); }

.lc {
  padding: 9px 10px;
  margin-bottom: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  font-size: 0.6875rem;
  line-height: 1.4;
}

.lc:last-child {
  margin-bottom: 0;
}

.lc b {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.lc .amt {
  font-family: var(--mono);
  color: var(--ink-2);
}

.lc .src {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
}

.src--fb { background: var(--blue-50); color: var(--blue-700); }
.src--wa { background: var(--green-50); color: var(--green); }
.src--web { background: var(--slate-50); color: var(--slate); }
.src--g { background: var(--orange-50); color: var(--orange-700); }

.lc .due {
  float: right;
  margin-top: 6px;
  font-size: 0.625rem;
  color: var(--muted);
}

.lc .due--late {
  color: #b42318;
  font-weight: 600;
}

.lc--new {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-50);
}

/* Toast */

.toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-size: 0.75rem;
  box-shadow: var(--shadow-3);
  transform: translateX(-50%);
  white-space: nowrap;
}

.toast .i {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.js .toast {
  opacity: 0;
  transform: translate(-50%, 10px);
}

.js .is-in .toast,
.js .toast.is-in {
  animation: toast 600ms var(--ease) 900ms forwards;
}

@keyframes toast {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Marketing calendar */

.cal {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.cal-h {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 2px;
}

.cal-d {
  min-height: 84px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.625rem;
  color: var(--faint);
}

.cal-d .d {
  font-family: var(--mono);
  display: block;
  margin-bottom: 4px;
}

.post {
  display: block;
  margin-bottom: 4px;
  padding: 4px 5px;
  border-radius: 5px;
  font-size: 0.625rem;
  font-weight: 560;
  line-height: 1.3;
  color: var(--ink);
  border-left: 3px solid;
  background: var(--tint);
}

.post--draft { border-color: #94a3b8; }
.post--review { border-color: var(--orange); background: var(--orange-50); }
.post--approved { border-color: var(--green); background: var(--green-50); }
.post--export { border-color: var(--blue); background: var(--blue-50); }

.post small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

/* Approval card */

.approval {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.75rem;
}

.approval-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.approval-img {
  height: 112px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 35%, var(--orange-100) 0 22%, transparent 23%),
    linear-gradient(135deg, #fde7da, #e8eefc);
  position: relative;
}

.approval-img::after {
  content: "RAYA SALE 20%";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
}

.approval-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  background: var(--tint);
  color: var(--ink-soft);
}

.step-pill--done {
  background: var(--green-50);
  color: var(--green);
}

.step-pill--now {
  background: var(--orange-50);
  color: var(--orange-700);
}

/* Report mock */

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.kpi {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.kpi small {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
}

.kpi b {
  display: block;
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.kpi .delta {
  font-size: 0.625rem;
  color: var(--green);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 30px;
}

.bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--blue-100);
  transform-origin: bottom;
}

.bars span.hot {
  background: var(--blue);
}

.bars--o span {
  background: var(--orange-100);
}

.bars--o span.hot {
  background: var(--orange);
}

.h-20 { height: 20%; }
.h-30 { height: 30%; }
.h-35 { height: 35%; }
.h-40 { height: 40%; }
.h-45 { height: 45%; }
.h-50 { height: 50%; }
.h-55 { height: 55%; }
.h-60 { height: 60%; }
.h-65 { height: 65%; }
.h-70 { height: 70%; }
.h-80 { height: 80%; }
.h-90 { height: 90%; }

.js .reveal-bars .bars span {
  transform: scaleY(0);
}

.js .reveal-bars.is-in .bars span {
  transform: scaleY(1);
  transition: transform 700ms var(--ease);
}

.js .reveal-bars.is-in .bars span:nth-child(2n) {
  transition-delay: 80ms;
}

.js .reveal-bars.is-in .bars span:nth-child(3n) {
  transition-delay: 160ms;
}

.table-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
}

.table-mini th,
.table-mini td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.table-mini th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table-mini td.num,
.table-mini th.num {
  text-align: right;
  font-family: var(--mono);
}

.table-mini tr:last-child td {
  border-bottom: 0;
}

/* Follow-up list */

.fu {
  display: grid;
  gap: 8px;
}

.fu-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.75rem;
  background: var(--surface);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.6875rem;
  font-weight: 700;
}

.avatar--o {
  background: var(--orange-50);
  color: var(--orange-700);
}

.avatar--g {
  background: var(--green-50);
  color: var(--green);
}

.fu-row b {
  display: block;
  font-size: 0.75rem;
  color: var(--ink);
}

.fu-row small {
  color: var(--muted);
  font-size: 0.6875rem;
}

.fu-acts {
  display: flex;
  gap: 4px;
}

.fu-acts span {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.tabs-mini {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.tabs-mini span {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--tint);
  color: var(--ink-soft);
}

.tabs-mini span.on {
  background: var(--ink);
  color: #fff;
}

/* Assistant mock */

.chat {
  display: grid;
  gap: 10px;
  font-size: 0.8125rem;
}

.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.5;
}

.bubble--me {
  justify-self: end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble--ai {
  background: var(--tint);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.bubble--ai .cite {
  display: inline-flex;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--muted);
}

.chat-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  color: var(--muted);
}

/* Visual stack on the home hero */

.stack {
  position: relative;
  padding-bottom: 56px;
}

.stack .window--back {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 58%;
  display: none;
}

@media (min-width: 640px) {
  .stack .window--back {
    display: block;
  }

  .stack .window--front {
    width: 88%;
  }
}

.stack .window--back .app-main {
  padding: 12px;
}

/* Flow diagram */

.flow {
  display: grid;
  gap: 12px;
  counter-reset: flow;
}

@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }
}

.flow-step {
  position: relative;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .flow-step {
    margin-right: 22px;
  }

  .flow-step:last-child {
    margin-right: 0;
  }

  .flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -18px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238790a3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateY(-50%);
  }
}

.flow-step .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--mkt {
  background: var(--orange-50);
  color: var(--orange-700);
}

.tag--crm {
  background: var(--blue-50);
  color: var(--blue-700);
}

.flow-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.flow-step p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Suite diagram */

.suite-diagram {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  display: block;
}

.suite-diagram text {
  font-family: var(--font);
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .steps--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.steps li {
  position: relative;
  padding: 24px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--orange-700);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.section--ink .steps li {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.section--ink .steps li::before {
  color: var(--orange);
}

.section--ink .steps p {
  color: #aeb8cf;
}

/* Notice */

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
}

.notice .i {
  margin-top: 2px;
  color: var(--blue);
}

.notice p:last-child {
  margin: 0;
}

.notice--warn {
  background: var(--amber-50);
  border-color: #f3dca8;
}

.notice--warn .i {
  color: var(--amber);
}

/* Separation callout (software vs services) */

.divide {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .divide {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .divide > :first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .divide > :last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
  }
}

.divide .card {
  padding: 32px;
}

.divide h3 {
  font-size: 1.375rem;
  letter-spacing: -0.03em;
}

/* Logo row */

.logo-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
}

.logo-row img {
  display: block;
  height: 34px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 200ms, filter 200ms;
}

.logo-row img:hover {
  filter: none;
  opacity: 1;
}

.logo-caption {
  margin: 0 0 22px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Quotes */

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.quote figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.quote figcaption img {
  height: 32px;
  width: auto;
}

.quote figcaption strong {
  display: block;
  color: var(--ink);
}

.quote figcaption span {
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.pricing-controls {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .pricing-controls {
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }
}

.tabs {
  display: flex;
  max-width: 100%;
  padding: 4px;
  gap: 4px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 560;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms, color 160ms;
}

.tabs button:hover {
  color: var(--ink);
  background: var(--tint);
}

.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tab-dot--crm { background: var(--blue); }
.tab-dot--marketing { background: var(--orange); }
.tab-dot--suite { background: #94a3b8; }

.tabs button[aria-selected="true"] .tab-dot--suite {
  background: #fff;
}

.tab-badge {
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--amber-50);
  color: var(--amber);
}

.tabs button[aria-selected="true"] .tab-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.period {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--tint);
  border-radius: 12px;
}

.period button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 560;
  color: var(--ink-soft);
  cursor: pointer;
}

.period button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.period-save {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--green-50);
  color: var(--green);
  font-size: 0.6875rem;
  font-weight: 600;
}

html:not(.js) .period {
  display: none;
}

.plans {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.plan--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--ink);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 28px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.plan-aud {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--muted);
  min-height: 3em;
}

.draft-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--amber-50);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-price {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan-price .amount {
  font-size: 2.5rem;
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plan-price .amount--tbc {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.plan-price .per {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.plan-sub {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.bundle-save {
  margin: -6px 0 18px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 520;
}

.bundle-save s {
  color: var(--green);
  opacity: 0.7;
}

.js [data-period-show="yearly"] {
  display: none;
}

.js .is-yearly [data-period-show="yearly"] {
  display: block;
}

.js .is-yearly [data-period-show="monthly"] {
  display: none;
}

.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232257f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.pricing-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-note--draft {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--amber-50);
  color: #5e3600;
}

.compare {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.compare > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.compare > summary::-webkit-details-marker {
  display: none;
}

.compare > summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms var(--ease);
}

.compare[open] > summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.table-wrap table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.table-wrap thead th {
  position: sticky;
  top: 0;
  background: #fbfcfe;
  font-weight: 600;
}

.table-wrap th[scope="row"],
.table-wrap thead th:first-child {
  text-align: left;
  font-weight: 500;
  width: 46%;
}

.table-wrap th[scope="row"] .status {
  margin-left: 6px;
}

.table-wrap tr.group th {
  padding-top: 18px;
  background: var(--canvas);
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.row-note {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}

.yes,
.no {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.yes {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.no {
  width: 12px;
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
}

.compare-suite {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.compare-suite p {
  margin: 0;
}

/* Feature matrix (features page) */

.matrix th[scope="row"] {
  width: 40%;
}

.matrix td {
  font-size: 0.8125rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa > summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 560;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.qa > summary::-webkit-details-marker {
  display: none;
}

.qa > summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 220ms var(--ease);
}

.qa[open] > summary::after {
  transform: rotate(45deg);
}

.qa > :not(summary) {
  max-width: 46rem;
  color: var(--muted);
}

.qa > p:last-child {
  padding-bottom: 20px;
}

.faq-group + .faq-group {
  margin-top: 56px;
}

.faq-group h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.faq-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 220px 1fr;
    gap: 64px;
  }

  .faq-toc {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.faq-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 960px) {
  .faq-toc ul {
    flex-direction: column;
    gap: 2px;
  }
}

.faq-toc a {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

@media (min-width: 960px) {
  .faq-toc a {
    background: none;
    border: 0;
  }

  .faq-toc a:hover {
    background: var(--tint);
  }
}

/* ---------- Services ---------- */

.svc-price {
  margin: 4px 0 16px;
  font-size: 1.75rem;
  font-weight: 640;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.svc-price small {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.svc .checklist {
  font-size: 0.875rem;
  gap: 8px;
}

.svc .btn {
  margin-top: auto;
}

.svc {
  display: flex;
  flex-direction: column;
}

.svc--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-2), 0 0 0 1px var(--ink);
}

.svc-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---------- Journeys (get started) ---------- */

.journeys {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .journeys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .journeys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.journey {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.journey h2 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.journey p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.journey ol {
  margin: 0 0 22px;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
}

.journey .actions {
  margin-top: auto;
}

.journey .prod-glyph {
  margin-bottom: 18px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }
}

.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 520;
  background: var(--surface);
  transition: border-color 160ms, background-color 160ms;
}

.topic-list a:hover {
  border-color: var(--ink-soft);
  background: var(--canvas);
}

.topic-list small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8125rem;
}

.topic-list .i {
  color: var(--faint);
}

.dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.dl dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dl dd {
  margin: 4px 0 0;
}

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

.cta-band {
  position: relative;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px);
  border-radius: 28px;
  background: var(--ink);
  color: #c9d1e3;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 56px solid rgba(255, 107, 53, 0.14);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 36rem;
  color: #aeb8cf;
}

.cta-band .actions {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

/* ---------- Prose (legal) ---------- */

.prose {
  font-size: 1rem;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  margin: 40px 0 12px;
}

.prose h3 {
  margin: 28px 0 8px;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1rem;
}

/* ---------- 404 ---------- */

.error-code {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--orange-700);
  letter-spacing: 0.1em;
}

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

.site-footer {
  margin-top: clamp(64px, 8vw, 112px);
  background: var(--ink);
  color: #aeb8cf;
  font-size: 0.9375rem;
}

.site-footer a {
  color: #dfe5f2;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

@media (min-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
  }
}

.footer-brand p {
  margin-top: 16px;
  max-width: 26rem;
}

.footer-contact {
  line-height: 1.9;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-h {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a95b0;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: grid;
  gap: 6px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #8a95b0;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 960px) {
  .footer-bottom {
    grid-template-columns: 1fr auto;
  }
}

/* When the page ends in a dark CTA, keep a small gap before the dark footer. */
.section--cta {
  padding-bottom: 0;
}

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 640ms var(--ease) var(--d, 0ms), transform 640ms var(--ease) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal],
  .js .toast,
  .js .reveal-bars .bars span {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .toast {
    transform: translateX(-50%) !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .preview-banner {
    display: none;
  }
}

/* ---------- Additions: chips, helpers, article, tables in cards ---------- */

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

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

.center-lead {
  margin-inline: auto;
}

.mb-3 {
  margin-bottom: 24px;
}

.h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.h3 a {
  color: var(--ink);
  text-decoration: none;
}

.h3 a:hover {
  text-decoration: underline;
}

.article-title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin: 12px 0 16px;
}

.ticks--no li::before {
  background: var(--slate-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.table-wrap--card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.table-wrap--card td {
  text-align: left;
  color: var(--ink-2);
}

.matrix td {
  text-align: center;
}

.matrix td.st {
  text-align: left;
}

.matrix th[scope="row"] {
  font-weight: 560;
}

.work {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms, transform 240ms var(--ease);
}

.work:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
  transform: translateY(-2px);
}

.work img {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}

.quote figcaption img {
  max-width: 96px;
  object-fit: contain;
}

/* ---------- QA fixes ---------- */

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ticks li {
  display: block;
  position: relative;
  padding-left: 32px;
}

.ticks li::before {
  position: absolute;
  left: 0;
  top: 2px;
  margin-top: 0;
}

.ticks .status {
  margin-left: 4px;
  vertical-align: 1px;
}

.split h2 {
  margin-bottom: 16px;
}

.window .app-main {
  padding-bottom: 40px;
}

.status {
  white-space: normal;
  max-width: 100%;
}

.legend .status,
.cap .status {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .legend .status,
  .cap .status {
    white-space: normal;
  }
}

.legend li {
  min-width: 0;
}

@media (min-width: 768px) {
  .legend {
    grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  }
}

.logo-row img {
  height: auto;
  max-height: 34px;
  max-width: 160px;
}

.cta-band::after {
  content: none;
}

.site-footer {
  margin-top: clamp(48px, 6vw, 80px);
}

/* Hero visual: the CRM window leads, the Marketing calendar sits lower right. */
.stack .window--front {
  position: relative;
  z-index: 1;
}

.stack .window--back {
  z-index: 2;
  width: 46%;
  right: -4%;
  bottom: 0;
}

@media (min-width: 640px) {
  .stack {
    padding-bottom: 96px;
  }

  .stack .window--front {
    width: 92%;
  }
}

.stack .board {
  grid-auto-columns: minmax(118px, 1fr);
}

.lc .due {
  float: none;
  display: block;
  margin-top: 4px;
}

.cal--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack .sample-tag {
  left: 12px;
  right: auto;
  bottom: 0;
}

.stack .toast {
  left: 16px;
  bottom: 16px;
  transform: none;
}

@media (min-width: 640px) {
  .stack .toast {
    left: 164px;
  }
}

.js .stack .toast {
  transform: translateY(10px);
}

.js .stack .toast.is-in {
  animation-name: toast-l;
}

@keyframes toast-l {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .stack .toast {
    transform: none !important;
  }
}

.page-hero + .section--tight {
  padding-top: 8px;
}

@media (max-width: 899px) {
  .flow-step {
    padding: 16px 18px;
  }

  .flow-step .tag {
    margin-bottom: 8px;
  }
}

@media (max-width: 639px) {
  .stack {
    padding-bottom: 36px;
  }

  .hero .actions .btn,
  .page-hero .actions .btn {
    flex: 1 1 auto;
  }
}

.table-wrap td .status {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .tabs button {
    justify-content: center;
    padding: 0 8px;
  }

  .tab-badge {
    display: none;
  }
}
