/* ============================================================
   VIBE CODER TYCOON — marketing site skin
   ink on paper, sticker energy, no gradients (except subtle ones)
   ============================================================ */

:root {
  --ink: #16130F;
  --paper: #FAF3E7;
  --coral: #FF6B5D;
  --lime: #C6F432;
  --lilac: #C9B8FF;
  --beige: #E8DCC8;
  --card-dark: rgba(34, 30, 26, 0.96);
  --radius: 16px;
  --border: 3px solid var(--ink);
  --shadow-sticker: 6px 6px 0 var(--ink);
  --shadow-sticker-sm: 4px 4px 0 var(--ink);
  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    "Arial Rounded MT Bold", Quicksand, Comfortaa, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  --maxw: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 5;
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--coral);
}

.site-nav .nav-cta {
  border: var(--border);
  border-radius: 999px;
  background: var(--coral);
  padding: 8px 18px;
  font-weight: 800;
  box-shadow: var(--shadow-sticker-sm);
}

.site-nav .nav-cta:hover {
  border-bottom-color: var(--ink);
  translate: 1px 1px;
  box-shadow: 3px 3px 0 var(--ink);
}

@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 48px 0 88px;
  overflow: hidden;
  background: var(--beige);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#hero-canvas canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  border: var(--border);
  box-shadow: var(--shadow-sticker);
  rotate: -4deg;
  margin-bottom: 36px;
}

.wordmark {
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
}

.wordmark .pill-word {
  display: inline-block;
  padding: 0.12em 0.55em 0.18em;
  border-radius: 999px;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-sticker);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.wordmark .w-vibe {
  background: var(--coral);
  rotate: -3deg;
}

.wordmark .w-coder {
  background: var(--lime);
  rotate: 2deg;
}

.wordmark .w-tycoon {
  background: var(--lilac);
  rotate: -2deg;
}

.tagline {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  margin: 0 0 12px;
  font-weight: 600;
}

.tagline::before {
  content: "> ";
  color: var(--coral);
  font-weight: 800;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin: 0 0 36px;
  opacity: 0.75;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 26px 12px 18px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sticker-sm);
  transition: translate 0.12s ease, box-shadow 0.12s ease;
}

.badge:hover {
  translate: 2px 2px;
  box-shadow: 2px 2px 0 var(--ink);
}

.badge .badge-glyph {
  width: 26px;
  height: 26px;
  flex: none;
}

.badge .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.badge .badge-small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge .badge-big {
  font-weight: 800;
  font-size: 1.06rem;
}

.badge.badge-mac {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- section scaffolding ---------- */

section {
  padding: 88px 0;
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--coral);
  font-weight: 700;
}

.section-ink .section-kicker {
  color: var(--lime);
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.section-lede {
  max-width: 560px;
  margin: 0 0 48px;
  opacity: 0.85;
}

/* ---------- feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sticker-sm);
}

.feature-card:nth-child(3n + 1) {
  rotate: -0.6deg;
}

.feature-card:nth-child(3n + 2) {
  rotate: 0.5deg;
}

.feature-card:nth-child(3n) {
  rotate: -0.3deg;
}

.feature-card .chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.chip-coral { background: var(--coral); }
.chip-lime  { background: var(--lime); }
.chip-lilac { background: var(--lilac); }
.chip-beige { background: var(--beige); }

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ---------- maude quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-bubble {
  position: relative;
  background: var(--card-dark);
  border: 3px solid var(--paper);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.55;
}

.quote-bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 34px;
  width: 20px;
  height: 20px;
  background: var(--card-dark);
  border-right: 3px solid var(--paper);
  border-bottom: 3px solid var(--paper);
  transform: rotate(45deg) skew(10deg, 10deg);
}

.quote-bubble:nth-child(odd) {
  rotate: -0.8deg;
}

.quote-bubble:nth-child(even) {
  rotate: 0.7deg;
}

.quote-bubble p {
  margin: 0;
}

.quote-attr {
  display: block;
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--lime);
  font-weight: 700;
}

/* ---------- screenshots ---------- */

.shots {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 8px 4px 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.shots.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.shots li {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.shots img {
  width: min(280px, 72vw);
  height: auto;
  border-radius: var(--radius);
  border: 3px solid var(--paper);
  box-shadow: 6px 6px 0 rgba(250, 243, 231, 0.18);
  background: var(--card-dark);
  user-select: none;
  -webkit-user-drag: none;
}

.shots li:nth-child(odd) img {
  rotate: -1deg;
}

.shots li:nth-child(even) img {
  rotate: 1deg;
}

.shots-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 8px 0 0;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.faq-list details {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sticker-sm);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  position: relative;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--coral);
}

.faq-list details[open] summary::after {
  content: "\2013"; /* en dash */
}

.faq-list .faq-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
}

.faq-list .faq-body p {
  margin: 0 0 10px;
}

.faq-list .faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 48px;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
}

.footer-links a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.7;
  margin: 0;
}

.footer-maude {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.5;
  margin: 0;
  font-style: italic;
}

/* ---------- privacy page ---------- */

.doc {
  padding: 48px 0 96px;
}

.doc-inner {
  max-width: 720px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 8px;
}

.doc .doc-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 0.65;
  margin: 0 0 40px;
}

.doc h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 44px 0 12px;
}

.doc p,
.doc ul {
  margin: 0 0 14px;
  font-size: 0.98rem;
}

.doc li {
  margin-bottom: 6px;
}

.doc .note {
  display: block;
  background: var(--beige);
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin: 14px 0 18px;
}

.doc .note::before {
  content: "maude's note: ";
  font-weight: 700;
  color: #B23F35;
}

.tldr-card {
  background: var(--lime);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sticker-sm);
  padding: 20px 24px;
  font-weight: 700;
  margin: 0 0 12px;
  rotate: -0.5deg;
}

.tldr-card p {
  margin: 0;
}
