/* IND4AI Automation Studio: tokens and base. Brand kept from the IND4AI site (palette + type). */
:root {
  --night: #06080b;
  --deep: #0b2230;
  --deep-2: #12313f;
  --ice: #bfe3ee;
  --paper: #f4f4f1;
  --paper-2: #e8e8e2;
  --paper-3: #dcddd5;
  --white: #ffffff;
  --ink: #0a0b0d;
  --soft: #4b4f55;
  --frost: #eaf3f6;
  --frost-soft: #a9bcc4;
  --lime: #c8f53c;
  --amber: #ffd23f;
  --data: #1c6f8c;
  --bad: #b42318;
  --bad-tint: #fdecea;
  --warn: #8a5a00;
  --warn-tint: #fff4d6;
  --good: #2f6b1f;

  --font-display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-statement: clamp(1.375rem, 1rem + 1.25vw, 2.125rem);
  --step-head: clamp(2rem, 1rem + 3.4vw, 3.75rem);
  --step-display: clamp(4rem, 1rem + 12vw, 13.75rem);

  --gap: 8px;
  --m: 16px;
  --r: 6px;
  --pad: clamp(16px, 1.6vw, 24px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms;
  --t-hover: 180ms;
  --t-ui: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.on-light :focus-visible, .studio :focus-visible { outline-color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 50; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: var(--r); text-decoration: none; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }

/* Buttons: one shape (6px), flat fills. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out), color var(--t-hover);
}
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #23262b; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d6fa63; }
.btn-grey { background: var(--paper-2); color: var(--ink); }
.btn-grey:hover { background: var(--paper-3); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
