/* Best AI Zone site. One dark look: graphite ground, light ink, safety-orange accent on actions only. */
:root {
  --bg: #18191b;
  --surface: #222427;
  --ink: #eff0f1;
  --muted: #b4b6bb;
  --accent: #ff4a1f;
  --accent-ink: #18191b;
  --field: #eff0f1;
  --field-ink: #18191b;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1.2rem + 6.4vw, 7.5rem);

  --margin: clamp(20px, 4vw, 56px);
  --section-gap: clamp(96px, 14vw, 200px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  border-top: 6px solid var(--accent);
}

a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap {
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}

/* Top bar: wordmark, a few links, one action. */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.wordmark { font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none; }
.bar nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: var(--step-small); }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 0;
  transition: transform 160ms ease, background-color 160ms ease;
}
.button:hover { color: var(--accent-ink); background: #ff6a45; }
.button:active { transform: translateY(1px); }

/* Home */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 112px);
}
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero-copy p { margin: 0; }
.hero-ui { margin: 0; display: grid; gap: 14px; justify-items: start; }
.hero-ui figcaption { color: var(--muted); font-size: var(--step-small); max-width: 46ch; }
.hero h1 {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.hero .lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }

/* Interface fragments (data-ui): the product's own conventions apply inside. */
.ui {
  font-family: "Rubik", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #1d1f22;
  background: #ffffff;
  border-radius: 10px;
  width: 100%;
}
.chat { max-width: 440px; background: #eceeef; overflow: hidden; border-radius: 12px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #ffffff; }
.chat-head span:last-child { display: grid; }
.chat-head small { color: #5f6368; font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #18191b; display: grid; place-items: center; font-weight: 500; }
.chat-body { display: grid; gap: 8px; padding: 14px; }
.chat-body p { margin: 0; }
.sys { justify-self: center; font-size: 12px; color: #5f6368; background: #e6e3de; padding: 3px 10px; border-radius: 8px; }
.msg { max-width: 82%; padding: 8px 10px 18px; border-radius: 10px; position: relative; }
.msg time { position: absolute; bottom: 3px; left: 10px; font-size: 11px; color: #6b6f75; }
.msg.out { justify-self: start; background: #dff3e4; }
.msg.in { justify-self: end; background: #ffffff; }
.link { color: #1a5fb4; direction: ltr; unicode-bidi: isolate; }

.flow-ui { display: grid; gap: 20px; align-content: start; justify-items: end; }
.card { padding: 16px; max-width: 360px; }

/* Photographs: square corners, desaturated so the interface keeps the colour. */
.band { margin: var(--section-gap) 0 0; position: relative; overflow: hidden; }
.band img { display: block; width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; object-position: center 45%; filter: saturate(0.85); }
.photo { margin: 0; display: grid; gap: 10px; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.85); }
.photo figcaption { font-size: var(--step-small); color: inherit; opacity: 1; }
.flow .photo figcaption { color: #4a4d52; }
.flow-text { display: grid; gap: 40px; align-content: start; }
.close-text { display: grid; gap: 16px; align-content: end; }
.close-text p, .close-text h2 { margin: 0; }
.band figcaption, .side-photo figcaption { color: var(--muted); font-size: var(--step-small); padding-top: 12px; }
.data-head { display: grid; gap: 32px; align-content: start; }
.side-photo { margin: 0; }
.side-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.85); }
.credits { flex-basis: 100%; margin: 0; max-width: 90ch; }
.band img { transition: transform 1200ms cubic-bezier(.2,.7,.2,1); }
.band:hover img { transform: scale(1.015); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.tag { font-size: 12px; background: #e8eefc; color: #1a4fb4; padding: 2px 8px; border-radius: 999px; }
.lead-card dl { margin: 0; display: grid; gap: 8px; }
.lead-card dl div { display: flex; justify-content: space-between; gap: 16px; }
.lead-card dt { color: #5f6368; }
.lead-card dd { margin: 0; font-weight: 500; }
.ok { color: #1d7a3e; }
.slots { max-width: 320px; }
.slot-grid { display: grid; grid-template-columns: 28px repeat(3, 1fr); gap: 6px; align-items: center; }
.day { color: #5f6368; }
.slot { text-align: center; padding: 6px 0; border-radius: 6px; background: #f1f3f4; font-variant-numeric: tabular-nums; }
.slot.off { background: transparent; color: #9aa0a6; }
.slot.picked { background: var(--accent); color: #18191b; font-weight: 500; }
.docs { max-width: 380px; }
.count { font-size: 12px; color: #5f6368; }
.docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.docs li { display: flex; align-items: center; gap: 8px; }
.docs li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; flex: none; }
.docs li.got::before { background: #1d7a3e; }
.docs li.miss { color: #9a3412; }
.docs li.miss::before { background: transparent; border: 2px solid #d97706; box-sizing: border-box; }
.docs .note { margin: 12px 0 0; font-size: 12px; color: #5f6368; }

/* Entrances: only when the script runs and motion is allowed. */
.pre { opacity: 0; transform: translateY(22px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
.pre.in { opacity: 1; transform: none; }
.ui { transition: transform 200ms ease; }
.ui:hover { transform: translateY(-2px); }

.flow {
  background: var(--field);
  color: var(--field-ink);
  padding-block: clamp(64px, 9vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}
.flow h2, .section h2 {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { display: grid; gap: 6px; }
.steps strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.steps span { max-width: 52ch; }

.section {
  padding-block: var(--section-gap) 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}
.section .body { display: grid; gap: 20px; max-width: 60ch; align-content: start; }
.section .body p { margin: 0; }

.close {
  margin-top: var(--section-gap);
  background: var(--surface);
  padding-block: clamp(56px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: end;
}
.close h2 { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; margin: 0 0 16px; }
.close p { margin: 0; }
.email { font-size: var(--step-lead); font-weight: 500; overflow-wrap: anywhere; }

footer.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 32px 40px;
  font-size: var(--step-small);
  color: var(--muted);
}
footer.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* Legal pages */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 8vw, 112px) clamp(64px, 9vw, 128px);
}
.doc h1 {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 16px;
  text-wrap: balance;
}
.doc .meta { color: var(--muted); font-size: var(--step-small); margin: 0; }
.doc article { max-width: 68ch; display: grid; gap: 36px; }
.doc article section { display: grid; gap: 12px; }
.doc h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.doc p, .doc ul { margin: 0; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }

@media (max-width: 860px) {
  .hero, .flow, .section, .close, .doc { grid-template-columns: minmax(0, 1fr); }
  .flow-ui { justify-items: start; }
  .bar nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .pre { opacity: 1; transform: none; transition: none; }
  .ui, .button { transition: none; }
}
