/* vurctube.com: edit-suite dark, amber + cyan, multilingual cue bar */

:root {
  --stage:   #0B1017;
  --panel:   #121926;
  --panel-2: #161F2E;
  --edge:    #263243;
  --text:    #EAEFF6;
  --muted:   #8695AA;
  --amber:   #E9A33C;
  --cyan:    #57C8DD;
  --coral:   #E4674B;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --intl: "Helvetica Neue", "PingFang SC", "PingFang TC", "Hiragino Sans",
          "Apple SD Gothic Neo", "Noto Sans", "Segoe UI", sans-serif;
  --measure: 66ch;
}

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

body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 26px; }

/* ---- masthead ---- */

.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 0; font-family: var(--mono); font-size: 13px;
}
.masthead .name {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.03em; color: var(--text); text-decoration: none;
}
.masthead nav { display: flex; gap: 18px; margin-left: auto; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--text); }
.stamp {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); border: 1px solid currentColor; padding: 3px 8px; border-radius: 2px;
}

/* ---- hero ---- */

.hero { padding: 60px 0 34px; }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.7rem); line-height: 0.99;
  letter-spacing: -0.038em; margin: 0 0 22px; max-width: 15ch;
}
.hero h1 span { color: var(--amber); }
.lede {
  font-size: clamp(1.04rem, 1.9vw, 1.2rem); line-height: 1.55;
  max-width: 52ch; margin: 0; color: var(--muted);
}
.lede strong { color: var(--text); font-weight: 500; }

/* ---- signature: the run panel ---- */

.run {
  margin: 44px 0 8px; border: 1px solid var(--edge); border-radius: 6px;
  background: var(--panel); overflow: hidden;
}
.run-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--edge);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(233,163,60,0.18); }
.run-bar .sp { margin-left: auto; }

.turn { padding: 20px 22px; }
.turn + .turn { border-top: 1px solid var(--edge); }
.who {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 9px;
}
.who.agent { color: var(--amber); }
.ask {
  font-size: clamp(1.08rem, 2.3vw, 1.35rem); line-height: 1.45;
  margin: 0; max-width: 42ch;
}
.did { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.95; color: var(--text); }
.did b { color: var(--cyan); font-weight: 500; }
.did .ok { color: var(--amber); }
.did .sub { color: var(--muted); }

/* multilingual cue bar */
.cues {
  position: relative; height: 62px; border-top: 1px solid var(--edge);
  background: var(--panel-2); overflow: hidden;
}
.cue {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 14px;
  padding: 0 22px; opacity: 0; font-family: var(--intl); font-size: 15px;
}
.cue .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--stage); background: var(--cyan); padding: 3px 7px; border-radius: 2px;
  flex: none;
}
.cue[dir="rtl"] { direction: rtl; }

@media (prefers-reduced-motion: no-preference) {
  .cue { animation: cue 21s infinite; }
  .cue:nth-child(1) { animation-delay: 0s; }
  .cue:nth-child(2) { animation-delay: 3.5s; }
  .cue:nth-child(3) { animation-delay: 7s; }
  .cue:nth-child(4) { animation-delay: 10.5s; }
  .cue:nth-child(5) { animation-delay: 14s; }
  .cue:nth-child(6) { animation-delay: 17.5s; }
}
@keyframes cue {
  0%   { opacity: 0; transform: translateY(6px); }
  2%   { opacity: 1; transform: none; }
  15%  { opacity: 1; transform: none; }
  17%  { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; }
}

.run-note {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  margin: 12px 0 0; line-height: 1.7;
}

/* ---- sections ---- */

section { padding: 62px 0; border-top: 1px solid var(--edge); }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 13px;
}
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem); letter-spacing: -0.028em;
  line-height: 1.1; margin: 0 0 16px; max-width: 24ch;
}
.section-intro { max-width: var(--measure); color: var(--muted); margin: 0 0 34px; }

/* jobs grid */
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.job {
  border: 1px solid var(--edge); border-radius: 5px; padding: 20px 20px 22px;
  background: var(--panel);
}
.job h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: -0.012em; margin: 0 0 7px;
}
.job p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.job .lang { font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.08em; display: block; margin-bottom: 11px; }

/* brakes */
.brakes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 5px; overflow: hidden; }
.brake { background: var(--panel); padding: 20px; }
.brake h3 { font-family: var(--display); font-weight: 700; font-size: 1rem; margin: 0 0 6px; }
.brake p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* honest limits */
.limits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.limits li {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  border: 1px solid var(--edge); border-left: 2px solid var(--coral);
  padding: 7px 12px; border-radius: 2px; background: var(--panel);
}
.limits li::before { content: "no API"; color: var(--coral); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 9px; }

/* ---- prose docs ---- */

.doc { padding: 40px 0 24px; max-width: var(--measure); }
.doc h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -0.032em;
  line-height: 1.05; margin: 0 0 10px;
}
.doc .dates { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 36px; }
.doc h2 {
  font-family: var(--display); font-size: 1.18rem; font-weight: 700;
  letter-spacing: -0.01em; margin: 38px 0 10px; max-width: none; display: flex; gap: 12px;
}
.doc h2 .n { font-family: var(--mono); font-size: 13px; color: var(--amber); font-weight: 400; padding-top: 5px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 7px; }
.doc code { font-family: var(--mono); font-size: 0.88em; background: var(--panel-2); padding: 1px 5px; border-radius: 2px; }

.callout {
  border: 1px solid var(--edge); border-left: 3px solid var(--amber);
  background: var(--panel); padding: 16px 20px; margin: 22px 0; border-radius: 3px;
}
.callout p { margin: 0; }

/* ---- footer ---- */

footer {
  border-top: 1px solid var(--edge); margin-top: 34px; padding: 26px 0 52px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: baseline; justify-content: space-between;
}
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); }
footer .disclaim { max-width: 50ch; line-height: 1.6; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 26px; }
  section { padding: 46px 0; }
  .turn { padding: 17px 18px; }
  .cues { height: 92px; }
  .cue { font-size: 14px; padding: 0 18px; line-height: 1.45; }
  .did { font-size: 13px; line-height: 1.85; }
  .brakes { grid-template-columns: minmax(0, 1fr); }
}

/* reduced motion last, so it wins over the mobile height rule */
@media (prefers-reduced-motion: reduce) {
  .cues { height: auto; }
  .cue { position: static; opacity: 1; padding: 9px 22px; animation: none; }
}
