/* =====================================================
   ViaPrompts — Home page (v2, November 2026)
===================================================== */

.home{ background:#fbfaf8; color:#1d1d1d; }

.eyebrow{
  display:inline-block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--vp-orange);
  margin-bottom:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 24px;
  border-radius:10px;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  font-family:inherit;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--vp-orange); color:#fff; }
.btn-primary:hover{ background:var(--vp-orange-dark); }
.btn-ghost{ border-color:#444; color:#fff; }
.btn-ghost:hover{ border-color:#fff; }
.btn-dark{ background:#1d1d1d; color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-outline{ border-color:#d6d0c8; color:#1d1d1d; background:#fff; }
.btn-outline:hover{ border-color:var(--vp-orange); color:var(--vp-orange); }
.btn-block{ width:100%; }

.center{ text-align:center; margin-top:34px; }
.muted{ color:#5d5a55; }
.narrow{ max-width:860px; }

/* HERO */

.home-hero{
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(232,104,0,.22), transparent 60%),
    linear-gradient(180deg,#111 0%,#1a1714 100%);
  color:#fff;
  padding:72px 0 84px;
}
.home-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:56px;
  align-items:center;
}
.home-hero h1{
  font-size:clamp(32px, 4.6vw, 52px);
  line-height:1.12;
  letter-spacing:-.02em;
  margin-bottom:20px;
}
.home-hero-lead{
  font-size:18px;
  color:#d8d4ce;
  max-width:620px;
  line-height:1.7;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin:30px 0 34px; }

.hero-stats{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,auto);
  gap:12px 28px;
  justify-content:start;
  color:#bdb7af;
  font-size:14px;
}
.hero-stats strong{ display:block; color:#fff; font-size:26px; line-height:1.1; }

.hero-compare{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  padding:22px;
}
.compare-card{
  border-radius:12px;
  padding:16px 18px;
  font-size:15px;
  line-height:1.55;
}
.compare-card p + p{ margin-top:6px; }
.compare-weak{ background:#262422; color:#bdb7af; }
.compare-strong{ background:#fff; color:#222; }
.compare-strong b{ color:var(--vp-orange); }
.compare-tag{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
  opacity:.75;
}
.compare-arrow{ text-align:center; font-size:22px; color:var(--vp-orange); margin:8px 0; }
.hero-compare figcaption{ font-size:13.5px; color:#a9a39b; margin-top:14px; line-height:1.6; }

/* SECTIONS */

.home-section{ padding:84px 0; }
.home-section.alt{ background:#f2eee8; }
.section-head{ text-align:center; max-width:780px; margin:0 auto 44px; }
.section-head h2,
.split h2{
  font-size:clamp(27px, 3.2vw, 38px);
  line-height:1.2;
  letter-spacing:-.015em;
  margin-bottom:12px;
}
.section-head p{ color:#5d5a55; font-size:17px; line-height:1.75; }

/* BUILDER */

.builder{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:start;
}
.builder-form,
.builder-output{
  background:#fff;
  border:1px solid #ece6de;
  border-radius:18px;
  padding:30px;
  box-shadow:0 14px 34px rgba(30,20,10,.06);
}
.builder-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 20px;
}
.builder-output{ position:sticky; top:90px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field-full{ grid-column:1 / -1; }
.field label{ font-weight:700; font-size:14.5px; }
.field small{ color:#7a756e; font-size:13px; }
.req{ color:var(--vp-orange); }
.field input,
.field select,
#output{
  width:100%;
  font:inherit;
  font-size:15.5px;
  padding:12px 14px;
  border:1px solid #d9d3cb;
  border-radius:10px;
  background:#fff;
  color:#1d1d1d;
}
.field input:focus,
.field select:focus,
#output:focus{
  outline:none;
  border-color:var(--vp-orange);
  box-shadow:0 0 0 3px rgba(232,104,0,.15);
}
.checks{ display:flex; flex-wrap:wrap; gap:10px 26px; }
.check{ display:flex !important; align-items:center; gap:9px; font-weight:500 !important; cursor:pointer; }
.check input{ width:18px; height:18px; accent-color:var(--vp-orange); }
.form-error{
  grid-column:1 / -1;
  background:#fff1ec;
  color:#9a2d00;
  border:1px solid #f5c7b3;
  padding:10px 14px;
  border-radius:10px;
  font-size:14.5px;
}
.builder-form .btn-block{ grid-column:1 / -1; }

.output-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; }
.output-head label{ font-weight:700; }
.char-count{ font-size:13px; color:#7a756e; }
#output{
  min-height:380px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:14px;
  line-height:1.6;
  background:#fbfaf8;
}
.output-actions{ display:flex; gap:10px; margin-top:14px; }
.output-actions .btn{ flex:1; }
.output-tip{ font-size:13.5px; color:#6b665f; margin-top:14px; line-height:1.6; }

/* STEPS */

.steps{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.steps li{
  background:#fff;
  border-radius:16px;
  padding:28px;
  border:1px solid #e6dfd5;
}
.step-num{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--vp-orange);
  color:#fff;
  font-weight:800;
  margin-bottom:14px;
}
.steps h3{ font-size:19px; margin-bottom:8px; }
.steps p{ color:#5d5a55; }

/* GUIDE */

.prose-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:34px;
  align-items:start;
  margin-bottom:56px;
}
.prose p{ font-size:17px; line-height:1.85; color:#333; }
.prose p + p{ margin-top:16px; }
.callout{
  background:#111;
  color:#eee;
  border-radius:16px;
  padding:26px;
  border-left:5px solid var(--vp-orange);
}
.callout h3{ color:#fff; font-size:18px; margin-bottom:8px; }
.callout p{ color:#cfc9c1; line-height:1.7; }

.sub-head{
  font-size:clamp(22px, 2.4vw, 28px);
  text-align:center;
  margin-bottom:10px;
}
.sub-lead{ text-align:center; color:#5d5a55; max-width:700px; margin:0 auto 30px; }

.blocks{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:60px;
}
.block{
  position:relative;
  background:#fff;
  border:1px solid #ece6de;
  border-radius:16px;
  padding:24px 24px 24px 82px;
}
.block-letter{
  position:absolute;
  left:22px;
  top:24px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#fff3e8;
  color:var(--vp-orange);
  font-weight:800;
  font-size:20px;
}
.block h4{ font-size:17px; margin-bottom:6px; }
.block p{ color:#5d5a55; font-size:15px; }

.techniques{ max-width:860px; margin:0 auto; display:grid; gap:12px; }
.technique,
.faq-entry{
  background:#fff;
  border:1px solid #ece6de;
  border-radius:14px;
  padding:0 22px;
}
.technique summary,
.faq-entry summary{
  cursor:pointer;
  list-style:none;
  font-weight:700;
  font-size:16.5px;
  padding:18px 30px 18px 0;
  position:relative;
}
.technique summary::-webkit-details-marker,
.faq-entry summary::-webkit-details-marker{ display:none; }
.technique summary::after,
.faq-entry summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  color:var(--vp-orange);
  font-weight:400;
}
.technique[open] summary::after,
.faq-entry[open] summary::after{ content:"\2212"; }
.technique p,
.faq-entry p{ padding-bottom:18px; color:#4a4742; line-height:1.75; }

/* MISTAKES TABLE */

.table-wrap{ overflow-x:auto; border-radius:16px; border:1px solid #e3dcd2; background:#fff; }
.fix-table{ width:100%; border-collapse:collapse; min-width:640px; }
.fix-table th,
.fix-table td{ padding:16px 20px; text-align:left; vertical-align:top; font-size:15px; }
.fix-table thead th{ background:#111; color:#fff; font-size:13px; letter-spacing:.06em; text-transform:uppercase; }
.fix-table tbody tr + tr td{ border-top:1px solid #eee7de; }
.fix-table td:first-child{ font-weight:700; }
.fix-table td:last-child{ color:#2f6b3a; }

/* CHECKLIST + PERSONAS */

.split{ display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:start; }
.checklist{ list-style:none; margin-top:22px; display:grid; gap:10px; }
.checklist li{
  position:relative;
  padding:13px 16px 13px 48px;
  background:#fff;
  border:1px solid #ece6de;
  border-radius:12px;
}
.checklist li::before{
  content:"";
  position:absolute;
  left:16px;
  top:50%;
  width:18px;
  height:18px;
  margin-top:-9px;
  border-radius:5px;
  border:2px solid var(--vp-orange);
}
.personas{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:22px; }
.persona{
  display:block;
  background:#fff;
  border:1px solid #ece6de;
  border-radius:14px;
  padding:20px;
  text-decoration:none;
  color:inherit;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.persona:hover{ border-color:var(--vp-orange); transform:translateY(-3px); box-shadow:0 10px 24px rgba(30,20,10,.07); }
.persona h3{ font-size:16.5px; margin-bottom:6px; }
.persona p{ font-size:14.5px; color:#5d5a55; }

/* CATEGORIES */

.anchor-alias{ position:relative; top:-90px; display:block; }
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-card{
  display:block;
  background:#fff;
  border-radius:14px;
  padding:22px;
  text-decoration:none;
  color:inherit;
  border:1px solid #e6dfd5;
  transition:transform .2s ease, border-color .2s ease;
}
.cat-card:hover{ transform:translateY(-3px); border-color:var(--vp-orange); }
.cat-card h3{ font-size:17px; margin-bottom:6px; }
.cat-card h3::after{ content:" \2192"; color:var(--vp-orange); }
.cat-card p{ font-size:14.5px; color:#5d5a55; }

/* TOOLS */

.tool-groups{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.tool-group h3{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#7a756e;
  margin:0 0 10px;
}
.tool-group ul + h3{ margin-top:24px; }
.tool-group ul{ list-style:none; display:grid; gap:7px; }
.tool-group a{ color:#1d1d1d; text-decoration:none; font-size:15px; border-bottom:1px solid transparent; }
.tool-group a:hover{ color:var(--vp-orange); border-bottom-color:currentColor; }

/* GLOSSARY */

.glossary{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.glossary > div{ background:#fff; border-radius:14px; padding:20px 22px; border:1px solid #e6dfd5; }
.glossary dt{ font-weight:800; margin-bottom:4px; }
.glossary dd{ color:#5d5a55; font-size:15px; }

/* FAQ */

.faq-list{ display:grid; gap:12px; }
.faq-list + .center a{ color:var(--vp-orange); }

/* RESPONSIVE */

@media (max-width:1024px){
  .cat-grid,
  .tool-groups{ grid-template-columns:repeat(2,1fr); }
  .blocks{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px){
  .home-hero-grid,
  .builder,
  .prose-grid,
  .split{ grid-template-columns:1fr; }
  .builder-output{ position:static; }
  .steps{ grid-template-columns:1fr; }
  .hero-stats{ grid-template-columns:repeat(2,auto); }
}

@media (max-width:620px){
  .home-hero{ padding:48px 0 60px; }
  .home-section{ padding:60px 0; }
  .builder-form{ grid-template-columns:1fr; padding:22px; }
  .builder-output{ padding:22px; }
  .blocks,
  .cat-grid,
  .tool-groups,
  .glossary,
  .personas{ grid-template-columns:1fr; }
  .hero-actions .btn{ width:100%; }
  .home-hero-lead{ font-size:16.5px; }
  .output-actions{ flex-direction:column; }
}

.section-head .eyebrow{ color:var(--vp-orange); font-size:12.5px; line-height:1.4; }

/* SISTER TOOL — 3DMockups.in */

.mockup-section{
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(232,104,0,.20), transparent 60%),
    #141210;
  color:#eee;
}
.mockup-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}
.mockup-copy h2{
  font-size:clamp(27px, 3.2vw, 38px);
  line-height:1.2;
  letter-spacing:-.015em;
  color:#fff;
  margin-bottom:16px;
}
.mockup-copy p{ color:#cfc9c1; font-size:16.5px; line-height:1.8; }
.mockup-copy p + p{ margin-top:12px; }
.mockup-copy strong{ color:#fff; }
.mockup-points{ list-style:none; margin:22px 0 28px; display:grid; gap:10px; }
.mockup-points li{
  position:relative;
  padding-left:28px;
  color:#cfc9c1;
  line-height:1.6;
}
.mockup-points li::before{
  content:"\2713";
  position:absolute;
  left:0;
  top:0;
  color:var(--vp-orange);
  font-weight:800;
}
.mockup-points b{ color:#fff; }

.mockup-panel{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  padding:26px;
}
.mockup-panel-title{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#a9a39b;
  margin-bottom:14px;
}
.mockup-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.mockup-chips a{
  display:inline-block;
  padding:9px 14px;
  border-radius:999px;
  background:#221f1c;
  border:1px solid #3a342e;
  color:#eee;
  text-decoration:none;
  font-size:14.5px;
  transition:border-color .2s ease, color .2s ease;
}
.mockup-chips a:hover{ border-color:var(--vp-orange); color:#fff; }
.mockup-flow{ margin-top:26px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); }
.mockup-flow ol{ padding-left:20px; display:grid; gap:10px; color:#cfc9c1; line-height:1.6; }
.mockup-flow a{ color:#ffb27a; }

@media (max-width:900px){
  .mockup-grid{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:620px){
  .mockup-copy .btn{ width:100%; }
}
