/* DK DevWorks: dark premium tech. Distinct from every product's own brand. */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --panel: #141416;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #9b9ba3;
  --dim: #6b6b73;
  --accent: #c6f432;
  --accent-ink: #0a0a0b;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.08; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.muted { color: var(--dim); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* backdrop */
.grid-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.halo { position: absolute; z-index: -1; top: -240px; left: 50%; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(198, 244, 50, 0.16), transparent); filter: blur(20px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-top: env(safe-area-inset-top); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -0.02em; }
.logo-mark.sm { width: 28px; height: 28px; font-size: 11px; }
.logo-text { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links .nav-cta { color: var(--text); border: 1px solid var(--line-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.4), 0 10px 30px -10px rgba(198, 244, 50, 0.5); }
.btn-accent:hover { box-shadow: 0 0 0 1px rgba(198, 244, 50, 0.7), 0 14px 40px -10px rgba(198, 244, 50, 0.6); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); }
.btn-line:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.03); }
.btn-brand { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); }
.btn-disabled { border: 1px dashed var(--line-2); color: var(--muted); cursor: default; }

/* hero */
.hero { padding-top: clamp(56px, 12vw, 128px); padding-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { margin: 26px 0 22px; font-size: clamp(42px, 8.2vw, 92px); font-weight: 600; }
.accent { color: var(--accent); }
.lead { max-width: 640px; margin: 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* glance */
.glance { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20, 20, 22, 0.6); overflow: hidden; }
.fact { display: grid; gap: 6px; padding: 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { font-family: var(--display); font-size: 19px; font-weight: 600; }

/* sections */
.section { padding-top: clamp(72px, 10vw, 120px); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.label { color: var(--accent); }
.section-head h2 { margin: 12px 0 12px; font-size: clamp(30px, 5vw, 48px); }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* app showcase */
.apps { display: grid; gap: 20px; }
.app { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; }
.app::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--b1), var(--b2)); }
.app::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--b2) 28%, transparent), transparent); pointer-events: none; }
.app-main { position: relative; z-index: 1; display: grid; gap: 14px; align-content: start; }
.app-head { display: flex; align-items: center; justify-content: space-between; }
.app-code { color: var(--dim); }
.status { padding: 4px 10px; border-radius: 99px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.status.live { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.status.soon { color: var(--accent); background: rgba(198, 244, 50, 0.08); }
.app-id { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--b1) 60%, transparent); }
.app-id h3 { font-size: 34px; }
.app-cat { display: block; margin-top: 4px; }
.app-tagline { margin: 4px 0 0; font-family: var(--display); font-size: 22px; font-weight: 500; background: linear-gradient(90deg, var(--b1), var(--b2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-desc { margin: 0; color: var(--muted); }
.app-main .btn { justify-self: start; margin-top: 8px; }
.app-features { position: relative; z-index: 1; align-self: center; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 10, 11, 0.5); }
.app-features li { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.app-features li:last-child { border-bottom: 0; }
.app-features li span { color: var(--b1); font-family: var(--mono); }

/* why web */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); overflow: hidden; }
.why-item { padding: 26px 22px; background: var(--bg); }
.why-item .mono { color: var(--accent); }
.why-item h3 { margin: 14px 0 8px; font-size: 19px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* roadmap */
.roadmap { position: relative; margin: 0; padding: 0; list-style: none; }
.roadmap::before { content: ''; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.rm { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 18px 0; }
.rm::before { content: ''; position: absolute; left: 113px; top: 26px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.rm.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent); }
.rm.next::before { border-color: var(--accent); }
.rm-when { padding-top: 4px; text-align: right; }
.rm-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 21px; }
.rm-state { padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); }
.rm.now .rm-state { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.rm-body p { margin: 6px 0 0; color: var(--muted); }

/* founder note */
.note { max-width: 820px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.note blockquote { margin: 20px 0 0; padding: 0; }
.note blockquote p { margin: 0 0 18px; font-family: var(--display); font-size: clamp(19px, 2.6vw, 24px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.note blockquote p:first-child { color: var(--text); }
.note blockquote p:not(:first-child) { color: #c9c9cf; }
.sig { display: grid; gap: 2px; margin: 26px 0 0; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--accent); }
.sig span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.contact h2 { margin: 12px 0; font-size: clamp(34px, 6vw, 56px); }
.contact p { margin: 0; color: var(--muted); font-size: 17px; }
.contact-card { display: grid; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.contact-mail { margin-bottom: 18px; font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-mail:hover { text-decoration: underline; text-underline-offset: 4px; }

/* footer */
.footer { margin-top: clamp(80px, 12vw, 140px); border-top: 1px solid var(--line); }
.foot-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding-top: 48px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-brand { display: flex; align-items: flex-start; gap: 12px; }
.foot-brand strong { display: block; font-family: var(--display); }
.foot-brand span { font-size: 14px; color: var(--dim); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols > div { display: grid; gap: 8px; align-content: start; }
.foot-cols a, .foot-cols .muted { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--text); }
.copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* responsive */
@media (max-width: 900px) {
  .glance { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3n) { border-right: 0; }
  .fact:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .app { grid-template-columns: 1fr; padding: 24px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .contact, .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .fact { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .fact:nth-child(2n) { border-right: 0 !important; }
  .fact:nth-last-child(-n + 2) { border-bottom: 0 !important; }
  .why { grid-template-columns: 1fr; }
  .roadmap::before { left: 6px; }
  .rm { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .rm::before { left: 1px; top: 22px; }
  .rm-when { text-align: left; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Never let decorative layers widen the page on phones */
html, body { overflow-x: clip; max-width: 100%; }
.halo { position: fixed; width: min(900px, 120vw); }
/* Facts panel lines up with the text column */
.glance { width: calc(100% - 48px); max-width: calc(1120px - 48px); padding: 0; }
@media (max-width: 560px) { .glance { width: calc(100% - 36px); } }

.app-url { display: block; margin-top: -2px; color: var(--dim); text-transform: none; letter-spacing: 0.02em; }
