/* Shared styles for the site redesign draft. Page-only rules go in a <style> block in the page. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans.ttf") format("truetype"); font-weight: 200 800; }

:root {
  --paper: #F6F4EE;
  --tile: #FFFFFF;
  --line: #E4E1D7;
  --navy: #1A2B5C;
  --navy-2: #243874;
  --ink: #1A2B5C;
  --ink-2: #5A6485;
  --lemon: #FFE34D;
  --cream: #FFF6C4;
  --deep-lemon: #F4C81E;
  --amber-text: #7A5F00; /* lemon family, readable as text: 4.7:1 on lemon, 5.5:1 on paper */
  --r: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; background: rgba(246,244,238,.86); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
nav.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.brand small { font-weight: 500; font-size: 13px; color: var(--ink-2); margin-left: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.25; gap: 8px; font: 700 15px "Plus Jakarta Sans", sans-serif; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.lemon { background: var(--lemon); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.on-navy .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; position: relative; overflow: hidden; }
.tile.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile.lemon { background: var(--lemon); border-color: var(--deep-lemon); }
.tile.cream { background: var(--cream); border-color: #F1E4A0; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; }
.s6 { grid-column: span 6; } .s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.navy .eyebrow { color: var(--lemon); }
h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0 0 20px; text-wrap: balance; }
h2 { font-size: 42px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 0 12px; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.navy .muted { color: rgba(255,255,255,.7); }
.hl { background: linear-gradient(transparent 62%, var(--lemon) 62%); padding: 0 2px; }

section { padding: 56px 0; }
/* Anchor targets land below the sticky 68px nav. */
[id] { scroll-margin-top: 76px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sec-head p { max-width: 30em; }

/* Hero */
.hero { padding-top: 24px; }
.hero .intro { display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.stage { padding: 0; display: flex; flex-direction: column; min-height: 460px; }
.stage canvas { width: 100%; height: 250px; display: block; }
.glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 28%, rgba(255,227,77,.18), transparent 55%); pointer-events: none; }

.stat .big { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.stat p { margin: 0; font-size: 15px; }

/* Feature tiles */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.45; margin: 16px 0 20px; max-width: 30em; }
.navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.card .src { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; background: var(--cream); color: var(--navy); padding: 3px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.navy .chip { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.soon { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }


/* Brand lockup, as on the current site */
.brand .gstar { height: 30px; }
.brand .gword { height: 20px; margin-top: 2px; }
.brand .divider { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.brand .sub { font-weight: 600; font-size: 15px; color: var(--ink-2); }

/* Logos */
/* Icon masks: write --m:url(logos/x.svg). The url resolves against this file, so the path is the same on every page. */
.ic { display: inline-block; width: 18px; height: 18px; flex: none; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.apps { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.apps img, .apps .ic { height: 22px; width: 22px; object-fit: contain; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; margin-top: 18px; }
.logos img { height: 40px; width: auto; max-width: 130px; object-fit: contain; border-radius: 10px; }
.split { display: flex; margin-top: auto; height: 44px; border-radius: 12px; overflow: hidden; font-size: 12px; font-weight: 700; }
.split span { display: flex; align-items: center; padding: 0 12px; background: var(--lemon); color: var(--navy); }
.split span + span { flex: 1; background: var(--navy); color: #fff; }

/* UI shots: product screens that run off the tile's edge.
   Console screens use the Glimmer console's own design (Glints Aries). */
@font-face { font-family: "Noto Sans"; src: url("fonts/noto-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Noto Sans"; src: url("fonts/noto-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Noto Sans"; src: url("fonts/noto-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; }
@font-face { font-family: "Noto Sans"; src: url("fonts/noto-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; }
.feature { display: flex; flex-direction: column; min-height: 0; }
.feature .shot { margin: 24px -33px -33px 0; flex: 1; }
.shot { --a-ink: #2D2D2D; --a-sub: #666666; --a-line: #D4D5D8; --a-canvas: #F8FAFC; --a-hover: #EEF0F3; --a-blue: #0BAEEC; --a-link: #017EB7; --a-sel: #EAF9FF; --a-selb: #6CC9EC; --a-green: #009C75; --a-orange: #F5A623;
  font-family: "Noto Sans", sans-serif; color: var(--a-ink); font-size: 13px; line-height: 1.45; overflow: hidden; border-radius: 16px 0 0 0; box-shadow: 0 24px 48px -24px rgba(26,43,92,.35); background: #fff; }
.navy .shot { box-shadow: 0 24px 48px -16px rgba(0,0,0,.5); }

.shot.con { background: url("gradient-bg.webp") left top / cover; padding: 12px 0 0 12px; display: flex; gap: 12px; }
.con .panel { flex: 1; min-width: 0; border-radius: 20px 0 0 0; background: rgba(255,255,255,.72); box-shadow: 0 0 6px 0 var(--a-line); backdrop-filter: blur(3px); }
.chead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; }
.chead h5 { margin: 0; font: 700 15px "Noto Sans", sans-serif; }
.crumb { display: block; font-size: 11.5px; color: var(--a-sub); }
.cbtn { background: var(--a-blue); color: #fff; font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 6px; white-space: nowrap; }
.cbtn.sm { font-size: 11.5px; padding: 3px 10px; }
.filter { border: 1px solid var(--a-line); border-radius: 6px; padding: 3px 10px; font-size: 12px; background: #fff; }
.atable { width: 100%; border-collapse: collapse; background: #fff; }
.atable th { white-space: nowrap; text-align: left; background: var(--a-canvas); border-bottom: 1px solid var(--a-line); font-weight: 600; font-size: 12px; padding: 8px 16px; }
.atable td { padding: 8px 16px; white-space: nowrap; }
.atable tr:nth-child(3) td { background: var(--a-sel); }
.atable td:last-child, .atable th:last-child { text-align: right; }
/* site.js adds these when a table is wider than its shot. */
.atable.tight th, .atable.tight td { padding: 7px 10px; }
.atable.wrap td:not(:last-child) { white-space: normal; }
.sys { display: inline-flex; align-items: center; gap: 10px; color: var(--a-link); font-weight: 500; }
.sys img, .sys .ic { width: 18px; height: 18px; object-fit: contain; }
.sys .gen { width: 18px; text-align: center; color: var(--a-sub); }
.st { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 7px; margin-left: 4px; }
.st.ok { color: var(--a-green); background: #E6F5F1; }
.st.wait { color: #9A6400; background: #FEF3E0; }

.shot.side { padding-left: 0; }
.side .atable th, .side .atable td { padding: 7px 10px; font-size: 12px; }
.snav { width: 128px; flex: none; margin-left: 12px; border-radius: 20px 20px 0 0; background: rgba(255,255,255,.72); box-shadow: 0 0 6px 0 var(--a-line); padding: 12px 8px; }
.snav small { display: block; font-size: 11px; color: var(--a-sub); margin: 14px 8px 6px; }
.sbrand { display: flex; align-items: center; gap: 6px; padding: 0 6px; }
.sbrand > img { width: 26px; }
.sbrand .wm { height: 11px; display: block; }
.sbrand span { font: 700 11px "Poppins", sans-serif; display: block; margin-top: 1px; }
.si { font-size: 12.5px; font-weight: 500; padding: 7px 12px; border-radius: 50px; border: 1px solid transparent; }
.si.on { background: var(--a-sel); border-color: var(--a-selb); color: var(--a-link); }

.shot.cw { border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.navy .shot.cw { border-color: transparent; }
.cbar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid #ECEBF3; font-size: 13px; }
.cbar img { width: 18px; height: 18px; object-fit: contain; }
.cbar span { color: var(--a-sub); font-size: 12px; margin-left: 4px; }
.teams .cbar { background: #F5F5FB; }
.lark .cbar { background: #F5F6F7; border-color: #EBEDF0; }
.cmsg { display: flex; gap: 10px; padding: 12px 16px 4px; align-items: flex-start; }
.cmsg:last-child { padding-bottom: 16px; }
.cmsg .meta { font-size: 12px; color: var(--a-sub); margin-bottom: 1px; }
.cmsg .meta b { color: var(--a-ink); margin-right: 4px; font-weight: 600; }
.gav { width: 30px; height: 30px; flex: none; }
.pav { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--navy); }
.srcs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.srcchip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #4B4A9A; background: #EEEDFA; padding: 3px 9px 3px 7px; border-radius: 4px; }
.srcchip svg { width: 12px; height: 12px; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(26,43,92,.4); font: 12.5px/1.5 "Noto Sans", sans-serif; padding: 12px 14px; }
.float.doc { width: 260px; right: 20px; bottom: 20px; transform: rotate(2deg); color: #666; }
.float .dt { font-size: 11px; font-weight: 700; color: #2D2D2D; margin-bottom: 4px; }
.float mark { background: var(--lemon); color: #2D2D2D; padding: 0 2px; }
.merged { display: inline-block; background: #E6F5F1; color: #009C75; font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 4px; }

.lcard { border: 1px solid #DEE0E3; border-radius: 8px; overflow: hidden; margin-top: 6px; background: #fff; }
.lhead { background: #FFF3E0; color: #B26A00; font-weight: 600; font-size: 12.5px; padding: 8px 12px; }
.lbody { padding: 10px 12px 12px; }
.lcard dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 8px 0 12px; }
.lcard dt { color: var(--a-sub); } .lcard dd { margin: 0; font-weight: 600; } .lcard .good { color: var(--a-green); }
.btns { display: flex; gap: 8px; }
.btns span { font-weight: 500; font-size: 12.5px; padding: 5px 16px; border-radius: 6px; border: 1px solid #D0D3D6; }
.btns .yes { background: #3370FF; border-color: #3370FF; color: #fff; }

.flow { padding: 0 16px 6px; display: grid; gap: 8px; }
.fstep { display: flex; gap: 10px; align-items: center; border: 1px solid var(--a-line); border-radius: 6px; padding: 8px 12px; background: #fff; }
.fstep .tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; width: 36px; color: var(--a-sub); }
.fstep .ic { width: 15px; height: 15px; }
.fstep.when { background: var(--a-sel); border-color: var(--a-selb); } .fstep.when .tag { color: var(--a-link); }
.runs { display: flex; align-items: flex-end; gap: 12px; padding: 10px 16px 16px; font-size: 12px; color: var(--a-sub); }
.runs b { margin-left: auto; color: var(--a-ink); font-weight: 600; }
.spark { display: flex; gap: 3px; height: 24px; align-items: flex-end; }
.spark i { width: 7px; background: var(--a-blue); border-radius: 2px; }
.form { padding: 0 16px 16px; display: grid; gap: 8px; }
.form label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--a-sub); }
.form label span { color: var(--a-ink); background: #fff; border: 1px solid var(--a-line); border-radius: 6px; padding: 3px 10px; min-width: 110px; }
.form .quote { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--a-line); padding-top: 10px; margin-top: 4px; font-weight: 600; }
.form .quote b { font-size: 20px; }
.form .share { text-align: center; background: var(--a-blue); color: #fff; font-weight: 600; border-radius: 6px; padding: 6px; }
.mem { margin: 0 16px 16px 16px; background: #fff; border: 1px solid var(--a-line); border-radius: 6px; padding: 10px 12px; display: grid; gap: 5px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; }
.mem > div:not(.prop)::before { content: "- "; color: var(--a-sub); }
.mem .add { background: #E6F5F1; color: #006B51; border-radius: 4px; padding: 2px 6px; margin: 0 -6px; }
.mem .add::before { content: "+ " !important; }
.mem .prop { display: flex; justify-content: space-between; align-items: center; font-family: "Noto Sans", sans-serif; color: var(--a-sub); font-size: 11.5px; margin-top: 4px; }
.pick { padding: 0 16px 16px; display: grid; gap: 2px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-weight: 500; }
.opt img, .opt .ic { width: 16px; height: 16px; object-fit: contain; }
.opt small { color: var(--a-sub); font-size: 11.5px; }
.opt > span:last-child { margin-left: auto; color: var(--a-link); }
.opt.on { background: var(--a-sel); outline: 1px solid var(--a-selb); }

/* Time saved diagram */
.tsd { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.col { display: flex; flex-direction: column; }
.col .steps { flex: 1; }
.col h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.step small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.step.gone { border-style: dashed; background: #fff; color: var(--ink-2); }
.step.gone::after { content: "AI takes this over"; display: block; font-size: 12px; font-weight: 700; color: var(--amber-text); margin-top: 2px; }
.step.ai { background: var(--lemon); border-color: var(--deep-lemon); color: var(--navy); }
.step.ai small { color: var(--navy); opacity: .75; }
.total { margin-top: 16px; font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.total small { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }

/* Week strip: sits above a .tsd and shows each column's hours inside a Mon to Fri week.
   Each day is 8 hours; --w on the <i> is the share of that day the job takes. */
.wstrip { display: grid; gap: 10px; margin-top: 24px; }
.wrow, .wdays { display: grid; grid-template-columns: 120px 1fr 160px; align-items: center; gap: 14px; }
.wdays { font-size: 12px; color: var(--ink-2); }
.wdays > span:last-child { text-align: right; }
.wdays > div, .wbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.wbar { height: 34px; }
.wbar span { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.wbar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--navy); }
.wrow.after .wbar i { background: var(--deep-lemon); }
.wrow b { font-size: 14px; }
.wrow strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.wstrip + .tsd { margin-top: 32px; }

/* Security */
.lock-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.lock-list li { padding-left: 30px; position: relative; }
.lock-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--lemon); box-shadow: inset 0 0 0 5px var(--navy); }
.lock-list b { display: block; }
.jobs { display: grid; gap: 8px; margin: 20px 0; }
.jobs span { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #F1E4A0; }

/* Proof */
.thread { font-size: 14px; }
.thread .line { display: flex; gap: 10px; margin: 10px 0; align-items: flex-start; }
.thread .t { font-size: 12px; color: var(--ink-2); min-width: 60px; padding-top: 2px; }

/* Steps */
.num { font-size: 13px; font-weight: 800; color: var(--amber-text); margin-bottom: 8px; }
.navy .num { color: var(--lemon); }

/* Close */
.close.glow::before { background: radial-gradient(circle at 78% 50%, rgba(255,227,77,.16), transparent 40%); }
.close { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; min-height: 360px; }
.close canvas { width: 100%; height: 320px; display: block; }

/* Use-case tiles: a scenario and its chat (use-cases.html and the solutions pages).
   The first tile in a group is wide (text left, chat right), the rest sit in pairs. */
.uc.half { grid-column: span 6; }
/* The chat sits on the tile's bottom edge even when the paired tile is taller than the capped chat. */
.uc.half .uct { margin-bottom: 24px; }
.uc.half .shot { margin-top: auto; }
.uc.wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 36px; align-items: start; }
.uc.wide .shot { grid-column: 2; grid-row: 1; margin: 0 -33px -33px 0; align-self: stretch; }
.uc .chips { margin: 0 0 14px; gap: 6px; }
.uc .chip { font-size: 12px; padding: 4px 10px; background: var(--cream); border-color: #F1E4A0; }
.uc .cap { font-size: 15px; margin-top: 14px; }
.uc[hidden], .grp[hidden] { display: none; }
.uc:target { box-shadow: 0 0 0 3px var(--deep-lemon); }

/* Chat contents */
.uc .shot.cw { position: relative; font-size: 13px; }
.uc .cbar b { white-space: nowrap; }
.uc .cbar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbar .illus { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: #8A6D00; background: var(--cream); border-radius: 4px; padding: 2px 8px; }
.cbody { flex: 1; min-width: 0; }
.cbody p { margin: 0 0 6px; }
.cmsg .meta .botb { font-size: 10.5px; font-weight: 600; color: #4B4A9A; background: #EEEDFA; border-radius: 3px; padding: 0 5px; margin-right: 6px; }
.mention { color: #3370FF; font-weight: 600; }
.rd { display: inline-block; width: 4.5em; height: .9em; vertical-align: -1px; border-radius: 2px; background: #2D2D2D; }
.pill.ok { display: inline-block; font-size: 11px; font-weight: 600; color: var(--a-green); background: #E6F5F1; border-radius: 4px; padding: 0 7px; }
.ctw { overflow-x: auto; margin: 6px 0 8px; border: 1px solid var(--a-line); border-radius: 6px; }
.ctab { width: 100%; border-collapse: collapse; font-size: 12px; }
.ctab th { text-align: left; background: var(--a-canvas); font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.ctab td { padding: 6px 10px; border-top: 1px solid #EEF0F3; vertical-align: top; }
.ctab .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.draft { border-left: 3px solid var(--a-blue); background: var(--a-canvas); border-radius: 0 6px 6px 0; padding: 8px 12px; margin: 6px 0 8px; }
.dlabel { font-size: 11px; font-weight: 700; color: var(--a-link); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }

/* Long chats show their top part until the reader opens them. */
.more { display: none; }
.js .uc .shot.cw { max-height: 520px; }
.js .uc.clip .more { display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 16px 16px; background: linear-gradient(rgba(255,255,255,0), #fff 70%); }
.js .uc.open .shot.cw { max-height: none; }
.js .uc.open .more { position: static; padding-top: 4px; background: none; }
.more button { font: 600 12.5px "Noto Sans", sans-serif; color: var(--a-link); background: #fff; border: 1px solid var(--a-line); border-radius: 6px; padding: 5px 12px; cursor: pointer; }

/* FAQ: questions that open in place */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--t-std) var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; max-width: 46em; }
.faq details p a { font-weight: 700; color: var(--ink); text-decoration-color: var(--deep-lemon); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Sitemap footer (partials/footer.html) */
footer.site { padding: 56px 0 48px; font-size: 14px; color: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.fbrand p { max-width: 22em; margin: 16px 0 0; }
.fcta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fcta .btn { font-size: 14px; padding: 10px 16px; }
.fcol h6 { margin: 6px 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fcol a { display: block; padding: 4px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.fcol a:hover { text-decoration: underline; text-decoration-color: var(--deep-lemon); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fbase { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }


/* Mega menu */
nav.top .wrap { position: relative; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.mtrigger { display: inline-flex; align-items: center; gap: 6px; font: 600 15px "Plus Jakarta Sans", sans-serif; color: var(--ink); background: none; border: 0; padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.mtrigger:hover, .mtop.open .mtrigger { background: var(--cream); }
.mtrigger[aria-current] { box-shadow: inset 0 -2px 0 var(--deep-lemon); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.mtop.open .chev { transform: rotate(180deg); }
.mpanel { position: absolute; top: calc(100% + 4px); left: 50%; width: 760px; display: flex; gap: 20px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(26,43,92,.3); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .16s, transform .16s, visibility 0s .16s; }
.mpanel.wide { width: 1040px; }
.mtop.open .mpanel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .16s, transform .16s; }
.mbody { flex: 1; display: flex; flex-direction: column; }
.mcols { display: flex; gap: 20px; }
.mgroup { flex: 1; }
.mgroup.two { flex: 2; }
.mgroup.two .mlist { display: grid; grid-template-columns: 1fr 1fr; }
.mgroup h6 { margin: 4px 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mitem { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.mitem:hover { background: var(--paper); }
.mitem b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mitem small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.mi { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--cream); color: var(--navy); }
.mi svg { width: 18px; height: 18px; }
.mitem:hover .mi { background: var(--lemon); }
.compact .mitem { align-items: center; padding: 7px 10px; }
.compact .mi { width: 30px; height: 30px; border-radius: 8px; }
.compact .mi svg { width: 16px; height: 16px; }
.mi img, .mi .ic { width: 18px; height: 18px; object-fit: contain; }
.mfoot a + a { margin-left: auto; }
.mfoot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px 10px 2px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mfoot img, .mfoot .ic { width: 20px; height: 20px; object-fit: contain; }
.mfoot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.mfoot a svg, .mlink svg, .mbtn svg { width: 15px; height: 15px; }
.mcard { width: 250px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; text-decoration: none; }
.mcard.navy { background: var(--navy); color: #fff; }
.mcard.lemon { background: var(--lemon); color: var(--navy); }
.mcard.light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.mk { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.mcard.navy .mk { color: var(--lemon); opacity: 1; }
.mct { font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.mlink { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }
.mbtn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--lemon); color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; }
.mthread { display: flex; gap: 10px; background: var(--navy-2); border-radius: 12px; padding: 12px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.85); }
.mthread .gav { width: 26px; height: 26px; }
.mthread b { color: #fff; }
.mbig { display: flex; flex-direction: column; margin: 6px 0; }
.mbig s { font-size: 15px; font-weight: 600; opacity: .6; }
.mbig b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.mbadge { width: 44px; height: 44px; }
.burger, .msheet-x { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.burger svg, .msheet-x svg { width: 20px; height: 20px; }
.msheet { position: fixed; inset: 0; z-index: 50; background: rgba(26,43,92,.45); }
.msheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px); background: #fff; display: flex; flex-direction: column; }
.msheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.msheet-x { display: grid; }
.msheet-body { flex: 1; overflow: auto; padding: 8px 10px; }
.msheet-body details { border-bottom: 1px solid var(--line); }
.msheet-body summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 10px; font-weight: 700; font-size: 17px; cursor: pointer; }
.msheet-body summary::-webkit-details-marker { display: none; }
.msheet-body details[open] summary { color: #B8920A; }
.msheet-body details[open] .chev { transform: rotate(180deg); }
.msheet-body .mitem small { display: none; }
.msheet-body .mitem { align-items: center; padding: 8px 10px; }
.msheet-body .mlist { padding-bottom: 10px; border-left: 2px solid var(--lemon); margin-left: 10px; }
.msheet-cta { margin: 14px 18px 18px; justify-content: center; }
.msheet-body h6 { margin: 10px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }


/* Motion system (LottieFiles motion-design skill).
   Personality: Corporate for structure, Playful only where Glimmer acts.
   One signature curve, one exit curve, one playful curve, three durations. */
:root {
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.3, 0, 1, 1);
  --ease-play: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-ambient: cubic-bezier(0.37, 0, 0.63, 1);
  --t-quick: 150ms; --t-std: 280ms; --t-slow: 560ms;
}

/* Entrance pattern: rise 20px and fade, staggered 60ms (under 400ms a row). */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
/* Secondary layer: the product screen lands 100ms after its tile. */
.js .tile[data-reveal] .shot { opacity: 0; transform: translate(12px, 16px); }
.js .tile[data-reveal].in .shot { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 100ms); }
.js .tile[data-reveal] .float { opacity: 0; transform: translateY(18px) rotate(6deg); }
.js .tile[data-reveal].in .float { opacity: 1; transform: rotate(2deg); transition: opacity var(--t-std) var(--ease), transform var(--t-slow) var(--ease-play); transition-delay: calc(var(--i, 0) * 60ms + 380ms); }

/* Hero: dramatic stagger, lead with the headline. */
.js .hero .intro > div:first-child > * { opacity: 0; transform: translateY(16px); }
.js .hero.in .intro > div:first-child > * { opacity: 1; transform: none; transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .hero.in .intro > div:first-child > :nth-child(2) { transition-delay: 120ms; }
.js .hero.in .intro > div:first-child > :nth-child(3) { transition-delay: 240ms; }
.hl { background-size: 0% 100%; background-repeat: no-repeat; background-image: linear-gradient(transparent 62%, var(--lemon) 62%); background-color: transparent; }
.js .in .hl { background-size: 100% 100%; transition: background-size 700ms var(--ease) 300ms; }
.js .hero.in .hl { background-size: 100% 100%; transition: background-size 700ms var(--ease) 520ms; }
.no-js .hl, html:not(.js) .hl { background-size: 100% 100%; }

/* Buttons: hover under 100ms, press 120ms, settle 250ms. */
.btn { transition: transform var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(26,43,92,.45); transition-duration: 90ms; }
.btn:active { transform: scale(.97); box-shadow: none; transition-duration: 120ms; }
.btn svg { transition: transform var(--t-quick) var(--ease); }

/* Tiles: depth on hover. The screen grows from its bottom-right corner; the shadow grows (secondary). */
.tile { transition: box-shadow var(--t-std) var(--ease), border-color var(--t-std) var(--ease); }
.tile.feature:hover { box-shadow: 0 24px 50px -30px rgba(26,43,92,.35); }
.feature .shot { transition: transform var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
/* Grow from the bottom-right corner so the bleed edges never lift off the tile. */
.feature .shot { transform-origin: 100% 100%; }
.js .tile[data-reveal].in.feature:hover .shot { transform: scale(1.025); transition-delay: 0ms; box-shadow: 0 34px 60px -24px rgba(26,43,92,.45); }

/* Ambient: the navy glows breathe on a slow sine loop. */
.glow::before { animation: breathe 7s var(--ease-ambient) infinite alternate; }
@keyframes breathe { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }


/* Approval card states: Approve is pressed, the card turns approved. */
.btns .yes { transition: transform 120ms var(--ease), background-color var(--t-quick) var(--ease); }
.btns .yes.pressed { transform: scale(.92); }
.lhead { transition: background-color var(--t-std) var(--ease), color var(--t-std) var(--ease); }
.lcard.done .lhead { background: #E6F5F1; color: #009C75; }
.lcard.done .yes { background: #009C75; border-color: #009C75; }

/* Workflow: one step active at a time (1/3 rule), like a live run. */
.fstep { transition: border-color var(--t-std) var(--ease), background-color var(--t-std) var(--ease), transform var(--t-std) var(--ease); }
.fstep.active { border-color: var(--a-blue); background: var(--a-sel); transform: translateX(4px); }
.fstep.ran::after { content: "✓"; margin-left: auto; color: var(--a-green); font-weight: 700; animation: pop var(--t-std) var(--ease-play); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* Data: bars grow in a wave, the split bar fills, table rows cascade.
   Set the split fill with --w on the first span: <span style="width:60%;--w:60%">. */
.js .spark i { transform: scaleY(0); transform-origin: bottom; }
.js .in .spark i { transform: none; transition: transform var(--t-slow) var(--ease-play); }
.js .in .spark i:nth-child(2) { transition-delay: 40ms; } .js .in .spark i:nth-child(3) { transition-delay: 80ms; } .js .in .spark i:nth-child(4) { transition-delay: 120ms; }
.js .in .spark i:nth-child(5) { transition-delay: 160ms; } .js .in .spark i:nth-child(6) { transition-delay: 200ms; } .js .in .spark i:nth-child(7) { transition-delay: 240ms; }
.js .split span:first-child { width: 0 !important; transition: width 1000ms var(--ease) 300ms; }
.js .in .split span:first-child { width: var(--w, 82%) !important; }
.js .atable tr { opacity: 0; transform: translateX(8px); }
.js .in .atable tr { opacity: 1; transform: none; transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease); transition-delay: calc(var(--r, 0) * 30ms + 300ms); }

/* Time saved: the steps AI takes over fade back, then the AI card lands. */
.js .wbar i { width: 0; transition: width 1000ms var(--ease) 300ms; }
.js .in .wbar i { width: var(--w); }
.js .tsd .step.gone { transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .tsd.in .step.gone { opacity: .45; transform: scale(.98); transition-delay: 300ms; }
.js .tsd .step.ai { opacity: 0; transform: scale(.9); }
.js .tsd.in .step.ai { opacity: 1; transform: none; transition: opacity var(--t-std) var(--ease), transform var(--t-slow) var(--ease-play); transition-delay: 800ms; }

/* Mega menu: enter decelerates (280ms), exit accelerates (180ms), items cascade 30ms. */
.mpanel { transition: opacity 180ms var(--ease-exit), transform 180ms var(--ease-exit), visibility 0s 180ms !important; }
.mtop.open .mpanel { transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease) !important; }
.mpanel .mitem, .mpanel .mcard, .mpanel .mfoot { opacity: 0; transform: translateY(6px); }
.mtop.open .mpanel .mitem, .mtop.open .mpanel .mfoot { opacity: 1; transform: none; transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease), background-color 90ms; transition-delay: calc(var(--m, 0) * 25ms); }
.mpanel .mcard { transform: translateX(12px); }
.mtop.open .mpanel .mcard { opacity: 1; transform: none; transition: opacity var(--t-std) var(--ease) 80ms, transform var(--t-slow) var(--ease) 80ms; }
.mi { transition: background-color 90ms var(--ease); }
.mlink svg, .mbtn svg, .mfoot a svg { transition: transform var(--t-quick) var(--ease); }
.mcard:hover .mlink svg, .mcard:hover .mbtn svg, .mfoot a:hover svg { transform: translateX(3px); }
.msheet-panel { animation: msheet-in var(--t-std) var(--ease); }
@keyframes msheet-in { from { transform: translateX(24px); opacity: .6; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js .tile[data-reveal] .shot, .js .tile[data-reveal] .float { opacity: 1; transform: none; }
  .js .atable tr, .js .spark i, .js .tsd .step.ai, .js .hero .intro > div:first-child > * { opacity: 1; transform: none; }
  .js .split span:first-child { width: var(--w, 82%) !important; }
  .js .tsd .step.gone { opacity: .45; }
  .js .wbar i { width: var(--w); }
  .js .hl { background-size: 100% 100%; }
  html { scroll-behavior: auto; }
}

/* Nav text never wraps. From 901px to 1040px the desktop menu needs the tagline's space, so the tagline is hidden. */
nav.top .brand, .mtrigger, .navcta { white-space: nowrap; flex: none; }
@media (max-width: 420px), (min-width: 901px) and (max-width: 1040px) { nav.top .brand .divider, nav.top .brand .sub { display: none; } }
@media (max-width: 1100px) { .mpanel.wide { width: calc(100vw - 48px); } }
@media (max-width: 900px) {
  .menu, .navcta { display: none; }
  .burger { display: grid; margin-left: auto; }
  .s3, .s4, .s5, .s6, .s7, .s8 { grid-column: span 12; }
  h1 { font-size: clamp(34px, 9vw, 42px); } h2 { font-size: 32px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .apps { flex-wrap: wrap; }
  .apps > span { flex-basis: 100%; }
  .tsd, .close { grid-template-columns: 1fr; }
  .wrow { grid-template-columns: 1fr auto; row-gap: 6px; }
  .wrow .wbar { grid-column: 1 / -1; grid-row: 2; }
  .wrow b { white-space: nowrap; }
  .wrow strong { font-size: 18px; }
  .wdays { grid-template-columns: 1fr; }
  .wdays > span { display: none; }
  .wrow strong::after { content: " " attr(data-unit); font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
  .uc.half, .uc.wide { grid-column: span 12; }
  .uc.wide { display: flex; }
  .uc.wide .shot { margin: 24px -25px -25px 0; }
  .uc.tile { padding: 24px; }
  .uc .shot { margin: 24px -25px -25px 0; }
  .js .uc .shot.cw { max-height: 460px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: span 2; }
  .hero .intro, .stage { min-height: 0; }
}
/* Phones: the console side menu gives its width to the table. */
@media (max-width: 600px) {
  .shot.side { padding-left: 12px; }
  .shot.side .snav { display: none; }
}

/* Timeline on a navy tile: time in lemon over one line of text, dots joined by a thin rule. */
.tline { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; }
.tline li { position: relative; padding: 0 0 18px 26px; font-size: 15px; color: rgba(255,255,255,.8); }
.tline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 2px var(--lemon); }
.tline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: 2px; width: 1px; background: rgba(255,255,255,.2); }
.tline li:last-child::before { background: var(--lemon); }
.tline li:last-child { padding-bottom: 0; color: #fff; font-weight: 600; }
.tline b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--lemon); }
