@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

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

:root {
  --bg:      #080a09;
  --bg2:     #0d0f0e;
  --bg3:     #111413;
  --surface: #161918;
  --border:  rgba(45,212,160,0.08);
  --border2: rgba(45,212,160,0.2);
  --teal:    #2dd4a0;
  --teal2:   #1a9e76;
  --tdim:    rgba(45,212,160,0.1);
  --text:    #c4d4c8;
  --text2:   #546858;
  --text3:   #2b382e;
  --mono:    'JetBrains Mono', 'Courier New', monospace;
  --r:  4px;
  --r2: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,0.015) 3px,rgba(0,0,0,0.015) 4px);
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--tdim); color: var(--teal); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 52px;
  background: rgba(8,10,9,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 14px; font-weight: 700; color: var(--teal);
  display: flex; align-items: center; gap: 6px;
}
.nav-logo .prompt { color: var(--text3); font-weight: 400; }
.nav-logo .cursor {
  display: inline-block; width: 8px; height: 13px;
  background: var(--teal); margin-left: 1px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
  display: flex; align-items: center;
  padding: 0 18px; height: 52px;
  font-size: 12px; color: var(--text2);
  border-left: 1px solid var(--border);
  transition: color .15s, background .15s;
}
.nav-links li a .prefix { color: var(--text3); margin-right: 2px; }
.nav-links li a:hover  { color: var(--teal); background: var(--tdim); }
.nav-links li a.active { color: var(--teal); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border2); color: var(--teal); font-family: var(--mono); font-size: 11px; padding: 4px 10px; cursor: pointer; }

/* HERO */
.hero { padding: 88px 0 80px; }

.hero-eyebrow { font-size: 11px; color: var(--text3); font-style: italic; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--text3); }

.hero-h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700; line-height: 1.0; letter-spacing: -2px;
  color: var(--text); margin-bottom: 4px;
}
.hero-h1 .hl { color: var(--teal); }

.hero-sub-comment { font-size: 12px; color: var(--text3); font-style: italic; margin-bottom: 24px; padding-left: 2px; }

.hero-desc {
  font-size: 13px; color: var(--text2); max-width: 500px;
  line-height: 1.85; margin-bottom: 44px;
  padding-left: 16px; border-left: 2px solid var(--border2);
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-run {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--bg);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 10px 22px; border-radius: var(--r);
  transition: opacity .15s, transform .1s;
}
.btn-run .cmd-prefix { font-weight: 400; opacity: 0.55; }
.btn-run:hover { opacity: 0.87; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text2); font-family: var(--mono); font-size: 12px;
  border: 1px solid var(--border2); padding: 9px 18px; border-radius: var(--r);
  transition: color .15s, border-color .15s;
}
.btn-outline:hover { color: var(--teal); border-color: var(--teal2); }

/* SECTIONS */
.section { padding: 80px 0; border-top: 1px solid var(--border); }

.sh { margin-bottom: 36px; }
.sh-comment { font-size: 11px; color: var(--text3); font-style: italic; margin-bottom: 8px; }
.sh-title { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; }
.sh-title .hl { color: var(--teal); }

/* APP CARDS */
.app-list { display: flex; flex-direction: column; gap: 3px; }

.app-card {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: start; gap: 24px;
  padding: 28px 28px 28px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--r2);
  transition: border-color .2s, background .2s;
  position: relative;
}
.app-card:hover { border-left-color: var(--teal2); background: var(--bg3); border-color: var(--border2); border-left-color: var(--teal2); }
.app-card--dim { opacity: 0.42; pointer-events: none; }

.app-card-idx {
  position: absolute; top: 12px; right: 16px;
  font-size: 10px; color: var(--text3); font-style: italic;
}

.aicon {
  width: 68px; height: 68px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.aicon--speed { background: var(--bg3); border: 1px solid var(--border2); color: var(--teal); }
.aicon--empty { background: var(--surface); border: 1px dashed var(--border); color: var(--text3); }
.aicon svg { width: 34px; height: 34px; }

.ameta { min-width: 0; }
.aname { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; margin-bottom: 2px; }
.atag  { font-size: 10px; color: var(--teal2); font-style: italic; margin-bottom: 10px; }
.adesc { font-size: 12px; color: var(--text2); line-height: 1.8; }

.aactions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; padding-top: 2px; }

.btn-appstore {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--teal);
  border: 1px solid var(--border2); padding: 7px 13px; border-radius: var(--r);
  white-space: nowrap; transition: background .15s;
}
.btn-appstore:hover { background: var(--tdim); }
.btn-appstore svg { width: 13px; height: 13px; }

.btn-sup {
  font-family: var(--mono); font-size: 11px; color: var(--text2);
  border-bottom: 1px dashed var(--border2); transition: color .15s;
}
.btn-sup:hover { color: var(--teal); }

/* VALUES */
.values-bar { border-top: 1px solid var(--border); padding: 52px 0 0; margin-top: 60px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.vitem { padding: 0 32px 0 0; border-right: 1px solid var(--border); }
.vitem:first-child { padding-left: 0; }
.vitem:last-child  { border-right: none; padding-right: 0; }
.vkey   { font-size: 10px; color: var(--teal2); font-style: italic; margin-bottom: 6px; }
.vkey::before { content: '-> '; color: var(--text3); }
.vtitle { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.vdesc  { font-size: 12px; color: var(--text2); line-height: 1.75; }

/* PAGE HEADER */
.page-hdr { padding: 60px 0 48px; border-bottom: 1px solid var(--border); }
.ph-breadcrumb { font-size: 11px; color: var(--text3); margin-bottom: 20px; }
.ph-breadcrumb .sep { margin: 0 6px; }
.ph-breadcrumb .cur { color: var(--teal2); }
.page-hdr h1 { font-size: clamp(28px,4vw,46px); font-weight: 700; color: var(--text); letter-spacing: -1px; margin-bottom: 10px; }
.page-hdr h1 .hl { color: var(--teal); }
.page-hdr .ph-sub { font-size: 12px; color: var(--text2); max-width: 420px; line-height: 1.85; }

/* SUPPORT LAYOUT */
.support-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

.app-sup-card { border: 1px solid var(--border); border-radius: var(--r2); margin-bottom: 16px; overflow: hidden; }
.asc-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.asc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--bg3); border: 1px solid var(--border2); color: var(--teal); flex-shrink: 0; }
.asc-icon svg { width: 22px; height: 22px; }
.asc-name { font-size: 14px; font-weight: 700; color: var(--text); }
.asc-sub  { font-size: 11px; color: var(--text2); }
.asc-body { padding: 16px 20px; }
.asc-body p { font-size: 12px; color: var(--text2); margin-bottom: 12px; line-height: 1.75; }

.store-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--teal);
  border: 1px solid var(--border2); padding: 6px 12px; border-radius: var(--r);
  transition: background .15s;
}
.store-link:hover { background: var(--tdim); }
.store-link svg { width: 12px; height: 12px; }

.tips-card { border: 1px solid var(--border); border-radius: var(--r2); padding: 20px; }
.tips-head { font-size: 11px; color: var(--text3); font-style: italic; margin-bottom: 16px; }
.tips-head::before { content: '/* '; }
.tips-head::after  { content: ' */'; }
.tip-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text2); line-height: 1.6; }
.tip-row:last-child { border-bottom: none; padding-bottom: 0; }
.tip-row::before { content: '//'; color: var(--text3); flex-shrink: 0; padding-top: 1px; }

/* FORM */
.form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.form-titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--surface); border-bottom: 1px solid var(--border); }
.ftb-dot { width: 10px; height: 10px; border-radius: 50%; }
.ftb-dot-r { background: #3d1e1e; }
.ftb-dot-y { background: #3d3320; }
.ftb-dot-g { background: #1c3d28; }
.ftb-label { font-size: 11px; color: var(--text3); font-style: italic; margin-left: 6px; }

.form-body { padding: 24px; }

.frow { margin-bottom: 18px; }
.frow label { display: block; font-size: 10px; color: var(--text2); margin-bottom: 7px; letter-spacing: 0.6px; }
.frow label::before { content: '-- '; color: var(--text3); }

.frow input, .frow select, .frow textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--text);
  font-family: var(--mono); font-size: 12px; padding: 9px 12px;
  outline: none; transition: border-color .15s; -webkit-appearance: none; appearance: none;
}
.frow select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23546858' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px;
}
.frow input:focus, .frow select:focus, .frow textarea:focus { border-color: var(--teal2); background: var(--bg2); }
.frow textarea { resize: vertical; min-height: 110px; }

.btn-send {
  background: var(--teal); color: var(--bg);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 10px 24px; border: none; border-radius: var(--r);
  cursor: pointer; transition: opacity .15s;
}
.btn-send::before { content: '$ '; font-weight: 400; opacity: 0.5; }
.btn-send:hover { opacity: 0.85; }

.form-ok { display: none; margin-top: 14px; padding: 11px 14px; background: rgba(45,212,160,.06); border: 1px solid var(--border2); border-radius: var(--r); font-size: 12px; color: var(--teal); }
.form-ok::before { content: '// ✓ '; color: var(--text3); }

/* PROSE (privacy) */
.prose { max-width: 700px; }
.prose-meta { font-size: 11px; color: var(--text3); font-style: italic; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.ps { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.ps:last-child { border-bottom: none; }
.ps h2 { font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.ps h2::before { content: '## '; color: var(--text3); }
.ps p  { font-size: 12px; color: var(--text2); margin-bottom: 12px; line-height: 1.9; }
.ps ul { list-style: none; padding: 0; }
.ps li { font-size: 12px; color: var(--text2); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; line-height: 1.6; }
.ps li:last-child { border-bottom: none; }
.ps li::before { content: '-'; color: var(--text3); flex-shrink: 0; }
.ps a { color: var(--teal); border-bottom: 1px dashed var(--border2); }
.ps .app-name-inline { color: var(--text); font-style: italic; }

/* ABOUT */
.about-layout { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
.about-sidebar { position: sticky; top: 72px; }

.about-logo {
  width: 168px; height: 168px; border-radius: var(--r2);
  background: var(--bg2); border: 1px solid var(--border2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; margin-bottom: 20px;
}
.al-monogram { font-size: 48px; font-weight: 700; color: var(--teal); letter-spacing: -3px; line-height: 1; }
.al-sub { font-size: 10px; color: var(--text3); font-style: italic; }

.about-stat-list { list-style: none; }
.about-stat { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.as-key { color: var(--text3); }
.as-val { color: var(--teal2); }

.about-body h2 { font-size: 14px; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.about-body h2::before { content: '// '; color: var(--text3); }
.about-body h2:first-child { margin-top: 0; }
.about-body p { font-size: 12px; color: var(--text2); margin-bottom: 12px; line-height: 1.9; }
.about-body a { color: var(--teal); border-bottom: 1px dashed var(--border2); }

.tag-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ttag {
  font-size: 11px; color: var(--teal2); font-style: italic;
  border: 1px solid var(--border2); border-radius: 3px;
  padding: 3px 10px; background: var(--tdim);
}
.ttag::before { content: '"'; color: var(--text3); }
.ttag::after  { content: '"'; color: var(--text3); }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; }
.footer-brand { color: var(--teal2); }
.footer-brand::before { content: '// '; color: var(--text3); }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--text3); transition: color .15s; }
.footer-nav a::before { content: './'; opacity: 0.5; }
.footer-nav a:hover { color: var(--teal); }
.footer-copy { color: var(--text3); font-style: italic; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.hero-eyebrow { animation: fadeUp .45s ease .05s both; }
.hero-h1      { animation: fadeUp .45s ease .12s both; }
.hero-sub-comment { animation: fadeUp .45s ease .18s both; }
.hero-desc    { animation: fadeUp .45s ease .24s both; }
.hero-actions { animation: fadeUp .45s ease .30s both; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav-links li a { height: auto; line-height: 1; padding: 12px 24px; border-left: none; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .app-card { grid-template-columns: 54px 1fr; }
  .aactions { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .vitem { padding: 14px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .vitem:last-child { border-bottom: none; }
}
