:root {
  color-scheme: light;
  --ink: #111113;
  --ink-soft: #4a4a52;
  --line: #e7e5df;
  --paper: #ffffff;
  --cream: #fbf8f1;
  --yellow: #f4c24b;
  --yellow-deep: #e5ad25;
  --pink: #f8dcea;
  --cyan: #19d3e6;
  --magenta: #ff3fd0;
  --radius: 18px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
p { margin: 0 0 16px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.display { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 2px solid var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
a.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
a.btn-dark:hover { box-shadow: 5px 5px 0 var(--yellow-deep); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-family: var(--display); font-size: 1.1rem; }
.brand small { font-size: 0.75rem; color: var(--ink-soft); }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { font-weight: 600; }
.header-cta { padding: 9px 18px; }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(1200px 500px at 85% 10%, #fff3d1 0%, transparent 60%); }
.hero-grid, .intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(2.8rem, 6.5vw, 4.6rem); }
.hero-title a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: var(--yellow); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 32px 0 0; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 500; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips svg { width: 20px; height: 20px; }

/* Clickalong guidance demo */
.guide-demo { position: relative; padding: 24px 24px 56px 0; }
.demo-window { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.demo-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 2px solid var(--ink); background: var(--cream); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-bar i:first-child { background: var(--magenta); }
.demo-bar i:nth-child(2) { background: var(--yellow); }
.demo-bar i:nth-child(3) { background: var(--cyan); }
.demo-body { display: grid; grid-template-columns: 90px 1fr; min-height: 260px; }
.demo-side { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; border-right: 1px solid var(--line); background: var(--cream); }
.demo-side b { height: 10px; border-radius: 6px; background: var(--line); }
.demo-side b.on { background: var(--ink); }
.demo-main { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.demo-line { height: 10px; border-radius: 6px; background: var(--line); }
.w60 { width: 60%; } .w80 { width: 80%; }
.demo-field { height: 34px; border: 1.5px solid var(--line); border-radius: 10px; }
.demo-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; }
.demo-btn { display: inline-block; min-width: 70px; height: 34px; border-radius: 10px; }
.demo-btn.ghost { border: 1.5px solid var(--line); }
.demo-btn.target { background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 600; line-height: 34px; text-align: center; padding: 0 16px; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--yellow); animation: pulse 2s ease-in-out infinite; }
.demo-tip { position: absolute; right: 50px; bottom: 0; max-width: 230px; padding: 12px 14px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 14px; font-size: 0.85rem; line-height: 1.4; box-shadow: 4px 4px 0 var(--ink); }
.demo-tip strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.demo-cursor { position: absolute; right: 10px; bottom: 58px; width: 36px; height: 36px; fill: var(--ink); stroke: #fff; stroke-width: 1.5; animation: nudge 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px #fff, 0 0 0 11px rgba(244, 194, 75, .55); } }
@keyframes nudge { 50% { transform: translate(-6px, -6px); } }

/* Intro + growth card */
.intro { padding: 88px 0; }
.growth-card { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 10px 10px 0 var(--yellow); }
.growth-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 24px; }
.growth-head strong { font-family: var(--display); font-size: 2rem; }
.growth-bars { display: flex; align-items: flex-end; gap: 12px; height: 220px; }
.growth-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: var(--ink); }
.growth-bars i:last-child { background: var(--yellow); border: 2px solid var(--ink); }

/* Bands */
.band { padding: 80px 0; }
.band-yellow { background: var(--yellow); }
.band-pink { background: var(--pink); }
.band-grid, .team-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.band-grid p { font-size: 1.08rem; }

/* Features */
.features { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s ease, transform .15s ease; }
.feature-grid article:hover { border-color: var(--ink); transform: translateY(-3px); }
.feature-grid svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--yellow); margin-bottom: 18px; }
.feature-grid h3 { font-size: 1.2rem; }
.feature-grid p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Team */
.team { padding: 88px 0; background: var(--cream); border-block: 1px solid var(--line); }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.stats div { flex: 1 1 220px; padding: 26px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.stats span { color: var(--ink-soft); }

/* Partners */
.partners { padding: 88px 0 40px; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 36px; }
.logo-row a { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.logo-row a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.logo-row img { width: 120px; height: 120px; }

/* Testimonials */
.testimonials { padding: 72px 0 96px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.quote-grid figure { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote-grid blockquote { margin: 0; font-size: 1.05rem; }
.quote-grid figcaption { font-weight: 600; }

/* Careers */
.careers { padding: 88px 0; background: var(--ink); color: #fff; }
.careers-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.roles-card { padding: 32px; border-radius: var(--radius); background: #1d1d21; border: 1px solid #2e2e34; }
.roles-card h2 { font-size: 1.6rem; }
.roles { list-style: none; padding: 0; margin: 0 0 20px; }
.roles li { padding: 12px 0; border-bottom: 1px solid #2e2e34; font-weight: 500; }
.perks { list-style: none; padding: 0; margin: 0 0 16px; }
.careers .btn-dark { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.careers .small { color: #b7b7c0; margin-top: 16px; }
.careers .small a { color: #fff; }

/* Closing */
.closing { padding: 80px 0; text-align: center; }
.closing .display { max-width: 820px; margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--cream); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; }
.site-footer address { font-style: normal; color: var(--ink-soft); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.copyright { margin-top: 40px; font-size: 0.85rem; color: var(--ink-soft); }

/* Prose pages (policies, terms, posts) */
.prose-page { padding: 64px 0 96px; }
.prose { width: min(760px, 100% - 32px); margin-inline: auto; overflow-wrap: anywhere; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.45rem; margin-top: 40px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li > p { margin-bottom: 8px; }
.prose a { text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 4px 20px; border-left: 4px solid var(--yellow); color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--cream); }
.post-back a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.post-meta { color: var(--ink-soft); font-size: 0.92rem; }
.post-cover { border-radius: var(--radius); margin: 8px 0 32px; border: 1px solid var(--line); }

/* Blog index */
.blog-page { width: min(1000px, 100% - 32px); margin-inline: auto; padding: 64px 0 96px; }
.post-list { display: grid; gap: 24px; margin-top: 32px; }
.post-card { display: grid; grid-template-columns: 1fr 1.3fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s ease; }
.post-card:hover { border-color: var(--ink); }
.post-card img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 28px; }
.post-card h2 { font-size: 1.4rem; }
.post-card p:last-child { color: var(--ink-soft); margin: 0; }

@media (max-width: 960px) {
  .hero-grid, .intro-grid, .band-grid, .team-grid, .careers-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; }
  .brand small { display: none; }
  .header-cta { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 22px; }
  .hero { padding: 40px 0 56px; }
  .guide-demo { padding-right: 0; }
  .demo-body { grid-template-columns: 56px 1fr; }
  .demo-tip { right: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .intro, .features, .team, .careers, .band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
