
:root {
  --bg: #08090c;
  --bg2: #11131a;
  --panel: rgba(255,255,255,.065);
  --panel2: rgba(255,255,255,.095);
  --text: #f7f7fb;
  --muted: #b8becb;
  --faint: #858b9a;
  --accent: #ff6747;
  --accent2: #ff916f;
  --line: rgba(255,255,255,.13);
  --shadow: 0 20px 80px rgba(0,0,0,.45);
  --radius: 26px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(255,103,71,.24), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(255,145,111,.12), transparent 32rem),
    linear-gradient(180deg, #050609 0%, #0c0e13 45%, #07080b 100%);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--accent); color: #000; padding: .7rem 1rem; border-radius: 999px; z-index: 20; }
.skip-link:focus { left: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8,9,12,.72);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { max-width: var(--max); margin: 0 auto; padding: .8rem 1.1rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand small { display: block; color: var(--muted); font-weight: 600; font-size: .76rem; }
.nav { margin-left: auto; display: flex; gap: .25rem; align-items: center; overflow-x: auto; scrollbar-width: thin; }
.nav a { text-decoration: none; color: var(--muted); padding: .55rem .72rem; border-radius: 999px; white-space: nowrap; font-size: .92rem; }
.nav a:hover, .nav a:focus { background: var(--panel); color: var(--text); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.hero { padding: 5.5rem 0 3.2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: 2rem; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(255,103,71,.35); background: rgba(255,103,71,.12); color: #ffd7ce; padding: .42rem .75rem; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.kicker::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,103,71,.12); }
h1 { margin: 1.05rem 0 .7rem; font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: .86; letter-spacing: -.07em; }
.hero-lede { max-width: 710px; font-size: clamp(1.08rem, 2vw, 1.35rem); color: #e6e8ef; margin: 0 0 1.35rem; }
.hero-copy code { background: rgba(255,255,255,.1); padding: .14rem .35rem; border-radius: 7px; color: #fff; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .75rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); background: var(--panel); font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover, .btn:focus { transform: translateY(-1px); background: var(--panel2); border-color: rgba(255,255,255,.24); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #190905; border-color: transparent; }
.btn.disabled { pointer-events: none; opacity: .55; }
.micro { color: var(--faint); font-size: .92rem; }
.logo-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.logo-card { width: min(100%, 470px); padding: 2rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; }
.logo-card .ddlab { width: 82%; margin: 0 auto 2rem; filter: drop-shadow(0 30px 45px rgba(255,103,71,.18)); }
.app-chip { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 22px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.app-chip img { width: 74px; height: 74px; border-radius: 18px; }
.app-chip strong { display: block; font-size: 1.15rem; }
.app-chip span { color: var(--muted); font-size: .95rem; }
.section { padding: 4.3rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.35rem; }
.eyebrow { color: var(--accent2); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
h2 { margin: .15rem 0 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.02; letter-spacing: -.04em; }
.section-head p { max-width: 640px; color: var(--muted); margin: .6rem 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card, .download-card, .status-card, .warning-card, .doc-panel, .screenshot-card, .deploy-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: 0 16px 45px rgba(0,0,0,.16); }
.feature-card { padding: 1.25rem; }
.feature-card h3, .download-card h3, .shot-copy h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.feature-card p, .download-card p, .shot-copy p { margin: 0; color: var(--muted); }
.status-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; }
.status-card, .warning-card, .deploy-card { padding: 1.25rem; }
.status-row { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row span { color: var(--muted); }
.status-row strong { overflow-wrap: anywhere; }
.warning-card { background: linear-gradient(135deg, rgba(255,103,71,.18), rgba(255,255,255,.06)); }
.warning-card ul { margin: .8rem 0 0; padding-left: 1.2rem; color: #f7d6cf; }
.warning-card li + li { margin-top: .4rem; }
.download-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.download-card { padding: 1.2rem; display: flex; flex-direction: column; min-height: 230px; }
.download-card .badge { width: fit-content; margin-bottom: .75rem; color: #ffd7ce; background: rgba(255,103,71,.13); border: 1px solid rgba(255,103,71,.28); border-radius: 999px; padding: .28rem .55rem; font-size: .78rem; font-weight: 800; }
.download-card .btn { margin-top: auto; width: 100%; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; }
.screenshot-card { overflow: hidden; }
.shot-button { width: 100%; background: #000; border: 0; padding: 0; cursor: zoom-in; }
.shot-button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; opacity: .95; transition: transform .25s ease, opacity .25s ease; }
.shot-button:hover img { transform: scale(1.02); opacity: 1; }
.shot-copy { padding: 1.05rem; }
.docs-toolbar { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.search { flex: 1 1 270px; min-height: 46px; border-radius: 999px; border: 1px solid var(--line); padding: 0 1rem; background: rgba(255,255,255,.07); color: var(--text); font: inherit; outline: none; }
.search:focus { border-color: rgba(255,103,71,.6); box-shadow: 0 0 0 4px rgba(255,103,71,.13); }
.doc-list { display: grid; gap: .8rem; }
.doc-panel { overflow: hidden; }
.doc-panel[hidden] { display: none; }
.doc-panel summary { cursor: pointer; padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.doc-panel summary span { font-weight: 900; }
.doc-panel summary small { color: var(--faint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.markdown-body { padding: 0 1.2rem 1.2rem; color: #e8ebf2; }
.markdown-body h1, .markdown-body h2, .markdown-body h3 { letter-spacing: -.02em; line-height: 1.15; }
.markdown-body h1 { font-size: 2rem; margin-top: 1rem; }
.markdown-body h2 { font-size: 1.55rem; margin-top: 1.8rem; }
.markdown-body h3 { font-size: 1.18rem; margin-top: 1.25rem; }
.markdown-body p, .markdown-body li { color: #d7dbe5; }
.markdown-body a { color: #ffd0c6; }
.markdown-body pre { overflow: auto; padding: 1rem; border-radius: 18px; background: rgba(0,0,0,.43); border: 1px solid var(--line); }
.markdown-body code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; background: rgba(255,255,255,.08); padding: .12rem .32rem; border-radius: 6px; }
.markdown-body pre code { background: transparent; padding: 0; }
.markdown-body img { border-radius: 18px; border: 1px solid var(--line); margin: 1rem 0; }
.markdown-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.markdown-body th, .markdown-body td { border: 1px solid var(--line); padding: .55rem .7rem; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.deploy-card pre { margin: .8rem 0 0; overflow: auto; padding: 1rem; border-radius: 18px; background: rgba(0,0,0,.38); border: 1px solid var(--line); }
.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-grid a { color: #ffd0c6; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 1rem; background: rgba(0,0,0,.82); }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lightbox button { position: fixed; top: 1rem; right: 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; padding: .7rem 1rem; font-weight: 900; cursor: pointer; }
@media (max-width: 980px) {
  .hero-grid, .status-grid, .deploy-grid { grid-template-columns: 1fr; }
  .logo-stage { min-height: auto; }
  .feature-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; }
  .nav { margin-left: 0; width: 100%; padding-bottom: .2rem; }
  .hero { padding-top: 3.4rem; }
  .feature-grid, .download-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .status-row { grid-template-columns: 1fr; gap: .2rem; }
  .logo-card { padding: 1.2rem; border-radius: 26px; }
  .doc-panel summary { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
