/* inmoney.io marketing styles. Night Desk tokens come from night-desk-tokens.css; this file
   uses only those variables. Look and motion follow the design-system skill's landing run. */

@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
	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;
}
@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Geist Mono"; /* taste-skill-ignore: figures inside data-ui only */
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2");  /* taste-skill-ignore */
	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+25B2, U+25BC, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
	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;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* Motion tokens: Night Desk motion.md for the fragments, the landing run's tokens for the page. */
:root {
	--motion-fast: 120ms;
	--motion-base: 200ms;
	--motion-arrive: 240ms;
	--motion-shimmer: 2400ms;
	--ease-desk: cubic-bezier(0.2, 0, 0, 1);
	--ease-settle: cubic-bezier(0.3, 1.25, 0.5, 1);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
	--ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
	--t-press: 140ms;
	--t-hover: 180ms;
	--gutter: var(--space-8);
	--sec-gap: 160px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--text-body);
	font-family: var(--font-sans);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ol, ul, dl, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; }
button { font: inherit; color: inherit; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: var(--radius-tag); }
::selection { background: var(--bubble); color: var(--text); }
.nowrap { white-space: nowrap; }
.visually-hidden {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html:not(.js) .js-only { display: none; }
.skip {
	position: absolute; left: var(--space-4); top: calc(-1 * var(--space-16));
	display: inline-flex; align-items: center; min-height: var(--hit);
	padding: 0 var(--space-4); background: var(--raised); color: var(--text);
	border-radius: var(--radius-ctrl); z-index: 10;
}
.skip:focus { top: var(--space-2); }

/* One grid, one pair of margins */
.wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
.sec { padding-top: var(--sec-gap); padding-bottom: var(--sec-gap); }

/* Type: five steps on the page (display, section, statement, body, small); fragments keep Desk's sizes */
.t-hero, .t-section {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--text);
	text-wrap: balance;
}
.t-hero { font-size: clamp(52px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.045em; }
.t-section { font-size: 52px; line-height: 1.02; letter-spacing: -0.035em; }
.t-statement, .t-item, .t-close-line {
	font-family: var(--font-display);
	font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--text);
	text-wrap: balance;
}
.t-lead, .t-body { font-size: 18px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.t-lead { max-width: 40ch; }
.t-body { max-width: 52ch; }
.t-small, .t-caption { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.t-stamp { font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* Chinese: no negative letter-spacing on headlines, 1.2 headline line-height, 1.7 body */
:lang(zh) body, body:lang(zh) { line-height: 1.7; }
:lang(zh) .t-hero, :lang(zh) .t-section, :lang(zh) .t-statement,
:lang(zh) .t-item, :lang(zh) .t-close-line, :lang(zh) .t-feature-sm { letter-spacing: 0; line-height: 1.2; }
:lang(zh) .t-lead, :lang(zh) .t-body, :lang(zh) .included { line-height: 1.7; }

/* Wordmark */
.brand {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: var(--hit); text-decoration: none; color: var(--text);
}
.brand img { display: block; flex: none; width: 26px; height: 26px; }
.wordmark {
	font-family: var(--font-display);
	font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--text); white-space: nowrap;
}
.wordmark .money {
	background-image: linear-gradient(45deg, var(--sky) 0%, var(--orchid) 100%); /* taste-skill-ignore: brand gradient on the wordmark (landing.md exception) */
	-webkit-background-clip: text; background-clip: text; /* taste-skill-ignore: brand gradient on the wordmark */
	-webkit-text-fill-color: transparent; color: transparent;
}

/* Header: a plain row, no bar chrome */
.site-head { background: var(--ground); }
.site-head .wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--space-4); min-height: 76px;
}
.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a, .head-tools a.plain {
	display: inline-flex; align-items: center; min-height: var(--hit);
	padding: 0 var(--space-3); color: var(--text-2); text-decoration: none; font-size: 16px;
	border-radius: var(--radius-ctrl);
	transition: color var(--t-hover) ease;
}
.nav a:hover, .head-tools a.plain:hover { color: var(--text); }
.head-tools { display: flex; align-items: center; gap: var(--space-2); }
.head-tools a { white-space: nowrap; }
.head-tools .btn { font-size: 16px; }

/* Buttons: flat, one fill each */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: var(--hit); padding: 0 var(--space-4);
	border: 0; border-radius: var(--radius-ctrl);
	font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--action); color: var(--on-action); font-weight: 600; padding: 0 20px; }
.btn--secondary { background: var(--raised); color: var(--text); }
.btn--main { min-height: 52px; padding: 0 24px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover { color: var(--on-action); background: var(--link); }
	.btn--secondary:hover { color: var(--text); background: var(--bubble); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }
.text-link {
	display: inline-flex; align-items: center; min-height: var(--hit);
	color: var(--link); text-decoration: underline; text-decoration-color: transparent;
	transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.text-link:hover { text-decoration-color: currentColor; }
.sample-note { color: var(--text-2); }

/* ---------- Hero: the headline, then the answer on a cut stage ---------- */
.sec-hero { padding-top: 88px; padding-bottom: var(--sec-gap); overflow: hidden; }
.hero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--space-6);
	row-gap: var(--space-8);
	align-items: start;
}
.hero h1 { grid-column: 1 / 7; grid-row: 1; max-width: 12ch; }
.hero-lead { grid-column: 1 / 6; grid-row: 2; display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-4); }
.hero-try { grid-column: 1 / 6; grid-row: 3; display: flex; flex-direction: column; gap: var(--space-3); }
.stage {
	grid-column: 7 / -1; grid-row: 1 / span 4;
	margin-right: calc(-1 * var(--gutter));
	margin-top: var(--space-4);
	background: var(--raised);
	padding: 56px;
	min-height: 560px;
	clip-path: polygon(144px 0, 100% 0, 100% 100%, 0 100%, 0 144px);
}
.hero .sample-note { grid-column: 7 / -1; grid-row: 5; }
.try { display: flex; flex-direction: column; gap: var(--space-2); }
.try-q {
	display: flex; align-items: center; min-height: 52px; width: 100%;
	padding: 10px var(--space-4); text-align: left;
	background: var(--surface); color: var(--text-2); border: 0; border-radius: var(--radius-ctrl);
	font-size: 16px; line-height: 1.35; cursor: pointer;
	transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.try-q:active { transform: scale(0.98); }
.try-q[aria-pressed="true"] { background: var(--bubble); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
	.try-q:hover { color: var(--text); background: var(--raised); }
	.try-q[aria-pressed="true"]:hover { background: var(--bubble); }
}

/* ---------- Desk fragments (data-ui): Desk's own borders, sizes, mono figures and labels ---------- */
[data-ui] {
	font-family: var(--font-sans);
	font-size: 13px; line-height: 1.5; color: var(--text-body);
	text-align: left;
}
[data-ui].desk {
	background: var(--ground);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 20px;
	display: flex; flex-direction: column; gap: 14px;
}
[data-ui].desk--chat { width: 100%; max-width: 640px; background: var(--chrome); }
[data-ui].desk--panel { width: var(--w-card); max-width: 100%; }
[data-ui] .mono, [data-ui] .src, [data-ui] .when, [data-ui] .rows dd, [data-ui] .meta-inline {
	font-family: var(--font-mono); /* taste-skill-ignore: mono figures inside data-ui (landing.md exception) */
	font-variant-numeric: tabular-nums;
}
[data-ui] .turn { display: flex; flex-direction: column; gap: 14px; }
[data-ui] .bubble {
	align-self: flex-end; max-width: 85%;
	padding: 8px 12px;
	border-radius: var(--radius-card) var(--radius-card) var(--radius-tag) var(--radius-card);
	background: var(--bubble); color: var(--text); font-size: 14px; line-height: 1.45;
}
[data-ui] .reply { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--text-body); max-width: 560px; }
[data-ui] .src { font-size: 11px; line-height: 1.4; color: var(--text-3); }
[data-ui] .meta > span + span::before { content: "\00b7"; margin: 0 var(--space-2); color: var(--line-strong); }
[data-ui] .work { display: flex; flex-direction: column; gap: 6px; }
[data-ui] .steps { display: flex; flex-direction: column; gap: 4px; }
[data-ui] .step { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 12px; min-height: 18px; }
[data-ui] .step .when { margin-left: auto; font-size: 11px; color: var(--text-3); }
[data-ui] .mark { width: 12px; height: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
[data-ui] .mark svg { display: block; }
[data-ui] .tick { color: var(--gain); }
[data-ui] .step.is-missing { color: var(--text-body); }
[data-ui] .step.is-missing .mark, [data-ui] .bang { color: var(--warn); }
[data-ui] .fold { font-size: 12px; color: var(--text-2); }
[data-ui] .fold--warn { color: var(--warn); }
[data-ui] .meta-inline { font-size: 11px; color: var(--text-3); }
[data-ui] .work-now { display: none; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
[data-ui] .agent-dot {
	width: 8px; height: 8px; flex: none; border-radius: var(--radius-pill);
	background-image: linear-gradient(45deg, var(--sky), var(--orchid)); /* taste-skill-ignore: the agent mark (landing.md exception) */
}
[data-ui] .card {
	width: 100%; max-width: var(--w-card);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 12px 14px;
	display: flex; flex-direction: column; gap: 10px;
}
[data-ui] .card-head { display: flex; flex-direction: column; gap: 2px; }
[data-ui] .card-title { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--text); }
[data-ui] .rows {
	display: grid; grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px var(--space-3); font-size: 12px; line-height: 1.5;
}
[data-ui] .rows dt { color: var(--text-2); }
[data-ui] .rows dd { margin: 0; text-align: right; color: var(--text); }
[data-ui] .rows dd.quiet { color: var(--text-2); }
[data-ui] .rows dd.pair { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 var(--space-3); }
[data-ui] .up { color: var(--gain); }
[data-ui] .cant {
	border-top: 1px solid var(--line); padding-top: 10px;
	font-size: 12px; line-height: 1.5; color: var(--text-2);
}
[data-ui] .cant strong { color: var(--text); font-weight: 600; }
[data-ui] .check {
	width: 100%; max-width: var(--w-card);
	border: 1px solid var(--line-strong); border-radius: var(--radius-card);
	padding: 10px 14px; display: flex; flex-direction: column; gap: 2px;
}
[data-ui] .check-title, [data-ui] .plan-title, [data-ui] .plan-sub, [data-ui] .ui-label {
	font-size: 11px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
[data-ui] .check-what { font-size: 13px; color: var(--text); }
[data-ui] .ui-btn {
	display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px;
	border: 1px solid var(--line-strong); border-radius: var(--radius-ctrl);
	color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap;
}
[data-ui] .ui-btn--primary { background: var(--action); border-color: var(--action); color: var(--on-action); font-weight: 600; }
[data-ui] .ui-btn--wide { width: 100%; margin-top: 4px; }
[data-ui] .plan-actions { display: flex; gap: var(--space-2); }
[data-ui] .tag {
	display: inline-flex; align-items: center; height: 20px; padding: 0 6px;
	border-radius: var(--radius-tag); background: var(--raised); color: var(--text-2); font-size: 11px;
}
[data-ui] .plan {
	border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface);
	padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
[data-ui] .plan-list { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
[data-ui] .plan-list li::before { content: "\2192"; color: var(--text-3); margin-right: 8px; }
[data-ui] .plan-note { color: var(--text-2); font-size: 12px; }
[data-ui] .sent { display: flex; flex-direction: column; gap: 14px; }

/* The features output: what the controls change */
[data-out] [data-when="plan"], [data-out] [data-fail], [data-out] [data-fold-fail], [data-out] .bang { display: none; }
[data-out].mode-plan [data-when="plan"] { display: flex; }
[data-out].mode-plan [data-when="send"] { display: none; }
[data-out].is-fail [data-ok], [data-out].is-fail [data-fold-ok], [data-out].is-fail [data-quote-step] .tick { display: none; }
[data-out].is-fail [data-fail], [data-out].is-fail [data-fold-fail] { display: block; }
[data-out].is-fail [data-quote-step] .bang { display: block; }
[data-out].is-fail [data-quote-step] { color: var(--warn); }
[data-out].is-fail [data-quote-step] .when { color: var(--warn); }
[data-out].hide-steps [data-steps] { display: none; }

/* ---------- Archive: pictures of the trade, one grade, each credited ---------- */
.sec-archive { padding-top: 0; }
.arch { display: flex; flex-direction: column; gap: var(--space-3); }
.arch-frame { overflow: hidden; background: var(--surface); }
.arch-frame picture { display: contents; }
.arch-frame img, .arch-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.arch--large .arch-frame { aspect-ratio: 16 / 9; }
/* The film is 624 px wide: on wide screens it sits in the grid rather than full bleed, so it is not blown up. */
@media (min-width: 1101px) {
	.arch--large { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-left: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))); }
	.arch--large .arch-credit { padding-inline: 0; max-width: none; margin: 0; }
}
.arch--large .arch-frame video { object-position: 50% 50%; }
.arch-credit--film { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-6); }
.arch-credit--film span { max-width: 36rem; }
.film-toggle {
	flex: none; font: inherit; font-size: 14px; color: var(--text); background: var(--surface);
	border: 0; border-radius: var(--radius-pill); padding: var(--space-2) var(--space-4); cursor: pointer;
	transition: background-color 200ms var(--ease-out);
}
.film-toggle:hover { background: var(--raised); }
.arch-credit { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.arch:not(.arch--large) .arch-credit { max-width: 72ch; }
.archive {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--space-6); row-gap: var(--space-12); align-items: start;
	margin-top: var(--space-24);
}
.archive-text { grid-column: 1 / 6; grid-row: 1; display: flex; flex-direction: column; gap: var(--space-6); }
.archive-text h2 { max-width: 12ch; }
.arch--a { grid-column: 7 / -1; grid-row: 1 / span 2; }
.arch--b { grid-column: 2 / 6; grid-row: 2; }
.arch--a .arch-frame { aspect-ratio: 1200 / 687; }
.arch--b .arch-frame { aspect-ratio: 1200 / 1045; }
.arch--close .arch-frame { aspect-ratio: 1400 / 896; }

/* ---------- Coverage: one lit panel in a dark row ---------- */
.sec-coverage { background: var(--chrome); }
.coverage-head {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-6); row-gap: var(--space-6);
	align-items: end;
}
.coverage-head h2 { grid-column: 1 / 7; max-width: 14ch; }
.coverage-head p { grid-column: 8 / -1; }
.row-wrap { margin-top: var(--space-16); }
.row {
	--item: min(960px, 70vw);
	display: flex; gap: 6vw;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	--edge: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
	padding: var(--space-6) var(--edge);
	scroll-padding-inline: var(--edge);
	scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.row:focus-visible { outline-offset: -2px; border-radius: 0; }
.row-item {
	flex: none; width: var(--item);
	scroll-snap-align: start;
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-8); align-items: start;
}
.plate {
	padding: var(--space-6);
	border-radius: var(--radius-frame);
	background: var(--chrome);
	transition: background-color 500ms var(--ease-out);
}
.row-item.is-lit .plate, html:not(.js) .plate { background: var(--raised); }
.row-item > * { transition: opacity 500ms var(--ease-out); }
.js .row-item.is-past > * { opacity: 0.35; }
.row-ctrl .btn:disabled { opacity: 0.4; cursor: default; }
.row-text { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-6); }
.row-text p { font-size: 18px; line-height: 1.55; color: var(--text-body); }
.row-text p.t-small { font-size: 14px; color: var(--text-2); }
.row-ctrl { display: flex; gap: var(--space-2); margin-top: var(--space-6); padding: 0 var(--gutter); max-width: var(--w-max, 1440px); margin-inline: auto; }
.sec-coverage .sample-note { margin-top: var(--space-6); }

/* ---------- How it answers: fixed output, live controls ---------- */
.sec-how { padding-top: 0; padding-bottom: 0; }
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.how-out {
	position: sticky; top: 0;
	height: 100svh;
	background: var(--surface);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
	padding: var(--space-8);
}
[data-ui].desk--out { width: 480px; max-width: 100%; }
.how-text { padding: var(--sec-gap) var(--gutter) 24svh calc(var(--gutter) * 2); max-width: 680px; }
.how-head { display: flex; flex-direction: column; gap: var(--space-4); }
.how-block { display: flex; flex-direction: column; gap: var(--space-4); margin-top: 34svh; }
.seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--radius-ctrl); }
.seg-b {
	min-height: var(--hit); min-width: 88px; padding: 0 var(--space-4);
	border: 0; border-radius: var(--radius-ctrl); background: var(--surface); color: var(--text-2);
	font-size: 16px; font-weight: 500; cursor: pointer;
	transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.seg-b:active { transform: scale(0.97); }
.seg-b[aria-pressed="true"] { background: var(--bubble); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .seg-b:hover { color: var(--text); } }
.switch { display: inline-flex; align-items: center; gap: var(--space-3); min-height: var(--hit); cursor: pointer; align-self: flex-start; font-size: 16px; color: var(--text); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
	position: relative; width: 40px; height: 24px; flex: none;
	border-radius: var(--radius-pill); background: var(--bubble);
	transition: background-color var(--t-hover) ease;
}
.switch-track::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
	border-radius: var(--radius-pill); background: var(--text-2);
	transition: transform var(--motion-base) var(--ease-out), background-color var(--t-hover) ease;
}
.switch input:checked + .switch-track { background: var(--action); }
.switch input:checked + .switch-track::after { transform: translateX(16px); background: var(--on-action); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--link); outline-offset: 3px; }
.switch:active .switch-track::after { transform: scale(0.92); }
.switch input:checked:active + .switch-track::after { transform: translateX(16px) scale(0.92); }

/* ---------- The free plan: the figure, very large, on its own field ---------- */
.sec-plan { background: var(--surface); }
.plan-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-6); row-gap: var(--space-8); align-items: start; }
.plan-head { grid-column: 1 / 5; display: flex; flex-direction: column; gap: var(--space-4); padding-top: var(--space-6); }
.plan-figure { grid-column: 6 / -1; display: flex; flex-direction: column; gap: var(--space-8); }
.price { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: var(--space-6); row-gap: var(--space-4); }
.price-n {
	font-family: var(--font-display); font-weight: 600;
	font-size: clamp(120px, 15vw, 232px); line-height: 0.85; letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums; color: var(--text);
}
.price-unit { font-size: 18px; color: var(--text-body); padding-bottom: 0.6em; }
[data-ui].desk--usage { grid-column: 1 / -1; width: 320px; max-width: 100%; gap: 8px; background: var(--raised); }
[data-ui] .usage-line { font-size: 13px; color: var(--text); }
[data-ui] .meter { height: 6px; border-radius: var(--radius-pill); background: var(--bubble); overflow: hidden; }
[data-ui] .meter span { display: block; height: 100%; width: var(--used); background: var(--text-2); border-radius: var(--radius-pill); }
.included { display: flex; flex-direction: column; gap: var(--space-3); font-size: 18px; line-height: 1.5; color: var(--text-body); max-width: 52ch; }

/* ---------- Get started: call and response ---------- */
.calls { display: flex; flex-direction: column; gap: var(--space-24); margin-top: var(--space-16); }
.call {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--space-6); row-gap: var(--space-6); align-items: start;
}
.call > .t-statement { grid-column: 1 / 5; grid-row: 1 / span 3; max-width: 16ch; }
.call-in { grid-column: 5 / 10; background: var(--surface); border-radius: var(--radius-ctrl); padding: var(--space-8); }
.call-out { grid-column: 5 / 11; max-width: 60ch; }
div.call-out { display: flex; flex-direction: column; gap: var(--space-3); }
.call-wide { grid-column: 5 / -1; }
[data-ui].desk--form { width: 320px; max-width: 100%; gap: 6px; }
[data-ui].desk--form .card-title { margin-bottom: 8px; }
[data-ui] .ui-input {
	display: flex; align-items: center; height: 36px; padding: 0 12px; margin-bottom: 6px;
	border: 1px solid var(--line-strong); border-radius: var(--radius-ctrl); background: var(--chrome); color: var(--text);
}
[data-ui].desk--mail { gap: 8px; }
[data-ui] .mail-row { display: flex; gap: 12px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); }
[data-ui] .mail-row .ui-label { width: 64px; flex: none; }
[data-ui] .mail-body { padding-top: 4px; color: var(--text-body); font-size: 14px; }
[data-ui].desk--source { width: 360px; max-width: 100%; gap: 10px; background: var(--surface); }
[data-ui] .source-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[data-ui] .source-note { color: var(--text-2); font-size: 12px; }
[data-ui].desk--source .ui-btn { align-self: flex-start; }
[data-ui].desk--device { gap: 12px; background: var(--surface); }
[data-ui] .device-intro { color: var(--text-body); max-width: 60ch; }
[data-ui] .rows--device dd { text-align: left; }
[data-ui] .rows--device { grid-template-columns: 120px minmax(0, 1fr); font-size: 13px; }

/* ---------- The close: one sentence, one action ---------- */
.sec-close { background: var(--surface); }
.close {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--space-6); row-gap: var(--space-8); align-items: center;
}
.close-text { grid-column: 1 / 6; display: flex; flex-direction: column; gap: var(--space-6); }
.arch--close { grid-column: 7 / -1; }
.t-close-line { max-width: 22ch; font-family: var(--font-display); font-size: 52px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; color: var(--text); }

/* ---------- Footer: a quiet close ---------- */
.site-foot { background: var(--ground); }
.site-foot .wrap { display: flex; flex-direction: column; gap: var(--space-6); padding-top: var(--space-8); padding-bottom: var(--space-8); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); }
.foot-brand .t-caption { color: var(--text-2); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); font-size: 14px; }
.foot-links a { display: inline-flex; align-items: center; min-height: var(--hit); padding: 0 var(--space-2); color: var(--text); text-decoration: none; transition: color var(--t-hover) ease; }
.foot-links a:hover { color: var(--link-hover); }
.foot-links .current { display: inline-flex; align-items: center; min-height: var(--hit); padding: 0 var(--space-2); color: var(--text-2); }
.foot-lines { display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* ---------- Motion layer: content is complete without script; reduced motion drops travel ---------- */
@keyframes desk-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes desk-slide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes desk-settle { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes desk-spin { to { transform: rotate(360deg); } }
@keyframes desk-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes desk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stage-drift { from { transform: translateY(24px); } to { transform: translateY(-24px); } }

/* The answer performing its reads (site.js adds these states while it plays). */
.js [data-ui] .turn.is-playing .work-now { display: flex; }
.js [data-ui] .step.is-wait { display: none; }
.js [data-ui] .step.is-run .mark svg { display: none; }
.js [data-ui] .step.is-run .mark::before {
	content: ""; width: 10px; height: 10px; box-sizing: border-box;
	border: 2px solid var(--text-2); border-right-color: transparent; border-radius: var(--radius-pill);
}
.js [data-ui] .step.is-run .when { visibility: hidden; }
.js [data-ui] .is-held { visibility: hidden; }
.js [data-turn-panel] { display: none; }
.js [data-turn-panel].is-active { display: flex; }

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0; transform: translateY(24px);
		transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
		transition-delay: calc(var(--i, 0) * 80ms);
	}
	.js .row-item[data-reveal] { transform: translateX(64px); transition-duration: 700ms, 1000ms; }
	.js .call-in[data-reveal], .js .call-wide[data-reveal] { transform: translateY(16px) scale(0.98); }
	.js .price[data-reveal] { transform: none; transition-duration: 900ms, 0ms; }
	.js [data-reveal].is-in { opacity: 1; transform: none; }

	/* Signature: the stage opens like a shutter, the fragment settles inside it */
	.js .stage {
		clip-path: polygon(144px 0, 100% 0, 100% 0, 0 0, 0 0);
		transition: clip-path 1100ms var(--ease-in-out);
	}
	.js .stage > .desk { transform: scale(1.06); transform-origin: 0 0; transition: transform 1500ms var(--ease-soft); }
	.js .stage.is-open { clip-path: polygon(144px 0, 100% 0, 100% 100%, 0 100%, 0 144px); }
	.js .stage.is-open > .desk { transform: none; }

	.js [data-ui] .work-now .sweep {
		background-image: linear-gradient(100deg, var(--text) 0%, var(--text) 38%, var(--sky) 46%, var(--orchid) 54%, var(--text) 62%, var(--text) 100%); /* taste-skill-ignore: the one AI-at-work line (landing.md exception) */
		background-size: 250% 100%;
		-webkit-background-clip: text; background-clip: text; /* taste-skill-ignore: the one AI-at-work line */
		-webkit-text-fill-color: transparent;
		animation: desk-sweep var(--motion-shimmer) linear infinite;
	}
	.js [data-ui] .step.is-run .mark::before { animation: desk-spin 800ms linear infinite; }
	.js [data-ui] .step.is-done .tick { animation: desk-settle var(--motion-base) var(--ease-settle) backwards; }
	.js [data-ui] .step.is-run { animation: desk-rise var(--motion-arrive) var(--ease-desk) backwards; }
	.js [data-ui] .is-arriving { animation: desk-rise var(--motion-arrive) var(--ease-desk) backwards; }
	.js [data-ui] .card.is-arriving, .js [data-ui] .check.is-arriving { animation: desk-slide var(--motion-arrive) var(--ease-desk) backwards; }
	.js [data-ui] .is-arriving + .is-arriving { animation-delay: 60ms; }

	/* Features output: a part that appears arrives */
	.js [data-out] [data-when], .js [data-out] [data-fail], .js [data-out] [data-ok], .js [data-out] [data-steps], .js [data-out] .fold {
		animation: desk-rise var(--motion-arrive) var(--ease-desk) backwards;
	}
	.js [data-out] .rows dd[data-fail], .js [data-out] .rows dd[data-ok] { animation-name: desk-fade; }

	/* One moving picture besides the film: the stage drifts a little as the hero scrolls away */
	@supports (animation-timeline: view()) {
		.stage { animation: stage-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
	}
}
@media (prefers-reduced-motion: reduce) {
	.js [data-ui] .is-arriving, .js [data-out] [data-when], .js [data-out] [data-fail], .js [data-out] [data-ok] {
		animation: desk-fade var(--motion-fast) linear backwards;
	}
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) {
	:root { --sec-gap: 120px; }
	.hero h1 { grid-column: 1 / -1; }
	.hero-lead { grid-column: 1 / 7; }
	.hero-try { grid-column: 7 / -1; grid-row: 2; padding-top: var(--space-4); }
	.stage { grid-column: 1 / -1; grid-row: 3; margin-left: 0; margin-top: 0; }
	.hero .sample-note { grid-column: 1 / -1; grid-row: 4; }
	.coverage-head h2, .coverage-head p { grid-column: 1 / -1; }
	.row { --item: min(560px, 80vw); }
	.row-item { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
	.row-text { padding-top: 0; }
	.how { grid-template-columns: minmax(0, 1fr); }
	.how-out { position: static; height: auto; order: 2; padding: var(--space-12) var(--gutter); }
	.how-text { display: contents; }
	.how-head { order: 1; padding: var(--sec-gap) var(--gutter) var(--space-12); }
	.how-block { order: 3; margin-top: 0; padding: var(--space-12) var(--gutter) 0; max-width: 680px; }
	.how-block:last-child { padding-bottom: var(--sec-gap); }
	.plan-head, .plan-figure { grid-column: 1 / -1; }
	.archive-text, .arch--a, .close-text, .arch--close { grid-column: 1 / -1; grid-row: auto; }
	.arch--b { grid-column: 1 / 9; grid-row: auto; }
	.arch--large .arch-frame { aspect-ratio: 16 / 10; }
	.call > .t-statement { grid-column: 1 / -1; grid-row: auto; max-width: none; }
	.call-in, .call-out, .call-wide { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
	.nav { display: none; }
}
@media (max-width: 760px) {
	:root { --gutter: var(--space-4); --sec-gap: 96px; }
	.sec-hero { padding-top: var(--space-8); }
	.hero { row-gap: var(--space-6); }
	.hero-lead, .hero-try { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
	.t-hero { font-size: 44px; line-height: 1.02; }
	.t-section { font-size: 34px; }
	.t-statement, .t-item { font-size: 22px; }
	.t-close-line { font-size: 34px; }
	.t-lead, .t-body, .included, .row-text p { font-size: 17px; }
	.stage {
		grid-row: auto;
		margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
		padding: 72px var(--gutter) var(--space-6);
		min-height: 0;
		clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px);
	}
	.js .stage.is-open { clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); }
	.js .stage { clip-path: polygon(72px 0, 100% 0, 100% 0, 0 0, 0 0); }
	.hero .sample-note { grid-row: auto; }
	[data-ui].desk--chat { padding: 14px; }
	.row { --item: 86vw; gap: 4vw; }
	.row-item { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
	.plate { padding: var(--space-3); }
	[data-ui].desk--panel { width: 100%; }
	.row-text { padding-top: 0; }
	.how-out { padding: var(--space-8) var(--gutter); }
	[data-ui].desk--out { width: 100%; }
	.price { grid-template-columns: minmax(0, 1fr); }
	.price-n { font-size: 34vw; }
	.price-unit { padding-bottom: 0; }
	.call-in { padding: var(--space-4); }
	.arch--b { grid-column: 1 / -1; }
	.arch--large .arch-frame { aspect-ratio: 4 / 3; }
	.archive { margin-top: var(--space-16); }
	.calls { gap: var(--space-16); }
	
	.head-tools .btn { padding: 0 var(--space-3); }
	.head-tools a.plain { padding: 0 var(--space-2); }
	.head-tools { gap: var(--space-1); }
	.site-head .wrap { gap: var(--space-2); min-height: 64px; }
}
@media (max-width: 420px) {
	/* Brand, Sign in and Create account stay; the footer carries the language link. */
	.head-tools a[hreflang] { display: none; }
}


/* Legal pages (privacy, terms) */
.legal { padding-top: var(--space-16); padding-bottom: var(--space-24); }
.legal-wrap { display: flex; flex-direction: column; gap: var(--space-12); }
.legal-head { display: flex; flex-direction: column; gap: var(--space-3); }
.legal-sec { display: flex; flex-direction: column; gap: var(--space-3); max-width: var(--w-prose); }
.legal-sec p, .legal-sec li { color: var(--text-2); line-height: 1.6; }
.legal-sec ul { margin: 0; padding-left: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.legal-sec strong { color: var(--text); font-weight: 600; }
.legal-sec a { color: var(--link); }
.legal-sec code { font-family: var(--font-mono); font-size: 0.92em; color: var(--text); }
.legal .t-feature-sm { font-family: var(--font-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; color: var(--text); }
.legal .t-section { font-size: 44px; }
@media (max-width: 760px) { .legal .t-section { font-size: 32px; } }
