/* Card Studio narrative prototype — derived from the approved AIGC direction. */

.home-extension{
  display:flex;
  flex-direction:column;
  background:#fffdf9;
}

.home-workflow{order:1}
.home-cases{order:2}
.home-proof{order:3}
.home-pricing{order:4}
.home-faq{order:5}
.home-closing{order:6}

.home-workflow,
.home-cases,
.home-proof,
.home-pricing,
.home-faq,
.home-closing{
  position:relative;
}

.home-manifesto{
  width:min(820px,calc(100% - 48px));
  margin:0 auto 54px;
  text-align:center;
}

.home-manifesto p{
  margin:0;
  font-size:clamp(30px,3.2vw,43px);
  font-weight:850;
  line-height:1.28;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.home-manifesto strong{font-weight:950}

.home-manifesto::after,
.home-workflow-intro::after,
.home-cases .home-section-head::after,
.home-trust-head::after,
.home-pricing-head::after,
.home-faq-intro::after{
  content:"";
  width:24px;
  height:3px;
  margin:18px auto 0;
  display:block;
  border-radius:999px;
  background:var(--accent);
}

/* Workflow */
.home-workflow{
  padding:90px 0 78px;
  background:
    radial-gradient(circle at 50% 8%,rgba(239,209,155,.18),transparent 26%),
    #fffdf9;
}

.home-workflow-layout{
  padding:42px 38px 34px;
  border:1px solid #eadfD2;
  border-radius:20px;
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 50px rgba(93,62,35,.035);
}

.home-workflow-intro{
  display:block;
  margin:0 0 42px;
  text-align:center;
}

.home-workflow-intro .home-section-kicker{display:none}

.home-workflow-intro h2{
  font-size:clamp(30px,3vw,39px);
  letter-spacing:-.04em;
}

.home-workflow-intro > p{
  margin:12px auto 0;
  font-size:13px;
}

.home-workflow-steps{
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  overflow:visible;
}

.home-workflow-step{
  min-width:0;
  min-height:365px;
  position:relative;
  padding:0 28px;
  display:flex;
  flex-direction:column;
  border:0;
  border-radius:0;
  background:transparent;
}

.home-workflow-step + .home-workflow-step{border-left:1px solid #eee4da}

.home-workflow-step::before{
  position:absolute;
  left:28px;
  top:3px;
  width:auto;
  height:auto;
  margin:0;
  display:block;
  color:var(--accent);
  background:transparent;
  font-size:14px;
  font-weight:950;
}

.home-workflow-step h3{
  margin:0;
  padding-left:34px;
  font-size:16px;
  letter-spacing:-.02em;
}

.home-workflow-step p{
  min-height:42px;
  margin:10px 0 20px;
  color:#71685f;
  font-size:11px;
  line-height:1.65;
}

.home-step-preview{
  height:250px;
  margin-top:auto;
  overflow:visible;
  border:0;
  border-radius:16px;
  background:transparent;
}

.home-step-preview-code{
  position:relative;
  padding:42px 18px 18px;
  overflow:hidden;
  border:1px solid #e7ded5;
  background:#fff;
  box-shadow:0 18px 34px rgba(74,52,35,.09);
}

.home-step-preview-code::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:30px;
  border-bottom:1px solid #eee8e1;
  background:#faf9f7;
}

.home-step-preview-code b{
  position:absolute;
  right:12px;
  top:10px;
  z-index:2;
  color:#bbb2aa;
  font-size:8px;
  font-weight:650;
}

.home-editor-dots{
  position:absolute;
  left:12px;
  top:11px;
  z-index:2;
  display:flex;
  gap:4px;
}

.home-editor-dots i,
.home-step-preview-code .home-editor-dots i:nth-child(n){
  width:6px;
  height:6px;
  margin:0;
  display:block;
  border-radius:50%;
  background:#ded8d1;
}

.home-step-preview-code code{
  color:#302c28;
  font:650 10px/1.72 ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:normal;
}

.home-step-preview-themes,
.home-step-preview-export{
  position:relative;
  display:block;
  padding:0;
  background:
    radial-gradient(circle at 50% 60%,rgba(239,209,155,.33),transparent 57%);
}

.home-step-preview-themes img,
.home-step-preview-export img{
  position:absolute;
  left:50%;
  bottom:0;
  object-fit:cover;
  border:1px solid #e9dfd5;
  border-radius:16px;
  box-shadow:0 16px 34px rgba(75,52,34,.12);
}

.home-step-preview-themes img{
  width:230px;
  height:230px;
  transform:translateX(-50%);
}

.home-step-preview-export img{
  width:min(286px,100%);
  height:215px;
  transform:translateX(-50%);
}

/* Cases */
.home-cases{
  padding:74px 0 82px;
  background:#fffdf9;
}

.home-cases .home-section-head{
  max-width:760px;
  margin:0 auto 40px;
  display:block;
  text-align:center;
}

.home-cases .home-section-head .home-section-kicker{justify-content:center}
.home-cases .home-section-head > p{max-width:620px;margin:14px auto 0}

.home-case-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:none;
  gap:12px;
  overflow:visible;
}

.home-case-card,
.home-case-feature,
.home-case-side,
.home-case-compact{
  grid-column:auto;
  grid-row:auto;
  min-width:0;
  min-height:530px;
  height:auto;
  padding:26px 24px 18px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #eadfd3;
  border-radius:18px;
  background:#fff;
  box-shadow:none;
}

.home-case-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(77,52,31,.07)}
.home-case-wide{display:none}

.home-case-card h3,
.home-case-side h3,
.home-case-compact h3{
  margin:16px 0 0;
  font-size:23px;
  line-height:1.25;
  letter-spacing:-.035em;
}

.home-case-card p,
.home-case-side p,
.home-case-compact p{
  margin:11px 0 0;
  color:#756c63;
  font-size:11px;
  line-height:1.7;
}

.home-case-label{
  width:max-content;
  padding:7px 10px;
  display:inline-flex;
  border:0;
  border-radius:999px;
  color:#5c4939;
  background:#fff4e5;
  font-size:10px;
  font-weight:850;
}

.home-case-feature .home-case-copy{
  display:flex;
  flex-direction:column;
}

.home-case-feature .home-case-copy .home-case-label{order:-1;grid-row:auto;align-self:flex-start}
.home-case-feature .home-case-copy p{grid-column:auto}

.home-case-art{
  min-height:285px;
  margin-top:10px;
  flex:1;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:16px;
  background:#fff9f1;
}

.home-case-art::before{display:none}
.home-case-art img,
.home-case-art img:first-child{
  position:relative;
  left:auto;
  right:auto;
  bottom:auto;
  width:100%;
  height:255px;
  aspect-ratio:auto;
  object-fit:cover;
  border:0;
  border-radius:14px;
  box-shadow:none;
  transform:none;
}
.home-case-feature:hover .home-case-art img:first-child{transform:none}

.home-case-side-visual{
  width:100%;
  min-height:290px;
  margin-top:12px;
  flex:1;
  order:4;
}

.home-case-side-visual::before{
  inset:18px 7% 0;
  border-radius:22px;
  background:#fff7ed;
}

.home-case-side img{
  width:250px;
  height:250px;
  bottom:8px;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:15px;
  transform:translateX(-50%);
}
.home-case-side:hover img{transform:translateX(-50%) translateY(-3px)}

.home-case-compact .home-case-copy{display:flex;flex-direction:column}
.home-case-compact > img{
  width:100%;
  height:285px;
  margin:16px auto 8px;
  align-self:center;
  object-fit:contain;
  border-radius:15px;
  background:#fff9f1;
  box-shadow:none;
  transform:none;
}
.home-case-compact:hover > img{transform:translateY(-2px)}

.home-case-result{
  min-height:50px;
  margin-top:auto;
  order:5;
  padding-top:14px;
  display:flex;
  align-items:center;
  gap:8px;
  border-top:1px solid #eee5dc;
  color:#544a42;
  font-size:11px;
  font-weight:760;
}

.home-case-result span{
  padding:4px 7px;
  border:1px solid #c98b3e;
  border-radius:5px;
  color:#61451f;
  background:#fff6e8;
  font-size:9px;
}

/* Trust */
.home-proof{
  padding:78px 0 86px;
  border:0;
  background:#fffaf4;
}

.home-proof-inner{
  width:min(var(--home-max,1160px),calc(100% - 48px));
  display:block;
}

.home-trust-head{
  max-width:980px;
  margin:0 auto 40px;
  text-align:center;
}

.home-trust-head .home-section-kicker{justify-content:center}
.home-trust-head h2{margin:0;font-size:clamp(30px,2.7vw,38px);line-height:1.15;letter-spacing:-.035em}

.home-trust-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:12px;
}

.home-trust-features{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.home-trust-features article{
  min-height:260px;
  padding:24px 15px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid #eadfd3;
  border-radius:16px;
  text-align:center;
  background:rgba(255,255,255,.72);
}

.home-trust-features article > span{
  width:46px;
  height:46px;
  margin-bottom:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#2e3331;
  background:#fff8ed;
  font-size:21px;
}

.home-trust-features strong{font-size:11px;line-height:1.55}
.home-trust-features p{margin:14px 0 0;color:#776d64;font-size:9px;line-height:1.7}

.home-testimonial{
  min-height:260px;
  margin:0;
  padding:30px 34px;
  position:relative;
  overflow:hidden;
  border:1px solid #eadfd3;
  border-radius:16px;
  background:
    radial-gradient(circle at 86% 90%,rgba(239,209,155,.42),transparent 34%),
    rgba(255,255,255,.78);
}

.home-testimonial-person{display:flex;align-items:center;gap:10px}
.home-testimonial-person > span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#272d2b;font-size:14px;font-weight:900}
.home-testimonial-person p{margin:0;display:flex;flex-direction:column}
.home-testimonial-person strong{font-size:12px}
.home-testimonial-person small{margin-top:3px;color:#8e8379;font-size:9px}
.home-testimonial > p{max-width:420px;margin:32px 0 0;font-size:23px;font-weight:850;line-height:1.45;letter-spacing:-.025em}
.home-testimonial-mark{position:absolute;right:24px;top:20px;color:#f2e4d4;font:900 70px/1 Georgia,serif}

/* Pricing */
.home-pricing{
  padding:84px 0 82px;
  background:#fffdf9;
}

.home-pricing-head{
  max-width:720px;
  margin:0 auto 48px;
  display:block;
  text-align:center;
}

.home-pricing-head .home-section-kicker{justify-content:center;color:var(--accent)}
.home-pricing-head p{margin:12px 0 0;color:#5f5851;font-size:14px;font-weight:650}

.home-price-grid{gap:14px;align-items:stretch}

.home-price-card{
  min-height:520px;
  padding:34px 28px 24px;
  position:relative;
  overflow:visible;
  border:1px solid #eadfd3;
  border-radius:18px;
  background:#fff;
}

.home-price-card.is-featured{
  border:1.5px solid var(--accent);
  background:#fff;
  box-shadow:0 22px 46px rgba(194,83,35,.08);
}

.home-price-popular{
  left:50%;
  right:auto;
  top:-17px;
  padding:8px 20px;
  border-radius:6px;
  color:#fff;
  background:var(--accent);
  font-size:10px;
  letter-spacing:0;
  text-transform:none;
  transform:translateX(-50%);
}

.home-price-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#bd6828;
  background:#fff1df;
  font-size:22px;
}

.home-price-name{
  margin:-43px 0 0 62px;
  color:#282522;
  font-size:16px;
  font-weight:850;
  letter-spacing:0;
  text-transform:none;
}

.home-price-card h3{
  min-height:20px;
  margin:8px 0 0 62px;
  color:#736a61;
  font-size:12px;
  font-weight:650;
  letter-spacing:0;
}

.home-price-value{margin:28px 0 24px;min-height:72px}
.home-price-number{font-size:51px}
.home-price-card.is-featured .home-price-number,.home-price-card.is-featured .home-price-currency{color:var(--accent)}
.home-price-list{gap:13px}
.home-price-list li{font-size:11px}
.home-price-list li::before{color:#bc743d;background:#fff;border:1px solid #d7b18f}

.home-price-button{
  min-height:47px;
  border:1.5px solid var(--accent);
  color:var(--accent);
  background:#fff;
  font-size:12px;
}

.home-price-card.is-featured .home-price-button{
  border-color:var(--accent);
  background:var(--accent);
  box-shadow:0 12px 26px rgba(240,90,31,.17);
}

/* FAQ */
.home-faq{
  padding:0 0 36px;
  background:#fffdf9;
}

.home-faq-layout{
  padding:48px 62px 38px;
  display:block;
  border:1px solid #eadfd3;
  border-radius:18px;
  background:#fffaf4;
}

.home-faq-intro{max-width:760px;margin:0 auto 26px;text-align:center}
.home-faq-intro .home-section-kicker{justify-content:center}
.home-faq-list{max-width:980px;margin:0 auto;border:1px solid #e8ded4;border-radius:16px;background:#fff;overflow:hidden}
.home-faq-item{border-bottom:1px solid #eee6de}
.home-faq-item:last-child{border-bottom:0}
.home-faq-item summary{min-height:78px;padding:18px 62px 18px 18px;font-size:15px}
.home-faq-item summary::after{right:18px;color:#7c5739;background:transparent;font-size:23px}
.home-faq-item[open] summary::after{background:transparent}
.home-faq-answer{max-width:none;padding:0 62px 22px 72px;font-size:12px}
.home-faq-icon{width:38px;height:38px;margin-right:14px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#97602f;background:#fff2df;font-size:16px}

/* Closing and footer */
.home-closing{padding:0 0 26px;background:#fffdf9}

.home-cta{
  min-height:360px;
  padding:46px 44px;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:32px;
  border-radius:18px;
  background:
    radial-gradient(circle at 78% 45%,rgba(239,209,155,.24),transparent 33%),
    linear-gradient(135deg,#fffaf4,#fffdf9);
}

.home-cta-copy h2{font-size:clamp(38px,4vw,52px);line-height:1.12}
.home-cta-copy p{max-width:470px;margin-top:16px}
.home-cta-primary{background:var(--accent);box-shadow:0 12px 26px rgba(240,90,31,.2)}
.home-cta-secondary{border-color:var(--accent);color:var(--accent);background:#fff}
.home-cta-art{
  min-height:270px;
  overflow:hidden;
  border-radius:16px;
}
.home-cta-art::before{display:none}
.home-cta-art img.home-cta-illustration{
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
  border:0;
  border-radius:16px;
  box-shadow:none;
  transform:scale(1.12);
  transform-origin:72% 52%;
}

.home-footer{padding:0 0 22px;background:#fffaf4}
.home-footer .home-shell{padding-top:42px;border-top:1px solid #eadfd3}
.home-footer-bottom{justify-content:center}
.home-footer-bottom span:last-child{display:none}

@media(max-width:1040px){
  .home-case-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none}
  .home-case-card,.home-case-feature,.home-case-side,.home-case-compact{grid-column:auto;grid-row:auto}
  .home-case-art img{width:100%}
  .home-trust-layout{grid-template-columns:1fr}
  .home-testimonial{min-height:240px}
}

@media(max-width:900px){
  .home-workflow-layout{padding:34px 26px}
  .home-workflow-steps{grid-template-columns:1fr}
  .home-workflow-step{min-height:300px;padding:28px 20px;display:flex}
  .home-workflow-step + .home-workflow-step{border-left:0;border-top:1px solid #eee4da}
  .home-workflow-step::before{left:20px;top:31px}
  .home-step-preview{width:100%;height:220px}
  .home-case-grid{grid-template-columns:1fr}
  .home-case-card,.home-case-feature,.home-case-side,.home-case-compact{min-height:500px}
  .home-trust-features{grid-template-columns:repeat(2,1fr)}
  .home-trust-features article{min-height:210px}
  .home-price-grid{grid-template-columns:1fr}
  .home-price-card{min-height:auto}
  .home-cta{grid-template-columns:1fr;min-height:600px}
}

@media(max-width:700px){
  .home-manifesto{width:calc(100% - 30px);margin-bottom:38px}
  .home-manifesto p{font-size:28px}
  .home-workflow{padding:58px 0 50px}
  .home-workflow-layout{padding:30px 16px;border-radius:18px}
  .home-workflow-intro{margin-bottom:18px}
  .home-workflow-steps{margin:0;padding:0;display:grid;overflow:visible}
  .home-workflow-step{min-width:0;min-height:300px}
  .home-cases{padding:52px 0 58px}
  .home-case-grid{margin:0;padding:0;display:grid;overflow:visible}
  .home-case-card,.home-case-feature,.home-case-side,.home-case-compact{width:auto;min-height:500px;height:auto!important;flex:initial}
  .home-case-art img{width:106px}
  .home-proof{padding:56px 0 60px}
  .home-proof-inner{width:calc(100% - 30px)}
  .home-trust-features{grid-template-columns:1fr 1fr}
  .home-trust-features article{min-height:190px;padding:20px 11px}
  .home-testimonial{padding:26px 24px}
  .home-testimonial > p{font-size:20px}
  .home-pricing{padding:60px 0}
  .home-price-grid{margin-right:-15px;padding:20px 15px 18px 0;display:flex;overflow-x:auto}
  .home-price-card{min-width:min(82vw,320px);min-height:510px}
  .home-faq-layout{padding:34px 14px 18px;border-radius:0;border-left:0;border-right:0}
  .home-faq-item summary{padding:15px 48px 15px 12px;font-size:13px}
  .home-faq-item summary::after{right:10px}
  .home-faq-icon{width:34px;height:34px;margin-right:10px}
  .home-faq-answer{padding:0 46px 18px 56px}
  .home-cta{min-height:540px;padding:30px 24px}
  .home-cta-art{min-height:190px}
  .home-cta-art img.home-cta-illustration{transform:scale(1.05)}
  .home-cta-copy h2{font-size:34px}
  .home-footer{padding-top:28px}
}

@media(max-width:420px){
  .home-trust-features{grid-template-columns:1fr 1fr}
  .home-trust-features article > span{margin-bottom:14px}
  .home-cta{min-height:530px}
}

@media(prefers-reduced-motion:reduce){
  .home-case-card{transform:none!important}
}
