@font-face{
  font-family:"Gotham";
  src:local("Gotham Book");
  font-weight:400;
}
@font-face{
  font-family:"Gotham";
  src:local("Gotham Medium");
  font-weight:500;
}
@font-face{
  font-family:"Gotham";
  src:local("Gotham Bold");
  font-weight:700;
}
@font-face{
  font-family:"Gotham";
  src:local("Gotham Black");
  font-weight:900;
}

:root{
  --bg:#f5f1e7;
  --paper:#fffdf7;
  --ink:#111111;
  --muted:#68655f;
  --line:rgba(17,17,17,.13);
  --yellow:#f3bf25;
  --red:#de2c2c;
  --mint:#bce9dc;
  --pink:#f1bdce;
  --cream:#eee7d8;
  --ease:cubic-bezier(.22,.61,.36,1);
  --container:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Gotham",Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
button,input,textarea,select{font:inherit}
button{color:inherit}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.container{
  width:min(var(--container),92%);
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(245,241,231,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:32px;
}
.brand{
  background:var(--yellow);
  color:#fff;
  font-weight:900;
  font-size:28px;
  letter-spacing:-.07em;
  line-height:1;
  padding:10px 14px 11px;
  border-radius:9px;
}
.nav{
  display:flex;
  gap:30px;
  margin-left:auto;
}
.nav a{
  font-size:13px;
  font-weight:700;
}
.nav a:hover{color:var(--red)}

.button{
  border:0;
  border-radius:999px;
  padding:14px 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition:transform .25s var(--ease),background .25s var(--ease),box-shadow .25s var(--ease);
}
.button:hover{transform:translateY(-2px)}
.button-dark{
  background:var(--ink);
  color:#fff;
}
.button-dark:hover{box-shadow:0 12px 30px rgba(0,0,0,.12)}
.button-light{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line);
}
.button-light:hover{background:#fff}
.full{width:100%}

.eyebrow{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--red);
}

.hero{
  padding:78px 0 90px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center;
}
.hero h1{
  margin:18px 0 24px;
  font-size:clamp(62px,8vw,118px);
  line-height:.82;
  letter-spacing:-.085em;
  font-weight:900;
}
.hero h1 span{color:var(--red)}
.hero-copy>p{
  max-width:600px;
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
}
.hero-actions{
  display:flex;
  gap:20px;
  align-items:center;
  margin-top:32px;
}
.text-link{
  font-size:14px;
  font-weight:700;
}
.text-link:hover{color:var(--red)}

.hero-art{
  min-height:500px;
  position:relative;
  border-radius:34px;
  background:var(--yellow);
  overflow:hidden;
}
.hero-card{
  position:absolute;
  width:210px;
  aspect-ratio:4/5;
  border-radius:22px;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(17,17,17,.09);
  box-shadow:0 20px 50px rgba(0,0,0,.10);
}
.hero-card span{font-size:12px;font-weight:700}
.hero-card strong{
  font-size:28px;
  font-weight:900;
  letter-spacing:-.06em;
}
.hero-card-yellow{background:#fff7dc;left:8%;top:20%;transform:rotate(-8deg)}
.hero-card-mint{background:var(--mint);left:38%;top:12%;transform:rotate(4deg)}
.hero-card-pink{background:var(--pink);right:8%;top:25%;transform:rotate(9deg)}
.hero-icon{
  position:absolute;
  right:8%;
  bottom:-4%;
  width:210px;
  mix-blend-mode:multiply;
}

.tool-section{
  padding:100px 0;
  background:#fff;
}
.section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:38px;
}
.section-heading h2{
  margin:12px 0 0;
  font-size:clamp(46px,6vw,82px);
  line-height:.92;
  letter-spacing:-.07em;
}
.section-heading>p{
  max-width:370px;
  color:var(--muted);
  line-height:1.55;
}

.app-shell{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:18px;
  background:var(--bg);
  padding:18px;
  border-radius:28px;
  border:1px solid var(--line);
}
.generator-panel,
.preview-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
}
.panel-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
}
.panel-heading span{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--yellow);
  font-size:11px;
  font-weight:700;
}
.panel-heading h3{
  margin:0;
  font-size:18px;
}
.panel-heading.compact{margin-bottom:16px}

.field{
  display:block;
  margin-bottom:15px;
}
.field>span{
  display:block;
  font-size:10px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:7px;
}
.field input,
.field textarea,
.field select{
  width:100%;
  padding:13px 14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  outline:none;
  resize:vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color:rgba(17,17,17,.45);
  box-shadow:0 0 0 4px rgba(243,191,37,.16);
}
.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.microcopy{
  margin:14px 0 0;
  font-size:11px;
  color:var(--muted);
  line-height:1.5;
}

.preview-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.preview-toolbar>div:first-child{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.preview-toolbar strong{font-size:13px}
.toolbar-actions{display:flex;gap:8px}

.preview-workspace{
  position:relative;
  min-height:590px;
  display:grid;
  place-items:center;
  background:#e9e4d8;
  border-radius:20px;
  padding:32px 58px;
}
.main-slide{
  width:min(430px,100%);
  aspect-ratio:4/5;
  border-radius:20px;
  padding:34px;
  display:flex;
  flex-direction:column;
  background:var(--yellow);
  box-shadow:0 24px 50px rgba(0,0,0,.13);
  overflow:hidden;
}
.slide-kicker{
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
}
.main-slide h3{
  margin:auto 0 18px;
  font-size:clamp(34px,4.4vw,58px);
  line-height:.9;
  letter-spacing:-.065em;
}
.main-slide p{
  margin:0;
  max-width:90%;
  font-size:14px;
  line-height:1.45;
}
.slide-footer{
  margin-top:auto;
  padding-top:28px;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  font-weight:700;
}
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  cursor:pointer;
  font-size:20px;
}
.carousel-arrow.left{left:12px}
.carousel-arrow.right{right:12px}

.thumbnail-strip{
  display:flex;
  gap:9px;
  overflow-x:auto;
  padding:16px 2px 8px;
}
.thumb{
  min-width:82px;
  width:82px;
  aspect-ratio:4/5;
  border-radius:10px;
  border:2px solid transparent;
  cursor:pointer;
  padding:9px;
  display:flex;
  align-items:flex-end;
  font-size:8px;
  font-weight:700;
  line-height:1.1;
}
.thumb.active{border-color:var(--ink)}
.editor-box{
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:20px;
}

.feature-section{
  padding:100px 0;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.feature-card{
  min-height:420px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:22px;
  display:flex;
  flex-direction:column;
}
.feature-card img{
  width:100%;
  height:190px;
  object-fit:contain;
  mix-blend-mode:multiply;
  margin-bottom:auto;
}
.feature-card>span{
  font-size:11px;
  font-weight:700;
  margin-top:20px;
}
.feature-card h3{
  margin:8px 0 8px;
  font-size:30px;
  letter-spacing:-.05em;
}
.feature-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.yellow-card{background:#fff0b7}
.cream-card{background:#f2ebdf}
.mint-card{background:#d7f2ea}
.pink-card{background:#f5d7e1}

.templates-section{
  padding:100px 0;
  background:var(--yellow);
}
.template-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.template-card{
  border:0;
  text-align:left;
  min-height:360px;
  border-radius:22px;
  padding:22px;
  background:var(--paper);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  transition:transform .25s var(--ease);
}
.template-card:hover{transform:translateY(-5px)}
.template-card>span{
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--red);
}
.template-card strong{
  margin:14px 0 0;
  font-size:28px;
  line-height:.95;
  letter-spacing:-.055em;
}
.template-card img{
  width:100%;
  height:170px;
  margin-top:auto;
  object-fit:contain;
  mix-blend-mode:multiply;
}

.closing-section{padding:90px 0}
.closing-box{
  min-height:420px;
  border-radius:28px;
  background:var(--ink);
  color:#fff;
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.closing-box h2{
  margin:14px 0 0;
  font-size:clamp(48px,6vw,84px);
  line-height:.9;
  letter-spacing:-.07em;
}
.closing-box img{
  width:280px;
  max-height:280px;
  object-fit:contain;
  filter:invert(1);
  mix-blend-mode:screen;
}

.footer{padding:0 0 50px}
.footer-inner{
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:12px;
}
.footer strong{
  font-size:22px;
  color:var(--ink);
  letter-spacing:-.06em;
}

@media(max-width:1050px){
  .hero-grid{grid-template-columns:1fr}
  .hero-art{min-height:430px}
  .app-shell{grid-template-columns:1fr}
  .feature-grid,.template-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .nav{display:none}
  .header-cta{margin-left:auto}
  .hero{padding-top:54px}
  .section-heading{align-items:flex-start;flex-direction:column}
  .field-grid{grid-template-columns:1fr}
  .preview-toolbar{align-items:flex-start;flex-direction:column}
  .toolbar-actions{width:100%}
  .toolbar-actions .button{flex:1}
  .preview-workspace{min-height:480px;padding:26px 48px}
  .feature-grid,.template-grid{grid-template-columns:1fr}
  .closing-box{align-items:flex-start;flex-direction:column}
  .closing-box img{width:180px}
}
@media(max-width:520px){
  .brand{font-size:22px}
  .header-cta{padding:11px 15px}
  .hero h1{font-size:58px}
  .hero-art{min-height:390px}
  .hero-card{width:150px}
  .hero-card strong{font-size:21px}
  .hero-icon{width:150px}
  .generator-panel,.preview-panel{padding:16px}
  .preview-workspace{padding:22px 42px}
  .main-slide{padding:25px}
  .main-slide h3{font-size:34px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
