:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-alt: #eef2ff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #111827;
  --text-muted: #4b5563;
  --brand: #4338ca;
  --brand-hover: #3730a3;
  --brand-soft: #eef2ff;
  --cut: #e11d48;
  --crease: #2563eb;
  --bleed: #15803d;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1200px;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Header — single-row Pacdora-inspired studio nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand-accent { color: var(--brand); }
.brand-link:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 999px;
  background: var(--brand); color: #fff !important;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-hover); text-decoration: none; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; font-size: 14px; color: var(--text); cursor: pointer;
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 14px 20px 18px; gap: 12px;
  }
  .main-nav.open { display: flex; }
}

/* Breadcrumb & Hero */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 13px; color: var(--text-muted); padding: 14px 0 4px;
}
.breadcrumb a { color: var(--text-muted); }
.hero { padding: 28px 0 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.18; font-weight: 700; margin: 0 0 12px; color: var(--text);
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 16px; color: var(--text-muted); max-width: 760px; margin: 0 0 16px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--text);
}

/* Sections & Pacdora-style Category Cards */
.section { padding: 40px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 {
  font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 700; margin: 0 0 10px; color: var(--text);
}
.section-sub { color: var(--text-muted); margin: 0 0 24px; max-width: 720px; }
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.cat-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: border-color .15s, box-shadow .15s, transform .15s;
  color: var(--text); text-decoration: none;
}
.section:not(.section-alt) .cat-card { background: var(--surface); }
.cat-card:hover {
  border-color: var(--brand); box-shadow: 0 8px 24px rgba(67,56,202,0.08);
  transform: translateY(-2px); text-decoration: none;
}
.cat-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px;
}
.cat-card h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 6px; color: var(--text); }
.cat-card p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 12px; }
.cat-meta { font-size: 12px; font-family: var(--font-mono); color: var(--brand); font-weight: 600; }

/* Spec Table & Steps */
.spec-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.spec-table {
  width: 100%; border-collapse: collapse; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border);
}
.spec-table th { background: var(--surface); font-weight: 600; color: var(--text); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
}
.section:not(.section-alt) .step-card { background: var(--surface); }
.step-num {
  width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; margin-bottom: 10px;
}
.step-card h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 6px; }
.step-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px;
}
.section:not(.section-alt) .faq-item { background: var(--surface); }
.faq-item summary {
  font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; color: var(--text);
}
.faq-item p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-muted); }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.price-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 12px 28px rgba(67,56,202,0.10); }
.price-val { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin: 8px 0; }
.price-list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text-muted); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 11px 16px; border-radius: 10px; background: var(--brand); color: #fff;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--brand-hover); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 11px 16px; border-radius: 10px; background: var(--surface); color: var(--text);
  font-weight: 600; font-size: 14px; border: 1px solid var(--border-strong); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--brand); text-decoration: none; }

/* Prose & Legal */
.prose { max-width: 820px; }
.prose h2 { margin-top: 28px; font-size: 20px; }
.prose p, .prose li { color: var(--text-muted); font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); background: var(--surface);
  padding: 40px 0 28px; font-size: 14px; color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-col h3 { font-family: var(--font-display); font-size: 14px; color: var(--text); margin: 0 0 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { color: var(--text-muted); font-size: 13.5px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px;
}

.brand-link .gf-site-icon { flex: none; width: 32px; height: 32px; }
.footer-col .footer-heading { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text); margin: 0 0 10px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .footer-col a { overflow-wrap: anywhere; } }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.price-card h2 { font-size: 1.17em; margin-block: 1em; }

/* Pacdora-inspired Studio Hero & Visual Showcase Cards */
.hero-studio {
  background:
    linear-gradient(to right, rgba(67, 56, 202, 0.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(to bottom, rgba(67, 56, 202, 0.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 38px;
}
.hero-studio .hero { padding: 14px 0 6px; }
.hero-studio .hero-centered { text-align: center; }
.hero-studio .hero-centered .hero-lead { margin: 0 auto 24px; max-width: 620px; font-size: 16.5px; }
.hero-studio h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.025em; margin-bottom: 10px; }
.hero-accent { color: var(--brand); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::after { content: "+"; font-size: 18px; font-weight: 600; color: var(--brand); flex: none; }
.faq-item[open] summary::after { content: "−"; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: var(--brand-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(67, 56, 202, 0.12);
  border-color: var(--brand);
  text-decoration: none;
}
.showcase-card.tone-lilac { background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%); }
.showcase-card.tone-sky { background: linear-gradient(180deg, var(--surface) 0%, var(--brand-soft) 100%); }
.showcase-card.tone-cream { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}
.showcase-head h2, .showcase-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}
.showcase-head p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.showcase-arrow {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  transition: background .15s, color .15s;
}
.showcase-card:hover .showcase-arrow { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.showcase-media {
  position: relative;
  padding: 0 14px 14px;
}
.showcase-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.format-badges {
  position: absolute;
  right: 22px;
  top: 10px;
  display: inline-flex;
  gap: 5px;
}
.format-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--bg);
  background: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.format-badge.pdf { background: var(--cut); }
.format-badge.svg { background: var(--brand); }
.format-badge.dxf { background: var(--text); }

/* Visual Box Category Cards */
.card-grid-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cat-card-visual {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card-visual:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 12px 28px rgba(67, 56, 202, 0.10);
  text-decoration: none;
}
.cat-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.cat-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.cat-card-visual:hover .cat-thumb img { transform: scale(1.03); }
.cat-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.cat-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 5px;
  color: var(--text);
}
.cat-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.45;
}

/* Trust Strip & Workbench Anchor */
.workbench-band {
  padding: 28px 0 36px;
  background: var(--bg);
}
.workbench-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.workbench-head h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0;
}
.workbench-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .card-grid-visual { grid-template-columns: minmax(0, 1fr); }
}

/* Pinterest-style Category Filter Bar & Scene Badges */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand); }
.filter-pill[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}
.filter-count {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.78;
}
.cat-card-visual[hidden] { display: none !important; }
.cat-thumb { position: relative; }
.scene-dim-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.82);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}



