/* Fonts are served from tavalle.com itself (no request to Google). Plus Jakarta Sans + Caveat, SIL Open Font License. */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/caveat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/caveat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tavalle website — single stylesheet */

:root {
  /* Brand: the blue of the Tavalle logo */
  --navy-900: #0b1f44;
  --navy-800: #0a2f73;
  --navy-700: #123f8f;
  --indigo: #0866ff;
  --indigo-600: #0552d1;
  --indigo-50: #eaf2ff;
  --sky: #f3f7ff;
  --sky-2: #e6efff;
  --coral: #f08a3c;
  --green: #16a34a;
  --amber: #d97706;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e3e8f1;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 68, 0.05), 0 8px 24px rgba(11, 31, 68, 0.07);
  --shadow-lg: 0 24px 60px rgba(11, 31, 68, 0.16);
  --max: 1160px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--indigo-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--indigo-600);
  outline-offset: 2px;
}

/* Keyboard users: first Tab shows a link that jumps past the header */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--indigo-600);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--surface-2);
}

.section--dark {
  background: var(--navy-900);
  color: #cbd2ea;
}

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

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--ink-2);
  font-size: 1.08rem;
}

.section--dark .section-head p {
  color: #aab3d4;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 12px;
}

.section--dark .eyebrow {
  color: var(--coral);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 102, 255, 0.35);
}

.btn--primary:hover {
  background: var(--indigo-600);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  border-color: var(--line);
  color: var(--navy-900);
  background: #fff;
}

/* ---------- Icons (sprite) ---------- */

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  flex: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--indigo);
  text-decoration: none;
}

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

.lang-switch {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button,
.lang-switch a {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 700 0.75rem var(--font);
  padding: 5px 7px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch a {
  text-decoration: none;
}

.lang-switch button[aria-pressed='true'],
.lang-switch a[aria-current='true'] {
  background: var(--indigo);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--navy-900);
  padding: 8px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

.nav .btn--primary {
  padding: 9px 18px;
  white-space: nowrap;
}

/* Burger menu on wide screens too when the links do not fit in the current
   language (main.js sets .nav-collapsed; below 1140px the media query does it). */
.nav-collapsed .nav-links {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff;
  padding: 8px 20px 18px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-collapsed .nav-links.open {
  display: flex;
}

.nav-collapsed .nav-links a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.nav-collapsed .nav-toggle {
  display: block;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(8, 102, 255, 0.1), transparent 65%),
    linear-gradient(180deg, var(--sky) 0%, #fff 100%);
  padding: 52px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.95rem, 3.1vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-question {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--indigo);
  margin: 0 0 0.35em;
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 540px;
}

.flow-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}

.flow-mini li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-900);
  position: relative;
}

.flow-mini li .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 0 0 1px var(--sky-2), 0 4px 12px rgba(8, 102, 255, 0.08);
  stroke-width: 1.8;
}

.flow-mini li + li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #9cc3ff;
  border-right: 2px solid #9cc3ff;
  transform: rotate(45deg);
}

.flow-mini li + li {
  margin-left: 8px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy .hero-ctas {
  flex-wrap: nowrap;
  gap: 9px;
}

.hero-copy .hero-ctas .btn {
  padding: 11px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.hero-note {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* Laptop + phone mockup */

.hero-visual {
  position: relative;
  padding: 34px 40px 20px 0;
}

.hand-note {
  position: absolute;
  top: -18px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
  line-height: 1.05;
  color: var(--navy-800);
  transform: rotate(-4deg);
  z-index: 3;
}

.hand-note svg {
  width: 34px;
  height: 34px;
  margin-right: 60px;
  color: var(--indigo);
}

.laptop {
  position: relative;
  z-index: 1;
}

.laptop-screen {
  background: #0d1526;
  border-radius: 14px 14px 4px 4px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.laptop-base {
  height: 14px;
  margin: 0 -26px;
  background: linear-gradient(180deg, #dfe4ec, #b9c1ce);
  border-radius: 0 0 16px 16px;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 90px;
  height: 5px;
  transform: translateX(-50%);
  background: #aab3c1;
  border-radius: 0 0 6px 6px;
}

.mini-app {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  font-size: 9px;
  color: var(--ink);
  line-height: 1.3;
}

.mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  font-size: 8.5px;
}

.mini-search {
  flex: 1;
  max-width: 180px;
  margin-left: auto;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 5px;
  color: var(--ink-3);
}

.mini-search .ic,
.mini-icons .ic {
  width: 10px;
  height: 10px;
}

.mini-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
}

.mini-icons i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.mini-body {
  display: grid;
  grid-template-columns: 92px 1fr;
}

.mini-side {
  border-right: 1px solid var(--line);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-side span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 5px;
  color: var(--ink-2);
}

.mini-side em {
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-side .ic {
  width: 11px;
  height: 11px;
}

.mini-side span.on {
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-weight: 700;
}

.mini-main {
  padding: 8px 10px 10px;
  min-width: 0;
}

.mini-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.mini-toolbar b {
  font-size: 11px;
  color: var(--navy-900);
}

.mini-toolbar small {
  margin-left: auto;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-chip {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  font-weight: 700;
  font-size: 8px;
  color: var(--ink-2);
  background: #fff;
}

.hcal {
  display: grid;
  grid-template-columns: 18px repeat(5, 1fr);
  grid-template-rows: 18px repeat(9, 19px);
  gap: 2px 3px;
  background:
    repeating-linear-gradient(180deg, transparent 0 20px, #eef1f6 20px 21px) 0 19px / 100% calc(100% - 19px) no-repeat;
}

.hcal-h {
  grid-row: 1;
  text-align: center;
  font-weight: 700;
  color: var(--ink-3);
  font-size: 8px;
  padding-top: 3px;
  white-space: nowrap;
  overflow: hidden;
}

.hcal-h.is-today {
  color: #fff;
  background: var(--indigo);
  border-radius: 5px;
}

.hcal-t {
  grid-column: 1;
  color: var(--ink-3);
  font-size: 7.5px;
}

.hev {
  display: block;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.25;
  border-left: 2px solid;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.hev--call {
  background: #e6f0ff;
  border-color: var(--indigo);
  color: #0a3d9e;
}

.hev--visit {
  background: #e7f7ee;
  border-color: #16a34a;
  color: #166534;
}

.hev--follow {
  background: #fff3e6;
  border-color: #f08a3c;
  color: #9a4a0c;
}

.hev--deliv {
  background: #f1ecff;
  border-color: #7c5cf0;
  color: #4c2fb8;
}

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 162px;
  background: #fff;
  border: 6px solid #0d1526;
  border-radius: 24px;
  padding: 14px 10px 12px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  font-size: 9px;
  line-height: 1.3;
  color: var(--ink);
}

.phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 46px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: #0d1526;
}

.ph-head {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.ph-cust {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}

.ph-cust i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 8px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  flex: none;
}

.ph-cust b {
  display: block;
  font-size: 10px;
  color: var(--navy-900);
}

.ph-cust small {
  color: var(--ink-3);
  font-size: 8px;
}

.ph-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 8px;
  color: var(--ink-3);
  font-weight: 600;
}

.ph-tabs span {
  padding-bottom: 4px;
}

.ph-tabs .on {
  color: var(--indigo);
  border-bottom: 2px solid var(--indigo);
}

.ph-next {
  background: var(--sky);
  border: 1px solid var(--sky-2);
  border-radius: 8px;
  padding: 6px 7px;
  margin-bottom: 8px;
}

.ph-next small,
.ph-label {
  display: block;
  color: var(--ink-3);
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.ph-next div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ph-next .ic {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
}

.ph-next b {
  display: block;
  color: var(--navy-900);
}

.ph-next em {
  font-style: normal;
  color: var(--ink-3);
  font-size: 8px;
}

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

.ph-hist li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid #f1f3f7;
}

.ph-hist li:last-child {
  border-bottom: 0;
}

.ph-hist i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.ph-hist em {
  margin-left: auto;
  font-style: normal;
  color: var(--ink-3);
  font-size: 8px;
}

.d-green { background: #16a34a; }
.d-blue { background: var(--indigo); }
.d-orange { background: #f08a3c; }

/* ---------- Trust strip ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item .ic {
  width: 30px;
  height: 30px;
  color: var(--indigo);
  stroke-width: 1.7;
}

.trust-item b {
  display: block;
  color: var(--navy-900);
  font-size: 0.98rem;
}

.trust-item small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* ---------- Problem / solution ---------- */

.section--tight {
  padding: 72px 0;
}

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

.h-md {
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.why-card {
  padding: 8px 8px 8px 0;
}

.why-card + .why-card {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.why-card > p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.eyebrow--muted {
  color: var(--ink-3);
}

.x-list,
.ok-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.x-list li,
.ok-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.x-list li::before,
.ok-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.x-list li::before {
  background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.ok-list li::before {
  background: #e7f7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.why-card--cal {
  background: var(--sky);
  border: 1px solid var(--sky-2) !important;
  border-radius: var(--radius);
  padding: 26px !important;
}

.agenda {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 0.85rem;
}

.agenda-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-top: 1px solid #f1f3f7;
}

.agenda-row em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.agenda .hev {
  font-size: 0.78rem;
  padding: 5px 8px;
  border-left-width: 3px;
}

.agenda .hev b {
  font-weight: 800;
}

/* ---------- How it works ---------- */

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}

.flow li {
  position: relative;
}

.flow li + li::before {
  content: '';
  position: absolute;
  top: 26px;
  left: -16px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #9cc3ff;
  border-right: 2px solid #9cc3ff;
  transform: rotate(45deg);
}

.flow-ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 0 0 1px var(--sky-2), 0 6px 16px rgba(8, 102, 255, 0.1);
}

.flow-ic .ic {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.flow b {
  display: block;
  color: var(--navy-900);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.flow p {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Solutions ---------- */

.sol-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.sol-lead {
  color: var(--ink-2);
}

.sol-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.sol-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.sol-card .ic {
  width: 26px;
  height: 26px;
  color: var(--indigo);
  stroke-width: 1.8;
  margin-bottom: 12px;
}

.sol-card b {
  display: block;
  color: var(--navy-900);
  font-size: 0.86rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.sol-card small {
  display: block;
  color: var(--ink-3);
  font-size: 0.74rem;
  line-height: 1.4;
}

.dash-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--sky);
  border: 1px solid var(--sky-2);
  border-radius: var(--radius);
  padding: 32px 40px;
}

.dash-text h3 {
  font-size: 1.4rem;
}

.dash-text p {
  max-width: 420px;
}

.dash-text p {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin: 0;
}

.dash-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  font-size: 11px;
}

.dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.dash-kpis small {
  display: block;
  color: var(--ink-3);
  font-size: 9.5px;
}

.dash-kpis b {
  color: var(--navy-900);
  font-size: 13px;
  white-space: nowrap;
}

.dash-kpis b.late {
  color: #b91c1c;
}

.dash-kpis em {
  display: block;
  font-style: normal;
  color: var(--green);
  font-weight: 700;
  font-size: 9.5px;
}

.dash-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.dash-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}

.dash-bars i {
  flex: 1;
  background: #9cc3ff;
  border-radius: 3px 3px 0 0;
}

.dash-bars i:last-child {
  background: var(--indigo);
}

.donut {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(var(--indigo) 0 72%, #cfe0ff 72% 100%);
  display: grid;
  place-items: center;
  flex: none;
}

.donut span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 10px;
  color: var(--navy-900);
}

.dash-mock .legend span + span::before {
  background: #cfe0ff;
}

/* Real CRM screenshots (demo data) in place of drawn mockups. */
.crm-shot {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 340px;
}

.crm-shot img,
.app-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.app-shot {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.app-shot img {
  border-radius: 8px;
  box-shadow: none;
}

/* A screenshot with a phone version (<picture>): fills the frame like a plain img */
.app-shot picture {
  display: block;
}

img[data-lightbox-trigger] {
  cursor: zoom-in;
}

img[data-lightbox-trigger]:focus-visible {
  outline: 3px solid var(--blue-600, #0866ff);
  outline-offset: 3px;
}

.image-lightbox {
  width: min(96vw, 1440px);
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
}

.image-lightbox::backdrop {
  background: rgba(5, 13, 29, 0.88);
  backdrop-filter: blur(4px);
}

.image-lightbox__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.image-lightbox__image {
  display: block;
  max-width: 96vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.image-lightbox__video {
  display: block;
  width: min(96vw, 1440px);
  max-height: 84vh;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.image-lightbox__video[hidden],
.image-lightbox__image[hidden] {
  display: none;
}

.video-card,
.role-hero-video {
  position: relative;
}

.video-lightbox-trigger {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  color: #fff;
  background: rgba(10, 20, 38, 0.72);
  cursor: pointer;
}

.video-lightbox-trigger svg {
  width: 20px;
  height: 20px;
}

.video-lightbox-trigger:focus-visible {
  outline: 3px solid var(--blue-600, #0866ff);
  outline-offset: 3px;
}

/* Like + Share under each video (main.js adds them; likes from likes-api) */
.video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.role-hero-video .video-actions {
  margin: 10px 4px 2px;
}

.video-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy-800);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.video-action[hidden] {
  display: none;
}

.video-action svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.video-action:hover {
  border-color: var(--indigo);
  background: var(--indigo-50);
}

.video-action:focus-visible,
.video-share__menu a:focus-visible,
.video-share__menu button:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
}

.video-like[aria-pressed="true"] {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}

.video-like[aria-pressed="true"] svg path {
  fill: currentColor;
  fill-opacity: 0.25;
}

.video-like__count {
  padding-left: 8px;
  border-left: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.video-like__count[hidden] {
  display: none;
}

.video-share {
  position: relative;
}

.video-share__menu {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.video-share__menu[hidden] {
  display: none;
}

.video-share__menu a,
.video-share__menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.video-share__menu a:hover,
.video-share__menu button:hover {
  background: var(--sky);
  color: var(--navy-800);
}

.image-lightbox__caption {
  max-width: min(90vw, 900px);
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
}

.image-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 20, 38, 0.72);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

.band-wrap {
  padding: 0 0 96px;
}

.band {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr auto;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(8, 102, 255, 0.55), transparent 70%),
    linear-gradient(120deg, #0a2f73, #0b3f9c);
  color: #d6e4ff;
  border-radius: 20px;
  padding: 34px 40px;
}

.band h3,
.band b {
  color: #fff;
}

.band h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.band p {
  margin: 0;
  font-size: 0.92rem;
}

.band-mid {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 28px;
}

.band-mid .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.band-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.band-cta small {
  color: #b8cdf5;
  font-size: 0.78rem;
}

.btn--white {
  background: #fff;
  color: var(--indigo-600);
  white-space: nowrap;
}

.btn--white:hover {
  background: var(--indigo-50);
}

/* ---------- App window mockups ---------- */

.app-window {
  background: #f4f6f9;
  border-radius: 12px;
  overflow: hidden;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
  text-align: left;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.app-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5e7eb;
}

.app-bar i:nth-child(1) {
  background: #f87171;
}

.app-bar i:nth-child(2) {
  background: #fbbf24;
}

.app-bar i:nth-child(3) {
  background: #34d399;
}

.app-bar span {
  margin-left: 10px;
  color: var(--ink-3);
  font-size: 11px;
}

.app-body {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 300px;
}

.app-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-side .logo {
  font-weight: 800;
  color: var(--indigo);
  padding: 0 8px 10px;
  font-size: 13px;
}

.app-side span {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-side span.on {
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
}

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

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

.app-title b {
  font-size: 14px;
  color: var(--navy-900);
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pill--info {
  background: #e0f2fe;
  color: #0369a1;
}

.pill--warn {
  background: #fef3c7;
  color: #b45309;
}

.pill--ok {
  background: #dcfce7;
  color: #15803d;
}

.pill--muted {
  background: #f3f4f6;
  color: var(--ink-3);
}

.pill--danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* History mockup: filter chips + entity badges */
.hist-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hist-chips > span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 700;
}

.hist-chips > span.on {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}

.tbl.hist td {
  white-space: normal;
}

.ent {
  display: inline-block;
  min-width: 48px;
  margin-right: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.ent--ord { background: #dbeafe; color: #1d4ed8; }
.ent--inv { background: #dcfce7; color: #15803d; }
.ent--call { background: #fef3c7; color: #b45309; }
.ent--vis { background: #ede9fe; color: #6d28d9; }

.mini-btn {
  background: var(--indigo);
  color: #fff;
  border-radius: 6px;
  padding: 4px 9px;
  font-weight: 700;
  font-size: 10.5px;
  white-space: nowrap;
}

.mini-btn--ghost {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

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

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

.kpi small {
  color: var(--ink-3);
  display: block;
  font-size: 10.5px;
}

.kpi b {
  font-size: 15px;
  color: var(--navy-900);
}

.kpi em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-left: 4px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.panel + .panel {
  margin-top: 8px;
}

.panel h5 {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: var(--navy-900);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  padding-top: 4px;
}

.bars div {
  flex: 1;
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 100%;
}

.bars div i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--indigo);
}

.bars div i + i {
  background: #f5b39a;
}

.legend {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 10.5px;
}

.legend span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
  background: var(--indigo);
}

.legend span + span::before {
  background: #f5b39a;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.tbl th {
  text-align: left;
  color: var(--ink-3);
  font-weight: 600;
  padding: 6px 6px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl td {
  padding: 7px 6px;
  border-bottom: 1px solid #f1f2f5;
  white-space: nowrap;
}

.tbl td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

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

/* Late order / unpaid invoice past its date (same red as the app) */
.tbl tr.overdue td {
  background: #fee2e2;
  color: #991b1b;
}

/* Commissions mockup: stacked monthly columns (existing below, new customers on top) */
.stack-bars {
  display: flex;
  align-items: stretch;
  gap: 6px;
  height: 118px;
}

.stack-bars > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 2px;
  position: relative;
  border-radius: 4px;
}

.stack-bars i {
  display: block;
  background: var(--indigo);
}

.stack-bars i:first-of-type {
  border-radius: 3px 3px 0 0;
}

.stack-bars i.new {
  background: #eb6834;
}

.stack-bars span {
  margin-top: 4px;
  text-align: center;
  font-size: 9.5px;
  color: var(--ink-3);
}

.stack-bars > div.on {
  background: rgba(8, 102, 255, 0.08);
}

.stack-bars > div.on span {
  color: var(--navy-900);
  font-weight: 800;
}

.stack-bars b {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

.legend span.lg-new::before {
  background: #eb6834;
}

/* Commissions mockup: rep x month heatmap (one blue ramp, darker = more) */
.tbl.heat td.num span {
  display: inline-block;
  min-width: 42px;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

.tbl.heat .h1 { background: #cde2fb; color: #0f1631; }
.tbl.heat .h2 { background: #9ec5f4; color: #0f1631; }
.tbl.heat .h3 { background: #5598e7; color: #fff; }
.tbl.heat .h4 { background: #2a78d6; color: #fff; }
.tbl.heat .h5 { background: #1c5cab; color: #fff; }

/* Payments mockup: quick filters + Export, and totals over every matching invoice */
.quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.quick-row .hist-chips {
  margin-bottom: 0;
}

.sum-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.sum-row > div {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sum-row small {
  display: block;
  color: var(--ink-3);
  font-size: 9.5px;
}

.sum-row b {
  font-size: 11.5px;
  color: var(--navy-900);
  white-space: nowrap;
}

.sum-row .sum-late b {
  color: #b91c1c;
}

/* Alerts mockup: inbox + the morning agenda e-mail */
.mail-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}

.mail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid #f1f2f5;
  font-size: 11px;
  color: var(--ink-2);
}

.mail-row:last-child {
  border-bottom: 0;
}

.mail-row b {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 10px;
}

.mail-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mail-row em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fee2e2;
  color: #b91c1c;
}

.mail-row.on {
  background: var(--indigo-50);
  color: var(--navy-900);
  font-weight: 700;
}

.mail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.mail-head {
  padding: 8px 12px;
  background: var(--navy-900);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.mail-body {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--ink-2);
}

.mail-body p {
  margin: 0 0 6px;
}

/* Year separator in the history mockup */
.tbl tr.year td {
  padding: 7px 6px 5px;
  border-top: 2px solid var(--indigo);
  border-bottom: 0;
  background: #f3f4f6;
  color: var(--navy-900);
  font-weight: 800;
}

.tbl tr.year td small {
  margin-left: 6px;
  color: var(--ink-3);
  font-weight: 600;
}

/* Edit / locked icon column */
.tbl td.act {
  width: 18px;
  color: var(--indigo);
}

.tbl td.act svg {
  display: block;
  width: 13px;
  height: 13px;
}

.tbl td.act--lock {
  color: var(--ink-3);
}

/* Month / year filter dropdowns in the invoices mockup */
.flt-row {
  display: flex;
  gap: 6px;
}

.flt {
  padding: 3px 22px 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center / 10px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.tbl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 10.5px;
}

.tbl-legend span::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}

.tbl-legend .lg-overdue::before {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.tbl-legend .lg-lock::before {
  background: #dcfce7;
  border: 1px solid #86efac;
}

/* calendar mockup */
.cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.cal-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  min-height: 150px;
}

.cal-day > b {
  display: block;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 600;
}

.ev {
  border-radius: 6px;
  padding: 4px 6px;
  margin-bottom: 5px;
  font-size: 10px;
  line-height: 1.3;
  border-left: 3px solid;
}

.ev b {
  display: block;
  font-size: 10px;
}

.ev--call {
  background: #e6f0ff;
  border-color: var(--indigo);
  color: #0a3d9e;
}

.ev--visit {
  background: #fff1ea;
  border-color: var(--coral);
  color: #9a3412;
}

.ev--order {
  background: #ecfdf3;
  border-color: var(--green);
  color: #166534;
}

/* invoice mockup */
.inv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.inv-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.inv-head b {
  font-size: 15px;
  color: var(--navy-900);
}

.inv-head small {
  display: block;
  color: var(--ink-3);
}

.inv-tot {
  margin-left: auto;
  width: 60%;
  margin-top: 8px;
  font-size: 11px;
}

.inv-tot div {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

.inv-tot div:last-child {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 6px;
  font-weight: 800;
  color: var(--navy-900);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.fld small {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
  margin-bottom: 2px;
}

.fld div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fld--hl div {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.15);
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.97rem;
}

/* Overview video at the start of the tour */
.tour-videos {
  margin: 0 0 40px;
  scroll-margin-top: 90px;
}

.tour-videos .section-head {
  margin-bottom: 32px;
}

.tour-videos__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 8px;
}

/* Videos: one demo per role */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  object-fit: cover;
}

.video-body {
  padding: 20px 22px 22px;
}

.video-body h3 {
  margin: 0 0 6px;
}

.video-body p {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.95rem;
}

.video-note {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.9rem;
  margin: 22px 0 0;
}

/* The overview video: first and larger, the way into the role videos below */
.video-card--feature {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
  margin-bottom: 22px;
  scroll-margin-top: 90px;
}

.video-card--feature .video-body {
  padding: 28px 30px;
}

.video-card--feature .video-body h3 {
  font-size: 1.45rem;
}

.video-card--feature .video-body p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* The workflow video: "The full story · 3 minutes" above its title */
.video-card--feature .video-body .video-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
}

/* Home tour with the overview AND the workflow video: one row, each card video over text */
.tour-videos:has(> .video-card + .video-card) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.tour-videos:has(> .video-card + .video-card) > .video-card--feature {
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 0;
}

.tour-videos:has(> .video-card + .video-card) > .video-card--feature .video-body {
  padding: 20px 24px 24px;
}

.tour-videos:has(> .video-card + .video-card) > .video-card--feature .video-body h3 {
  font-size: 1.25rem;
}

@media (max-width: 860px) {
  .tour-videos:has(> .video-card + .video-card) {
    grid-template-columns: 1fr;
  }
}

/* Role tours use the same video-left, copy-right card as the home tour. */
.role-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.role-video--feature {
  grid-column: 1 / -1;
}

.role-video--text-only {
  height: 100%;
}

.role-video--text-only h3 {
  margin: 0 0 8px;
}

.role-video--text-only p {
  color: var(--ink-2);
  margin: 0;
}

/* CRM page: one compact card per role (cover + one line), linking to the role's own page */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.role-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

a.role-card:hover .role-card__more {
  text-decoration: underline;
}

.role-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
}

.role-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom-right, so the cover's title card ("Accounting Overview") stays readable */
.role-card__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: var(--shadow);
}

a.role-card:hover .role-card__play {
  background: var(--indigo-600);
}

.role-card__play::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 16px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.role-card__body {
  display: block;
  padding: 18px 20px 20px;
}

.role-card__body h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy-900);
}

/* Role icon + title on one line (role grid, "other roles") */
.role-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.role-title .role-icon {
  flex: none;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 10px;
}

.role-title .role-icon svg {
  width: 19px;
  height: 19px;
}

.related-grid .role-title h3 {
  margin: 0;
}

/* Role page: the role's icon above the label */
.role-hero-icon {
  display: block;
}

.role-hero-icon .role-icon {
  margin-bottom: 14px;
}

/* Home / CRM roles section: icon above the tag */
.role .role-icon {
  margin-bottom: 14px;
}

.role-card__body p {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.role-card__more {
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Role page: the video in the hero (first thing seen), the two lists side by side, the transcript */
.role-hero-video {
  padding: 8px;
  transform: none;
  scroll-margin-top: 90px;
}

.role-hero-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: var(--navy-900);
}

.role-page-transcript h2 {
  margin-top: 0;
}

.role-page-lists {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: start;
}

.role-page-lists h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.role-page-not {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-2);
}

.role-page-not li + li {
  margin-top: 8px;
}

.role-page-transcript {
  max-width: 820px;
}

.role-page-transcript p {
  color: var(--ink-2);
}

@media (max-width: 1020px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-page-lists {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .video-card--feature {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1020px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .role-videos {
    grid-template-columns: 1fr;
  }

  .role-video--feature {
    grid-column: auto;
  }
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.icon--coral,
.icon--green {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

/* ---------- Product tour ---------- */

/* Screens sub-menu: a segmented control in a tinted track, so it reads as a level
   below the sticky Explore menu (outlined pills) instead of a second copy of it */
.tour-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 4px;
  background: var(--indigo-50);
  border-radius: 12px;
}

.tour-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 600 0.85rem var(--font);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.tour-tabs button:hover {
  color: var(--indigo);
}

.tour-tabs button[aria-selected='true'] {
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

/* Phone: the 9 tabs as an even 3 x 3 grid instead of 3 ragged rows; the "New" marker
   becomes a corner badge so the Health tab is no wider than the others */
@media (max-width: 680px) {
  .tour-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
  }

  .tour-tabs button {
    position: relative;
    padding: 10px 4px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
  }

  .tour-tabs .new-tag {
    position: absolute;
    top: -6px;
    right: 2px;
    padding: 0 5px;
    font-size: 0.56rem;
    line-height: 1.6;
    pointer-events: none;
  }
}

.tour-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.tour-panel[hidden] {
  display: none;
}

.tour-panel .app-window {
  box-shadow: var(--shadow-lg);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-2);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--indigo-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230552d1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.section--dark .check-list li {
  color: #cbd2ea;
}

.section--dark .check-list li::before {
  background-color: rgba(8, 102, 255, 0.25);
}

/* ---------- Roles ---------- */

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.role {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.role .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 14px;
}

.role--featured {
  background: linear-gradient(170deg, var(--indigo-50), #fff 60%);
  border-color: #c9dcff;
  box-shadow: var(--shadow);
}

.role p {
  color: var(--ink-2);
  margin: 0;
}

/* Home roles section: each card opens its role page */
a.role--link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.role--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

a.role--link .role-card__more {
  margin-top: auto;
  padding-top: 14px;
}

a.role--link:hover .role-card__more {
  text-decoration: underline;
}

/* ---------- Integrations ---------- */

.integr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hub {
  position: relative;
  aspect-ratio: 1 / 0.82;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.hub svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-900);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.hub-node small {
  display: block;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.72rem;
}

.hub-center {
  background: var(--navy-900);
  color: #fff;
  border: 0;
  padding: 14px 18px;
  font-size: 0.95rem;
  border-radius: 16px;
  text-align: center;
  /* The product name is long: let it wrap instead of overlapping the nodes around it. */
  white-space: normal;
  width: max-content;
  max-width: 44%;
}

.hub-center small {
  color: #9cc3ff;
}

/* ---------- Products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.product--featured {
  border-color: #c9dcff;
  background: linear-gradient(170deg, var(--indigo-50), #fff 55%);
}

.product .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 14px;
}

.product--custom .tag {
  background: #fff1ea;
  color: #c2410c;
}

.product h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.product > p {
  color: var(--ink-2);
  margin: 0;
}

.product .check-list {
  flex: 1;
}

/* The two halves of the platform, side by side. */
.suite {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 22px 0 4px;
}

.suite-half {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 14px;
}

.suite-half b {
  display: block;
  color: var(--indigo-600);
  font-size: 0.95rem;
}

.suite-half small {
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.4;
}

.suite-plus {
  max-width: 58px;
  text-align: center;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--coral);
}

.product .btn {
  align-self: flex-start;
  margin-top: 8px;
}

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

/* Monthly / quarterly / annual: #pricing[data-billing] shows one set of .price--* blocks. */
#pricing:not([data-billing='monthly']) .price--monthly,
#pricing:not([data-billing='quarterly']) .price--quarterly,
#pricing:not([data-billing='annual']) .price--annual {
  display: none;
}

/* "Pricing" links (menu, hero button) land on the plans: the section's own top padding is scrolled past */
#pricing {
  scroll-margin-top: -80px;
}

@media (max-width: 680px) {
  #pricing {
    scroll-margin-top: -56px;
  }
}

.billing-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.billing-switch button {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}

.billing-switch button[aria-pressed='true'] {
  background: var(--indigo);
  color: #fff;
}

.billing-switch em {
  font-style: normal;
  font-size: 0.75rem;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

/* Three periods: tighter buttons on phones so the switch keeps to one line. */
@media (max-width: 520px) {
  .billing-switch {
    gap: 2px;
  }

  .billing-switch button {
    font-size: 0.85rem;
    padding: 8px 10px;
  }

  .billing-switch em {
    display: none;
  }
}

.price-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: start;
}

.price-side {
  display: grid;
  gap: 26px;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.price-card--featured {
  padding: 36px;
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow-lg);
}

.price-card .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 14px;
}

.price-card .tag--green {
  background: #dcfce7;
  color: #15803d;
}

.price-card--custom .tag {
  background: #fff1ea;
  color: #c2410c;
}

.price-card h3 {
  font-size: 1.45rem;
  margin: 0;
}

.price-sub {
  margin: 2px 0 0;
  color: var(--ink-3);
  font-weight: 600;
}

.price-card > p:not(.price-sub):not(.price-note) {
  color: var(--ink-2);
  margin: 14px 0 18px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 4px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

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

.price--small {
  margin-top: 16px;
}

.price--small .price-amount {
  font-size: 2.1rem;
}

.price-note {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.price-note b {
  color: #15803d;
}

.check-list--cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.check-list--compact li {
  margin-bottom: 8px;
  font-size: 0.93rem;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.price-card--custom .btn {
  align-self: flex-start;
}

.price-foot {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.9rem;
}

@media (max-width: 1020px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .price-card,
  .price-card--featured {
    padding: 24px 20px;
  }

  .check-list--cols {
    grid-template-columns: 1fr;
  }

  .price-amount {
    font-size: 2.5rem;
  }
}

/* ---------- Custom software ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 18px;
  border-top: 3px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--indigo-600);
  margin-bottom: 6px;
}

.step:first-child {
  border-top-color: var(--indigo);
}

.step p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.founder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.founder-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--navy-800));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  flex: none;
}

.founder-head h3 {
  margin: 0;
}

.founder-head small {
  color: var(--ink-3);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.stat {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 1.6rem;
  color: var(--indigo-600);
  font-weight: 800;
  line-height: 1.1;
}

.stat small {
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--indigo);
}

.timeline b {
  display: block;
  color: var(--navy-900);
}

.timeline small {
  color: var(--indigo-600);
  font-weight: 700;
  font-size: 0.8rem;
}

.timeline p {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

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

.cta-box {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(8, 102, 255, 0.4), transparent 60%),
    var(--navy-800);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  color: #cbd2ea;
}

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

.cta-box .eyebrow {
  color: #9cc3ff;
}

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

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: #9cc3ff;
  flex: none;
}

.contact-list a {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}

/* Demo request: intro + contact details on the dark box, form on a white card */

.contact-box {
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: 48px;
}

.contact-intro > p {
  margin-bottom: 0;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}

.contact-points li {
  position: relative;
  padding-left: 30px;
  color: #e4e8f7;
}

.contact-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(165, 180, 252, 0.18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.demo-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.demo-card h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--navy-900);
}

.demo-sub {
  margin: 0 0 22px;
  color: var(--ink-3);
  font-size: 0.93rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field--wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  width: 100%;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    right 14px center / 16px no-repeat;
}

.field textarea {
  resize: vertical;
  min-height: 104px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cfd3dc;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.18);
}

.field input[aria-invalid='true'] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-submit {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 22px;
  font-size: 1rem;
}

.demo-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.demo-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.demo-status:empty {
  display: none;
}

.demo-status.is-error {
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 8px;
  padding: 10px 12px;
}

.demo-done {
  text-align: center;
  padding: 36px 8px;
}

.demo-done svg {
  width: 56px;
  height: 56px;
  color: var(--green);
  margin-bottom: 12px;
}

.demo-done p {
  color: var(--ink-2);
  margin: 0 0 22px;
}

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

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  padding: 36px 0 24px;
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer .brand {
  font-size: 1rem;
}

.site-footer .brand img {
  width: 30px;
  height: 30px;
}

.footer-brand small {
  display: block;
  margin: 4px 0 0 40px;
  color: var(--ink-3);
}

.site-footer a {
  color: var(--ink-2);
}

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

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.footer-social .ic {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Learn-more links, FAQ, topic pages (2026-10-01) ---------- */

.more-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--indigo-600);
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.product .more-link {
  display: block;
}

.price-more {
  text-align: center;
  margin: 28px 0 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}

.faq-item summary {
  position: relative;
  padding: 18px 32px 18px 0;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--indigo);
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.page-hero {
  padding: 64px 0 72px;
}

.page-hero--feature {
  overflow: hidden;
  background:
    radial-gradient(760px 400px at 92% 8%, rgba(8, 102, 255, 0.11), transparent 66%),
    linear-gradient(180deg, var(--sky) 0%, #fff 100%);
  padding: 42px 0 50px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  color: var(--navy-900);
}

.page-hero-grid h1 {
  max-width: 600px;
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 3.15vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.page-hero .page-lead {
  max-width: 640px;
  margin: 0 0 17px;
  font-size: 1.04rem;
  color: var(--ink-2);
}

.page-hero .hero-ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
}

.page-hero .hero-ctas .btn {
  padding: 11px 15px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.page-hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 650;
}

.page-hero-points li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  margin-right: 7px;
}

.page-hero-visual {
  min-width: 0;
  margin: 0;
  padding: 12px 12px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(22, 48, 91, 0.14), 0 3px 12px rgba(22, 48, 91, 0.06);
  transform: rotate(0.4deg);
}

.page-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.page-hero-visual figcaption {
  padding: 9px 4px 0;
  color: var(--ink-3);
  font-size: 0.8rem;
}

.crumbs {
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.crumbs a {
  color: var(--indigo-600);
  text-decoration: none;
}

.crumbs span[aria-hidden] {
  margin: 0 6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.split--text {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.split h2 {
  margin-top: 0;
}

.split p {
  color: var(--ink-2);
}

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

.split .shots img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Role pages: CRM screenshots in the overview-video card (.video-card--feature), sides alternating */
.role-screen + .role-screen {
  margin-top: 32px;
}

.role-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.role-screen--flip {
  grid-template-columns: 1fr 1.7fr;
}

.role-screen--flip img {
  order: 2;
}

/* A phone screenshot: half the card, the picture scaled to fit on a tinted panel */
.role-screen--phone,
.role-screen--phone.role-screen--flip {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.role-screen--phone img {
  box-sizing: border-box;
  height: 540px;
  padding: 28px 0;
  object-fit: contain;
  background: var(--indigo-50);
}

.role-screen--phone .video-body {
  align-self: center;
}

.page-cards .card h3 {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.related-grid a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.related-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy-900);
}

@media (max-width: 1020px) {
  .split {
    grid-template-columns: 1fr;
  }

  .role-screen--flip {
    grid-template-columns: 1fr;
  }

  .role-screen--flip img {
    order: 0;
  }

  .role-screen--phone,
  .role-screen--phone.role-screen--flip {
    grid-template-columns: 1fr;
  }

  .role-screen--phone img {
    height: 460px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    max-width: 760px;
  }

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

@media (max-width: 680px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 40px 0 48px;
  }

  .page-hero--feature {
    padding: 32px 0 38px;
  }

  .page-hero .hero-ctas {
    flex-wrap: wrap;
  }

  .page-hero .hero-ctas .btn {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 11px;
    font-size: 0.8rem;
  }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Without JavaScript nothing would reveal the sections: show them straight away */
@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .btn {
    transition: none;
  }
}

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

/* Grid children may shrink below their content (the mockups use nowrap text). */
.hero-grid > *,
.why-grid > *,
.sol-grid > *,
.band > *,
.tour-panel > *,
.integr > *,
.about > *,
.cta-box > *,
.app-main {
  min-width: 0;
}

.app-window {
  max-width: 100%;
}

.panel {
  overflow-x: auto;
}

@media (max-width: 1140px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: block;
  }

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

@media (max-width: 1020px) {
  .why-grid,
  .sol-grid,
  .band {
    grid-template-columns: 1fr;
  }

  .why-card + .why-card {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }

  .why-card--cal {
    border-top: 1px solid var(--sky-2);
  }

  .flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .flow li:nth-child(4)::before {
    display: none;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .band-mid {
    border-left: 0;
    padding-left: 0;
  }

  .band-cta {
    align-items: flex-start;
    text-align: left;
  }

  .hero-grid,
  .tour-panel,
  .integr,
  .about,
  .cta-box,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .roles {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .product {
    padding: 24px 20px;
  }

  .suite {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: center;
  }

  .section {
    padding: 68px 0;
  }


  .nav .btn--primary {
    display: none;
  }

  .feature-grid,
  .service-grid,
  .roles,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 0 42px;
  }

  .hero-question {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .hero-copy .hero-ctas {
    gap: 7px;
  }

  .hero-copy .hero-ctas .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .hero-copy .hero-ctas .btn .ic {
    width: 15px;
    height: 15px;
  }

  .flow-mini li {
    min-width: 0;
    font-size: 0.68rem;
  }

  .flow-mini li .ic {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .flow-mini li + li {
    margin-left: 6px;
  }

  .flow-mini li + li::before {
    left: -8px;
    top: 14px;
    width: 6px;
    height: 6px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    padding: 0;
  }

  .hand-note,
  .mini-side,
  .phone {
    display: none;
  }

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

  .laptop-base {
    margin: 0 -10px;
  }

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

  .flow li::before {
    display: none;
  }

  .sol-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .trust-item {
    padding: 16px 10px;
    gap: 10px;
  }

  .band {
    padding: 28px 22px;
  }

  .band-cta .btn {
    white-space: normal;
  }

  .band-wrap {
    padding-bottom: 68px;
  }

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

  .app-side {
    display: none;
  }

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

  .cal-day:nth-child(n + 4) {
    display: none;
  }

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

  .tbl .hide-sm {
    display: none;
  }

  .cta-box {
    padding: 32px 22px;
  }

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

  .demo-card {
    margin: 0 -8px;
    padding: 24px 16px;
  }

  /* 16px stops iOS Safari from zooming into the field on focus */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .field select {
    padding-right: 34px;
    background-position: right 10px center;
  }

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

  .hub-node {
    font-size: 0.72rem;
    padding: 7px 9px;
  }

  .hub-node small {
    display: none;
  }
}

/* ---------- Legal: footer links, form note, cookie banner, legal pages ---------- */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-legal a,
.footer-legal .link-button {
  color: var(--ink-3);
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--indigo);
  text-decoration: underline;
  cursor: pointer;
}

.demo-privacy {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: center;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  width: min(460px, calc(100% - 32px));
  padding: 20px 22px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.cookie-banner[hidden],
.cookie-banner [hidden] {
  display: none;
}

.cookie-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.cookie-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.cookie-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
}

.cookie-option input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--indigo);
}

.cookie-option small {
  display: block;
  color: var(--ink-3);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.cookie-actions .btn {
  padding: 9px 20px;
  font-size: 0.9rem;
  box-shadow: none;
}

.cookie-actions .link-button {
  font-size: 0.88rem;
}

.legal-page {
  max-width: 780px;
}

.legal-page h1 {
  margin-bottom: 6px;
}

.legal-updated {
  margin: 0 0 28px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.legal-page h2 {
  margin: 32px 0 10px;
  font-size: 1.25rem;
}

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

.legal-page ul {
  padding-left: 20px;
}

.legal-page .info-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  margin: 0;
}

.legal-page .info-list dt {
  font-weight: 700;
  color: var(--ink);
}

.legal-page .info-list dd {
  margin: 0;
  color: var(--ink-2);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-page th,
.legal-page td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-page .table-scroll {
  overflow-x: auto;
  margin-bottom: 16px;
}

@media (max-width: 680px) {
  .legal-page .info-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .legal-page .info-list dd {
    margin-bottom: 8px;
  }
  .cookie-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

/* ---------- Header: Tour menu (roles, sectors and tour screens one click away) ---------- */

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-drop__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.nav-drop__btn:hover {
  color: var(--indigo);
  background: var(--indigo-50);
}

.nav-drop__btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}

.nav-drop.open .nav-drop__btn svg {
  transform: rotate(180deg);
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: 700px;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px 28px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* keeps the menu open while the pointer moves down from "Tour" */
.nav-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.site-header:not(.nav-collapsed) .nav-drop:not(.nav-drop--closed):hover .nav-menu,
.nav-drop.open .nav-menu {
  display: grid;
}

.nav-menu__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-links .nav-menu a {
  display: block;
  margin: 0 -8px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: normal;
}

.nav-links .nav-menu a:hover {
  background: var(--sky);
  color: var(--indigo);
}

.nav-links .nav-menu .nav-menu__head {
  margin-bottom: 4px;
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu__sub {
  margin: 10px 0 6px;
  color: var(--ink-3);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links .nav-menu__chips a {
  margin: 0;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.nav-links .nav-menu__chips a:hover {
  border-color: var(--indigo);
}

/* burger menu: the Tour menu opens inside the list */
.nav-collapsed .nav-links {
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}

.nav-collapsed .nav-drop {
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.nav-collapsed .nav-links .nav-drop > a {
  flex: 1;
  border-bottom: 0;
}

.nav-collapsed .nav-drop__btn {
  width: 40px;
  height: 40px;
}

.nav-collapsed .nav-drop__btn svg {
  width: 18px;
  height: 18px;
}

.nav-collapsed .nav-menu {
  position: static;
  transform: none;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 0 14px 12px;
  border: 0;
  box-shadow: none;
}

.nav-collapsed .nav-menu::before {
  display: none;
}

/* ---------- Explore: sticky sub-menu over features, tour, roles and sectors ---------- */

.explore-nav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.explore-nav__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.explore-nav__inner::-webkit-scrollbar {
  display: none;
}

.explore-nav a {
  flex: none;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  text-decoration: none;
}

.explore-nav a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.explore-nav a[aria-current='true'] {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

/* section links land just below the header and the sub-menu: the section's own top padding is mostly scrolled past */
.explore section[id],
.page-explore section[id] {
  scroll-margin-top: -16px;
}

.explore #screens {
  scroll-margin-top: 58px;
}

@media (max-width: 680px) {
  .explore-nav__inner {
    justify-content: flex-start;
  }
  .explore-nav a {
    padding: 6px 13px;
    font-size: 0.8rem;
  }
  .explore section[id],
  .page-explore section[id] {
    scroll-margin-top: -4px;
  }
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.to-top[hidden] {
  display: none;
}

.to-top:hover {
  background: var(--indigo-600);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 680px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Explore sections: compact, so each one shows its cards on arrival ---------- */

.explore .section-head {
  margin-bottom: 32px;
}

.explore .section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 0.4em;
}

.explore .section-head p {
  font-size: 1rem;
  margin: 0;
}

/* the overview link lands on the video itself, fully in view */
.explore .tour-videos {
  scroll-margin-top: 66px;
}

/* Features: 4 per row, icon beside the title; main.js shows the first 8 until "Show all" */
.explore .feature-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.explore .feature-grid .card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 12px;
  padding: 20px;
}

.explore .feature-grid .icon {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
}

.explore .feature-grid .icon svg {
  width: 20px;
  height: 20px;
}

.explore .feature-grid h3 {
  align-self: center;
  margin: 0;
  font-size: 1rem;
}

.explore .feature-grid p {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Full width under the text, so it doesn't widen the icon column and push the title aside */
.explore .feature-grid .more-link {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 10px;
  font-size: 0.875rem;
}

.feature-grid.is-collapsed > .card:nth-child(n + 9) {
  display: none;
}

.feature-more {
  margin-top: 28px;
  text-align: center;
}

.feature-more .btn[aria-expanded='true'] .feature-more__show,
.feature-more .btn[aria-expanded='false'] .feature-more__hide {
  display: none;
}

/* Roles: icon, role name and "See the role" on one line, the six cards in two rows */
.explore .roles {
  gap: 16px;
}

.explore .role {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-content: start;
  align-items: center;
  column-gap: 12px;
  padding: 20px 22px;
}

.explore .role .role-icon {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
}

.explore .role .role-icon svg {
  width: 20px;
  height: 20px;
}

.explore .role .tag {
  justify-self: start;
  margin: 0;
}

.explore .role h3 {
  grid-column: 1 / -1;
  margin: 12px 0 4px;
  font-size: 1.05rem;
}

.explore .role p {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.explore .role .role-card__more {
  grid-row: 1;
  grid-column: 3;
  padding-top: 0;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Industries: the three examples in one view */
.explore #sectors .role-card__body {
  padding: 14px 18px 16px;
}

.explore #sectors .role-card__body p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.explore #sectors .video-note {
  margin-top: 16px;
}

@media (max-width: 1140px) {
  .explore .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid.is-collapsed > .card:nth-child(n + 7) {
    display: none;
  }
}

@media (max-width: 1020px) {
  .explore .feature-grid,
  .explore .roles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .explore .feature-grid,
  .explore .roles {
    grid-template-columns: 1fr;
  }
  .feature-grid.is-collapsed > .card:nth-child(n + 5) {
    display: none;
  }
}

/* Explore: room for the longer Spanish and French texts */
.explore .section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.explore .section-head .eyebrow {
  margin-bottom: 8px;
}

.explore .section-head p {
  font-size: 0.95rem;
}

/* Features, before "Show all": three lines per card, so the first two rows are in view */
.feature-grid.is-collapsed .card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Explore, smaller laptops: sections land closer to the sub-menu, tighter role cards and industry covers */
.explore section[id] {
  scroll-margin-top: -28px;
}

.explore .role {
  padding: 16px 20px;
}

.explore .role h3 {
  margin-top: 10px;
}

.explore #sectors .role-card__cover {
  aspect-ratio: 2 / 1;
}

@media (max-width: 680px) {
  .explore section[id] {
    scroll-margin-top: -8px;
  }
}

.explore .roles {
  gap: 14px;
}

.explore .role p {
  line-height: 1.45;
}

/* "New" marker on a recently launched feature (hero link, Tour menu, tour tab, feature card) */
.new-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #c2410c; /* darker than --coral so the white text stays readable */
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  vertical-align: middle;
}
.new-announce {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  border: 1px solid #dbe4ff;
  background: #fff;
  color: var(--indigo-600);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(30, 50, 120, 0.08);
}
.new-announce > span:nth-child(2) { min-width: 0; }
.new-announce > span:last-child { flex: 0 0 auto; }
.new-announce:hover { text-decoration: underline; }
/* Header News link: a small dot while the latest article is recent (build/build.js); the word is for screen readers */
.news-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #c2410c;
  box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.25);
  vertical-align: super;
}
.news-dot__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- News: list cards, article page, share buttons (build/news.js) ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.news-card picture {
  display: block;
}
.news-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.news-card .news-meta,
.news-card h2,
.news-card h3,
.news-card p,
.news-card__more {
  margin-left: 22px;
  margin-right: 22px;
}
.news-card .news-meta { margin-top: 18px; }
.news-card h2,
.news-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--navy-900);
}
.news-card__more {
  margin-top: auto;
  padding: 14px 0 22px;
  color: var(--indigo-600);
  font-weight: 600;
  font-size: 0.92rem;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.news-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-all {
  margin: 26px 0 0;
  text-align: center;
}
.news-article {
  max-width: 780px;
}
.news-article h1 {
  margin: 12px 0 14px;
}
.news-lead {
  margin: 0 0 26px;
  font-size: 1.12rem;
  color: var(--ink-2);
}
.news-figure {
  margin: 0 0 30px;
}
.news-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.news-article h2 {
  margin: 32px 0 10px;
  font-size: 1.3rem;
}
.news-article p,
.news-article li {
  color: var(--ink-2);
}
.news-article ul {
  padding-left: 20px;
}
.news-article li + li {
  margin-top: 6px;
}
.news-article p a,
.news-article li a {
  color: var(--indigo-600);
}
.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.news-share__label {
  margin-right: 6px;
  font-weight: 700;
  color: var(--navy-900);
}
.news-share__btn {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-800);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.news-share__btn:hover {
  border-color: var(--indigo);
  color: var(--indigo-600);
}
@media (max-width: 1020px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-share__label { width: 100%; }
}
