/* Booky marketing site — no build step, plain CSS. */

@font-face {
  font-family: 'Nunito';
  src: url('../assets/fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../assets/fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../assets/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --accent: #e8743b;
  --accent-dark: #c75a26;
  --ink: #3d2b1f;
  --ink-soft: #6f5b4c;
  --bg: #fffaf4;
  --bg-alt: #fdf0e3;
  --card: #ffffff;
  --border: #f0dfd0;
  --shadow: 0 6px 24px rgba(61, 43, 31, 0.08);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3e9df;
    --ink-soft: #c4b2a3;
    --bg: #221a14;
    --bg-alt: #2c2119;
    --card: #322620;
    --border: #463529;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 8px; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }

.accent { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none;
}
.nav-links {
  display: flex; gap: 24px; list-style: none; margin-left: auto; align-items: center;
}
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
  display: none; margin-left: auto; font-size: 1.5rem;
  background: none; border: none; color: var(--ink); cursor: pointer;
}

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 18px 0 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-platforms { margin-top: 18px; font-weight: 700; color: var(--ink-soft); }
.hero-art svg { width: 100%; height: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 14px;
  font-weight: 800; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: 8px 18px; background: var(--accent); color: #fff !important; border-radius: 12px; }
.btn-disabled { background: var(--border); color: var(--ink-soft); cursor: not-allowed; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }

/* Feature cards */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 14px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  list-style: none; counter-reset: step;
}
.steps li {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.steps p { color: var(--ink-soft); font-size: 0.95rem; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 800; margin-bottom: 12px;
}

/* Screenshots */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.shot { scroll-snap-align: start; }
.shot-placeholder {
  aspect-ratio: 3 / 4; display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--border); border-radius: var(--radius);
  background: var(--card); color: var(--ink-soft); font-weight: 700; padding: 12px;
}
.shot-placeholder small { font-weight: 400; }

/* Download */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download-card { text-align: center; }
.download-card p { margin: 6px 0 16px; }
.download-note { margin-top: 24px; color: var(--ink-soft); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid p { color: var(--ink-soft); }
.brand-footer { font-size: 1.1rem; margin-bottom: 6px; }
.footer-links { list-style: none; display: flex; gap: 20px; align-items: center; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--accent); }
.copyright { margin-top: 24px; color: var(--ink-soft); font-size: 0.9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Legal pages */
.legal { padding: 56px 0; max-width: 760px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { margin-top: 32px; font-size: 1.3rem; }
.legal p { margin: 10px 0; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* Vendor line in the footer brand block */
.footer-vendor { opacity: 0.8; font-size: 0.9rem; margin-top: 0.25rem; }
