/* /dev/mul — mainsite
   ponytail: dark, one gradient bg, no animation, no glassmorphism stacks.
   the only "decoration" that earns its place is the terminal — rest is type. */

:root {
  --bg:        #0b0d12;
  --surface:   #141821;
  --border:    #232836;
  --border-2:  #2f3645;
  --text:      #e6e8ee;
  --text-dim:  #9aa3b2;
  --text-mute: #6b7280;

  --c1: #7c5cff;
  --c2: #23d5ab;
  --c3: #ff7ab6;

  --grad: linear-gradient(120deg, var(--c1), var(--c2) 55%, var(--c3));
  --radius:    14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  /* ponytail: one static gradient, no orbs. */
  background:
    radial-gradient(1100px 600px at 100% 0%,  rgba(124,92,255,.10), transparent 60%),
    radial-gradient(900px  500px at 0%  60%, rgba(35,213,171,.06),  transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; }

::selection { background: rgba(124,92,255,.30); color: #fff; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(11,13,18,.82);
  border-bottom: 1px solid var(--border);
  /* ponytail: backdrop-filter is nice but adds a paint cost — skip it. */
}
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.nav-burger { display: none; background: none; border: 0; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

@media (max-width: 640px) {
  .nav-burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 16px; padding: 20px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
}

/* ============ Layout ============ */
section {
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
  max-width: 1180px; margin: 0 auto;
}

h1, h2, h3 { font-family: 'Inter', sans-serif; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 19px; font-weight: 600; }

p  { color: var(--text-dim); }

/* ============ Hero ============ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
}
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; } }

.lede { color: var(--text-dim); max-width: 52ch; font-size: 17px; margin: 20px 0 28px; }
.lede code {
  font-size: .9em;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font-weight: 500; font-size: 14px;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}
.btn-primary {
  color: #0b0d12;
  background: var(--text);
}
.btn-primary:hover { background: #fff; }
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--text-dim); }

/* ============ Terminal ============ */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* ponytail: no gradient outline, no shadow stack. just a flat card. */
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar .d1 { background: #ff5f57; }
.terminal-bar .d2 { background: #febc2e; }
.terminal-bar .d3 { background: #28c840; }
.terminal-title { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); }

.terminal-body {
  margin: 0; padding: 18px 20px 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; line-height: 1.65;
  color: var(--text-dim);
  overflow-x: auto;
}
.terminal-body code { font: inherit; color: inherit; white-space: pre; }
.c-prompt { color: var(--c2); }
.c-path   { color: #6fb6ff; }
.c-cmd    { color: var(--text); }
.c-ok     { color: var(--c2); }
.c-mute   { color: var(--text-mute); }

/* ============ About ============ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px;
  max-width: 900px;
}
.about-grid p { margin: 0; font-size: 16px; }
.about-grid a  { color: var(--text); border-bottom: 1px solid var(--border-2); }
.about-grid a:hover { border-color: var(--c2); color: var(--c2); }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

/* ============ Apps / Carousel ============ */
.section-head { margin-bottom: 28px; }
.section-sub  { margin: -12px 0 32px; color: var(--text-mute); font-size: 14px; }

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.c-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 4px 2px;
}
.c-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 20px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.c-slide { flex: 0 0 100%; min-width: 0; }

.app-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 260px;
  transition: border-color .15s ease, transform .15s ease;
}
.app-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.app-soon { background: transparent; border-style: dashed; }

.app-logo {
  width: 160px; height: 160px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.app-logo img { width: 104px; height: 104px; border-radius: 18px; }
.app-logo.soon-mark {
  font-size: 56px; font-weight: 300; color: var(--text-mute);
  background: transparent;
}

.app-body { display: flex; flex-direction: column; gap: 6px; }
.app-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--c2); border: 1px solid rgba(35,213,171,.35);
}
.app-badge.soon { color: var(--text-mute); border-color: var(--border-2); }

.app-tag   { margin: 0; color: var(--text-mute); font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.app-desc  { margin: 6px 0 0; color: var(--text-dim); max-width: 58ch; }
.app-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-2);
}
a.app-card:hover .app-link { color: var(--c2); border-color: var(--c2); }
.app-link.muted { color: var(--text-mute); border-color: transparent; }
.app-link svg { transition: transform .2s ease; }
a.app-card:hover .app-link svg { transform: translate(2px, -2px); }

@media (max-width: 720px) {
  .app-card { grid-template-columns: 1fr; }
  .app-logo { width: 96px; height: 96px; }
  .app-logo img { width: 60px; height: 60px; }
}

.c-nav {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.c-nav:hover { border-color: var(--border-2); background: var(--bg); }
.c-nav:disabled { opacity: .3; cursor: not-allowed; }
@media (max-width: 600px) { .c-nav { display: none; } }

.c-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 24px;
}
.c-dots button {
  width: 24px; height: 3px;
  background: var(--border-2); border: 0; border-radius: 3px;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.c-dots button[aria-selected="true"] { background: var(--text); width: 36px; }

/* ============ Contact ============ */
.contact-card {
  margin: 0;
  max-width: 720px;
  padding: 4px 0 0;
  border-top: 1px solid var(--border);
}
.contact-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-mute);
}
.contact-row dd { margin: 0; color: var(--text); font-size: 16px; }
.contact-row dd a { border-bottom: 1px solid var(--border-2); padding-bottom: 1px; }
.contact-row dd a:hover { color: var(--c2); border-color: var(--c2); }

@media (max-width: 520px) {
  .contact-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px clamp(20px, 5vw, 64px);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }
