/* The BI App demo landing page (T169, T261). The look is SET1 image 1 (the owner's pick, 2026-11-13: "the exact HTML
   page in the browser what is in the picture. Exact colors."). Every colour is sampled from that image and named in
   the block below; no colour is written anywhere else in this file. Light page only: no dark variant (the kit's dark
   tokens and the prefers-color-scheme rules are gone). Non-colour kit tokens (Inter, spacing, type sizes, radii) are
   still used. Every picture comes from Recraft, unchanged (hero background, card drawings inlined with their classes
   coloured below, service icons as files); the dome behind each card drawing is an empty slot. Gradients and shadows
   here are styling. No script. */
:root {
  --ink: rgb(2, 22, 57);          /* SET1 (design-kit's trace) */
  --accent: rgb(1, 184, 230);     /* SET1 */
  --tint: rgb(195, 244, 250);     /* SET1 */
  --face: rgb(250, 251, 252);     /* SET1 */
  --white: rgb(255, 255, 255);
  --page: rgb(245, 249, 254);     /* sampled: page ground below the hero */
  --card: rgb(252, 253, 255);     /* sampled: card face */
  --card-edge: rgb(229, 233, 242);/* sampled: card's 1px edge */
  --shadow: rgba(40, 75, 125, 0.12); /* soft, broad card shadow: image 1 fades out about 35 px below a card */
  --text: rgb(2, 9, 24);          /* sampled: headings and body text (darkest pixels) */
  --text-2: rgb(24, 32, 48);      /* sampled again: body text, near the picture's darkest pixels */
  --link: rgb(2, 46, 103);        /* sampled: links, the services' eyebrow */
  --hair: rgb(206, 220, 233);     /* sampled: the footer's rule */
  --cta-a: rgb(214, 229, 244);    /* sampled: the closed-test panel's ends */
  --cta-b: rgb(234, 242, 249);    /* sampled: its middle */
  --btn-a: rgb(15, 58, 100);      /* sampled: the main button's top edge */
  --btn-b: rgb(5, 42, 78);        /* sampled: its body */
  --muted: rgb(78, 92, 116);      /* footer copy, notice pages: 70% ink over white */
  --dome-a: rgb(246, 250, 253);   /* sampled: the pale dome behind a card drawing, centre */
  --dome-b: rgb(232, 244, 252);   /* sampled: its rim */
  --shot-shadow: rgba(0, 0, 0, 0.38); /* the hero screens' shadow on the dark wash */
  --on-ink: var(--white);
  --on-ink-2: rgb(236, 240, 246); /* hero running text, 93% white over ink */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--fs-font-sans);
  font-size: 14.5px;
  line-height: 1.4;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--link); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--link); text-decoration-color: var(--link); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--fs-radius-sm); }

/* One column; 16px gutters on a phone, 56px from a tablet up (SET1's content starts 58px in at 1,086 px). */
.wrap { width: 100%; max-width: 1100px; margin-inline: auto; padding-inline: var(--fs-space-4); }
@media (min-width: 720px) { .wrap { padding-inline: 56px; } }

.skip {
  position: absolute; left: var(--fs-space-4); top: -100px; z-index: 10;
  padding: var(--fs-space-2) var(--fs-space-4);
  background: var(--white); border: 1px solid var(--accent); border-radius: var(--fs-radius-md);
}
.skip:focus { top: var(--fs-space-2); }

/* The main button: a navy pill with a faint lighter top edge, white bold text. */
.btn {
  display: inline-flex; align-items: center; gap: var(--fs-space-2);
  padding: 11px 26px;
  border: 1px solid var(--btn-a);
  border-radius: var(--fs-radius-pill);
  background: linear-gradient(180deg, var(--btn-a), var(--btn-b));
  color: var(--white);
  font-weight: 700; font-size: 14.5px;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--btn-b); color: var(--white); }

/* The stage: the top bar and the hero share one picture (Recraft's hero-bg.webp, unchanged) over a flat ink fallback. */
.top { background: var(--ink); color: var(--on-ink); }  /* the notice pages */
.stage .top { background: transparent; }
.stage {
  position: relative;
  background-color: var(--ink);
  background-image: url("img/hero-bg.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: var(--on-ink);
}
/* The picture's waves dissolve into the page ground over the last 80 px (hero-bg.webp itself is unchanged). */
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, transparent, var(--page)); pointer-events: none; }
.top__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--fs-space-1) var(--fs-space-4); padding-block: 9px; min-height: 52px; }
.top__brand { color: var(--on-ink); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.top__brand:hover { color: var(--on-ink); }
.top .btn { padding: 8px 18px; font-size: 13.5px; background: var(--white); color: var(--text); border-color: var(--white); box-shadow: 0 2px 10px var(--shadow); }
.top .btn:hover { background: var(--tint); }
.top__by { font-size: var(--fs-text-md-size); }
.top__by a { color: var(--on-ink); text-decoration-color: var(--accent); }
.top__by a:hover { color: var(--on-ink); }

/* The hero: text left, two real demo screens angled on the right. */
.hero { position: relative; overflow: hidden; padding-block: 8px 62px; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--fs-space-5); }
.hero__copy { display: grid; gap: 14px; align-content: center; }
.hero__eyebrow { margin-bottom: 10px; color: var(--tint); font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.01em; }
.hero__copy p { margin-bottom: 12px; color: var(--on-ink-2); font-size: 13px; line-height: 1.45; }
.hero__copy p.hero__eyebrow { margin-bottom: 10px; color: var(--tint); }
.hero__shots { position: relative; height: calc(49vw + 50px); margin-top: var(--fs-space-4); }
.hero__shot {
  position: absolute; width: 78%; overflow: hidden;
  border: 1px solid var(--tint); border-radius: 10px; background: var(--white);
  box-shadow: 0 18px 40px var(--shot-shadow);
}
.hero__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.chrome { display: flex; gap: 5px; align-items: center; height: 18px; padding-inline: 9px; background: var(--face); border-bottom: 1px solid var(--card-edge); }
.chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--card-edge); }
.chrome i:first-child { background: var(--accent); }
.hero__shot--1 { left: 0; top: 30px; transform: rotate(-4deg); }
.hero__shot--2 { right: 0; top: 0; transform: rotate(3deg); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); align-items: start; column-gap: 24px; }
  .hero__copy { padding-top: 22px; }
  .hero__shots { height: 300px; margin: 12px 0 0; }
  .hero__shot--1 img { aspect-ratio: 1 / 1; }
  .hero__shot--2 img { aspect-ratio: 5 / 4; }
  .hero__shot { width: 50%; }
  .hero__shot--1 { left: 0; top: 56px; transform: perspective(1200px) rotateY(18deg) rotate(-1deg); }
  .hero__shot--2 { right: -2%; top: 0; width: 74%; transform: perspective(1200px) rotateY(-10deg) rotate(1.5deg); }
}

/* The choice: cards in a row; as many as fit. */
.choose { padding-block: 12px 0; }
.choose h2 { margin-bottom: 24px; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.demos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.demos > li { display: flex; }
.demo {
  display: flex; flex-direction: column; width: 100%; overflow: hidden;
  border: 1px solid var(--card-edge); border-radius: 14px;
  background: var(--card); color: var(--text); text-decoration: none;
  box-shadow: 0 10px 38px var(--shadow);
  transition: box-shadow 0.2s;
}
a.demo:hover { color: var(--text); box-shadow: 0 12px 44px var(--shadow); }
a.demo:hover .demo__go { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* .pic: the empty place of a card drawing whose file is absent; nothing drawn. */
.pic { display: block; width: 100%; aspect-ratio: 16 / 10; }
/* The Recraft card drawings (landing/src/hu/art/*.svg, inlined, unchanged) carry classes only; SET1's colours here. */
.art { display: block; position: relative; width: 100%; height: auto; max-height: 172px; aspect-ratio: 16 / 10; }
.k-inkf { fill: var(--ink); }
.k-accf { fill: var(--accent); }
.k-accf-soft { fill: var(--tint); }
.k-tint-only { fill: var(--tint); }
.k-face-only { fill: var(--face); }
/* The pale dome behind a drawing, made in CSS (the owner: "with or without ReCraft"): a half-ellipse, flat at its foot. */
.demo__art { position: relative; padding: 8px 8px 0; }
.demo__dome { position: absolute; inset: 6% 9% 0; pointer-events: none; border-radius: 50% 50% 0 0 / 80% 80% 0 0; background: radial-gradient(ellipse at 50% 100%, var(--dome-a) 0, var(--dome-a) 45%, var(--dome-b) 100%); }
.demo__body { display: grid; flex: 1; align-content: start; gap: 6px; padding: 10px 22px 18px; }
.demo__name { font-size: 19px; line-height: 1.2; }
.demo__line { color: var(--text-2); font-size: 14px; line-height: 1.35; }
.demo__go { margin-top: 12px; font-weight: 700; color: var(--link); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.demo--soon { background: var(--face); box-shadow: none; }
.demo--soon .demo__go { color: var(--muted); font-weight: 500; text-decoration: none; }

/* The closed-test panel: a pale blue wash, lighter in the middle. */
.pilot {
  display: grid; gap: var(--fs-space-4);
  margin-top: 30px; padding: 20px 30px;
  border-radius: 14px;
  /* image 1's own panel background (text and button painted out, the wash and its faint wave kept), over the gradient */
  background-color: var(--cta-b);
  background-image: url("img/cta-bg.webp"), linear-gradient(90deg, var(--cta-a), var(--cta-b) 45%, var(--cta-a));
  background-size: cover, auto;
  background-position: right bottom, 0 0;
  background-repeat: no-repeat;
}
.pilot p { font-size: 15px; line-height: 1.42; color: var(--text-2); }
.pilot p strong { color: var(--text); }
@media (min-width: 760px) { .pilot { grid-template-columns: 1fr auto; align-items: center; gap: 36px; } }

.section { padding-block: 28px 22px; }
.eyebrow { margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.intro { margin-bottom: 18px; color: var(--text-2); font-size: 15.5px; }

.services { display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service .icon { display: block; width: 72px; height: 72px; margin: -14px 0 -4px -9px; }
.service strong { display: block; font-size: 16.5px; line-height: 1.25; margin-bottom: 6px; color: var(--text); }
.service p { font-size: 12.4px; line-height: 1.36; color: var(--text-2); }
.service {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 10px;
  border: 1px solid var(--card-edge); border-radius: 12px; background: var(--card);
  box-shadow: 0 8px 30px var(--shadow);
}
.service a { margin-top: auto; font-weight: 700; font-size: 14px; }

.foot { font-size: 13px; line-height: 1.4; }
.foot__row { padding-block: 0 20px; display: grid; gap: 14px; }
.foot__row::before { content: ""; height: 1px; background: var(--hair); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__copy { color: var(--text); }

/* The notice pages (legal.html, privacy.html, how-it-works*.html); their small inline styles use these properties. */
.notice { padding-block: 32px 48px; max-width: 46rem; }
.notice h1 { margin: 16px 0; font-size: 28px; line-height: 1.2; }
.notice p { margin-bottom: 12px; color: var(--text-2); }
.notice dl { margin: 0 0 16px; }
.notice dt { margin-top: 16px; font-weight: 600; }
.notice dd { margin: 4px 0 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
