/* ============================================================
   Design tokens — ported verbatim from project/index-v5.html.
   EVERY color / shadow / radius / spacing / type size lives here.
   ============================================================ */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/manrope-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/manrope-latin.woff2) format('woff2');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}
@font-face{font-family:'Sora';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/sora-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Sora';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/sora-latin.woff2) format('woff2');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}
/* Hebrew + Arabic glyphs for user content (UI stays English): Rubik (OFL, fonts/RUBIK-OFL.txt) joins the same families by unicode-range */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/rubik-hebrew.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/rubik-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Sora';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-hebrew.woff2) format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Sora';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/rubik-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

:root{
  /* ---- Canvas (60%: warm paper) ---- */
  --bg:#F7F4ED;
  --bg-glow-1:rgba(214,69,36,.05);
  --bg-glow-2:rgba(75,138,82,.05);
  --surface:#FFFFFF;
  --surface-2:#FBF8F1;
  --glass:rgba(255,255,255,.78);
  --well:#EFEAE0;

  /* ---- Lines ---- */
  --border:rgba(62,56,38,.13);
  --border-hi:rgba(62,56,38,.30);
  --grad-border:linear-gradient(135deg,rgba(214,69,36,.50),rgba(75,138,82,.40));

  /* ---- Ink (30%) ---- */
  --text:#28251B;
  --muted:#6B6558;
  --soft:#454033;
  --on-accent:#FFFFFF;
  --on-accent-dim:rgba(255,255,255,.82);

  /* ---- Accent (10%: coral) + teal support ---- */
  --accent:#D64524;
  --accent-deep:#B23517;
  --cyan:#0B7C8A;
  --pink:#C43B3B;
  --grad-accent:linear-gradient(135deg,#B23517 0%,#D64524 100%);
  --grad-tracker:linear-gradient(140deg,#232E24 0%,#3A4A38 100%);

  /* ---- Tints & washes ---- */
  --tint-accent:rgba(214,69,36,.09);
  --tint-cyan:rgba(11,124,138,.10);
  --wash:rgba(255,255,255,.24);
  --wash-hi:rgba(255,255,255,.38);
  --glow-c:rgba(214,69,36,.30);

  /* ---- Tags (pastel data colors) ---- */
  --tag-design-bg:rgba(122,85,196,.12);  --tag-design-fg:#5B3E8F;
  --tag-research-bg:rgba(62,118,180,.12); --tag-research-fg:#2C5580;
  --tag-code-bg:rgba(217,162,27,.16);    --tag-code-fg:#7A5B12;

  /* ---- Column status + header tints ---- */
  --st-todo:#D9A21B;     --t-todo:rgba(217,162,27,.14);
  --st-going:#3E76B4;    --t-going:rgba(62,118,180,.10);
  --st-review:#7A55C4;   --t-review:rgba(122,85,196,.10);
  --st-approved:#4B8A52; --t-approved:rgba(75,138,82,.12);

  /* ---- Column palette (custom statuses). Each: solid · tint · ink ---- */
  --pal-amber:var(--st-todo);      --pal-amber-t:var(--t-todo);      --pal-amber-fg:var(--tag-code-fg);
  --pal-blue:var(--st-going);      --pal-blue-t:var(--t-going);      --pal-blue-fg:var(--tag-research-fg);
  --pal-violet:var(--st-review);   --pal-violet-t:var(--t-review);   --pal-violet-fg:var(--tag-design-fg);
  --pal-green:var(--st-approved);  --pal-green-t:var(--t-approved);  --pal-green-fg:var(--prio-low);
  --pal-red:#C43B3B;               --pal-red-t:rgba(196,59,59,.10);  --pal-red-fg:#8E2525;
  --pal-teal:#0B7C8A;              --pal-teal-t:rgba(11,124,138,.10); --pal-teal-fg:#08606B;
  --pal-pink:#C2477F;              --pal-pink-t:rgba(194,71,127,.10); --pal-pink-fg:#8C2F5B;
  --pal-slate:#7D7668;             --pal-slate-t:rgba(107,101,88,.12); --pal-slate-fg:#454033;

  /* ---- Priority / warnings ---- */
  --prio-high:#B3261E;
  --prio-med:#8A6410;
  --prio-low:#33633A;
  --warn-fg:#8A6410;
  --t-high:rgba(179,38,30,.10);

  /* ---- Placeholders ---- */
  --grad-img:linear-gradient(135deg,rgba(62,56,38,.08),rgba(11,124,138,.05));
  --grad-avatar:linear-gradient(135deg,#E0DACC,#C4BCA8);

  /* ---- Shadows (warm) ---- */
  --sh-card:0 10px 28px rgba(84,70,40,.09);
  --sh-lift:0 20px 44px rgba(84,70,40,.15);
  --sh-glow:0 6px 22px rgba(214,69,36,.28);
  --sh-glow-lg:0 12px 32px rgba(214,69,36,.38);
  --sh-glow-cyan:0 6px 20px rgba(11,124,138,.22);
  --sh-glow-pink:0 6px 22px rgba(196,59,59,.25);
  --sh-tracker:0 12px 30px rgba(35,46,36,.35);
  --sh-inset:inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px var(--border);

  /* ---- Radii / spacing / type ---- */
  --r-sm:10px; --r-md:16px; --r-lg:22px; --r-pill:999px;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px; --s6:24px; --s7:32px; --s8:40px;
  --t-xs:12px; --t-chat:14px; --t-sm:13px; --t-base:15px; --t-md:16px; --t-lg:18px; --t-xl:20px; --t-2xl:24px; --t-title:28px;

  /* ---- Overlays (app additions, same warm-ink family) ---- */
  --scrim:rgba(40,37,27,.32);
  --sh-pop:0 18px 48px rgba(84,70,40,.18);

  --focus:0 0 0 2px var(--bg), 0 0 0 5px var(--accent);
  --ease:cubic-bezier(.22,1,.36,1);
}

/* www.streamseq.com — the public pages. Same tokens as the app (tokens.css is put in front at build time); no JavaScript. */
*{box-sizing:border-box;margin:0}
html{scroll-padding-top:96px}
body{font-family:Manrope,system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:var(--t-md);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
.skip{position:absolute;left:16px;top:-60px;background:var(--text);color:var(--on-accent);padding:8px 16px;border-radius:var(--r-pill);font-weight:700;text-decoration:none;z-index:10}
.skip:focus{top:12px}
:focus-visible{outline:none;box-shadow:var(--focus);border-radius:8px}
.wrap{width:min(1120px,100% - 40px);margin-inline:auto}
.top{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-family:Sora,sans-serif;font-weight:800;font-size:var(--t-xl);letter-spacing:-.01em}
.brand img{width:36px;height:36px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 22px;border-radius:var(--r-pill);font-weight:800;font-size:var(--t-base);text-decoration:none;white-space:nowrap;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.btn.primary{background:var(--grad-accent);color:var(--on-accent);box-shadow:var(--sh-glow)}
.btn.primary:hover{transform:translateY(-1px);box-shadow:var(--sh-glow-lg)}
.btn.ghost{border:1px solid var(--border-hi);background:var(--surface);color:var(--text)}
.hero{padding:88px 0 24px;text-align:center}
.eyebrow{display:inline-block;font-size:var(--t-sm);font-weight:800;color:var(--accent-deep);background:var(--tint-accent);padding:6px 14px;border-radius:var(--r-pill);margin-bottom:20px}
.hero h1{font-family:Sora,sans-serif;font-size:clamp(36px,5.4vw,60px);line-height:1.08;letter-spacing:-.02em;font-weight:800;max-width:15ch;margin-inline:auto}
.hero p{font-size:var(--t-lg);color:var(--soft);max-width:58ch;margin:20px auto 0}
.shot{margin:56px auto 0;max-width:1000px;border-radius:var(--r-lg);border:1px solid var(--border);box-shadow:var(--sh-lift);overflow:hidden;background:var(--surface)}
.shot img{display:block;width:100%;height:auto}
.features{padding:72px 0}
.features h2,.legal h1{font-family:Sora,sans-serif;font-weight:800;letter-spacing:-.01em}
.features h2{font-size:clamp(26px,3vw,34px);text-align:center;margin-bottom:40px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:10px}
.card .ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--tint-accent);color:var(--accent-deep);font-size:20px}
.card h3{font-size:var(--t-lg);font-weight:800}
.card p{color:var(--soft);font-size:var(--t-base)}
.foot{border-top:1px solid var(--border);padding:28px 0 40px;font-size:var(--t-sm);color:var(--muted)}
.foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.foot nav{display:flex;gap:20px;flex-wrap:wrap}
.foot a{font-weight:700;color:var(--soft);text-decoration:none}
.foot a:hover{color:var(--accent-deep);text-decoration:underline}
.legal{padding:56px 0 80px}
.legal article{max-width:720px;margin-inline:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:48px 56px}
.legal h1{font-size:clamp(30px,4vw,40px);line-height:1.15}
.legal .meta{color:var(--muted);font-size:var(--t-sm);margin:10px 0 28px}
.legal h2{font-size:var(--t-xl);font-weight:800;margin:32px 0 10px}
.legal p,.legal li{color:var(--soft);font-size:var(--t-base)}
.legal ul{padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal a{color:var(--accent-deep);font-weight:700}
.legal .note{background:var(--surface-2);border-left:3px solid var(--accent);border-radius:8px;padding:14px 16px;margin-top:12px}
@media (max-width:860px){.grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){
  .grid{grid-template-columns:1fr}
  .hero{padding:56px 0 40px}
  .top .wrap{height:64px}
  .legal article{padding:28px 20px;border-radius:var(--r-md)}
  .foot .wrap{flex-direction:column;align-items:center;text-align:center}
  .foot nav{justify-content:center}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.foot a{display:inline-flex;align-items:center;min-height:32px}
.legal ul{margin:6px 0 12px}
.legal p+p{margin-top:12px}
.legal h2+p{margin-top:0}
@media (max-width:600px){.shot{max-width:360px}}
/* contact form: no script — the server checks it and answers with a page */
.form{position:relative;display:flex;flex-direction:column;gap:22px}
.field{display:flex;flex-direction:column;gap:8px}
fieldset.field{border:0;padding:0;min-width:0}
.field label,.field legend{font-weight:800;font-size:var(--t-base);color:var(--text)}
.field legend{padding:0;margin-bottom:8px}
.field .hint{color:var(--muted);font-size:var(--t-sm)}
.field input,.field textarea{font:inherit;font-size:var(--t-base);color:var(--text);background:var(--surface);border:1px solid var(--border-hi);border-radius:14px;padding:12px 16px;min-height:48px;width:100%}
.field textarea{min-height:160px;resize:vertical;line-height:1.6}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:var(--focus)}
.topics{display:flex;flex-wrap:wrap;gap:10px}
.topics label{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--border-hi);border-radius:var(--r-pill);font-weight:700;color:var(--soft);cursor:pointer;background:var(--surface)}
.topics input{position:absolute;inset:0;opacity:0;margin:0;pointer-events:none}
.topics label:has(input:checked){border-color:var(--accent);background:var(--tint-accent);color:var(--accent-deep)}
.topics label:has(input:focus-visible){box-shadow:var(--focus)}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form .send{width:100%;min-height:52px;margin-top:6px;border:0;cursor:pointer;font:inherit;font-weight:800;font-size:var(--t-md)}
.form-error{background:var(--pal-red-t);border-left:3px solid var(--pal-red);border-radius:8px;padding:14px 16px;margin:-8px 0 24px;color:var(--text);font-weight:700}
.form-error[hidden]{display:none}
.done{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;padding:12px 0}
.done .ic{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--tint-accent);color:var(--accent-deep);font-size:30px;font-weight:800}
