/* Wandering Jetstream LLC — shared site styles
   Warm, editorial, lightly retro. Built to host many apps. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,900&family=Spline+Sans+Mono:wght@400;500&display=swap');

:root {
  --ink:        #2a1f14;
  --ink-soft:   #5a4a37;
  --paper:      #f4ecdd;
  --paper-2:    #ece0c9;
  --wood:       #8a5a2b;
  --wood-deep:  #5c3a18;
  --accent-r:   #d4513f;
  --accent-b:   #3f7fd4;
  --accent-g:   #4faa5a;
  --accent-y:   #e0b44a;
  --line:       rgba(42, 31, 20, 0.14);
  --radius:     14px;
  --maxw:       880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(224,180,74,0.18), transparent 60%),
    repeating-linear-gradient(180deg, transparent 0 38px, rgba(92,58,24,0.03) 38px 39px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---- header / nav ---- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(244,236,221,0.86);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  font-weight: 900; font-size: 1.12rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background:
    linear-gradient(135deg, var(--accent-r), var(--accent-y) 35%, var(--accent-g) 65%, var(--accent-b));
  box-shadow: inset 0 0 0 2px rgba(42,31,20,0.25);
}
.nav a {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 0.82rem; text-decoration: none; color: var(--ink-soft);
  margin-left: 22px; padding-bottom: 3px; border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); border-color: var(--accent-r); }

/* ---- hero ---- */
.hero { padding: 92px 0 64px; }
.eyebrow {
  font-family: 'Spline Sans Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--wood);
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02;
  letter-spacing: -0.025em; font-weight: 900; margin-bottom: 22px;
}
h1 .tail { color: var(--wood); font-style: italic; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 56ch; }

/* ---- sections ---- */
section { padding: 40px 0; }
h2 {
  font-size: 1.7rem; letter-spacing: -0.01em; margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 12px;
}
h2 .num {
  font-family: 'Spline Sans Mono', monospace; font-size: 0.8rem;
  color: var(--wood); font-weight: 500;
}
h3 { font-size: 1.15rem; margin: 26px 0 8px; }
p { margin-bottom: 14px; max-width: 64ch; color: var(--ink); }
p.muted { color: var(--ink-soft); }
a { color: var(--wood-deep); text-underline-offset: 3px; }

/* ---- app cards ---- */
.apps { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .apps { grid-template-columns: 1fr 1fr; } }
.app-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: var(--paper-2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(92,58,24,0.16); }
.app-card .tag {
  font-family: 'Spline Sans Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--wood);
}
.app-card h3 { margin: 8px 0 6px; font-size: 1.35rem; }
.app-card.coming { opacity: 0.62; }

/* ---- doc pages (privacy / support) ---- */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc .updated {
  font-family: 'Spline Sans Mono', monospace; font-size: 0.8rem;
  color: var(--ink-soft); margin-bottom: 36px;
}
.doc h2 { font-size: 1.25rem; margin-top: 32px; }
.doc ul { margin: 0 0 16px 22px; max-width: 64ch; }
.doc li { margin-bottom: 8px; }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { color: var(--ink-soft); margin-left: 0; }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line); margin-top: 40px;
  padding: 32px 0; font-size: 0.85rem; color: var(--ink-soft);
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .mono { font-family: 'Spline Sans Mono', monospace; }
