/* ==========================================================================
   CHROME — top bar, navigation, mobile drawer, hero, footer, mobile CTA
   ========================================================================== */

/* --- ANNOUNCE BAR ------------------------------------------------------- */
.announce {
  background: var(--ink);
  color: var(--on-ink);
  font-size: .8125rem;
  position: relative;
  z-index: 60;
}
.announce__in {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 38px; padding: 6px var(--gutter); text-align: center;
}
.announce b { color: #fff; font-weight: 600; }
.announce .mono { color: var(--green-300); }
.announce a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-300); font-weight: 600; border-bottom: 1px solid rgba(91,211,166,.35);
  transition: border-color .2s var(--ease);
}
.announce a:hover { border-color: var(--green-300); }
.announce__sep { color: rgba(255,255,255,.22); }

/* --- HEADER ------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,23,42,.02), 0 6px 24px -18px rgba(15,23,42,.5);
  background: rgba(255,255,255,.92);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}

/* Brand lockup ---------------------------------------------------------
   The supplied logo is a STACKED lockup (cloud mark above the wordmark). In a
   56px nav bar that forces the wordmark to ~6px tall — illegible, and it also
   imports a third typeface. So the mark is used on its own and the wordmark is
   set live in the display face: crisp at any size, correct in both light and
   dark contexts, and one less raster request. */
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  text-decoration: none; border-radius: 10px;
}
.brand__mark { width: 30px; height: 30px; flex: none; display: block; }
.brand__txt {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 700; letter-spacing: -.028em;
  color: var(--text); line-height: 1; white-space: nowrap;
}
/* "Suite" carries the weight, "lane" is the lighter half — the same emphasis
   split the original wordmark uses. */
.brand__txt i { font-style: normal; font-weight: 450; color: var(--text-2); }
.on-ink .brand__txt, .site-foot .brand__txt { color: #fff; }
.on-ink .brand__txt i, .site-foot .brand__txt i { color: rgba(255,255,255,.62); }
/* The mark reads as cloud + rising arrow; lifting it slightly on hover states
   the "movement + growth" idea without a gimmick. */
.brand__mark { transition: transform .34s var(--ease); }
.brand:hover .brand__mark { transform: translate3d(1px, -2px, 0); }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand__mark { transform: none; } }

/* Primary nav */
.nav__links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 12px; border-radius: 8px;
  font-size: .9375rem; font-weight: 500; color: var(--text-2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover, .nav__item.open > .nav__link { color: var(--text); background: var(--bg-3); }
.nav__link .caret { transition: transform .22s var(--ease); color: var(--muted-2); }
.nav__item.open .caret { transform: rotate(180deg); }

/* Dropdown panels */
.nav__panel {
  position: absolute; top: calc(100% + 12px); left: -8px;
  min-width: 560px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985);
  transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .2s;
  transform-origin: top left;
}
.nav__item.open .nav__panel { opacity: 1; visibility: visible; transform: none; }
/* Wide enough for three columns of the Product panel without the descriptions
   wrapping to four lines. Product is the leftmost nav item, so a left-anchored
   panel this wide still has room before the viewport edge. */
.nav__panel--wide { min-width: 780px; }
.nav__panel--sm { min-width: 300px; left: -8px; }
.np-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2px; }
.np-grid--1 { grid-template-columns: minmax(0,1fr); }
/* Three columns for the nine-item Product panel. At two columns nine items make
   a 700px-tall menu that runs off a laptop screen; at three it is 3 rows. */
.np-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.np-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px; border-radius: var(--r-sm);
  transition: background-color .16s var(--ease);
}
.np-item:hover { background: var(--bg-2); }
.np-item__ico {
  width: 32px; height: 32px; flex: none; border-radius: 8px;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.14);
  display: grid; place-items: center; color: var(--green-700);
}
.np-item__ico svg { width: 16px; height: 16px; }
.np-item strong {
  display: block; font-family: var(--font-display); font-size: .9375rem;
  font-weight: 650; color: var(--text); letter-spacing: -.012em; line-height: 1.3;
}
.np-item span { display: block; font-size: .8125rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.np-foot {
  margin-top: 8px; border-top: 1px solid var(--line); padding: 12px 12px 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.np-foot p { font-size: .8125rem; color: var(--muted); }

/* Right actions */
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__login {
  font-size: .9375rem; font-weight: 550; color: var(--text-2);
  padding: 8px 4px; transition: color .18s var(--ease);
}
.nav__login:hover { color: var(--green-700); }

/* Burger */
.burger {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff;
  place-items: center; flex: none;
}
.burger span {
  display: block; width: 17px; height: 1.7px; background: var(--ink);
  border-radius: 2px; position: relative;
  transition: transform .26s var(--ease), opacity .18s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.7px;
  background: var(--ink); border-radius: 2px;
  transition: transform .26s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top:  5.5px; }
body.menu-open .burger span { transform: rotate(45deg); }
body.menu-open .burger span::before { top: 0; transform: rotate(-90deg); }
body.menu-open .burger span::after  { top: 0; opacity: 0; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; top: 0; z-index: 85;
  background: #fff;
  transform: translateY(-100%);
  transition: transform .42s var(--ease-out);
  overflow-y: auto;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 40px;
  display: flex; flex-direction: column;
  visibility: hidden;
}
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open { overflow: hidden; }
/* The drawer sits below the sticky header so the brand and close control stay
   put. That means the header's own trial button would render directly above the
   drawer's — the same CTA twice in one view. Hide the header copy while open;
   the drawer carries both actions at full width. */
body.menu-open .nav__actions .btn { display: none; }
/* The header's translucent blur would otherwise show page content sliding
   underneath the drawer. */
body.menu-open .site-head { background: #fff; box-shadow: none; border-bottom-color: var(--line); }
.dr-group { border-bottom: 1px solid var(--line); }
.dr-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 17px 2px; font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 650; color: var(--text); letter-spacing: -.02em; text-align: left;
}
.dr-toggle .caret { color: var(--muted-2); transition: transform .26s var(--ease); }
.dr-group.open .dr-toggle .caret { transform: rotate(180deg); }
.dr-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.dr-group.open .dr-body { grid-template-rows: 1fr; }
.dr-body > div { overflow: hidden; }
.dr-body ul { padding: 0 0 14px; display: grid; gap: 2px; }
.dr-body a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .9375rem; color: var(--text-2); background: var(--bg-2);
}
.dr-body a strong { font-weight: 600; color: var(--text); }
.dr-flat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 2px; font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 650; color: var(--text); letter-spacing: -.02em;
}
.drawer__cta { margin-top: 26px; display: grid; gap: 10px; }
.drawer__foot {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--muted);
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform .34s var(--ease-out);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; }

/* --- HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(56px, 7vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(14,159,110,.09), transparent 62%),
    radial-gradient(620px 380px at 6% 4%, rgba(15,117,224,.055), transparent 60%),
    var(--bg);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  gap: clamp(28px, 3vw, 44px); align-items: center;
}
.hero__copy { max-width: 545px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  display: block;
  background: linear-gradient(96deg, var(--green-700) 0%, var(--green) 46%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--muted); line-height: 1.6; max-width: 54ch; }
.hero .cta-row { margin-top: 30px; }
.hero__note {
  margin-top: 14px; font-size: .875rem; color: var(--muted-2);
  display: flex; align-items: center; gap: 8px;
}
.hero__trust {
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--sh-xs);
  font-size: .8125rem; font-weight: 550; color: var(--text-2);
}
.hero__badge .tag {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600;
  background: var(--mint); color: var(--green-700);
  padding: 3px 8px; border-radius: 999px;
}

/* Hero visual stage.
   The mockup bleeds toward the viewport edge so the ERP grid gets real
   width — a dense dashboard squeezed into ~600px only reads as truncated.
   Bleed is capped so the right-hand panels never leave the screen. */
.hero__stage {
  position: relative;
  margin-right: calc(-1 * min(9vw, 132px));
}
@media (min-width: 1600px) { .hero__stage { margin-right: -60px; } }

/* --- FOOTER ------------------------------------------------------------- */
.site-foot {
  background: var(--ink);
  color: var(--on-ink-mut);
  padding-top: clamp(56px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.site-foot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 82% -20%, rgba(14,159,110,.16), transparent 65%);
  pointer-events: none;
}
.foot-top {
  position: relative;
  display: grid; grid-template-columns: minmax(240px, 1.05fr) repeat(5, minmax(0,.86fr));
  gap: 40px 28px;
  padding-bottom: 52px;
  align-items: start;
}
.brand--foot { margin-bottom: 20px; gap: 11px; }
.brand--foot .brand__mark { width: 34px; height: 34px; }
.brand--foot .brand__txt { font-size: 1.44rem; }
.foot-brand p { font-size: .9375rem; color: var(--on-ink-mut); max-width: 30ch; line-height: 1.6; }
.foot-cta { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-demo {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .875rem; font-weight: 550; color: #fff;
}
.foot-demo svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.foot-demo:hover svg { transform: translateX(3px); }
.foot-brand .foot-status { margin-top: 24px; }
.foot-col h2 {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-ink-mut); font-weight: 500; margin-bottom: 16px;
  opacity: .75;
}
.foot-col li + li { margin-top: 9px; }
.foot-col a {
  font-size: .875rem; color: #C7D3E3;
  transition: color .16s var(--ease);
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 22px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .8125rem;
}
.foot-bottom p { color: var(--on-ink-mut); }
.foot-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-meta a { color: #C7D3E3; }
.foot-meta a:hover { color: #fff; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-300); }
.foot-sep { width: 1px; height: 12px; background: rgba(255,255,255,.16); }
.foot-built { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mut); opacity: .8; }
@media (max-width: 720px) { .foot-sep { display: none; } }
