/* Jung Helpdesk site — the app's own tokens. Dark only, like the app. */
:root {
  --bg:#131110; --surface:#1E1B18; --surface2:#26221C; --line:#332E28;
  --ink:#F3EEE6; --soft:#A79E92; --faint:#7C756B; --brass:#D4A95E; --on-brass:#131110;
  --display:"Bricolage Grotesque",ui-sans-serif,system-ui,-apple-system,"Helvetica Neue",sans-serif;
  --body:-apple-system,BlinkMacSystemFont,"SF Pro Text",ui-sans-serif,system-ui,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,monospace;
}
* { box-sizing:border-box; }
html { color-scheme:dark; scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.6 var(--body); -webkit-font-smoothing:antialiased; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--brass); }
a:focus-visible, .btn:focus-visible { outline:2px solid var(--brass); outline-offset:3px; border-radius:6px; }

h1, h2, h3 { font-family:var(--display); font-weight:600; text-wrap:balance; margin:0; }
h1 { font-size:clamp(40px,6.4vw,68px); line-height:1.02; letter-spacing:-.015em; }
h2 { font-size:clamp(28px,3.6vw,40px); line-height:1.1; letter-spacing:-.01em; }
h3 { font-size:18px; line-height:1.25; }
p { margin:0; color:var(--soft); max-width:60ch; }
em { color:var(--ink); font-style:normal; }
.eyebrow { font:11px var(--mono); letter-spacing:.17em; text-transform:uppercase; color:var(--brass); margin-bottom:14px; }
.fine { font-size:13px; color:var(--faint); margin-top:14px; }

/* Top bar */
.top { display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:1120px; margin:0 auto; padding:20px 24px; }
.brand { display:flex; align-items:center; gap:11px; color:var(--ink); text-decoration:none; font:600 17px var(--display); }
.brand img { border-radius:8px; }
.top nav { display:flex; align-items:center; gap:24px; font-size:14px; }
.top nav a { color:var(--soft); text-decoration:none; }
.top nav a:hover { color:var(--ink); }
.top nav .nav-cta { color:var(--brass); }
@media (max-width:640px) { .top nav a:not(.nav-cta) { display:none; } }

/* Buttons */
.cta-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.btn { display:inline-flex; align-items:center; min-height:52px; padding:0 24px; border-radius:14px; background:var(--brass); color:var(--on-brass); font-weight:600; font-size:16px; text-decoration:none; }
.btn.ghost { background:transparent; color:var(--ink); border:1px solid var(--line); }
.btn.ghost:hover { border-color:var(--faint); }
.btn[aria-disabled="true"] { background:var(--surface2); color:var(--soft); border:1px solid var(--line); cursor:default; }

/* Phone frame */
.phone { width:min(300px,72vw); border-radius:44px; padding:9px; background:#0B0A09; border:1px solid var(--line); box-shadow:0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(243,238,230,.04) inset; }
.phone img { border-radius:36px; }

/* Hero */
.hero { position:relative; display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:40px; max-width:1120px; margin:0 auto; padding:48px 24px 88px; }
#sky { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.55; }
.hero-copy, .hero-phone { position:relative; }
.hero-phone { display:flex; justify-content:center; }
.lede { font-size:19px; margin-top:20px; }
@media (max-width:820px) { .hero { grid-template-columns:1fr; padding-top:24px; gap:48px; } }

/* Feature bands */
.band { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:56px; max-width:1040px; margin:0 auto; padding:72px 24px; border-top:1px solid var(--line); }
.band.flip .band-phone { order:2; }
.band-phone { display:flex; justify-content:center; }
.band-copy p { margin-top:16px; }
@media (max-width:820px) { .band { grid-template-columns:1fr; gap:36px; padding:56px 24px; } .band.flip .band-phone { order:0; } }

.legend { list-style:none; padding:0; margin:24px 0 0; display:flex; flex-wrap:wrap; gap:8px; }
.legend li { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--soft); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px 13px; }
.legend i { width:8px; height:8px; border-radius:50%; }

.journeys { list-style:none; padding:0; margin:24px 0 0; counter-reset:j; max-width:460px; }
.journeys li { counter-increment:j; display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); color:var(--ink); font-size:16px; }
.journeys li span { font:12px var(--mono); color:var(--faint); white-space:nowrap; align-self:center; }

/* Feature grid */
.features { max-width:1040px; margin:0 auto; padding:72px 24px; border-top:1px solid var(--line); }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; margin-top:32px; }
.grid > div { background:var(--bg); padding:24px; }
.grid p { font-size:15px; margin-top:6px; }

/* Guide */
.guide { display:flex; gap:32px; align-items:flex-start; max-width:820px; margin:0 auto; padding:72px 24px; border-top:1px solid var(--line); }
.guide img { border-radius:50%; border:2px solid var(--brass); flex:none; }
.guide p:not(.eyebrow) { margin-top:14px; }
@media (max-width:640px) { .guide { flex-direction:column; gap:22px; } }

/* Closing */
.closing { text-align:center; padding:88px 24px 96px; border-top:1px solid var(--line); }
.closing img { margin:0 auto 22px; border-radius:20px; }
.closing .cta-row { justify-content:center; }

.foot { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; padding:26px 24px 44px; border-top:1px solid var(--line); font-size:13px; color:var(--faint); }
.foot a { color:var(--faint); }

/* Episode pages */
.ep { max-width:720px; margin:0 auto; padding:24px 24px 72px; }
.ep-card { display:flex; gap:22px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:20px; }
.ep-card img { width:132px; height:132px; object-fit:cover; border-radius:14px; flex:none; }
.ep-card h1 { font-size:clamp(24px,4.4vw,32px); line-height:1.1; }
.ep-card .meta { font:12px var(--mono); color:var(--faint); margin-top:8px; letter-spacing:.04em; }
.ep-sum { margin-top:22px; }
.ep-pitch { margin-top:40px; padding-top:32px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 200px; gap:32px; align-items:center; }
.ep-pitch .phone { width:200px; border-radius:32px; padding:6px; }
.ep-pitch .phone img { border-radius:26px; }
.ep-pitch p { margin-top:12px; font-size:16px; }
@media (max-width:640px) { .ep-card { flex-direction:column; align-items:flex-start; } .ep-pitch { grid-template-columns:1fr; } .ep-pitch .phone { margin:0 auto; } }

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
