/*
 * Beasypro website. The app's own palette (design-system tokens.css: warm paper, ink, lines) with the logo's two
 * colours as accents: coral #D9563E and navy #1d2541. One family, Manrope (Latin and Greek, variable 200 to 800),
 * served from assets/fonts. Corners are square, as in the app. Motion is decorative only and stops under
 * prefers-reduced-motion.
 */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../assets/fonts/manrope-greek-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--paper: #efe7d6;
	--paper-soft: #f5efe1;
	--paper-deep: #e6dcc6;
	--surface: #fbf7ec;
	--ink: #1d2541;
	--ink-soft: #283153;
	--muted: #6e6361;
	--line: #ddd2bb;
	--line-soft: #e8dfca;
	--coral: #d9563e;
	--coral-deep: #b9432e;
	--coral-soft: rgba(217, 86, 62, .12);
	--navy: #1d2541;
	--navy-soft: rgba(29, 37, 65, .09);
	--green: #2f6b3a;
	--night: #0d1020;
	--night-surface: #13172a;
	--night-raised: #1b2034;
	--night-line: #2e3550;
	--night-ink: #f5efe1;
	--night-muted: #b3a795;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, monospace;
	--shadow-sm: 0 1px 2px rgba(15, 18, 34, .06);
	--shadow-md: 0 10px 30px rgba(15, 18, 34, .10);
	--shadow-lg: 0 40px 90px -20px rgba(15, 18, 34, .35);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper-soft);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; color: var(--navy); }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
/* square corners everywhere, as in the app; Safari on iOS rounds its own buttons and fields, so they are squared here */
button, input, textarea { border-radius: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.sprite { position: absolute; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper-soft); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 52px; padding: 0 24px; border: 1px solid transparent;
	font: inherit; font-size: 16px; font-weight: 650; text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 24px -10px rgba(29, 37, 65, .65); }
.btn--primary:hover { background: #2b3659; box-shadow: 0 12px 30px -12px rgba(29, 37, 65, .8); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: rgba(251, 247, 236, .6); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 239, 225, .78);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 239, 225, .92); }
.header__bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.header__logo img { width: 138px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); background: var(--surface); }
.lang button { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; border: 0; background: none; color: var(--muted); padding: 5px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper-soft); }
.header__login { background: transparent; }
.header__menu { display: none; border: 1px solid var(--line); background: var(--surface); width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; overflow: hidden; isolation: isolate; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(60% 50% at 85% 10%, rgba(217, 86, 62, .16), transparent 70%),
		radial-gradient(50% 45% at 5% 30%, rgba(29, 37, 65, .10), transparent 70%),
		linear-gradient(180deg, var(--paper-soft), var(--paper) 70%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* one screen under the header: the copy on the left, the live AI console on the right; sizes follow the screen's height */
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center;
	min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); padding-block: 32px;
}
.hero__title { font-size: clamp(34px, min(4.4vw, 7vh), 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero__line { display: block; }
/* the rolling words: one phrase at a time slides up into place, in the logo's coral with a sweep underneath */
.rotator { position: relative; display: block; height: 1.12em; overflow: hidden; }
.rotator__word {
	position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--coral);
	transform: translateY(105%); opacity: 0; filter: blur(6px);
	transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
}
.rotator__word.is-on { transform: none; opacity: 1; filter: none; }
.rotator__word.is-off { transform: translateY(-105%); opacity: 0; filter: blur(6px); }
.rotator__word::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em;
	background: currentColor; opacity: .25; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s;
}
.rotator__word.is-on::after { transform: scaleX(1); }
.hero__tagline { margin-top: clamp(14px, 2.4vh, 22px); font-size: clamp(18px, min(1.7vw, 2.6vh), 23px); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.hero__lead { margin-top: clamp(10px, 1.8vh, 16px); max-width: 56ch; font-size: clamp(15.5px, min(1.35vw, 2.1vh), 18px); color: var(--muted); }
.hero__ctas { margin-top: clamp(18px, 3.4vh, 32px); display: flex; gap: 12px; flex-wrap: wrap; }

/* the logo mark draws itself behind the console, then rests in its colours; it drifts a little with the pointer */
.hero__visual { position: relative; display: grid; place-items: center; min-height: min(560px, 62vh); }
.hero__mark {
	position: absolute; z-index: -1; width: min(118%, 660px); height: auto; left: 50%; top: 50%;
	transform: translate3d(calc(-38% + var(--px, 0) * -18px), calc(-52% + var(--py, 0) * -14px), 0) rotate(-8deg);
	transition: transform .4s ease-out;
}
.hero__mark path { fill: none; stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .2s forwards, tint 1.2s ease 2.4s forwards; }
.hero__mark-coral { stroke: var(--coral); }
.hero__mark-navy { stroke: var(--navy); animation-delay: .7s, 2.9s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tint { to { fill-opacity: .14; } }
.hero__mark-coral { fill: var(--coral); fill-opacity: 0; }
.hero__mark-navy { fill: var(--navy); fill-opacity: 0; }

/* the console: a request types itself, the assistant's tools light up and the result builds in the app's style */
.console {
	position: relative; width: min(100%, 470px); padding: 16px;
	background: rgba(251, 247, 236, .88); border: 1px solid var(--line);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 50px 100px -40px rgba(29, 37, 65, .45), 0 2px 0 rgba(255, 255, 255, .6) inset;
	transform: perspective(1200px) rotateX(calc(var(--py, 0) * -5deg)) rotateY(calc(var(--px, 0) * 6deg));
	transition: transform .4s ease-out;
}
.console__bar {
	display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 12px 10px 10px;
	background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
	font-size: 15px; font-weight: 600; color: var(--ink);
}
.console__spark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--coral), var(--navy)); }
.console__spark .icon { width: 16px; height: 16px; }
.console__text { min-width: 0; overflow-wrap: anywhere; }
.console__caret { width: 2px; height: 1.15em; flex: none; background: var(--navy); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console__key { margin-left: auto; flex: none; font: 600 12px var(--mono); color: var(--muted); padding: 3px 7px; border: 1px solid var(--line); background: var(--paper-soft); transition: background-color .2s, color .2s; }
.console__key.is-pressed { background: var(--navy); color: #fff; border-color: var(--navy); }
.console__tools { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; margin: 12px 2px 0; }
.tool {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
	font: 500 11.5px var(--mono); color: var(--navy); background: var(--navy-soft); border: 1px solid rgba(29, 37, 65, .14);
	opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tool.is-on { opacity: 1; transform: none; }
/* the spinner is the one round shape, as in the app (design-system .spinner) */
.tool i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.tool.is-done i { animation: none; border: 0; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b3a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.console__result { position: relative; min-height: 236px; margin-top: 10px; }
/* while the assistant works, a faint outline of the coming card */
.console__result:empty::before {
	content: ""; position: absolute; inset: 0; border: 1px dashed var(--line);
	background:
		linear-gradient(var(--line-soft), var(--line-soft)) 18px 22px / 34% 10px no-repeat,
		linear-gradient(var(--line-soft), var(--line-soft)) 18px 44px / 56% 14px no-repeat,
		linear-gradient(var(--line-soft), var(--line-soft)) 18px 96px / calc(100% - 36px) 1px no-repeat,
		linear-gradient(var(--line-soft), var(--line-soft)) 18px 140px / calc(100% - 36px) 1px no-repeat,
		linear-gradient(var(--line-soft), var(--line-soft)) 18px 184px / calc(100% - 36px) 1px no-repeat;
	opacity: .8;
}
.console__foot { margin: 12px 4px 2px; font-size: 12.5px; color: var(--muted); }

.rcard { background: #fff; border: 1px solid var(--line-soft); padding: 18px 18px 14px; box-shadow: var(--shadow-sm); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rcard.is-leaving { opacity: 0; transform: translateY(-8px) scale(.98); }
.rcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rcard__kind { font-size: 12px; font-weight: 700; color: var(--muted); }
.rcard__title { margin-top: 2px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.rcard__chip { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; background: var(--chip-draft-bg, rgba(150, 110, 60, .16)); color: #7a5524; transition: background-color .4s, color .4s; }
.rcard__chip.is-green { background: rgba(78, 145, 89, .16); color: #2f6b3c; }
.rcard__chip.is-blue { background: var(--navy-soft); color: var(--navy); }
.rcard__rows { margin-top: 12px; }
.rrow {
	display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px;
	opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.rrow span { color: var(--muted); }
.rrow b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.rrow.is-on { opacity: 1; transform: none; }
.rrow--total { border-top: 1.5px solid var(--navy); }
.rrow--total span, .rrow--total b { color: var(--navy); font-weight: 800; }

.hero__stage { margin-top: 0; perspective: 1800px; }
.stage { position: relative; padding-bottom: 72px; }
.browser {
	margin: 0; position: relative; overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); background: var(--paper-soft); }
.browser__bar i { width: 11px; height: 11px; background: var(--line); }
.browser__bar i:first-child { background: #e3907f; }
.browser__bar i:nth-child(2) { background: #e7c27f; }
.browser__bar i:nth-child(3) { background: #9cc39a; }
.browser__url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; background: var(--surface); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 600; color: var(--muted); }
.browser__url .icon { width: 12px; height: 12px; }
.shot { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: linear-gradient(110deg, var(--paper-soft) 30%, var(--surface) 50%, var(--paper-soft) 70%); background-size: 200% 100%; }
.shot.is-missing { animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.browser--hero { transform-origin: 50% 0; transform: rotateX(12deg); transition: transform 1.1s var(--ease); }
.stage.is-flat .browser--hero { transform: none; }

/* ---------- facts ---------- */
.facts { background: var(--paper); border-block: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { color: var(--navy); font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__lead { margin-top: 18px; font-size: 18.5px; color: var(--muted); max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 16px; font-weight: 700; color: var(--coral); }
.kicker--light { color: #f08a72; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card {
	position: relative; overflow: hidden;
	padding: 34px; background: var(--surface);
	border: 1px solid var(--line); box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; opacity: .5; filter: blur(10px); pointer-events: none; }
.card--hr { grid-column: span 7; }
.card--hr::after { background: radial-gradient(circle, rgba(217, 86, 62, .22), transparent 70%); }
.card--sales { grid-column: span 5; background: var(--ink); color: var(--night-ink); border-color: var(--ink); }
.card--sales h3 { color: var(--night-ink); }
.card--sales::after { background: radial-gradient(circle, rgba(217, 86, 62, .45), transparent 70%); }
.card--sales p:not(.card__tag), .card--sales .checks li { color: var(--night-muted); }
.card--sales .checks li::before { background-color: rgba(245, 239, 225, .12); color: #f08a72; }
.card--crm { grid-column: span 5; }
.card--crm::after { background: radial-gradient(circle, rgba(29, 37, 65, .16), transparent 70%); }
.card--projects { grid-column: span 7; }
.card--projects::after { background: radial-gradient(circle, rgba(217, 86, 62, .18), transparent 70%); }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card__tag { font-size: 14px; font-weight: 700; opacity: .55; }
.card h3 { font-size: 26px; }
.card > p { margin-top: 10px; color: var(--muted); }
.tile { width: 46px; height: 46px; display: grid; place-items: center; }
.tile .icon { width: 22px; height: 22px; }
.tile--coral { background: var(--coral-soft); color: var(--coral); }
.tile--navy { background: var(--navy-soft); color: var(--navy); }
.card--sales .tile--navy { background: rgba(245, 239, 225, .1); color: var(--night-ink); }
.tile--ink { background: rgba(22, 27, 46, .07); color: var(--ink); }

.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; font-size: 15.5px; font-weight: 550; line-height: 1.45; }
.checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
	background: var(--coral-soft) center / 13px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9563e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.card--hr .checks, .card--projects .checks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.checks--lg li { font-size: 17px; }

/* tour */
.section--tour { background: linear-gradient(180deg, var(--paper-soft), var(--paper)); border-top: 1px solid var(--line-soft); }
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tour__steps { list-style: none; margin: 0; padding: 0; }
.tour__step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 28px; border-left: 2px solid var(--line); transition: border-color .4s; }
.tour__step h3 { font-size: clamp(24px, 2.4vw, 32px); transition: color .4s; color: var(--muted); }
.tour__step p { margin-top: 14px; color: var(--muted); font-size: 17.5px; max-width: 44ch; }
.tour__step.is-active { border-left-color: var(--coral); }
.tour__step.is-active h3 { color: var(--navy); }
.tour__num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--coral); margin-bottom: 12px; }
.tour__inline { display: none; margin-top: 24px; }
.tour__sticky { position: sticky; top: calc(50vh - 260px); }
.tour__frames { position: relative; aspect-ratio: 16 / 10; }
.tour__frames .shot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.tour__frames .shot.is-active { opacity: 1; }

/* AI */
.section--ai { background: linear-gradient(160deg, #2b3659 0%, var(--navy) 45%, #12192e 100%); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.section--ai h2 { color: #fff; }
.ai__glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 50% at 85% 25%, rgba(217, 86, 62, .30), transparent 70%), radial-gradient(45% 55% at 0% 100%, rgba(1, 3, 40, .6), transparent 70%); }
.section--ai .section__lead, .section--ai .ai__points span { color: #c9cbe8; }
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ai__points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.ai__points li { display: flex; gap: 16px; }
.ai__points .icon { width: 22px; height: 22px; color: #f08a72; margin-top: 3px; }
.ai__points b { display: block; font-size: 17px; }
.ai__points span { color: var(--night-muted); font-size: 15.5px; }
.ai__demo { position: relative; }
.chat { position: relative; z-index: 1; padding: 22px; background: rgba(1, 4, 52, .72); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 12px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 650; color: #c9cbe8; }
.chat__avatar { width: 30px; height: 30px; display: grid; place-items: center; background: linear-gradient(135deg, var(--coral), #8a2f20); color: #fff; }
.chat__avatar .icon { width: 16px; height: 16px; }
.chat__msg { max-width: 88%; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.chat__msg--user { align-self: flex-end; background: var(--night-ink); color: var(--ink); }
.chat__msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.chat__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__tools code { font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; color: #f2b6a6; background: rgba(217, 86, 62, .12); border: 1px solid rgba(217, 86, 62, .28); }
.chat__tools code::before { content: "⚙ "; opacity: .7; }
.live { position: relative; z-index: 2; margin: -28px -5% 0 auto; width: min(82%, 380px); overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7); }
.live__banner { display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: #fbe7d7; color: #8a3a12; font-size: 12.5px; font-weight: 650; border-bottom: 1px solid #f0d0b8; }
.live__banner button { margin-left: auto; font: inherit; font-size: 11.5px; font-weight: 700; border: 1px solid #e3b494; background: var(--surface); color: var(--ink); padding: 4px 10px; }
.live__doc { padding: 18px 18px 20px; font-size: 13.5px; }
.live__type { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.live__title { margin: 4px 0 14px; font-size: 17px; font-weight: 750; }
.live__row, .live__total { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.live__row--new { animation: flash 3.2s ease-in-out infinite; }
@keyframes flash { 0%, 55%, 100% { background: transparent; } 70% { background: rgba(217, 86, 62, .14); } }
.live__total { font-weight: 750; border-top: 1px solid var(--ink); }

/* integrations: the teaser on the home page and integrations.html */
.section--teaser { background: var(--paper); border-block: 1px solid var(--line); }
.section__ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.page__head h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.035em; }
.page__note { margin-top: 24px; max-width: 62ch; font-size: 16px; color: var(--muted); }

/* security */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); overflow: hidden; }
.feature { background: var(--surface); padding: 32px; transition: background-color .3s; }
.feature:hover { background: #fffdf7; }
.feature h3 { margin-top: 20px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* steps */
.section--steps { padding-top: 0; }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step {
	display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: baseline;
	padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line);
}
.step__num { font-size: 15px; font-weight: 800; letter-spacing: .1em; color: var(--coral); }
.step__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.step__text { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.5; }
/* the words rise in one after another when the step scrolls into view (main.js splits them into .w spans) */
.w { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(4px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.step__text .w { transition-delay: calc(240ms + var(--i) * 28ms); }
.step.is-in .w { opacity: 1; transform: none; filter: none; }

/* contact */
.section--contact { background: radial-gradient(60% 70% at 100% 0%, rgba(217, 86, 62, .12), transparent 70%), var(--paper-soft); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__copy .checks { margin-top: 30px; }
.form { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.field input, .field textarea {
	font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
	padding: 12px 14px; border: 1px solid var(--line); background: #fefcf6;
	transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(27, 33, 54, .12); }
.field input[aria-invalid="true"] { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha:empty { display: none; }
.form__status { min-height: 1.4em; font-size: 15px; font-weight: 650; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: var(--coral-deep); }
.form__note { font-size: 13px; color: var(--muted); }
.form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }

/* footer */
.footer { background: var(--night); color: var(--night-muted); padding: 56px 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer img { width: 140px; height: auto; }
.footer__tag { margin-top: 14px; font-size: 14px; }
.footer__links { display: grid; gap: 10px; font-size: 15px; }
.footer__links a { text-decoration: none; color: var(--night-ink); }
.footer__links a:hover { color: #f08a72; }
.footer__legal { font-size: 14px; justify-self: end; text-align: right; }
.footer__by { margin-top: 6px; font-size: 14px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.hero__grid { grid-template-columns: 1fr; justify-items: center; align-content: center; text-align: center; gap: 28px; }
	.hero__copy { display: flex; flex-direction: column; align-items: center; }
	.rotator__word { left: 0; right: 0; }
	.rotator__word::after { display: none; }
	.hero__ctas { justify-content: center; }
	.hero__visual { min-height: 0; width: 100%; }
	.hero__mark { width: min(90%, 460px); }
	.nav { gap: 18px; }
	.bento .card { grid-column: span 12; }
	.card--hr .checks, .card--projects .checks { grid-template-columns: 1fr; }
	.tour { grid-template-columns: 1fr; }
	.tour__sticky { display: none; }
	.tour__step { min-height: 0; padding: 28px 0 36px 24px; border-left-color: var(--coral); }
	.tour__step h3 { color: var(--navy); }
	.tour__inline { display: block; }
	.ai, .contact { grid-template-columns: 1fr; }
	.ai__demo { max-width: 640px; }
	.grid3 { grid-template-columns: 1fr 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__legal { justify-self: start; text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.header__menu { display: inline-flex; }
	.header__cta { display: none; }
	.header__login { height: 38px; padding: 0 14px; }
	.nav {
		position: fixed; inset: 72px 0 auto 0; margin: 0; flex-direction: column; gap: 0;
		padding: 8px var(--gutter) 20px; background: var(--paper-soft); border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1;
	}
	.nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-soft); }
	.nav a::after { display: none; }
	.nav.is-open { transform: none; }
	.facts__grid { grid-template-columns: 1fr 1fr; }
	.fact { padding: 24px 18px; }
	.fact:nth-child(odd) { border-left: 0; padding-left: 0; }
	.fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
	.step { grid-template-columns: 1fr; gap: 10px; }
	.form__row { grid-template-columns: 1fr; }
	.grid3 { grid-template-columns: 1fr; }
	.live { margin: -20px 0 0 auto; }
}
@media (max-width: 600px) {
	.console { padding: 8px; transform: none; }
	.console__tools, .console__result, .console__foot, .hero__mark { display: none; }
	.console__bar { text-align: left; }
	.hero__grid { gap: 22px; padding-block: 20px; }
}
@media (max-width: 520px) {
	body { font-size: 16px; }
	.header__logo img { width: 118px; }
	.lang button { padding: 5px 8px; }
	.card { padding: 26px; }
	.facts__grid { grid-template-columns: 1fr; }
	.fact, .fact:nth-child(odd) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
	.fact:first-child { border-top: 0; }
	.footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.browser--hero { transform: none; }
	.w { opacity: 1; transform: none; filter: none; }
}
