/* =============================================================
   Rohmora — world-class SaaS marketing theme
   Warm editorial base, ink type, ember accent, dark product bands.
   ============================================================= */

:root {
  --ink: #14161B;
  --ink-band: #0F1116;
  --paper: #FFFFFF;
  --paper-2: #F3F6FB;
  --line: #E6E9F1;
  --line-2: #D6DBE6;
  --muted: #5C6573;
  --accent: #1A73E8;          /* primary brand blue */
  --accent-2: #5B9DF9;        /* lighter blue for dark backgrounds */
  --blue: #1A73E8;
  --blue-press: #1664cf;
  --red: #EA4335;
  --green: #1E9E57;
  --amber: #EF9D0B;
  --coral: #FF5A2C;
  --on-ink: #F3F5F9;
  --on-ink-muted: #A6AEBD;
  --on-ink-line: rgba(243,245,249,.12);

  --sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(40px, 6vw, 74px);
  --fs-h1: clamp(34px, 5vw, 56px);
  --fs-h2: clamp(27px, 3.6vw, 42px);
  --fs-lede: clamp(17px, 1.5vw, 20px);

  --maxw: 1200px;
  --r: 16px;
  --r-sm: 11px;
  --shadow: 0 1px 2px rgba(16,20,30,.05), 0 18px 50px -24px rgba(16,20,30,.16);
  --shadow-lg: 0 28px 80px -30px rgba(16,22,40,.30);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 800px; }
.mono { font-family: var(--mono); font-weight: 500; }
.ic { width: 22px; height: 22px; }
.ic--sm { width: 17px; height: 17px; }
.ic--xl { width: 40px; height: 40px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .15s, color .15s, border-color .15s; white-space: nowrap;
}
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-press); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--ghost-on-ink { color: var(--on-ink); border-color: var(--on-ink-line); }
.btn--ghost-on-ink:hover { border-color: var(--on-ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent); font-size: 15.5px; }
.link-arrow .ic { transition: transform .15s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--on-ink { color: var(--accent-2); }

/* ---------- bands / sections ---------- */
.band { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink-band); color: var(--on-ink); }
.band--ink h2, .band--ink h3 { color: var(--on-ink); }
.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow--on-ink { color: var(--accent-2); }

.section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head h2 { font-size: var(--fs-h2); }
.section__lede { margin-top: 18px; font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; }
.section__lede--on-ink { color: var(--on-ink-muted); }
.section__cta { text-align: center; margin-top: 44px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: 0.04em; font-size: 17px; }
.brand__mark { display: inline-flex; width: 26px; height: 26px; color: var(--accent); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word { color: var(--ink); }
.nav { margin-left: 30px; } /* sits just right of the logo (Zoho/HubSpot pattern) */
.nav__menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav__menu a:hover, .nav__menu .current-menu-item > a { color: var(--ink); }
.site-header__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; } /* far right */
.navtoggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); padding: 0; align-items: center; justify-content: center; }
.navtoggle .ic { width: 24px; height: 24px; }
.navtoggle__close { display: none; }
.navtoggle[aria-expanded="true"] .navtoggle__open { display: none; }
.navtoggle[aria-expanded="true"] .navtoggle__close { display: block; }
/* Header demo button: full text on desktop, calendar icon only on mobile. */
.site-header__demo-ic { display: none; }
.mobile-nav { border-top: 1px solid var(--line); padding: 18px 28px 28px; background: var(--paper); }
.mobile-nav .nav__menu { flex-direction: column; gap: 4px; }
.mobile-nav .nav__menu a { display: block; padding: 12px 0; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav__cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(120% 80% at 80% -10%, #eef4fe 0%, var(--paper) 55%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__title { font-size: var(--fs-display); letter-spacing: -0.03em; }
.hero__lede { margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 36ch; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 44ch; padding-top: 22px; border-top: 1px solid var(--line); }

/* platform panel mock */
.hero__panel { display: flex; justify-content: flex-end; }
.panel { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 22px; }
.panel__head { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11.5px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.panel__head .mono { letter-spacing: .12em; text-transform: uppercase; }
.panel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(26,115,232,.16); }
.panel__row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.panel__label { color: var(--muted); font-size: 14px; }
.panel__val { font-weight: 700; font-size: 17px; }
.panel__val--up { color: #3f7d54; } .panel__val--down { color: var(--accent); }
.panel__card { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.panel__card-top { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.panel__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.panel__chips span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.panel__chips--dark span { background: rgba(242,237,225,.06); border-color: var(--on-ink-line); color: var(--on-ink); }
.panel__foot { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.panel--dark { background: #171a22; border-color: var(--on-ink-line); color: var(--on-ink); }
.panel--dark .panel__head { color: var(--on-ink-muted); border-color: var(--on-ink-line); }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card--bare { background: transparent; border-color: transparent; padding: 8px; }
.card--bare:hover { transform: none; box-shadow: none; }
.card__icon, .module__icon, .featurerow__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); color: var(--accent); margin-bottom: 18px; }
.card h3, .module h3 { font-size: 19px; margin-bottom: 9px; }
.card p, .module p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.modules { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.module { background: var(--paper-2); padding: 30px; transition: background .2s; }
.module:hover { background: #fff; }
.module__icon { background: #fff; }

/* ---------- AI band ---------- */
.ai__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.ai__copy h2 { font-size: var(--fs-h2); }
.ai__copy p { margin-top: 18px; color: var(--on-ink-muted); font-size: var(--fs-lede); line-height: 1.55; }
.ai__copy .link-arrow { margin-top: 24px; }
.ticklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--on-ink); }
.ticklist li .ic { color: var(--accent-2); flex: 0 0 auto; margin-top: 2px; }
.band:not(.band--ink) .ticklist li { color: var(--ink); }
.band:not(.band--ink) .ticklist li .ic { color: var(--accent); }
.aibubble { background: rgba(242,237,225,.05); border: 1px solid var(--on-ink-line); border-radius: 14px 14px 14px 4px; padding: 16px 18px; font-size: 15px; line-height: 1.55; color: var(--on-ink); margin: 4px 0 16px; }
.aibar { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--on-ink-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.aibar__track { flex: 1; height: 4px; background: rgba(242,237,225,.1); border-radius: 4px; overflow: hidden; }
.aibar__fill { display: block; height: 100%; width: 60%; background: var(--accent-2); border-radius: 4px; animation: aiload 2.6s var(--ease) infinite; }
@keyframes aiload { 0% { width: 12%; } 60% { width: 86%; } 100% { width: 12%; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--ink); }
.step__num { font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- metrics ---------- */
.results .section__head { margin-bottom: clamp(32px, 4vw, 52px); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--on-ink-line); border: 1px solid var(--on-ink-line); border-radius: var(--r); overflow: hidden; }
.metric { background: #171a22; padding: 40px 32px; text-align: center; }
.metric__num { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; color: var(--on-ink); }
.metric__label { display: block; margin-top: 10px; color: var(--on-ink-muted); font-size: 14px; }

/* ---------- feature rows (platform page) ---------- */
.featurerow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.featurerow:last-child { border-bottom: 0; }
.featurerow--flip .featurerow__copy { order: 2; }
.featurerow__copy h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.featurerow__copy > p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.featurerow__visual { display: flex; justify-content: center; }
.mock { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--paper-2)); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.mock__icon { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow); }
.mock .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- page hero ---------- */
.pagehero { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(120% 90% at 85% -20%, #eef4fe, var(--paper) 60%); }
.pagehero--tight { padding-bottom: clamp(32px, 4vw, 48px); }
.pagehero .wrap { max-width: 880px; }
.pagehero__title { font-size: var(--fs-h1); margin-top: 4px; }
.pagehero__lede { margin-top: 20px; font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.pagehero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- guides + faq ---------- */
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.guide__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.guide h3 { font-size: 19px; }
.guide p { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.guide__soon { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
a.guide { color: inherit; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
a.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
a.guide .link-arrow { margin-top: 4px; }
.duo__visual { display: flex; }
.duo__visual .ui { width: 100%; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; background: var(--accent); transition: transform .2s; }
.faq__plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq__plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__item[open] .faq__plus::after { transform: scaleY(0); }
.faq__a { padding: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }

/* ---------- contact + demo form ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__aside h2 { font-size: clamp(24px, 2.6vw, 32px); }
.contact__aside p { margin-top: 14px; color: var(--muted); }
.contact__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 4px; font-size: 15px; line-height: 1.5; }
.contact__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact__list a { color: var(--ink); font-weight: 500; }
.contact__list a:hover { color: var(--accent); }

.demo { display: grid; gap: 0; }
.demo__intro h2 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 12px; }
.demo__intro > p { color: var(--muted); }
.demo__points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.demo__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.demo__points .ic { color: var(--accent); }
.demo__formwrap { margin-top: 28px; }
.contact__form .demo__intro { display: none; } /* aside already sets context on contact page */

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #a79e8c; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,115,232,.16); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__assure { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.form__assure .ic { color: var(--muted); }
.formnote { padding: 13px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 16px; }
.formnote--ok { background: #eaf3ec; color: #2e6b43; border: 1px solid #cfe6d6; }
.formnote--err { background: #f7e9e3; color: #9c4423; border: 1px solid #efcbbb; }

/* ---------- cta band ---------- */
.cta-band { padding: clamp(64px, 8vw, 104px) 0; background: linear-gradient(125deg, #10131a 0%, #14233c 100%); }
.cta-band__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta-band p { margin-top: 16px; color: var(--on-ink-muted); font-size: var(--fs-lede); max-width: 46ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band__actions .btn { width: 100%; }

/* ---------- prose (privacy/terms) ---------- */
.prose h2 { font-size: 26px; margin: 32px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose p, .prose li { color: var(--ink); line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-band); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 36px; }
.site-footer__top { display: grid; grid-template-columns: 1.15fr 2fr; gap: clamp(36px, 5vw, 72px); padding-bottom: 44px; border-bottom: 1px solid var(--on-ink-line); }
.brand--footer .brand__word { color: var(--on-ink); font-size: 19px; letter-spacing: .14em; font-weight: 700; }
.site-footer__blurb { margin-top: 18px; max-width: 42ch; font-size: 14.5px; line-height: 1.6; }
.site-footer__contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; font-size: 13.5px; }
.site-footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.site-footer__contact .ic { flex: 0 0 auto; margin-top: 2px; color: var(--accent-2); }
.site-footer__contact a:hover { color: var(--on-ink); }
.site-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--on-ink-line); color: var(--on-ink-muted); transition: color .15s, border-color .15s, background .15s; }
.site-footer__social a:hover { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer__col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer__col a { font-size: 14.5px; }
.site-footer__col a:hover { color: var(--on-ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  /* Mobile header: hamburger left, logo centered, demo button right.
     Named areas force all three onto one row regardless of source order. */
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "toggle brand cta"; gap: 8px; align-items: center; }
  .nav { display: none; }
  .navtoggle { display: inline-flex; grid-area: toggle; justify-self: start; margin: 0; }
  .brand { grid-area: brand; justify-self: center; }
  .site-header .brand__word { font-size: 17px; letter-spacing: .1em; }
  .site-header__cta { grid-area: cta; justify-self: end; margin: 0; gap: 0; }
  .site-header__cta .btn--ghost { display: none; }
  .site-header__demo-txt { display: none; }
  .site-header__demo-ic { display: block; width: 21px; height: 21px; }
  .site-header__demo { padding: 0; width: 44px; height: 44px; border-radius: 12px; }
  .hero__inner, .ai__inner, .cta-band__inner, .contact, .site-footer__top { grid-template-columns: 1fr; }
  .hero__panel { justify-content: stretch; }
  .panel { max-width: none; }
  .featurerow, .featurerow--flip { grid-template-columns: 1fr; }
  .featurerow--flip .featurerow__copy { order: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-header__inner { height: 62px; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aibar__fill { animation: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   Fake product screenshots (app-frame UI, drawn in CSS)
   ============================================================= */
.ui { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12.5px; line-height: 1.4; color: var(--ink); width: 100%; }
.ui__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ui__dots { display: inline-flex; gap: 6px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.ui__title { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ui__body { display: block; }
.ui--app .ui__body { display: flex; min-height: 290px; }
.ui--doc .ui__body { padding: 0; }

.ui__side { flex: 0 0 132px; border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; background: #fafbfd; }
.ui__navitem { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.ui__navitem .ic { width: 15px; height: 15px; }
.ui__navitem.is-on { background: var(--ink); color: var(--paper); }
.ui__main { flex: 1; padding: 16px; min-width: 0; }
.ui__main--pad { padding: 18px; }
.ui__toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ui__search { flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: #a79e8c; background: var(--paper); }
.ui__h { font-weight: 600; font-size: 13px; flex: 1; }
.ui__btn { padding: 8px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; white-space: nowrap; }
.ui__btn--full { display: block; text-align: center; margin-top: 12px; }

.uitable { display: grid; gap: 0; }
.uitable__row { display: grid; grid-template-columns: 2fr 1.1fr .9fr .6fr 1.1fr; align-items: center; gap: 10px; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.uitable__row--head { color: var(--muted); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.uitable__c--name { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.swatch { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.pill--ok { background: #e7f1ea; color: #2f6b46; }
.pill--warn { background: #fbecdf; color: #a85c20; }
.pill--mute { background: var(--paper-2); color: var(--muted); }

.uistats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.uistats--3 { margin-bottom: 16px; }
.uistat { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--paper); }
.uistat__n { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.uistat__l { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.uilist { margin-top: 16px; display: grid; gap: 12px; }
.uibar { display: flex; align-items: center; gap: 12px; }
.uibar__k { flex: 0 0 96px; color: var(--muted); }
.uibar__track { flex: 1; height: 7px; background: var(--paper-2); border-radius: 7px; overflow: hidden; }
.uibar__fill { display: block; height: 100%; background: var(--accent); border-radius: 7px; }
.uibar__v { flex: 0 0 auto; color: var(--muted); }

.uikanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.uicol { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.uicol__h { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.uicol__n { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.uideal { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 8px; display: grid; gap: 4px; }
.uideal__co { font-weight: 600; }
.uideal__v { color: var(--accent); font-size: 11.5px; }

.uiq { padding: 20px 22px; }
.uiq__head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.uiq__head .mono { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.uiq__head h4 { font-size: 18px; margin-top: 4px; }
.uiq__rows { padding: 6px 0; }
.uiq__row { display: grid; grid-template-columns: 1fr .4fr .9fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.uiq__row span:nth-child(2), .uiq__row span:nth-child(3) { text-align: right; }
.uiq__tot { display: flex; justify-content: space-between; padding: 10px 0 0; color: var(--muted); }
.uiq__tot--strong { color: var(--ink); font-weight: 700; font-size: 15px; padding-top: 6px; }

.uidesign { display: grid; grid-template-columns: 1.3fr .9fr; min-height: 270px; }
.uidesign__render { position: relative; background: linear-gradient(150deg, #c9b79c, #8a6b4d 70%, #6f5236); }
.uidesign__render::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 20%, rgba(255,255,255,.28), transparent 55%); }
.uidesign__tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(20,18,12,.7); color: #fff; padding: 5px 11px; border-radius: 999px; font-size: 10.5px; letter-spacing: .06em; }
.uidesign__side { padding: 16px; border-left: 1px solid var(--line); }
.uichips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.uichip { padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-size: 11.5px; }

.uiconnect { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.uiconnect .ui__h { display: block; margin-bottom: 8px; }
.uisrc { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; background: var(--paper); font-weight: 500; }
.uisrc__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.uisrc:nth-child(3) .uisrc__dot { background: var(--green); }
.uisrc:nth-child(4) .uisrc__dot { background: var(--amber); }
.uisrc:nth-child(5) .uisrc__dot { background: var(--red); }
.uiconnect__arrow { display: flex; justify-content: center; color: var(--muted); }
.uiconnect__target { border: 1px solid var(--blue); border-radius: 10px; padding: 13px; background: rgba(26,115,232,.05); }
.uitable--ord .uitable__row { grid-template-columns: 1fr 1.6fr 1fr 1.3fr; }
.uichan { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 9px; background: var(--paper); }
.uichan__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.uichan:nth-child(4) .uichan__dot { background: var(--amber); }
.uichan__name { flex: 1; font-weight: 600; }
.ulb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ulb__cell { aspect-ratio: 5 / 4; border-radius: 8px; position: relative; }
.ulb__tag { position: absolute; left: 8px; bottom: 8px; background: rgba(20,18,12,.7); color: #fff; font-size: 10px; padding: 3px 9px; border-radius: 999px; }
.uichart { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.uichart__bar { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 5px 5px 0 0; min-height: 8px; }
.uispark { width: 100%; height: 44px; margin-top: 12px; color: var(--accent); }

/* showcase bands */
.shotband__shot { margin: 0 auto; max-width: 920px; }
.shotband__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.shotband__grid .shotband__shot { max-width: none; }
.featurerow__visual .ui { max-width: 520px; }

@media (max-width: 860px) {
  .shotband__grid { grid-template-columns: 1fr; }
  .ui--app .ui__body { min-height: 0; }
  .ui__side { flex-basis: 116px; }
  .uidesign { grid-template-columns: 1fr; }
  .uidesign__render { min-height: 150px; }
}
@media (max-width: 560px) {
  .ui__side { display: none; }
  .uikanban, .uistats { grid-template-columns: 1fr; }
  .uitable__row { grid-template-columns: 2fr 1fr 1fr; }
  .uitable__row span:nth-child(4), .uitable__row span:nth-child(5) { display: none; }
}

/* =============================================================
   Icon-only logo + Google-inspired multi-accent system
   ============================================================= */
/* Text-only wordmark in the header. */
.site-header .brand__mark { display: none; }
.site-header .brand { gap: 0; }
.site-header .brand__word { display: inline; font-size: 19px; font-weight: 700; letter-spacing: .14em; color: var(--ink); }

/* Colourful icon tiles, rotating blue / red / green / amber across each grid. */
.card__icon, .module__icon, .featurerow__icon { background: rgba(26,115,232,.10); color: var(--blue); }
.grid .card:nth-child(4n+1) .card__icon,
.modules .module:nth-child(4n+1) .module__icon,
.featurerow:nth-child(4n+1) .featurerow__icon { color: var(--blue);  background: rgba(26,115,232,.10); }
.grid .card:nth-child(4n+2) .card__icon,
.modules .module:nth-child(4n+2) .module__icon,
.featurerow:nth-child(4n+2) .featurerow__icon { color: var(--red);   background: rgba(234,67,53,.10); }
.grid .card:nth-child(4n+3) .card__icon,
.modules .module:nth-child(4n+3) .module__icon,
.featurerow:nth-child(4n+3) .featurerow__icon { color: var(--green); background: rgba(30,158,87,.12); }
.grid .card:nth-child(4n) .card__icon,
.modules .module:nth-child(4n) .module__icon,
.featurerow:nth-child(4n) .featurerow__icon { color: var(--amber); background: rgba(239,157,11,.14); }

/* Result metrics pick up the accent set on the dark band. */
.metric:nth-child(1) .metric__num { color: #6aa9fb; }
.metric:nth-child(2) .metric__num { color: #57ca8b; }
.metric:nth-child(3) .metric__num { color: #f2b441; }

/* Guide category tags rotate through the palette too. */
.grid .guide:nth-child(4n+1) .guide__cat { color: var(--blue); }
.grid .guide:nth-child(4n+2) .guide__cat { color: var(--red); }
.grid .guide:nth-child(4n+3) .guide__cat { color: var(--green); }
.grid .guide:nth-child(4n) .guide__cat { color: var(--amber); }

/* 2x2 screenshot gallery — stays two columns on mobile per spec */
.tourgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.tourgrid > div { display: flex; }
.tourgrid .ui { width: 100%; font-size: 11.5px; }
.tourgrid .ui--app .ui__body { min-height: 230px; }
@media (max-width: 860px) {
  .tourgrid { gap: 14px; }
  .tourgrid .ui--app .ui__body { min-height: 0; }
}
@media (max-width: 560px) {
  .tourgrid { gap: 10px; }
  .tourgrid .ui { font-size: 8.6px; border-radius: 9px; }
  .tourgrid .ui__bar { padding: 6px 9px; }
  .tourgrid .ui__main, .tourgrid .uiq, .tourgrid .uidesign__side { padding: 9px; }
  .tourgrid .ui__dots i { width: 6px; height: 6px; }
  .tourgrid .uistat { padding: 9px; }
  .tourgrid .uistat__n { font-size: 16px; }
  .tourgrid .swatch { width: 16px; height: 16px; }
  .tourgrid .uidesign { grid-template-columns: 1fr; }
  .tourgrid .uidesign__render { min-height: 96px; }
}

/* =============================================================
   Section layering + colourful bands
   ============================================================= */
.band--tint { background: linear-gradient(180deg, #eef4fe 0%, #f6f9ff 100%); }
.band--tint .section__head h2 { color: var(--ink); }

.band--brand { background: linear-gradient(125deg, #1a73e8 0%, #1559b6 100%); color: #fff; }
.band--brand h2, .band--brand h3 { color: #fff; }
.band--brand p, .band--brand .section__lede { color: rgba(255,255,255,.9); }
.band--brand .eyebrow, .band--brand .eyebrow--on-ink { color: rgba(255,255,255,.85); }
.band--brand .btn--solid { background: #fff; color: var(--blue); }
.band--brand .btn--solid:hover { background: #eef3ff; }
.band--brand .btn--ghost-on-ink { color: #fff; border-color: rgba(255,255,255,.5); }
.band--brand .btn--ghost-on-ink:hover { border-color: #fff; background: rgba(255,255,255,.10); }

/* Colour-coded "how it fits" steps. */
.steps .step:nth-child(4n+1) { border-top-color: var(--blue); }
.steps .step:nth-child(4n+2) { border-top-color: var(--red); }
.steps .step:nth-child(4n+3) { border-top-color: var(--green); }
.steps .step:nth-child(4n)   { border-top-color: var(--amber); }
.steps .step:nth-child(4n+1) .step__num { color: var(--blue); }
.steps .step:nth-child(4n+2) .step__num { color: var(--red); }
.steps .step:nth-child(4n+3) .step__num { color: var(--green); }
.steps .step:nth-child(4n)   .step__num { color: var(--amber); }

/* A touch of colour on the in-app pills + chips. */
.panel__card-top { color: var(--green); }
.uichip { border-color: rgba(26,115,232,.3); color: var(--ink); }

@media (max-width: 420px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* =============================================================
   Trust strip, Connect duo, Pricing (Zoho/HubSpot learnings)
   ============================================================= */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding: 24px 0; }
.trustbar__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trustbar__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.trustbar__item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.trustbar__item .ic { width: 18px; height: 18px; color: var(--blue); }
.trustbar__item:nth-child(2) .ic { color: var(--red); }
.trustbar__item:nth-child(3) .ic { color: var(--green); }
.trustbar__item:nth-child(4) .ic { color: var(--amber); }

.duo { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.duo--flip .duo__copy { order: 2; }
.duo__copy h2 { font-size: var(--fs-h2); }
.duo__copy > p { margin-top: 18px; color: var(--muted); font-size: var(--fs-lede); line-height: 1.55; }
.duo__copy .link-arrow { margin-top: 22px; }

.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--blue); box-shadow: 0 18px 50px -28px rgba(26,115,232,.5); position: relative; }
.plan__badge { position: absolute; top: -12px; left: 28px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan__name { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.plan__price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; color: var(--ink); }
.plan__for { color: var(--muted); font-size: 14px; margin: 6px 0 4px; min-height: 40px; }
.plan__features { list-style: none; margin: 18px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.plan__features .ic { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pricing__note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .duo, .duo--flip { grid-template-columns: 1fr; }
  .duo--flip .duo__copy { order: 0; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band__actions .btn { width: auto; flex: 1; min-width: 180px; }
}
