@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #FBF3E7;
  --surface: #FFFDF9;
  --surface-hi: #FFFDF980;
  --line: #E8D9BC;
  --text: #2B2015;
  --text-muted: #7A6A52;
  --accent: #6B4E9E;
  --accent-dim: #6B4E9E22;
  --accent2: #D98E04;
  --ink: #12131A;
  --radius: 14px;
  --display: 'Fraunces', serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 15% -10%, #6B4E9E26, transparent),
    radial-gradient(ellipse 700px 500px at 100% 20%, #D98E0430, transparent);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Decorative section divider - celestial wave, ties to brand */
.divider {
  height: 44px;
  margin: 0 auto;
  max-width: 1080px;
  opacity: 0.5;
}

/* Stats strip - honest, real numbers, breaks up plain sections */
.stats-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-item { flex: 1; min-width: 140px; }
.stat-item .num {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Process steps - visual, connected, not a plain grid */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}
.process::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 14px; }

/* Bento-style asymmetric grid for blog - breaks the uniform 3-col monotony */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento .feature-post {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.bento .feature-post .kicker { margin-bottom: 16px; }
.bento .feature-post h3 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
.bento .feature-post p { font-size: 15px; margin-bottom: 20px; }
.bento .feature-post .read-more { margin-top: auto; }
.bento .mini-post { padding: 22px; }
.bento .mini-post h3 { font-size: 16px; }

/* Drop cap for editorial feel on first post paragraph */
.post-body > p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 58px;
  font-weight: 600;
  float: left;
  line-height: 0.8;
  padding: 6px 8px 0 0;
  color: var(--accent);
}

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento .feature-post { grid-row: auto; }
  .process { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .stats-strip { flex-direction: column; gap: 18px; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FAF5EAee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .logo-mark {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 4px;
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.nav .logo-group { display: flex; align-items: center; gap: 10px; }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--accent);
  color: #FFFDF8;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600;
}
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* Hero */
.hero {
  padding: 100px 0 90px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero p.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #FFFDF8; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

/* Console (signature element) */
.console {
  background: #221F2E;
  border: 1px solid #33304433;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px #3A2E2233;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #35314633;
  background: #1B1826;
}
.console-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4A4560;
}
.console-bar .label {
  width: auto;
  border-radius: 0;
  background: none;
  font-family: var(--mono);
  font-size: 11px;
  color: #8B84A3;
  margin-left: 6px;
}
.console-body {
  padding: 22px 20px;
  font-family: var(--mono);
  font-size: 13px;
}
.console-line { margin-bottom: 16px; color: #EDE9F5; }
.console-prompt { color: var(--accent2); }
.console-prompt::before { content: '❯ '; color: #8B84A3; }
.console-output {
  color: #B8B2CC;
  margin-top: 8px;
  padding-left: 18px;
  border-left: 2px solid #35314680;
  animation: fadein 1.2s ease both;
}
.console-output .hl { color: var(--accent2); font-weight: 600; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.console-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* Section headers */
.section { padding: 70px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
}
.section-head .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.section-sub { color: var(--text-muted); font-size: 15px; max-width: 520px; margin-top: 8px; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 4px 18px -8px #3A2E2214;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 26px -10px #3A2E2222; }

/* Decorative post hero art */
.post-hero-art { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.post-hero-art svg, .post-hero-art img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: 0 20px 45px -18px #2B201533;
}

.post-card .kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.post-card .read-more {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; flex-grow: 1; }
.product-card .btn { align-self: flex-start; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .muted { color: var(--text-muted); font-size: 13px; font-family: var(--mono); }

/* Blog post page */
.post-header { padding: 70px 0 40px; max-width: 720px; margin: 0 auto; }
.post-header .kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.post-header h1 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 16px;
}
.post-meta { color: var(--text-muted); font-size: 13px; font-family: var(--mono); }

.post-body { max-width: 720px; margin: 0 auto; padding-bottom: 60px; }
.post-body h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 16px;
}
.post-body p { margin-bottom: 18px; color: #2B2015; font-size: 17px; line-height: 1.75; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; color: #2B2015; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--text); }
.post-cta {
  margin-top: 48px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
}
.post-cta .kicker { color: var(--accent); font-family: var(--mono); font-size: 11px; text-transform: uppercase; margin-bottom: 8px; }
.post-cta h3 { font-family: var(--display); font-size: 20px; margin-bottom: 10px; }
.post-cta p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 24px;
}
.breadcrumb a:hover { color: var(--accent); }

/* Reading progress bar - keeps readers engaged, shows how much is left */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* Key takeaway box - bold, scannable, hooks skimmers into reading */
.key-takeaway {
  background: var(--accent);
  color: #FFFDF9;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0 36px;
  position: relative;
}
.key-takeaway .label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 8px;
  display: block;
}
.key-takeaway p { color: #FFFDF9; font-size: 16px; margin: 0; line-height: 1.6; }
.key-takeaway strong { color: var(--accent2); }

/* Mid-article soft CTA - catches readers who won't reach the end */
.mid-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1.5px dashed var(--accent2);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.mid-cta .txt { flex: 1; min-width: 200px; font-size: 14px; color: var(--text-muted); }
.mid-cta .txt strong { color: var(--text); }
.mid-cta a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  white-space: nowrap;
}

/* Pull quote */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
}

/* Callout / tip boxes */
.callout {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 28px 0;
}
.callout .icon {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bg);
  background: var(--accent2);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.callout.tip .icon { background: var(--accent); }
.callout .body p { margin-bottom: 0; font-size: 14.5px; }
.callout .body strong { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent2); margin-bottom: 6px; }
.callout.tip .body strong { color: var(--accent); }

/* Prompt box - styled like a console snippet */
.prompt-box {
  background: #0E0F16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
  font-family: var(--mono);
  font-size: 13.5px;
  color: #C9CBD9;
  position: relative;
}
.prompt-box .prompt-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

/* Step list */
.step-list { counter-reset: step; list-style: none; margin: 0 0 24px 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
  color: #2B2015;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li strong { color: var(--text); display: block; margin-bottom: 4px; }

/* FAQ */
.faq-section { margin-top: 20px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}
.faq-item h3::before { content: 'Q.'; color: var(--accent); font-family: var(--mono); }
.faq-item p { color: var(--text-muted); font-size: 14.5px; margin: 0; padding-left: 26px; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent2);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #2B2015;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
