:root {
  --ink: #17140f;
  --muted: #6f685f;
  --paper: #fffaf3;
  --white: #ffffff;
  --line: #dfd6ca;
  --orange: #ff5c35;
  --yellow: #f5bf32;
  --mint: #83d7bd;
  --pink: #ee8da5;
  --shadow: 0 24px 70px rgba(73, 48, 24, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 850; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { width: 32px; height: 32px; display: block; flex: none; border-radius: 9px; }
nav { display: flex; gap: 30px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero {
  width: min(900px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 26px 0 34px;
  text-align: center;
}
.hero-copy { max-width: 780px; margin: 0 auto; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,92,53,.13); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(52px, 6.4vw, 76px); line-height: .94; letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }
h1 em { color: var(--orange); font-weight: 500; }
.hero-lead { max-width: 650px; margin: 0 auto 24px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.download-form { max-width: 780px; margin: 0 auto; text-align: left; }
.download-form > label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.input-shell { min-height: 64px; padding: 0 10px 0 18px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px rgba(80,54,25,.06); }
.input-shell:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,92,53,.12); }
.input-shell svg { width: 23px; fill: var(--muted); flex: none; }
.input-shell input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.input-shell input::placeholder { color: #a69d91; }
.paste-button, .text-button { border: 0; background: none; cursor: pointer; color: var(--orange); font-size: 13px; font-weight: 800; }
.paste-button { padding: 10px; }
.primary-button { width: 100%; min-height: 58px; margin-top: 10px; border: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: white; font-weight: 850; cursor: pointer; text-decoration: none; transition: transform .2s, background .2s; }
.primary-button:hover { background: var(--orange); transform: translateY(-1px); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-message { min-height: 24px; margin: 6px 0 0; color: #b93426; font-size: 13px; text-align: center; }

.result-section { width: min(780px, 100%); margin: 22px auto 0; padding: 22px; display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; text-align: left; }
.result-section[hidden] { display: none; }
.result-image-wrap { aspect-ratio: 9/12; overflow: hidden; border-radius: 12px; background: #eee7dd; }
.result-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.result-copy h2 { margin-bottom: 6px; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 31px; line-height: 1.1; }
.result-copy h3 { margin: 10px 0 6px; font-size: 20px; line-height: 1.35; }
.result-copy p { color: var(--muted); }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.result-note { max-width: 520px; margin: 12px 0 0; font-size: 11px; }
.resolution { display: inline-block; padding: 5px 10px; border-radius: 20px; background: #f3eee7; font-size: 12px; font-weight: 800; }
.size-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.size-option { padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .18s, background .18s; }
.size-option:hover, .size-option.selected { border-color: var(--orange); background: #fff3ec; }
.size-option strong, .size-option span { display: block; }
.size-option strong { font-size: 12px; }
.size-option span { color: var(--muted); font-size: 10px; }
.result-download { margin-top: 12px; }
.text-button { margin-top: 15px; }

.showcase { width: min(1120px, calc(100% - 40px)); margin: 0 auto 82px; padding: 48px 54px 54px; border-radius: 28px; background: #181510; color: white; }
.showcase-heading { margin-bottom: 20px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 45px; align-items: end; }
.showcase-heading .eyebrow { margin-bottom: 12px; }
.showcase-heading h2 { margin-bottom: 0; font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: clamp(38px, 5vw, 58px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.showcase-heading p { margin-bottom: 0; color: #b8afa3; }
.showcase-scale { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; color: #aaa197; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.showcase-scale span { color: white; font-weight: 850; }
.showcase-scale i { width: 54px; height: 1px; display: block; background: var(--orange); }
.showcase-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items:start; }
.showcase-item { min-width: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 148px; align-items:center; overflow:hidden; border:1px solid #39342e; border-radius:14px; background:#24201b; }
.showcase-image { min-height: 112px; padding: 14px; display:flex; align-items:center; justify-content:center; overflow:auto; background:#0d0c0a; }
.showcase-image img { max-width:none; height:auto; display:block; object-fit:contain; }
.showcase-item figcaption { padding: 14px; display:flex; flex-direction:column; justify-content:center; }
.showcase-item figcaption strong { font-size:15px; }
.showcase-item figcaption span { color:#a9a097; font-size:10px; }
.size-1280 { grid-row: span 4; grid-template-columns:1fr; }
.size-1280 .showcase-image { min-height:390px; }
.size-1280 img { width:640px; }
.size-1280 figcaption { min-height:64px; }
.size-640 img { width:320px; }
.size-480 img { width:240px; }
.size-320 img { width:160px; }
.size-120 img { width:60px; }

.trust-strip { padding: 31px max(20px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; color: white; background: var(--ink); }
.trust-strip div { display: flex; flex-direction: column; }
.trust-strip strong { font-family: Georgia, serif; font-size: 21px; }
.trust-strip span { color: #aaa298; font-size: 12px; }

.content-wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 140px 0; }
.content-wrap h2 { margin-bottom: 24px; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.content-wrap h3 { font-size: 19px; }
.content-wrap p { color: var(--muted); }
.content-intro { display: grid; grid-template-columns: 100px 1fr; gap: 40px; max-width: 900px; }
.section-number { width: 55px; height: 55px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-style: italic; }
.steps-grid { margin: 75px 0 150px 140px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.steps-grid article:nth-child(2) { transform: translateY(25px); background: var(--mint); border-color: transparent; }
.steps-grid article:nth-child(3) { transform: translateY(50px); }
.steps-grid article > span { width: 32px; height: 32px; margin-bottom: 55px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 12px; font-weight: 900; }
.editorial-grid { margin-bottom: 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.prose { padding-top: 58px; columns: 1; }
.prose p:first-child::first-letter { float: left; padding: 12px 10px 0 0; color: var(--orange); font-family: Georgia, serif; font-size: 72px; line-height: .65; }
.feature-section { margin-bottom: 150px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.quote-card { min-height: 390px; padding: 50px; display: flex; flex-direction: column; justify-content: center; transform: rotate(2deg); background: var(--yellow); }
.quote-card > span { font-family: Georgia, serif; font-size: 90px; line-height: .5; }
.quote-card p { margin: 35px 0 20px; color: var(--ink); font-family: Georgia, serif; font-size: 40px; line-height: 1; }
.quote-card small { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.responsible-use { max-width: 820px; margin: 0 auto 150px; padding: 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.responsible-use h2 { font-size: 48px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-heading { position: sticky; top: 40px; align-self: start; }
.faq-heading h2 { font-size: 48px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--orange); font-size: 20px; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding-right: 30px; }

footer { padding: 60px max(20px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: 13px; }
.legal { max-width: 370px; text-align: right; }
.legal p + p { margin-top: 6px; }
.legal a { color: var(--ink); }
.legal-page { width: min(760px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 90px 0 120px; }
.legal-page h1 { margin-bottom: 28px; font-size: clamp(48px, 7vw, 78px); }
.legal-page h2 { margin: 38px 0 12px; font-family: Georgia, serif; font-size: 28px; }
.legal-page p, .legal-page li { color: var(--muted); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; padding-top: 36px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { margin-left: 0; }
  .editorial-grid, .feature-section, .faq-section { grid-template-columns: 1fr; gap: 40px; }
  .prose { padding-top: 0; }
  .faq-heading { position: static; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .legal { max-width: none; text-align: center; }
}

@media (max-width: 620px) {
  .site-header, .hero, .content-wrap { width: min(100% - 28px, 1180px); }
  .site-header { height: 70px; }
  .hero { padding: 26px 0 28px; }
  h1 { font-size: 45px; }
  .hero-lead { margin-bottom: 20px; font-size: 15px; }
  .input-shell { min-height: 58px; }
  .result-section { grid-template-columns: 1fr; }
  .result-image-wrap { width: min(230px, 100%); max-height: 360px; margin: 0 auto; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .content-wrap { padding: 90px 0; }
  .content-intro { grid-template-columns: 1fr; gap: 15px; }
  .steps-grid { margin: 50px 0 110px; grid-template-columns: 1fr; }
  .steps-grid article:nth-child(2), .steps-grid article:nth-child(3) { transform: none; }
  .steps-grid article > span { margin-bottom: 35px; }
  .editorial-grid, .feature-section, .responsible-use { margin-bottom: 100px; }
  .responsible-use { padding: 50px 20px; }
  .content-wrap h2 { font-size: 42px; }
  .quote-card { min-height: 330px; padding: 38px; }
  .showcase { width: calc(100% - 28px); margin-bottom: 70px; padding: 34px 14px 18px; border-radius: 20px; }
  .showcase-heading { margin: 0 5px 18px; display:block; }
  .showcase-heading h2 { font-size: 38px; }
  .showcase-heading p { margin-top:12px; font-size: 12px; }
  .showcase-scale { margin-left:5px; }
  .showcase-grid { grid-template-columns:1fr; gap:9px; }
  .showcase-item,.size-1280 { grid-row:auto; grid-template-columns:minmax(0,1fr) 118px; }
  .showcase-image,.size-1280 .showcase-image { min-height:110px; padding:10px; }
  .size-1280 img { width:min(640px,100%); }
  .size-640 img { width:min(320px,100%); }
  .size-480 img { width:min(240px,100%); }
  .size-320 img { width:min(160px,100%); }
  .size-120 img { width:60px; }
  .showcase-item figcaption { padding:10px; }
  .showcase-item figcaption strong { font-size:13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
