:root {
  --ink: #17201d;
  --muted: #647069;
  --line: #d9dfd8;
  --paper: #fbfcf9;
  --soft: #eef2ed;
  --green: #176b54;
  --green-dark: #0d4b3b;
  --lime: #d7f06b;
  --danger: #a33535;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
button, input, textarea { font: inherit; }
button { border: 0; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.header { height: 76px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; text-decoration: none; }
.brand-glyph { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--green); color: #fff; font-family: "DM Mono", monospace; }
.header-nav { display: flex; gap: 20px; margin-left: auto; }
.header-nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.header-nav a:hover { color: var(--green-dark); }
.header-cta, .hero-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border-radius: 8px; color: #fff; background: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.header-cta:hover, .hero-button:hover { background: var(--green-dark); transform: translateY(-1px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 54px; align-items: end; padding: 68px 0 55px; border-bottom: 1px solid var(--line); }
.eyebrow, .step { margin: 0; color: var(--green); font-family: "DM Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
h1, h2 { letter-spacing: -.045em; }
h1 { max-width: 800px; margin: 13px 0 18px; font-size: clamp(42px, 6vw, 76px); line-height: .98; }
.lead { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.56; }
.micro-list { display: grid; gap: 8px; max-width: 680px; margin: 25px 0 0; padding: 0; list-style: none; color: #47514c; font-size: 14px; }
.micro-list li::before { content: "✓"; color: var(--green); padding-right: 10px; font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.hero-link { color: var(--green-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.hero-stat { display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; row-gap: 11px; padding: 20px 0; border-top: 2px solid var(--ink); font-family: "DM Mono", monospace; }
.hero-stat span { color: var(--green); }
.hero-stat p { margin: 0; font-size: 14px; }
.marketplaces { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); color: #7d8780; font-family: "DM Mono", monospace; font-size: 13px; font-weight: 500; letter-spacing: .04em; }

.workspace { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 18px; padding: 42px 0 54px; }
.brief-panel, .preview-panel, .checkout-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.brief-panel { padding: clamp(24px, 4vw, 40px); }
.preview-panel { display: flex; flex-direction: column; padding: clamp(24px, 4vw, 40px); background: var(--soft); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.panel-heading h2 { margin: 8px 0 0; font-size: 27px; line-height: 1.1; }

.brief-panel > label:not(.choice):not(.upload), fieldset { display: grid; gap: 9px; margin: 0 0 20px; color: #25302b; font-size: 14px; font-weight: 700; }
input[type="text"], input:not([type]), textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; color: var(--ink); background: #fff; outline-color: var(--green); font-weight: 500; }
textarea { min-height: 106px; resize: vertical; line-height: 1.45; }
small, .consent, .disclosure, .file-state, .payment-note { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
fieldset { border: 0; padding: 0; }
legend { padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; place-items: center; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fff; font-size: 13px; font-weight: 700; transition: .16s ease; }
.choice input:checked + span { border-color: var(--green); background: #e7f2ea; color: var(--green-dark); }
.upload { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px dashed #aeb8af; border-radius: 11px; cursor: pointer; }
.upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.upload-icon { display: grid; flex: 0 0 auto; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: var(--lime); color: var(--green-dark); font-size: 22px; }
.upload strong, .upload small { display: block; }
.upload strong { font-size: 13px; }
.upload small { margin-top: 2px; }
.file-state { min-height: 18px; margin: 7px 0 18px; }

.primary-button, .secondary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 9px; font-weight: 800; cursor: pointer; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.primary-button { width: 100%; background: var(--green); color: #fff; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { opacity: .6; cursor: wait; transform: none; }
.consent { margin: 13px 0 0; }

.preview-heading { margin-bottom: 20px; }
.status-pill { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-family: "DM Mono", monospace; font-size: 11px; }
.status-pill[data-state="loading"] { color: #795d0b; border-color: #d4bb60; background: #fff9dc; }
.status-pill[data-state="success"] { color: var(--green-dark); border-color: #92bba5; background: #ecf8ef; }
.status-pill[data-state="error"] { color: var(--danger); border-color: #d7a3a3; background: #fff0f0; }
.preview-frame { display: grid; flex: 1; min-height: 430px; place-items: center; overflow: hidden; border-radius: 12px; background: #dce3dc; }
.preview-frame img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.placeholder-card { display: grid; place-items: center; gap: 9px; padding: 34px; text-align: center; color: #536158; }
.placeholder-card strong { color: var(--ink); font-size: 18px; }
.placeholder-card p { max-width: 230px; margin: 0; font-size: 14px; }
.placeholder-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: 24px; }
.preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.secondary-button { min-height: 39px; border: 1px solid #aeb9b0; color: var(--green-dark); background: #fff; font-size: 13px; }
.text-button { color: var(--muted); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.disclosure { margin: 19px 0 0; }

.information-section { padding: 86px 0; }
.section-tint { background: var(--soft); }
.information-section h2 { max-width: 820px; margin: 12px 0 35px; font-size: clamp(31px, 4vw, 52px); line-height: 1.04; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feature-grid span { color: var(--green); font-family: "DM Mono", monospace; font-size: 13px; }
.feature-grid h3 { margin: 41px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.feature-grid p, .seo-grid p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.seo-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .65fr); gap: clamp(36px, 8vw, 120px); align-items: center; }
.seo-grid.reverse { grid-template-columns: minmax(290px, .65fr) minmax(0, 1.5fr); }
.seo-grid h2 { margin-bottom: 22px; }
.seo-card { padding: 28px; border-radius: 14px; background: var(--green-dark); color: #fff; }
.seo-card strong { font-size: 20px; }
.seo-card ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; color: #d8e6dc; font-size: 14px; }
.seo-card li::before { content: "↗"; padding-right: 9px; color: var(--lime); }
.visual-example { display: flex; flex-direction: column; justify-content: flex-end; min-height: 350px; padding: 28px; border-radius: 16px; background: linear-gradient(145deg, #e9b99e, #d7f06b 48%, #2d6f5b); color: #17201d; }
.visual-example strong { margin-top: auto; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.visual-example i { margin-top: 18px; font-size: 12px; font-style: normal; font-weight: 700; }
.visual-kicker { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .05em; }
.faq-section { padding-bottom: 100px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-grid details { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-grid summary { cursor: pointer; font-weight: 800; line-height: 1.35; }
.faq-grid p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); gap: 60px; align-items: center; padding: 44px 0 70px; border-top: 1px solid var(--line); }
.checkout h2 { margin: 9px 0 12px; font-size: 37px; line-height: 1.05; }
.checkout > div > p:not(.eyebrow) { max-width: 480px; margin: 0; color: var(--muted); line-height: 1.55; }
.checkout-card { padding: 24px; }
.price-line { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.price-line span { color: var(--muted); font-size: 14px; }
.price-line strong { font-size: 21px; }
.payment-note { min-height: 18px; margin: 13px 0 0; }

.payment-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 18px 70px rgba(0,0,0,.3); }
.payment-dialog::backdrop { background: rgba(15,25,20,.45); backdrop-filter: blur(4px); }
.dialog-card { position: relative; padding: 34px; }
.dialog-card h2 { margin: 8px 0 14px; font-size: 42px; }
.dialog-card p:not(.eyebrow):not(.payment-result) { color: var(--muted); line-height: 1.52; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); background: var(--soft); cursor: pointer; font-size: 21px; }
.payment-result { min-height: 20px; color: var(--green-dark); font-size: 13px; line-height: 1.45; }
footer { padding: 24px 0; color: #b9c6be; background: #17201d; }
footer .shell { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
footer span:first-child { color: #fff; font-weight: 800; }

@media (max-width: 760px) {
  .shell, .header { width: min(100% - 28px, 1180px); }
  .hero, .workspace, .checkout { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 43px; }
  .hero-stat { max-width: 340px; }
  .workspace { padding-top: 28px; }
  .preview-frame, .preview-frame img { min-height: 330px; }
  .header-nav { display: none; }
  .feature-grid, .faq-grid, .seo-grid, .seo-grid.reverse { grid-template-columns: 1fr; }
  .information-section { padding: 58px 0; }
  .marketplaces { overflow-x: auto; justify-content: start; }
}

@media (max-width: 410px) {
  .choice-grid-3 { grid-template-columns: 1fr; }
  .preview-actions { align-items: start; flex-direction: column; }
}
