/* PowerShell console blue is the page's signature; everything else stays quiet. */
:root {
  --console: #012456;      /* classic PowerShell window */
  --console-ink: #eeedf0;  /* PowerShell console text */
  --command: #f2e28b;      /* command echo, used only inside the console */
  --ninja: #2f8cff;        /* headband blue from the logo */
  --paper: #f4f6f9;
  --ink: #13202f;
  --muted: #536173;
  --rule: #d8dee6;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ui); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ninja); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }

/* ---------- Console hero ---------- */
.console { background: var(--console); color: var(--console-ink); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { width: 40px; height: 40px; }
.bar nav { display: flex; gap: 6px; }
.bar nav a { text-decoration: none; padding: 6px 12px; border-radius: 4px; font-size: 15px; color: #c9d4e6; }
.bar nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menus { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; list-style: none; padding-inline-start: 12px; border-inline-start: 1px solid rgba(255, 255, 255, 0.2); }
.langs a { display: block; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; color: #c9d4e6; }
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { color: var(--console); background: var(--console-ink); }
/* Hebrew */
html[lang="he"] body { font-family: "Assistant", var(--ui); }
[lang="he"] .hero h1, [lang="he"] h2 { letter-spacing: 0; }

.hero { padding: 72px 0 88px; position: relative; }
.mascot { position: absolute; inset-inline-end: 0; bottom: 64px; width: min(28vw, 330px); height: auto; pointer-events: none; }
.hero .copy { position: relative; z-index: 1; padding-inline-end: min(29vw, 340px); }
.prompt { font-family: var(--mono); font-size: 17px; color: #9fb3d1; direction: ltr; }
[dir="rtl"] .prompt { text-align: right; }
.prompt .cmd { color: var(--command); }
.cursor { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.18em; background: var(--console-ink); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 15ch;
}
.hero .lede { font-size: clamp(18px, 2.1vw, 22px); max-width: 38em; color: #d7dfec; }
.hero .lede strong { color: #fff; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn-primary { background: var(--ninja); color: #fff; }
.btn-primary:hover { background: #1f7ef0; }
.btn-quiet { border: 1px solid rgba(238, 237, 240, 0.45); color: var(--console-ink); }
.btn-quiet:hover { border-color: #fff; color: #fff; }

/* type-in of the first command, once */
.typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 6ch; animation: type 0.9s steps(6) 0.3s both; }
@keyframes type { from { width: 0; } to { width: 6ch; } }
.reveal { animation: show 0.5s ease-out 1.25s both; }
@keyframes show { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .typed, .reveal, .cursor { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 14px; }
.intro { color: var(--muted); max-width: 40em; font-size: 18px; margin-bottom: 40px; }

/* Tools: a programs list, not a card grid */
.tools { border-top: 2px solid var(--ink); }
.tool { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.tool h3 { font-size: 21px; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ver { font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--muted); }
.tool p { color: #364457; max-width: 46em; margin-top: 4px; }
.tool .links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; padding-top: 2px; }
.link-dl { background: var(--ink); color: #fff; }
.link-dl:hover { background: #24364d; }
.link-src { border: 1px solid #aeb8c5; color: var(--ink); }
.link-src:hover { border-color: var(--ink); }
.tool .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Services on dark */
.services { background: var(--ink); color: #e7ecf3; }
.services .intro { color: #a9b6c8; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #2c3d55; }
.svc a { display: block; padding-block: 28px 30px; padding-inline-end: 28px; text-decoration: none; border-bottom: 1px solid #2c3d55; }
.svc a + a { padding-inline-start: 28px; border-inline-start: 1px solid #2c3d55; }
.svc strong { display: block; font-size: 20px; color: #fff; margin-bottom: 6px; }
.svc span { color: #a9b6c8; }
.svc .host { display: block; margin-top: 14px; font-family: var(--mono); font-size: 14px; color: var(--ninja); }
.svc a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about figure img { width: 100%; height: auto; display: block; border-radius: 6px; }
.about figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.about p + p { margin-top: 14px; }
.about p { font-size: 18px; color: #2a384a; }
.skills { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.skills li { padding-inline-start: 18px; position: relative; color: #2a384a; }
.skills li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 2px; background: var(--ninja); }

/* Contact */
.contact { background: var(--console); color: var(--console-ink); }
.contact .prompt { margin-bottom: 14px; }
.contact h2 { color: #fff; }
.contact .intro { color: #c3cfe1; }
.contact .actions { margin-bottom: 0; }

footer { background: var(--console); color: #8fa3c2; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 26px 0 34px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc a, .svc a + a { padding: 22px 0; border-inline-start: 0; }
  .about { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .bar nav { display: none; }
  .langs { border-inline-start: 0; padding-inline-start: 0; }
  .mascot { display: none; }
  .hero .copy { padding-inline-end: 0; }
  .hero { padding: 48px 0 64px; }
  .prompt { font-size: 15px; }
  section { padding: 64px 0; }
  .tool { grid-template-columns: 1fr; }
  .tool .links { justify-content: flex-start; }
}

/* ---------- Tools: WinTool first, then the story of how it got here ---------- */
.feat { background: var(--console); color: var(--console-ink); border-radius: 8px; padding: 36px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.feat .prompt { font-size: 15px; }
.feat h3 { font-size: 34px; line-height: 1.15; margin: 14px 0 8px; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.feat .ver { color: #9fb3d1; }
.feat p { color: #d7dfec; font-size: 17px; margin-bottom: 22px; max-width: 34em; }
.feat .actions { margin: 0; }
.feat .small { font-size: 13px; color: #9fb3d1; margin-top: 16px; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ninja); color: #fff; padding: 3px 9px; border-radius: 99px; }
.caps { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.caps li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.caps strong { display: block; color: #fff; font-size: 16px; }
.caps span { font-size: 14px; color: #9fb3d1; }
.ver, bdi { unicode-bidi: isolate; }
.ver { direction: ltr; display: inline-block; }

h3.sub { font-size: 24px; margin: 64px 0 6px; }
.subintro { color: var(--muted); max-width: 44em; margin-bottom: 24px; font-size: 17px; }
.tl { display: grid; grid-template-columns: 140px 28px 1fr; gap: 0 20px; }
.tl .when { text-align: end; padding-top: 22px; }
.tl .lane { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tl .date { color: var(--muted); font-size: 14px; }
.tl .rail { display: flex; flex-direction: column; align-items: center; }
.tl .rail i { width: 2px; background: #aeb8c5; }
.tl .rail i:first-child { height: 26px; }
.tl .rail i:last-child { flex: 1; }
.tl .rail b { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ninja); background: #fff; }
.tl.now .rail b { background: var(--ninja); }
.tl.next .rail b { border-style: dashed; }
.tl.next .rail i:last-child { background: none; border-inline-start: 2px dashed #aeb8c5; }
.tl.next .rail i:first-child, .tl.last .rail i:last-child { visibility: hidden; }
.tl .tool { border-bottom: 1px solid var(--rule); }
.tl.next .tool { border-bottom-style: dashed; border-bottom-color: #aeb8c5; }
.tag { font-size: 12px; font-weight: 600; color: var(--console); background: #dde9fb; padding: 2px 8px; border-radius: 99px; }
.became { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--console); background: #eef3fb; border: 1px solid #c9d8ee; border-radius: 4px; padding: 5px 10px; }
.became b { color: var(--ninja); }
.more { font-weight: 600; color: #1f6fd1; text-decoration: none; white-space: nowrap; align-self: center; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tool pages ---------- */
.crumb { font-size: 14px; color: #9fb3d1; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: #fff; }
.toolhero { padding: 40px 0 56px; }
.toolhero h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin: 14px 0 12px; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.toolhero .ver { font-family: var(--mono); font-size: 16px; font-weight: 400; color: #9fb3d1; }
.toolhero .lede { font-size: 19px; color: #d7dfec; max-width: 36em; }
.toolhero .actions { margin-bottom: 0; }
.toolpage { padding: 48px 0 72px; }
.strip-h { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.strip { display: flex; gap: 8px; align-items: center; margin-bottom: 56px; }
.strip .arrow { color: var(--ninja); }
.node { flex: 1; display: block; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 10px 12px; text-decoration: none; }
.node strong { display: block; font-size: 14px; }
.node span { display: block; font-size: 13px; color: var(--muted); }
a.node:hover { border-color: var(--ninja); }
.node.here { background: var(--console); border-color: var(--console); color: #fff; }
.node.here span { color: #9fb3d1; }
.cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; }
.cols h2 { font-size: 26px; margin-bottom: 12px; }
.cols h2 + * { margin-top: 0; }
.cols .gap { margin-top: 32px; }
.cols p { color: #364457; font-size: 17px; margin-bottom: 14px; }
.cols ul.b { color: #364457; font-size: 17px; padding-inline-start: 20px; }
.cols ul.b li { margin-bottom: 6px; }
.grew { list-style: none; border-inline-start: 2px solid #aeb8c5; }
.grew li { position: relative; padding-bottom: 14px; padding-inline-start: 20px; color: #364457; }
.grew li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ninja); }
.grew li strong { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.box { margin-top: 28px; background: #dde9fb; border-radius: 6px; padding: 18px 20px; }
.box p { margin: 4px 0 8px; font-size: 16px; }
.vision { margin-top: 32px; border: 2px dashed #9fb7da; border-radius: 6px; padding: 20px 22px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rule); }

@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; padding: 28px 22px; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .strip { flex-wrap: wrap; }
  .strip .node { flex: 1 1 40%; }
  .strip .arrow { display: none; }
}
@media (max-width: 640px) {
  .tl { grid-template-columns: 76px 20px 1fr; gap: 0 12px; }
  .tl .tool .links { justify-content: flex-start; }
  .pager { flex-direction: column; }
}
