/* The ai.pashut guide site — one stylesheet for the links page and the guide pages (build.py copies it as it is).
   Colours and the face are the videos' own (skills/reel-template/template/index.html):
   ground #05070f, ink #ffffff, mute #a5b0d6, mint #7cf5c4, pink #ff6b9a, Heebo.
   Mint is for what the reader does (buttons, copy). Pink is only for the word they commented.
   His notes of 2026-11-10: the name in Latin letters only, the text centred, a tech background at the sides. */

/* The videos' face, Heebo (SIL Open Font License, fonts/OFL.txt), served from our own domain in two small files:
   Hebrew (12 KB) and Latin (30 KB). A browser fetches only the one a page's letters need. */
@font-face {
  font-family: "Heebo";
  src: url("fonts/heebo-hebrew.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("fonts/heebo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #05070f;
  --ink: #ffffff;
  --mute: #a5b0d6;
  --mint: #7cf5c4;
  --pink: #ff6b9a;
  --panel: #0d1120;
  --line: #2a3150;
  --on-mint: #04120c;
  --measure: 34rem;
  /* The side pattern, drawn once: two signal lines running down, one ending in a small chip (mint, the guide)
     and one in a typing bubble (pink, the comment). It tiles top to bottom with no seam. */
  --traces: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='260' viewBox='0 0 220 260' fill='none'%3E%3Cg stroke='%232a3150' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 0V56L66 92V150L30 186V260'/%3E%3Cpath d='M150 0V30L186 66V120L150 156V260'/%3E%3Cpath d='M66 120H104'/%3E%3Cpath d='M150 200H112'/%3E%3Cpath d='M186 92H206'/%3E%3C/g%3E%3Crect x='104' y='106' width='28' height='28' rx='7' stroke='%237cf5c4' stroke-opacity='.6' stroke-width='1.5'/%3E%3Cpath d='M112 120h12' stroke='%237cf5c4' stroke-opacity='.6' stroke-width='1.5' stroke-linecap='round'/%3E%3Crect x='74' y='190' width='38' height='20' rx='10' stroke='%23ff6b9a' stroke-opacity='.65' stroke-width='1.5'/%3E%3Cg fill='%23ff6b9a' fill-opacity='.75'%3E%3Ccircle cx='85' cy='200' r='1.7'/%3E%3Ccircle cx='93' cy='200' r='1.7'/%3E%3Ccircle cx='101' cy='200' r='1.7'/%3E%3C/g%3E%3Ccircle cx='30' cy='56' r='3' fill='%237cf5c4' fill-opacity='.75'/%3E%3Ccircle cx='186' cy='120' r='3' fill='%23ff6b9a' fill-opacity='.75'/%3E%3Ccircle cx='206' cy='92' r='2.5' stroke='%232a3150' stroke-width='1.5'/%3E%3Ccircle cx='66' cy='150' r='2.5' stroke='%232a3150' stroke-width='1.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
  /* One glow behind the top of the page: the videos' night light. */
  background-image: radial-gradient(52rem 20rem at 50% -7rem, rgba(124, 245, 196, 0.15), transparent 65%);
  background-repeat: no-repeat;
}

/* The two sides. Each is the same drawing over a fine grid of dots; the left one is the right one mirrored.
   A mask fades each side out before it reaches the column of text, so nothing sits behind the words. */
body::before, body::after {
  content: "";
  position: fixed; top: 0; bottom: 0; width: 50%;
  z-index: -1; pointer-events: none;
  background-image: var(--traces), radial-gradient(circle, #1b2346 1px, transparent 1.6px);
  background-size: 220px 260px, 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30rem), transparent calc(100% - 19rem));
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30rem), transparent calc(100% - 19rem));
}
body::before { left: 0; }
body::after { right: 0; transform: scaleX(-1); }

/* On a phone there are no sides to speak of: a thin edge of the pattern stays, well clear of the text. */
@media (max-width: 62rem) {
  body::before, body::after {
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 2.25rem);
            mask-image: linear-gradient(90deg, #000 0, transparent 2.25rem);
  }
}

.page {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 1.25rem 1.5rem 4rem;
}

a { color: var(--mint); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 0.75rem; }

/* ---- a preview's own label; a published page does not carry it ---- */
.sample-note {
  margin: 0 0 1.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px dashed var(--line);
  border-radius: 0.75rem;
  background: var(--ground);
  color: var(--mute);
  font-size: 0.875rem;
}

/* ---- the face: the page's profile picture, cut to its own ring; the glow the cut removes is given back ---- */
.face {
  display: block; margin: 2.25rem auto 0;
  width: 7rem; height: 7rem; border-radius: 50%;
  box-shadow: 0 0 1.75rem rgba(255, 60, 220, 0.45), 0 0 0.5rem rgba(60, 240, 255, 0.5);
}
.face.small { width: 3.5rem; height: 3.5rem; margin: 0; box-shadow: 0 0 1rem rgba(255, 60, 220, 0.4); }
.face + .brand { margin-top: 1.25rem; }
.home {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.375rem; letter-spacing: -0.02em;
}
.home .dot { color: var(--mint); }

/* ---- the name, in Latin letters only ---- */
.brand { margin: 2.75rem 0 0; direction: ltr; font-weight: 900; font-size: 3.5rem; line-height: 1; letter-spacing: -0.02em; }
.brand .dot { color: var(--mint); }
.lead { margin: 1.25rem 0 0; font-size: 1.25rem; line-height: 1.5; }

/* ---- the one action ---- */
.action {
  display: flex; align-items: center; justify-content: center;
  min-height: 3.75rem;
  margin: 3.5rem 0 0;
  padding: 0.75rem 1.25rem;
  border-radius: 1.875rem;
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 800; font-size: 1.1875rem;
  text-decoration: none;
}
.action:active { transform: translateY(1px); }
/* The same link, early on a guide page: outlined, so the copy box below stays the page's loudest thing. */
.action.early { min-height: 3rem; margin: 1.75rem auto 0; max-width: 18rem; font-size: 1rem; background: transparent; color: var(--mint); border: 1.5px solid var(--mint); }

h2 { margin: 4.5rem 0 0.5rem; font-size: 1.625rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
/* Colour goes to the headings (his word): mint over something to do, pink over something to say. */
h2.do { color: var(--mint); }
h2.say { color: var(--pink); }
/* A guide page's first words: the tool's name, large, and one line under it. Nothing else up there. */
h1 { margin: 3rem 0 0; font-size: 3.5rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.tagline { margin: 0.75rem 0 0; font-size: 1.375rem; line-height: 1.4; color: var(--mute); }

/* ---- the word they commented, as a comment bubble. It appears once, on a guide page, inside a full sentence ---- */
.said {
  display: inline-block;
  padding: 0.25rem 0.875rem 0.3125rem;
  border-radius: 1.125rem 1.125rem 0.25rem 1.125rem; /* the tail sits at the reader's side, as a sent comment's does */
  background: var(--pink);
  color: #2a0612;
  font-weight: 800;
  line-height: 1.4;
}

/* ---- the links page's list ---- */
.guides { list-style: none; margin: 0; padding: 0; }
.guides li + li { margin-top: 0.75rem; }
.guide {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.125rem 1.125rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}
.guide .title { font-weight: 800; font-size: 1.1875rem; line-height: 1.35; }
.guide .what { color: var(--mute); font-size: 0.9375rem; }
.soon { margin: 1rem 0 0; color: var(--mute); }

/* ---- the guide page ---- */
p { margin: 0.75rem 0 0; }
.muted { color: var(--mute); }

/* A command: left to right and left-aligned inside a centred, right-to-left page, with its copy button. */
.cmd {
  direction: ltr;
  margin: 1rem 0 0;
  border: 1.5px solid var(--mint);
  border-radius: 1rem;
  background: var(--panel);
  overflow: hidden;
}
.cmd pre {
  margin: 0;
  padding: 1rem 1.125rem;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* One command per line; a command that wraps on a phone hangs under itself, so two commands never read as three. */
.cmd code { display: block; font: inherit; }
.cmd .line { display: block; padding-left: 1.25em; text-indent: -1.25em; }
/* A message to paste into Claude: Hebrew lines run right to left, the commands inside it left to right. */
.cmd.say pre { font-family: "Heebo", system-ui, sans-serif; font-size: 1rem; line-height: 1.7; }
.cmd.say .line { unicode-bidi: plaintext; text-align: start; padding: 0; text-indent: 0; }
.cmd.say .line + .line { margin-top: 0.25rem; }

.cmd button {
  display: block; width: 100%;
  min-height: 3rem;
  border: 0; border-top: 1.5px solid var(--mint);
  background: transparent;
  color: var(--mint);
  font: inherit; font-family: "Heebo", system-ui, sans-serif; font-weight: 800;
  direction: rtl;
  cursor: pointer;
}
.cmd button[data-done] { background: var(--mint); color: var(--on-mint); }

/* Requests to try: plain lines with a hair between them. No boxes. */
.tries { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 1.1875rem; }
.tries li { padding: 0.875rem 0; }
.tries li + li { border-top: 1px solid var(--line); }

/* The caution: one quiet line. */
.care { margin: 3.5rem 0 0; color: var(--mute); font-size: 0.9375rem; }
.care strong { color: var(--pink); font-weight: 800; }

footer { margin-top: 4rem; color: var(--mute); font-size: 0.875rem; }
footer a { color: var(--mute); margin-inline: 0.5rem; }
/* The three plain pages Meta asks an app for: text to read, left quiet. */
.plain { text-align: start; }
.plain h1 { font-size: 2rem; margin-top: 2.5rem; }
.plain p { color: var(--mute); margin-top: 1rem; }

@media (max-width: 22rem) {
  .brand { font-size: 2.75rem; }
  h1 { font-size: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .action:active { transform: none; }
}
