/*
	RaisedHand marketing site.
	Shared by every page in this folder. Tokens extend the console's (../console/console.css):
	same ink, blue and green, plus a highlighter yellow and a dark theme.
	Type scale: 12 (mono labels), 14, 16, 18, 20, 24, 32, then one fluid display size.
*/
/* Self-hosted fonts (SIL Open Font License, see fonts/OFL-*.txt). Latin subset. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-variable.woff2') format('woff2'); font-weight: 500 800; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans-variable.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
:root {
	color-scheme: light;
	--paper: #fff; --ground: #f2f5f7; --raised: #fff;
	--ink: #0c2231; --ink-2: #3d5263; --ink-3: #586c7c;
	--line: #d5dee5; --line-strong: #b4c2cd; --control: #7f93a3;
	--blue-ink: #006a91; --blue-tint: #e6f2f8;
	--go: #1b7a3e; --go-hover: #156433; --on-go: #fff;
	--good: #1b7a3e; --good-tint: #e7f4ea;
	--warn: #8a5300; --warn-tint: #fdf1d8;
	--bad: #b3261e; --bad-tint: #fbe9e7;
	--mark: #ffe45c; --on-mark: #0c2231;
	--bubble: #0c2231; --on-bubble: #fff;
	--shadow: 0 1px 2px rgb(12 34 49 / .06), 0 12px 32px -12px rgb(12 34 49 / .18);
	--display: 'Archivo', system-ui, sans-serif;
	--text: 'Public Sans', system-ui, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--wrap: 1200px; --gutter: 24px; --head: 64px;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--paper: #030303; --ground: #0f0f0f; --raised: #171717;
		--ink: #f5f5f5; --ink-2: #a1a1a1; --ink-3: #8a8a8a;
		--line: #262626; --line-strong: #333; --control: #6e6e6e;
		--blue-ink: #6cc8ea; --blue-tint: #0c2a38;
		--go: #4ad487; --go-hover: #6fe0a0; --on-go: #06210f;
		--good: #5fd692; --good-tint: #0f2a1a;
		--warn: #f0bd5c; --warn-tint: #33250a;
		--bad: #ff6467; --bad-tint: #3a1213;
		--bubble: #e5e5e5; --on-bubble: #0a0a0a;
		--shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
	}
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--paper: #030303; --ground: #0f0f0f; --raised: #171717;
	--ink: #f5f5f5; --ink-2: #a1a1a1; --ink-3: #8a8a8a;
	--line: #262626; --line-strong: #333; --control: #6e6e6e;
	--blue-ink: #6cc8ea; --blue-tint: #0c2a38;
	--go: #4ad487; --go-hover: #6fe0a0; --on-go: #06210f;
	--good: #5fd692; --good-tint: #0f2a1a;
	--warn: #f0bd5c; --warn-tint: #33250a;
	--bad: #ff6467; --bad-tint: #3a1213;
	--bubble: #e5e5e5; --on-bubble: #0a0a0a;
	--shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; font: 16px/1.6 var(--text); color: var(--ink); background: var(--paper); }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
h1, h2, h3, .label, summary { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; padding: 8px 12px; background: var(--ink); color: var(--paper); border-radius: 6px; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; font-stretch: 106%; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.small { font-size: 14px; color: var(--ink-2); }
.quiet { color: var(--ink-2); }
mark { background: linear-gradient(transparent 12%, var(--mark) 12%, var(--mark) 92%, transparent 92%); color: var(--on-mark); padding: 0 .12em; margin: 0 -.06em; border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: 96px 0; }
.band.tint { background: var(--ground); }
.band + .band:not(.tint) { border-top: 1px solid var(--line); }
.band > .wrap > .label, .intro .label { margin-bottom: 12px; display: block; }
.band h2 + .lead { margin-top: 16px; }
.intro { max-width: 760px; margin-bottom: 48px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--ground); }
.btn.go { background: var(--go); border-color: var(--go); color: var(--on-go); }
.btn.go:hover { background: var(--go-hover); border-color: var(--go-hover); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: 18px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { font-weight: 600; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.terms { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

/* ---------- Header ---------- */
.head { position: sticky; top: 0; z-index: 20; height: var(--head); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); font-stretch: 106%; color: var(--ink); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .bar { fill: var(--ink); }
.brand .up { fill: var(--go); }
.site-nav { display: flex; gap: 24px; margin-right: auto; }
.site-nav a { color: var(--ink-2); font-weight: 500; text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.head .cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.head .signin { color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px 0; }
.head .signin:hover { text-decoration: underline; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--ground); }
.menu nav { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); display: grid; padding: 8px; background: var(--raised); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); }
.menu nav a { padding: 12px; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.menu nav a:hover { background: var(--ground); }
.menu nav hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* Phone: the two buttons move to a bar at the bottom, so all three actions stay one tap away. */
.dock { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "copy chat" "slip chat"; gap: 40px 64px; align-items: start; }
.hero-copy { grid-area: copy; }
.hero-copy .label { display: block; margin-bottom: 20px; }
.hero-copy .lead { margin-top: 24px; }
.hero-copy .actions { margin-top: 32px; }
.stage { grid-area: chat; min-width: 0; }
.slips { grid-area: slip; min-width: 0; }

/* ---------- The example conversation ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 10px; background: var(--ground); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1 0 auto; min-height: 36px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: 500 14px/1 var(--text); white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--raised); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--line-strong); }
.chat { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--raised); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head .who { width: 36px; height: 36px; grid-row: span 2; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue-ink); }
.chat-head b { font-weight: 600; line-height: 1.3; }
.chat-head span:not(.who) { grid-column: 2; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.chat-head time { grid-column: 3; grid-row: 1 / span 2; font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-3); text-align: right; }
.log { display: grid; align-content: start; gap: 12px; padding: 20px 16px; min-height: 420px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 16px; line-height: 1.5; transition: opacity .25s ease, transform .25s ease; }
.msg.v { justify-self: end; background: var(--bubble); color: var(--on-bubble); border-bottom-right-radius: 4px; }
.msg.g { justify-self: start; background: var(--ground); border-bottom-left-radius: 4px; position: relative; }
.msg p + p { margin-top: 8px; }
.msg .src { font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.msg .src a { color: inherit; }
.msg.sent { justify-self: stretch; max-width: none; display: flex; align-items: center; gap: 10px; background: var(--good-tint); color: var(--ink); font-weight: 600; border-radius: 10px; }
.msg.sent .i { color: var(--good); }
.msg.pending { opacity: 0; transform: translateY(6px); visibility: hidden; }
.msg.typing { visibility: visible; opacity: 1; transform: none; color: transparent; }
.msg.typing * { visibility: hidden; }
.msg.typing::after { content: ""; position: absolute; left: 14px; top: 16px; width: 34px; height: 8px; background: radial-gradient(circle 4px, var(--ink-3) 96%, transparent) 0 0 / 13px 8px repeat-x; animation: dots 1s steps(3, jump-none) infinite; }
@keyframes dots { from { clip-path: inset(0 26px 0 0); } to { clip-path: inset(0 0 0 0); } }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.chat-foot button { border: 0; background: none; padding: 4px 0; font: 600 12px/1.4 var(--text); color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.fiction { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* The quote request the sales team receives. It fills in as the conversation runs. */
.slip { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--raised); }
.slip > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px dashed var(--line-strong); }
.slip > header b { font: 700 16px/1.3 var(--display); font-stretch: 106%; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: var(--warn-tint); color: var(--warn); font: 500 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tag.good { background: var(--good-tint); color: var(--good); }
.tag.plain { background: var(--ground); color: var(--ink-2); }
.slip dl { padding: 4px 16px; }
.slip dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.slip dl > div:last-child { border-bottom: 0; }
.slip dt { font: 500 12px/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.slip dd { font-weight: 500; transition: opacity .3s ease; }
.slip dl > div.pending dd { opacity: 0; }
.slip dl > div.pending dt::after { content: " …"; }
.slip > footer { padding: 10px 16px; border-top: 1px dashed var(--line-strong); font-size: 14px; color: var(--ink-2); transition: opacity .3s ease; }
.slip > footer.pending { opacity: 0; }
.slip-note { margin-bottom: 10px; }

/* ---------- Questions before the quote ---------- */
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.asks li { display: grid; align-content: start; gap: 8px; padding: 20px 24px 24px 0; border-bottom: 1px solid var(--line); }
.asks li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.asks q { font: 600 18px/1.4 var(--text); quotes: "“" "”"; }
.asks span { font-size: 14px; color: var(--ink-2); }

/* ---------- Comparison ---------- */
.versus { width: 100%; border-collapse: collapse; font-size: 16px; }
.versus th, .versus td { padding: 16px 20px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.versus thead th { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-strong); }
.versus tbody th { width: 22%; font-weight: 600; color: var(--ink-2); }
.versus td { width: 39%; color: var(--ink-2); }
.versus td.us { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.steps > li { counter-increment: step; display: grid; align-content: start; gap: 10px; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps > li::before { content: "0" counter(step); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.steps p { color: var(--ink-2); }
.steps.tall { grid-template-columns: minmax(0, 1fr); gap: 0; }
.steps.tall > li { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 24px; padding: 32px 0; border-top: 1px solid var(--line-strong); }
.steps.tall > li::before { grid-row: span 3; font-size: 14px; padding-top: 4px; }
.steps.tall > li > * { grid-column: 2; max-width: 68ch; }
.who-does { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- Feature lists ---------- */
.points { display: grid; gap: 24px; }
.points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 14px; }
.points .i { width: 22px; height: 22px; margin-top: 3px; color: var(--blue-ink); grid-row: span 2; }

/* Product screenshots in a browser frame. The two screenshots show the dashboard's light theme and are the same in both site themes. */
.screen { align-self: start; margin: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--raised); box-shadow: var(--shadow); overflow: hidden; }
.screen .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--ink-3); }
.screen .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.screen .bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen img { display: block; width: 100%; height: auto; background: #fff; }
.screen figcaption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.points b { font-weight: 600; }
.points span { grid-column: 2; color: var(--ink-2); }
.buyer { display: grid; align-content: start; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.buyer p { color: var(--ink-2); }
.buyer ul { display: grid; gap: 8px; margin-top: 4px; }
.buyer li { padding-left: 18px; position: relative; font-size: 14px; line-height: 1.5; }
.buyer li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--ink-3); }

/* A slot where real proof goes later. Drawn in the mockup, never shipped empty. */
.slot { display: grid; gap: 8px; align-content: center; min-height: 132px; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: 12px; color: var(--ink-3); font-size: 14px; }
.slot .label { color: var(--warn); }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 16px; background: var(--raised); overflow: hidden; }
.price > div { display: grid; align-content: start; gap: 10px; padding: 28px; }
.price > div + div { border-left: 1px solid var(--line); }
.price .big { font: 600 32px/1.1 var(--text); letter-spacing: -.01em; }
.price p { color: var(--ink-2); }
.price .btn { justify-self: start; margin-top: 6px; }
.sum { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sum th, .sum td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.sum td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }
.sum tr.total th, .sum tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; font-size: 18px; }
.sum caption { caption-side: bottom; padding-top: 12px; text-align: left; font-size: 14px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 18px/1.4 var(--text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-2); max-width: 68ch; }

/* ---------- Closing call ---------- */
.close { padding: 96px 0; background: var(--ink); color: var(--paper); }
.close h2 { max-width: 20ch; }
.close .lead { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); margin-top: 16px; }
.close .actions { margin-top: 32px; }
.close .btn { border-color: var(--paper); color: var(--paper); }
.close .btn:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); }
.close .btn.go { background: var(--mark); border-color: var(--mark); color: var(--on-mark); }
.close .btn.go:hover { background: #ffd92e; border-color: #ffd92e; }
.close a:not(.btn) { color: var(--paper); }
.close :focus-visible { outline-color: var(--mark); }

/* ---------- Footer ---------- */
.foot { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.foot h2 { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .about { display: grid; align-content: start; gap: 12px; max-width: 36ch; }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.theme { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; font-size: 14px; color: var(--ink-2); }
.theme:hover { color: var(--ink); border-color: var(--control); }

/* ---------- Page heads for inner pages ---------- */
.page-head { padding: 72px 0 56px; }
.page-head .label { display: block; margin-bottom: 16px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); max-width: 22ch; }
.page-head .lead { margin-top: 20px; }

