/* truncs.app: the shared look. Midnight theme from the app (truncs/looks.py):
   black, white words, one accent. The accent changes with the mascot's theme
   on the home page (home.js sets the variables on <html>). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/JetBrainsMono-Bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #000; --panel: #0A0B0C; --field: #0E0F11; --line: #24272B; --line2: #2B2E33; --btn-line: #454950;
  --text: #fff; --soft-text: #C4C9D0; --muted: #A9AEB6; --dim: #5C6168;
  --accent: #62F0A8; --on-accent: #06090C; --face: #fff; --trunk: #C7C7C7;
  --glow: rgba(98,240,168,.13); --tint: rgba(98,240,168,.18); --sel: rgba(98,240,168,.5);
  --mono: "JetBrains Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; transition: color .3s; }
a:hover { opacity: .85; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 19px; min-height: 44px; }
.brand svg { display: block; flex: none; }
.brand .mirror { transform: scaleX(-1); }
.mark g { stroke: var(--accent); transition: stroke .3s; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.topnav a { color: var(--muted); }
.topnav a[aria-current="page"] { color: #fff; }
.topnav .btn-small { background: #fff; color: #000; padding: 11px 20px; border-radius: 999px; font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 74px; padding: 0 54px; border-radius: 999px; font-weight: 700; font-size: 24px; border: 0; cursor: pointer; font-family: inherit; transition: background .3s, color .3s; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: #000; color: #fff; border: 1.5px solid #5A5F66; }
@media (max-width: 560px) { .btn { min-height: 62px; padding: 0 32px; font-size: 19px; width: 100%; } }

/* footer */
.foot { border-top: 1px solid #1C1F23; margin-top: 24px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); }
.foot .studio { color: #fff; }

/* plain pages: pricing, legal */
.page-head { text-align: center; padding: 72px 24px 32px; }
.page-head h1 { margin: 0; font-size: clamp(40px, 7vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin: 18px auto 0; font-size: 19px; color: var(--muted); max-width: 46ch; }
.prose { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; color: var(--soft-text); font-size: 17px; line-height: 1.65; }
.prose h1 { color: #fff; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 40px 0 6px; }
.prose h2 { color: #fff; font-size: 22px; margin: 36px 0 8px; }
.prose strong { color: #fff; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose li { margin: 4px 0; }
.prose .effective { color: var(--muted); margin: 0 0 24px; }
.prose .note { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; padding-top: 24px; padding-bottom: 72px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.pro { border: 1.5px solid var(--accent); }
.plan.soon { background: transparent; border: 1.5px dashed var(--line2); }
.plan h2 { margin: 0; font-size: 20px; font-weight: 700; }
.plan .price { margin: 14px 0 0; font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.plan .per { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; flex: 1; }
.soon-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; }
.soon-text { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--soft-text); }
.soon-foot { margin: auto 0 0; font-size: 14px; color: var(--muted); }
.plan-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 999px; padding: 13px 26px; font-weight: 700; min-height: 48px; }
.plan-btn.ghost { border: 1px solid var(--btn-line); color: #fff; font-weight: 600; }
.plan-btn.ghost:hover { border-color: #fff; color: #fff; }
.plan-btn.solid { background: var(--accent); color: var(--on-accent); }
.plan-btn.solid:hover { background: #fff; color: #000; }
.band { border-top: 1px solid #1C1F23; }
.narrow { max-width: 860px; margin: 0 auto; padding: 72px 28px; }
.center { text-align: center; max-width: 760px; }
.band h2 { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 12px auto 0; color: var(--muted); font-size: 17px; max-width: 44ch; line-height: 1.5; }
.wl { margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; text-align: left; }
.wl label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.wl input[type=email] { background: var(--field); border: 1px solid var(--line2); border-radius: 19px; padding: 14px 18px; color: #fff; font: inherit; font-size: 16px; min-height: 50px; }
.wl input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.wl button { align-self: flex-end; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 15px 26px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; min-height: 50px; }
.wl button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; color: var(--soft-text); }
.wl-msg.ok { color: var(--accent); }
.wl-msg.err { color: #FF8A8A; }
.fine { margin: 6px 0 0; font-size: 13px; color: var(--dim); }
.faq h2 { font-size: 32px; margin-bottom: 28px; }
.qa { border-top: 1px solid var(--line); padding: 22px 0; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; font-size: 18px; }
.qa p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 560px) { .wl button { width: 100%; } .band h2 { font-size: 30px; } }

/* the waitlist's tusk (2026-11-24, the user: "It should be like how tusking a prompt looks like"): the app's tusk
   animation (truncs/motion.py tusk(), overlay.py _paint_tusk) played over the waitlist box.  Two tusks come down
   from the top corners, hook in under the form and lift back up; the form dips and is tossed up and out; a soft
   flash fills the box; "Tusked" shows on a soft band with a trunc mark each side.  pricing.js drives it. */
.wl-box { position: relative; overflow: hidden; margin: 32px auto 0; max-width: 620px; padding: 22px 24px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.wl-box .wl { margin: 0; }
.wl-layer { position: absolute; inset: 0; pointer-events: none; }
.wl-flash { position: absolute; inset: 0; background: var(--tint); opacity: 0; }
.wl-tusk { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; overflow: visible; }
.wl-tusk path { fill: var(--accent); }
.wl-band { position: absolute; left: 50%; top: 50%; height: 64px; width: 0; border-radius: 14px; background: var(--tint); transform: translate(-50%, -50%); opacity: 0; }
.wl-word { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; transform: translate(-50%, -50%); opacity: 0; color: var(--accent); font-size: 22px; font-weight: 700; white-space: nowrap; }
.wl-word .mark g { stroke: #fff; }
.wl-word .mirror { transform: scaleX(-1); }
.wl.back { transition: opacity .35s ease, transform .35s ease; }
.wl-msg.ok { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--tint); border: 1px solid rgba(98,240,168,.45); animation: wlPop .45s cubic-bezier(.3, 1.4, .5, 1); }
.wl-msg.ok::before { content: "\2713"; font-weight: 800; }
@keyframes wlPop { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 100% { opacity: 1; transform: none; } }

/* legal placeholder, 404 */
mark.todo { background: #3a2f00; color: #FFD666; padding: 0 4px; border-radius: 4px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.nf { text-align: center; padding: 80px 24px 100px; }
.nf h1 { margin: 24px 0 0; font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.nf p { margin: 14px auto 28px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.nf-mascot { display: block; margin: 0 auto; }
.nf-mascot .m-trunk { stroke: var(--trunk); } .nf-mascot .m-gap { stroke: #000; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto !important; } }
