/* YAD HR — site styles */
:root {
  --ink: #0b1f36;          /* YAD navy */
  --ink-2: #14335c;        /* YAD navy 2 (buttons) */
  --ink-3: #1a4568;        /* YAD navy 3 */
  --teal: #0d6b55;         /* YAD teal (primary action) */
  --teal-2: #0a5745;
  --teal-soft: #e6f5f1;
  --mint: #a7f3d0;         /* YAD accent on dark */
  --green: #0d6b55;        /* approvals use YAD teal */
  --green-soft: #e6f5f1;
  --red: #c0392b;          /* errors only */
  --amber: #e9a23b;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --on-dark: #e6edf5;
  --on-dark-muted: #a5b4c8;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sect: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: 820px; }
.section { padding: var(--sect) 0; }
.section--tight { padding-top: 48px; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.textlink { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--demo { background: var(--teal); color: var(--white); }
.btn--demo:hover { background: var(--teal-2); }
.btn--primary { background: var(--ink-2); color: var(--white); }
.btn--primary:hover { background: var(--ink); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(11,31,54,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--teal-soft); }
.btn--wa { background: #1fa855; color: var(--white); }
.btn--wa:hover { background: #178c46; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); transition: background-color .25s, box-shadow .25s; }
.is-home .topbar { position: fixed; left: 0; right: 0; background: transparent; }
.is-home .topbar.is-solid, .topbar.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 800 20px/1 var(--display); letter-spacing: -.01em; }
.brand__text small { font-size: 12.5px; opacity: .78; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: rgba(255,255,255,.1); }
.nav .btn--demo { margin-left: 8px; color: var(--white); background: var(--teal); }
.nav .btn--demo:hover { background: var(--teal-2); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 10px; cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__slide, .hero__video { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; background: var(--ink-2) center/cover no-repeat; opacity: 0; transition: opacity 1.8s ease; }
.hero__video { opacity: 1; inset: 0; width: 100%; height: 100%; }
.hero__slide.is-on { opacity: 1; animation: drift 14s ease-out forwards; }
.is-paused .hero__slide.is-on { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(11,31,54,.94) 0%, rgba(11,31,54,.82) 38%, rgba(11,31,54,.35) 70%, rgba(11,31,54,.55) 100%),
  linear-gradient(0deg, rgba(11,31,54,.85) 0%, rgba(11,31,54,0) 35%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 130px; padding-bottom: 80px; width: 100%; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--on-dark); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 999px; font-size: 14.5px; }
.hero h1 { color: var(--white); font-size: clamp(42px, 6.4vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; max-width: 13ch; margin: 22px 0 22px; }
.hero__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero__price { color: var(--on-dark-muted); font-size: 15.5px; }
.hero__price strong { color: var(--white); }
.hero__price a { color: var(--white); }

/* The live HR activity card */
.feed { background: rgba(255,255,255,.96); color: var(--text); border-radius: var(--r-lg); padding: 18px 18px 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); max-width: 420px; justify-self: end; width: 100%; }
.feed__head { display: flex; align-items: center; gap: 10px; font: 650 15px/1 var(--display); color: var(--ink); padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.feed__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,164,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18,164,107,0); } 100% { box-shadow: 0 0 0 0 rgba(18,164,107,0); } }
.feed__pause { margin-left: auto; background: var(--paper); border: 0; border-radius: 999px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.feed__pause:hover { color: var(--ink); }
.feed__list { list-style: none; margin: 0; padding: 0; max-height: 332px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.feed__list li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #eef1f6; }
.feed__list li:last-child { border-bottom: 0; }
.feed__list li.is-new { animation: slidein .6s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); background: var(--teal-soft); } to { opacity: 1; transform: none; background: transparent; } }
.feed__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.feed__list strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.feed__list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.chip { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip--ok { background: var(--green-soft); color: #0b7a4e; }
.chip--blue { background: #e8eef7; color: var(--ink-2); }
.chip--amber { background: #fff3dc; color: #96600a; }

/* ---------- Partner logos ---------- */
.logos { background: var(--paper); border-bottom: 1px solid var(--line); }
.logos__in { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.logos p { margin: 0; color: var(--muted); font-weight: 500; max-width: 30ch; line-height: 1.4; }
.logos ul { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); align-items: center; margin: 0; padding: 0; flex: 1; justify-content: space-around; }
.logos img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Photos ---------- */
.photo { background: var(--ink-2) center/cover no-repeat; border-radius: var(--r-lg); min-height: 320px; }
.photo--tall { min-height: 560px; }

/* ---------- Special capabilities ---------- */
.special__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.special__photo { margin: 0; position: sticky; top: 100px; }
.special__photo .photo { min-height: 600px; }
.special__photo figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.special__list { list-style: none; margin: 36px 0 0; padding: 0; }
.special__list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.special__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.special__ic .ic { width: 24px; height: 24px; }
.special__list h3, .modgroup__list h3 { font-size: 21px; margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.special__list p, .modgroup__list p { color: var(--muted); margin: 0; }
.tag { font: 600 12.5px/1 var(--body); color: var(--teal); background: var(--teal-soft); padding: 5px 9px; border-radius: 999px; letter-spacing: 0; }

/* ---------- Journey ---------- */
.journey { background: var(--ink); color: var(--on-dark); }
.journey .h2 { color: var(--white); }
.journey .lead { color: var(--on-dark-muted); }
.journey .textlink { color: var(--mint); }
.journey__track { overflow-x: auto; padding: 40px 0 40px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.journey__list { list-style: none; margin: 0; display: flex; gap: 0; padding: 0 var(--gutter); width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.journey__list li { width: 230px; padding: 0 22px 0 0; position: relative; }
.journey__list li::before { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: linear-gradient(90deg, var(--ink-3), var(--ink-3)); }
.journey__list li:last-child::before { display: none; }
.journey__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--mint); color: var(--white); font: 800 17px/1 var(--display); margin-bottom: 18px; position: relative; }
.journey__list h3 { color: var(--white); font-size: 19px; margin-bottom: 6px; }
.journey__list p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }

/* ---------- Wins ---------- */
.wins__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 22px; margin-top: 40px; }
.win { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink-2); }
.win--big { grid-row: span 2; min-height: 580px; }
.win .photo { position: absolute; inset: 0; border-radius: 0; min-height: 0; transition: transform .6s ease; }
.win:hover .photo { transform: scale(1.04); }
.win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,54,.92) 0%, rgba(11,31,54,.2) 60%, rgba(11,31,54,0) 100%); }
.win__text { position: relative; z-index: 1; padding: 28px; max-width: 46ch; }
.win__text h3 { color: var(--white); font-size: 24px; }
.win__text p { color: var(--on-dark); margin: 0; }

/* ---------- Customers ---------- */
.customers { background: var(--paper); }
.customers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.customer { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.customer:last-child { border-right: 0; margin-right: 0; }
.customer img { height: 56px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 22px; }
.customer h3 { font-size: 20px; margin-bottom: 4px; }
.customer__where { font-size: 14px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.customer p:last-child { color: var(--muted); font-size: 15.5px; margin: 0; }
.customers__more { margin: 30px 0 0; color: var(--muted); }

/* ---------- Security (dark) ---------- */
.secure { background: linear-gradient(160deg, var(--ink) 0%, #0f2c4d 100%); color: var(--on-dark); }
.secure .h2 { color: var(--white); }
.secure .lead { color: var(--on-dark-muted); margin-bottom: 28px; }
.secure__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.secure__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.secure__list--wide { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.secure__list li { display: flex; gap: 14px; padding: 24px; background: var(--ink); }
.secure__list .ic { width: 26px; height: 26px; color: var(--mint); margin-top: 2px; }
.secure__list h3 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
.secure__list p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Price teaser ---------- */
.price-teaser__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.price-teaser__box { display: flex; align-items: center; gap: 28px; background: var(--paper); border: 1px solid var(--line); padding: 26px 30px; border-radius: var(--r-lg); flex-wrap: wrap; }
.amount { font: 800 clamp(40px, 5vw, 56px)/1 var(--display); color: var(--ink); margin: 0; letter-spacing: -0.015em; }
.amount span { font: 500 18px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }

/* ---------- Blog cards ---------- */
.latest { background: var(--paper); }
.latest__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.latest__head .h2 { margin: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s; }
.post-card__link:hover { border-color: var(--ink); }
.post-card__link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.post-card__img { aspect-ratio: 16/9; background: var(--ink-2) center/cover no-repeat; }
.post-card__img--plain { display: grid; place-items: center; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.post-card__img--plain img { width: 64px; height: 64px; object-fit: contain; background: var(--white); border-radius: 16px; padding: 6px; opacity: .95; }
.post-card__body { padding: 22px 22px 26px; }
.post-card__meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.post-card h3 { font-size: 21px; margin-bottom: 8px; }
.post-card__body p:last-child { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--white); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; background: var(--ink); }
.cta-band__photo { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) center 30%/cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,31,54,.95) 0%, rgba(11,31,54,.8) 50%, rgba(11,31,54,.45) 100%); }
.cta-band .h2 { color: var(--white); max-width: 16ch; }
.cta-band p { color: var(--on-dark); max-width: 54ch; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { background: #071627; color: var(--on-dark-muted); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer a { display: block; color: var(--on-dark); text-decoration: none; padding: 5px 0; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__h { color: var(--white); font: 650 16px/1 var(--display); margin-bottom: 14px; }
.brand--light { color: var(--white); padding: 0 !important; }
.gds-mark { display: flex !important; gap: 12px; align-items: center; margin-top: 26px; max-width: 34ch; font-size: 14.5px; line-height: 1.45; color: var(--on-dark-muted) !important; }
.gds-mark img { width: 44px; height: 44px; object-fit: contain; background: var(--white); border-radius: 10px; padding: 3px; }
.gds-mark strong { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 22px; padding-bottom: 26px; font-size: 14px; }
.footer__base a { display: inline; padding: 0; color: var(--on-dark-muted); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { background: #178c46; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--paper); padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; isolation: isolate; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.03em; max-width: 16ch; }
.page-hero--photo { background: var(--ink); color: var(--white); border: 0; padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero--photo h1 { color: var(--white); }
.page-hero--photo .lead { color: var(--on-dark); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) center/cover no-repeat; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,31,54,.95) 10%, rgba(11,31,54,.6) 100%); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.35); padding: 8px 16px; border-radius: 999px; font-weight: 500; }
.jump a:hover { background: var(--white); color: var(--ink); }

/* ---------- Features page ---------- */
.modgroup { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); }
.modgroup:first-child { border-top: 0; padding-top: 0; }
.modgroup__h { font-size: 28px; font-weight: 800; position: sticky; top: 100px; align-self: start; }
.modgroup__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.modgroup__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.split { background: var(--paper); }
.split__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why { margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.why dt { font: 650 18px/1.3 var(--display); color: var(--ink); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 4px; }
.why dt .ic { color: var(--green); margin-top: 2px; }
.why dd { margin: 0 0 0 28px; color: var(--muted); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing { padding-top: 56px; }
.pricing__grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; align-items: stretch; }
.plan { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -40px rgba(11,31,54,.45); }
.plan__top { background: var(--ink); color: var(--white); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.plan__top h2 { color: var(--white); font-size: 24px; }
.plan__amount { font: 800 clamp(46px, 5vw, 62px)/1 var(--display); letter-spacing: -0.015em; margin: 6px 0 0; }
.plan__amount span { font: 500 18px var(--body); color: var(--on-dark-muted); letter-spacing: 0; margin-left: 4px; }
.plan__note { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 14px; }
.plan__top .btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.plan__top .btn--outline:hover { border-color: var(--white); }
.plan__list { padding: 32px; }
.plan__list h3 { font-size: 18px; margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; }
.ticks .ic { color: var(--green); width: 20px; height: 20px; margin-top: 1px; }
.plan-side { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.plan-side__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.plan-side__card h2 { font-size: 24px; }
.plan-side__card p { color: var(--muted); }
.plan-side__photo { border-radius: var(--r-lg); background: var(--ink-2) center/cover no-repeat; min-height: 260px; }
.faq { background: var(--paper); }
.faq__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq__list details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; font: 650 19px/1.35 var(--display); color: var(--ink); padding: 18px 40px 18px 0; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 28px/1 var(--body); color: var(--teal); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { color: var(--muted); padding-bottom: 14px; max-width: 62ch; }

/* ---------- Demo page & forms ---------- */
.demo { position: relative; isolation: isolate; background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; }
.demo__photo { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) center/cover no-repeat; }
.demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,31,54,.96) 30%, rgba(11,31,54,.7) 100%); }
.demo__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.demo h1 { color: var(--white); font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.demo .lead { color: var(--on-dark); }
.demo__points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.demo__points li { display: flex; gap: 12px; align-items: center; color: var(--on-dark); }
.demo__points .ic { color: var(--mint); }
.demo__contact { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.demo__contact a { color: var(--white); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.demo__contact a:hover { text-decoration: underline; }
.formcard { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 38px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea { display: block; margin-top: 6px; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--white); border: 1.5px solid #c9d3e1; border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,107,85,.18); }
.has-err input { border-color: var(--red); }
.err { display: block; margin-top: 6px; color: var(--red); font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #c9d3e1; font-weight: 500; font-size: 14.5px; cursor: pointer; user-select: none; transition: background-color .15s, border-color .15s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.formnote { color: var(--muted); font-size: 14px; margin: 14px 0 0; text-align: center; }
.alert { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.alert--err { background: #fdecea; color: #9b2017; }
.done { text-align: center; padding: 20px 0; }
.done__ic { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 18px; }
.done__ic .ic { width: 34px; height: 34px; }
.done h2 { font-size: 28px; }
.done p { color: var(--muted); }
.done .btn { margin: 10px 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 18px; }

/* ---------- Blog list ---------- */
.page-hero--blog { padding-bottom: 32px; }
.blog-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid #c9d3e1; border-radius: 999px; padding: 0 18px; min-width: min(360px, 100%); }
.search:focus-within { border-color: var(--teal); }
.search .ic { color: var(--muted); }
.search input { border: 0; outline: 0; font: 400 16px var(--body); padding: 14px 0; width: 100%; background: transparent; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tags a { text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.tags a:hover { border-color: var(--ink); }
.tags a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; background: var(--ink); margin-bottom: 36px; }
.featured__img { min-height: 380px; background: var(--ink-2) center/cover no-repeat; }
.featured__body { padding: clamp(28px, 4vw, 48px); color: var(--on-dark); display: flex; flex-direction: column; justify-content: center; }
.featured__body h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); }
.featured__body .post-card__meta { color: var(--on-dark-muted); }
.featured__body .textlink { color: var(--mint); margin-top: 8px; }
.featured:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.empty { text-align: center; padding: 60px 20px; }
.empty p { color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: var(--white); }

/* ---------- Article ---------- */
.preview-bar { background: var(--amber); color: var(--ink); text-align: center; padding: 10px 16px; font-weight: 600; }
.preview-bar a { color: var(--ink); }
.article__head { background: var(--paper); padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 5vw, 56px); position: relative; isolation: isolate; overflow: hidden; }
.article__head.has-cover { color: var(--white); padding-top: clamp(90px, 12vw, 160px); background: var(--ink); }
.article__cover { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) center/cover no-repeat; }
.article__head.has-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,31,54,.95) 10%, rgba(11,31,54,.55) 100%); }
.article__head h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.025em; }
.has-cover h1 { color: var(--white); }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.has-cover .crumbs, .has-cover .article__meta { color: var(--on-dark-muted); }
.article__dek { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 60ch; }
.has-cover .article__dek { color: var(--on-dark); }
.article__meta { color: var(--muted); font-size: 15px; margin: 0; }
.article__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; padding-top: 52px; padding-bottom: var(--sect); justify-content: center; }
.article__side { position: sticky; top: 100px; align-self: start; font-size: 15px; }
.article__side h2 { font: 650 14px/1 var(--body); color: var(--muted); margin-bottom: 12px; letter-spacing: 0; }
.toc ol { list-style: none; padding: 0; margin: 0 0 32px; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--text); text-decoration: none; line-height: 1.35; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--teal); border-left-color: var(--teal); }
.toc .toc--h3 a { padding-left: 28px; font-size: 14px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share h2 { width: 100%; }
.share a, .share button { font: 500 14px var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.prose { font-size: 18.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.5em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--teal); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal); font-size: 1.08em; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.6em 0; height: auto; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose pre { background: var(--paper); padding: 16px; border-radius: var(--r-sm); overflow-x: auto; font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em !important; }
.article__tags a { font-size: 14px; text-decoration: none; background: var(--teal-soft); color: var(--teal-2); padding: 6px 12px; border-radius: 999px; }
.inline-cta { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: 26px; margin-top: 2.4em; }
.inline-cta img { background: var(--white); border-radius: 12px; padding: 4px; }
.inline-cta h2 { color: var(--white); font-size: 22px; margin: 0 0 4px; }
.inline-cta p { margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100svh - 76px); display: grid; place-items: center; padding: 48px 16px; position: relative; isolation: isolate; background: var(--ink); }
.is-auth .auth:only-child, body.is-auth > .auth { min-height: 100svh; }
.auth__photo { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) center/cover no-repeat; }
.auth::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,31,54,.82); }
.auth__card { background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); width: 100%; max-width: 440px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.auth__card img { border-radius: 14px; margin-bottom: 18px; object-fit: contain; }
.auth__card h1 { font-size: 32px; }
.auth__card > p { color: var(--muted); }
.notfound { text-align: left; }

/* ---------- Multi-branch operations ---------- */
.ops { background: var(--paper); }
.ops__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.ops__photo { min-height: 300px; margin-top: 28px; }
.ops__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.ops__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.ops__list h3 { font-size: 19px; margin-bottom: 4px; }
.ops__list p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Appraisals ---------- */
.appraisal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.appraisal__item { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.appraisal__item:nth-child(3n+2), .appraisal__item:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--line); }
.appraisal__item h3 { font-size: 19px; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.appraisal__item h3 .ic { color: var(--teal); margin-top: 2px; }
.appraisal__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Audiences ---------- */
.audiences { background: var(--paper); }
.audiences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.aud { border-radius: var(--r-lg); padding: 30px; background: var(--white); border: 1px solid var(--line); }
.aud--0 { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.aud--0 h3 { color: var(--white); }
.aud--0 .aud__sub { color: var(--on-dark-muted); }
.aud--0 .ticks .ic { color: var(--mint); }
.aud--1 { background: var(--teal-soft); border-color: #cde9e0; }
.aud h3 { font-size: 22px; margin-bottom: 6px; }
.aud__sub { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .ops__grid { grid-template-columns: 1fr; }
  .appraisal__grid, .audiences__grid { grid-template-columns: 1fr 1fr; }
  .appraisal__item, .appraisal__item:nth-child(3n+2), .appraisal__item:nth-child(3n) { padding: 22px 20px 22px 0; border-left: 0; }
  .appraisal__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ops__list, .appraisal__grid, .audiences__grid { grid-template-columns: 1fr; }
  .appraisal__item:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Newsletter ---------- */
.nl { background: var(--teal-soft); border-top: 1px solid #cde9e0; }
.nl__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.nl h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 6px; }
.nl p { color: var(--muted); margin: 0; max-width: 52ch; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input { flex: 1 1 200px; min-height: 52px; border: 1.5px solid #bcd9cf; border-radius: 999px; padding: 0 20px; font: 400 16px var(--body); background: var(--white); color: var(--text); }
.nl-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,107,85,.18); }
.nl-form .btn { min-height: 52px; }
.nl-form--page { margin-top: 26px; max-width: 640px; }
.nl-page { text-align: left; }
.nl-page__ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--teal-soft); color: var(--teal); margin-bottom: 18px; }
.nl-page__ic .ic { width: 30px; height: 30px; }
.nl-page__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.nl-page .alert { margin-top: 14px; max-width: 640px; }

/* ---------- Demo slot picker ---------- */
.slotpick__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.slotpick__row input[type=date] { width: auto; min-width: 210px; margin-top: 0; }
.slotpick__hint { margin: 0; color: var(--muted); font-weight: 500; font-size: 14.5px; }
.slotpick__times { margin-top: 12px; }
.slotpick__times[hidden] { display: none; }
.pill input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.slotpick.has-err .slotpick__hint { color: var(--red); }
.done__when { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--teal-soft); border-radius: var(--r); padding: 16px 18px; margin: 4px 0 18px; }
.done__when .ic { width: 28px; height: 28px; color: var(--teal); }
.done__when strong { display: block; color: var(--ink); }
.done__when span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .nl__in { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 120px; }
  .feed { justify-self: start; max-width: 520px; }
  .customers__grid { grid-template-columns: 1fr 1fr; }
  .customer:nth-child(2) { border-right: 0; margin-right: 0; }
  .customer { border-bottom: 1px solid var(--line); }
  .pricing__grid { grid-template-columns: 1fr; }
  .plan-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .article__grid { grid-template-columns: minmax(0, 720px); }
  .article__side { position: static; order: 2; }
  .secure__list--wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 20px var(--gutter) 40px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; visibility: hidden; }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open .topbar { background: var(--ink); }
  .nav a { font-size: 20px; padding: 14px 16px; }
  .nav .btn--demo { margin: 16px 0 0; justify-content: center; }
  .special__grid, .secure__grid, .split__grid, .demo__grid, .faq__wrap, .featured { grid-template-columns: 1fr; }
  .special__photo { position: static; }
  .special__photo .photo { min-height: 340px; }
  .photo--tall { min-height: 360px; }
  .wins__grid { grid-template-columns: 1fr; }
  .win--big { grid-row: auto; min-height: 420px; }
  .modgroup { grid-template-columns: 1fr; gap: 20px; }
  .modgroup__h { position: static; }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .featured__img { min-height: 240px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { min-height: auto; }
  .hero__in { padding-top: 108px; padding-bottom: 56px; }
  .hero__ctas .btn { width: 100%; }
  .feed__list { max-height: 270px; }
  .feed__list li { grid-template-columns: 34px 1fr; }
  .feed__list .chip { grid-column: 2; justify-self: start; }
  .logos__in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .logos ul { justify-content: flex-start; gap: 24px; }
  .logos img { height: 38px; }
  .customers__grid, .modgroup__list, .why, .secure__list, .secure__list--wide, .posts, .row2, .plan, .plan-side { grid-template-columns: 1fr; }
  .customer { border-right: 0; margin-right: 0; padding-right: 0; }
  .price-teaser__box { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .inline-cta { grid-template-columns: 1fr; text-align: left; }
  .brand__text small { display: none; }
  .journey__list li { width: 200px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
