/* ============================================================
   Voss Labs Ltd — shared stylesheet
   ============================================================ */

:root {
  /* Brand */
  --accent: #6d5dfb;
  --accent-2: #a368ff;
  --accent-grad: linear-gradient(135deg, #6d5dfb 0%, #a368ff 100%);

  /* Ink / dark surfaces */
  --ink: #0c0e14;
  --ink-2: #12151f;
  --ink-border: rgba(255, 255, 255, 0.10);

  /* Light surfaces */
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef0f5;
  --border: #e6e8ef;

  /* Text */
  --text: #16181f;
  --text-soft: #545c70;
  --muted: #8a91a3;
  --on-dark: #f3f4f8;
  --on-dark-soft: #aab1c4;

  /* App brand accents */
  --pookie: #ff7d6b;
  --pookie-soft: #fff1ea;
  --paint-a: #667eea;
  --paint-b: #8b54c9;

  /* Shape */
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --maxw: 1140px;

  --shadow-sm: 0 2px 8px rgba(18, 21, 31, 0.06);
  --shadow-md: 0 14px 40px rgba(18, 21, 31, 0.10);
  --shadow-lg: 0 30px 80px rgba(18, 21, 31, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

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

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

.accent-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Section primitives ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: #c6bcff; }

.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom: 16px; }
.section-head p { color: var(--text-soft); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 26px rgba(109, 93, 251, 0.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(109, 93, 251, 0.44); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.on-dark { color: var(--on-dark); border-color: var(--ink-border); }
.btn-ghost.on-dark:hover { border-color: #fff; color: #fff; }
.btn .apple { width: 20px; height: 20px; flex-shrink: 0; }

/* App Store button */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  color: #fff;
  padding: 11px 20px;
  border-radius: 13px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.appstore-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26); }
.appstore-btn .apple { width: 26px; height: 26px; }
.appstore-btn .as-text { line-height: 1.1; text-align: left; }
.appstore-btn .as-small { display: block; font-size: 10px; opacity: 0.85; font-weight: 400; letter-spacing: 0.02em; }
.appstore-btn .as-large { display: block; font-size: 18px; font-weight: 600; font-family: "Space Grotesk", sans-serif; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.96rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  padding: 104px 0 116px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
}
.hero::before { width: 560px; height: 560px; background: rgba(109, 93, 251, 0.42); top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: rgba(163, 104, 255, 0.30); bottom: -200px; left: -140px; }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--ink-border);
  color: var(--on-dark-soft);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #5ce6a3; box-shadow: 0 0 0 3px rgba(92, 230, 163, 0.22); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.04; margin-bottom: 24px; }
.hero h1 .accent-text { background: linear-gradient(120deg, #b9adff, #e3c4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--on-dark-soft); max-width: 620px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 38px;
  border-top: 1px solid var(--ink-border);
}
.hero-stats .stat .num { font-family: "Space Grotesk", sans-serif; font-size: 2.1rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.hero-stats .stat .label { font-size: 0.92rem; color: var(--on-dark-soft); margin-top: 2px; }

/* ============================================================
   Apps showcase
   ============================================================ */
.apps { background: var(--surface); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }

.app-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.app-card.pookie::before { background: linear-gradient(90deg, #ff9a7b, #ffb3bf); }
.app-card.paint::before { background: linear-gradient(90deg, var(--paint-a), var(--paint-b)); }
.app-card.cardley::before { background: linear-gradient(90deg, #7d4ff7, #5c5cf0); }

.app-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow-sm); object-fit: cover; flex-shrink: 0; }
.app-title h3 { font-size: 1.5rem; margin-bottom: 6px; }
.app-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 600; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-soft); }
.pill.rating { background: #fff5e6; color: #b67d12; }
.app-card.pookie .pill.brand { background: var(--pookie-soft); color: #d2553f; }
.app-card.paint .pill.brand { background: #efe9fb; color: #6b46b5; }
.app-card.cardley .pill.brand { background: #efeafe; color: #5b3fd0; }

.app-tagline { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.04rem; margin-bottom: 8px; }
.app-card.pookie .app-tagline { color: #d2553f; }
.app-card.paint .app-tagline { color: #6b46b5; }
.app-card.cardley .app-tagline { color: #5b3fd0; }
.app-desc { color: var(--text-soft); margin-bottom: 18px; font-size: 0.98rem; }

.feature-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.feature-chips span { font-size: 0.82rem; font-weight: 500; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 5px 11px; border-radius: var(--radius-pill); }

.app-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.text-link { font-weight: 600; font-size: 0.92rem; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.text-link:hover { gap: 9px; }

/* ============================================================
   About / values
   ============================================================ */
.about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about .lead { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 18px; }
.about .lead strong { color: var(--text); font-weight: 600; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value:hover { transform: translateY(-4px); border-color: #d8d4f7; }
.value .v-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(109,93,251,0.12), rgba(163,104,255,0.12)); margin-bottom: 14px; color: var(--accent); }
.value h4 { font-size: 1.08rem; margin-bottom: 6px; }
.value p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.55; }

/* ============================================================
   Contact CTA
   ============================================================ */
.contact { background: var(--surface); }
.contact-card {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(109,93,251,0.4); filter: blur(90px); top: -200px; left: 50%; transform: translateX(-50%); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.contact-card p { color: var(--on-dark-soft); font-size: 1.12rem; max-width: 520px; margin: 0 auto 30px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink-2); color: var(--on-dark-soft); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-border); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.96rem; max-width: 300px; line-height: 1.6; }
.footer-col h5 { font-family: "Space Grotesk", sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 0.95rem; margin-bottom: 11px; color: var(--on-dark-soft); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: baseline; }
.footer-legal { font-size: 0.82rem; line-height: 1.7; color: var(--muted); max-width: 720px; }
.footer-legal a { color: var(--on-dark-soft); }
.footer-legal a:hover { color: #fff; }
.footer-copy { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.footer-copy a { color: var(--on-dark-soft); }
.footer-copy a:hover { color: #fff; }

/* ============================================================
   Legal / article pages
   ============================================================ */
.legal-hero { background: var(--ink); color: var(--on-dark); padding: 72px 0 56px; position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(109,93,251,0.32); filter: blur(90px); top: -180px; right: -100px; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero a.back { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-soft); font-size: 0.92rem; margin-bottom: 22px; }
.legal-hero a.back:hover { color: #fff; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.legal-hero p.updated { color: var(--on-dark-soft); font-size: 0.95rem; }

.legal-body { padding: 64px 0 96px; }
.legal-body .container { max-width: 800px; }
.legal-body h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-body p { color: var(--text-soft); margin-bottom: 16px; }
.legal-body ul { color: var(--text-soft); margin: 0 0 18px 22px; }
.legal-body li { margin-bottom: 9px; }
.legal-body a { color: var(--accent); font-weight: 500; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text); }
.legal-body .note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 22px; margin: 22px 0; font-size: 0.96rem; }
.legal-body .note p:last-child { margin-bottom: 0; }
.legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.legal-toc h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 12px; }
.legal-toc ol { margin-left: 18px; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 7px; }
.legal-toc a { color: var(--text-soft); font-weight: 500; }
.legal-toc a:hover { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .about .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .values { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat .num { font-size: 1.7rem; }
  .contact-card { padding: 48px 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .legal-toc ol { columns: 1; }
  .app-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
