/* Design DNA landing. Deliberately not-slop: distinctive type (Fraunces +
   Hanken Grotesk), warm editorial palette, one accent, no purple, flat color,
   real borders, left-aligned hero. It should look like it was decided, not generated. */

/* Themed to Marko's DESIGN.md — "Dark & techy" (Bold Signal). */
:root {
  --bg: #111111;
  --surface: #1A1A1A;
  --ink: #F5F5F5;
  --muted: #9A9A9A;
  --border: #2A2A2A;
  --accent: #FF5722;
  --accent-ink: #111111;
  --display: 'Clash Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* grain: a hair of noise so the flat dark bg reads as material, not a swatch */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 16px; cursor: pointer; border-radius: 10px; padding: 13px 22px; text-decoration: none; transition: transform .08s var(--ease), filter .16s var(--ease), background .16s var(--ease); }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border: none; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: #cdc4b4; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.wordmark b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.wordmark span { color: var(--muted); font-size: 13px; }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 0; text-wrap: balance; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 46ch; margin: 22px 0 0; text-wrap: pretty; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* the DESIGN.md snippet card on the right */
.snippet { background: #0C0C0C; color: #E8E4DD; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.3); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.7; overflow: hidden; }
.snippet .fn { color: #FF7A52; }
.snippet .k { color: #9ec7a0; }
.snippet .v { color: #EDE7DA; }
.snippet .c { color: #7c7568; }
.snippet-top { display: flex; gap: 6px; margin-bottom: 14px; }
.snippet-top i { width: 11px; height: 11px; border-radius: 50%; background: #2A2A2A; display: block; }

/* sections */
section.band { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--border); }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 0; max-width: 20ch; text-wrap: balance; }
.band p.body { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 20px 0 0; text-wrap: pretty; }
.band p.body b { color: var(--ink); font-weight: 600; }

/* the slop wall — a jumble of "generic AI look" tiles with one that breaks it */
.wall { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 88px; grid-auto-flow: dense; gap: 12px; margin-top: 40px; }
.wall-tile { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.wall-tile span { font-size: 21px; font-weight: 600; line-height: 1; color: var(--ink); }
.wt-1 { border-radius: 999px; font-family: Georgia, serif; }
.wt-2 { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.wt-3 { background: linear-gradient(135deg, #6d28d9, #a855f7); border: none; color: #fff; }
.wt-3 span { color: #fff; }
.wt-4 { border-radius: 22px; font-family: Verdana, sans-serif; transform: rotate(-1.5deg); }
.wt-5 { border-radius: 2px; transform: rotate(1.5deg); }
.wt-6 { font-family: "Comic Sans MS", cursive; border-radius: 18px; }
.wt-7 { background: #1e293b; border: none; }
.wt-8 { font-family: Impact, sans-serif; transform: rotate(-1deg); }
.wt-9 { font-family: Georgia, serif; border-radius: 20px; transform: rotate(1deg); }
.wall-yours { grid-column: span 2; grid-row: span 2; background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 16px 40px rgba(255,87,34,.14); justify-content: center; }
.wall-yours span { font-family: var(--display); font-size: 30px; color: var(--accent); }
.wall-yours { color: var(--ink); font-size: 13px; font-weight: 600; }

/* how-it-works: the real product, screen-recorded */
.demo-video { display: block; width: 100%; margin-top: 40px; border-radius: 14px; border: 1px solid var(--border); background: #0C0C0C; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* how-it-works: connected flow, not a uniform grid */
.flow { display: flex; gap: 28px; margin-top: 48px; position: relative; }
.flow::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--border) 55%, var(--accent)); opacity: .45; z-index: 0; }
.flow-step { position: relative; z-index: 1; flex: 1; }
.flow-step .step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--accent); line-height: 1; }
.flow-step h3 { font-family: var(--sans); font-size: 18px; font-weight: 650; margin: 16px 0 8px; }
.flow-step p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; max-width: 28ch; }

/* closing cta */
.closing { text-align: left; }
.closing h2 { margin-bottom: 28px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; transition: text-decoration-color .16s var(--ease); }
footer a:hover { text-decoration-color: var(--accent); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .wall { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 78px; }
  .wall-yours { grid-column: span 3; grid-row: span 1; }
  .flow { flex-direction: column; gap: 32px; }
  .flow::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
