:root {
  --green: #56b737;
  --green-deep: #006b3c;
  --yellow: #ffd21a;
  --navy: #071c54;
  --cyan: #36ddea;
  --paper: #f4f8f3;
  --ink: #101828;
  --line: rgba(7, 28, 84, 0.12);
  font-family: "Noto Sans", system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}

.footer-credit { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; }
.footer-credit img { width: 104px; height: 44px; padding: 4px 9px; border-radius: 7px; background: #fff; object-fit: contain; }

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 32px; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; letter-spacing: .12em; line-height: .82; }
.wordmark img { display: block; width: min(260px, 55vw); height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.wordmark strong, .wordmark em { display: block; font-family: "Roboto Condensed", sans-serif; font-style: normal; font-size: 18px; }
.wordmark em { font-size: 13px; margin-top: 5px; letter-spacing: .42em; }
.wordmark-symbol { width: 28px; height: 28px; display: grid; place-items: center; background: var(--yellow); transform: rotate(45deg); border-radius: 6px; }
.wordmark-symbol span { width: 14px; height: 14px; border-radius: 50%; background: var(--navy); display: block; }
.topbar-meta { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--green); margin-right: 7px; }

.intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 58px 0 36px; }
.eyebrow { margin: 0 0 16px; color: var(--green-deep); font-weight: 900; letter-spacing: .12em; font-size: 13px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-family: "Roboto Condensed", sans-serif; font-size: clamp(54px, 7vw, 96px); line-height: .87; letter-spacing: -.04em; text-transform: uppercase; }
h1 span { color: var(--green); }
.intro-copy { max-width: 550px; margin: 0; color: #516079; font-size: 17px; line-height: 1.6; }
.number-lockup { display: flex; flex-direction: column; align-items: end; color: var(--green-deep); }
.number-lockup span { font-family: "Roboto Condensed", sans-serif; font-size: clamp(70px, 11vw, 150px); line-height: .8; font-weight: 900; letter-spacing: -.07em; color: var(--yellow); text-shadow: 5px 5px 0 var(--navy); }
.number-lockup small { margin-top: 15px; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.workspace { display: grid; grid-template-columns: minmax(320px, 510px) minmax(320px, 1fr); gap: 28px; align-items: start; }
.controls-card { background: #fff; border: 1px solid rgba(7,28,84,.08); border-radius: 26px; box-shadow: 0 18px 50px rgba(7,28,84,.08); overflow: hidden; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 16px 18px; background: var(--navy); color: white; }
.step { display: flex; flex-direction: column; gap: 3px; padding: 7px 9px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.step b { font-size: 11px; color: inherit; }
.step.active { color: var(--yellow); }
.control-section { padding: 28px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.section-index { display: grid; place-items: center; flex: 0 0 32px; height: 32px; background: var(--yellow); border-radius: 9px; font-family: "Roboto Condensed", sans-serif; font-weight: 900; font-size: 14px; color: var(--navy); }
.section-heading h2 { margin: 1px 0 4px; font-family: "Roboto Condensed", sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; }
.section-heading p { margin: 0; color: #66728a; font-size: 13px; line-height: 1.45; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.format-button { display: flex; min-height: 78px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; color: var(--navy); text-align: left; transition: .2s ease; }
.format-button strong { font-size: 14px; }
.format-button span { font-size: 11px; color: #7b8495; }
.format-button:hover, .format-button.selected { border-color: var(--green); background: #eff9eb; box-shadow: inset 0 0 0 1px var(--green); }
.upload-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.upload-button:hover { background: var(--green-deep); transform: translateY(-1px); }
.upload-button input { display: none; }
.upload-icon { font-size: 26px; line-height: 1; font-weight: 400; }
.file-note { margin: 10px 0 0; color: #7b8495; font-size: 12px; text-align: center; }
.zoom-row { display: grid; grid-template-columns: 50px 1fr 50px; gap: 12px; align-items: center; margin: 4px 0 18px; color: var(--navy); font-weight: 800; font-size: 13px; }
.zoom-row output { text-align: right; color: var(--green-deep); font-size: 12px; }
input[type="range"] { width: 100%; accent-color: var(--green); }
.secondary-button { border: 0; background: transparent; color: var(--navy); padding: 0; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; padding: 18px 28px; background: #f8fbf7; }
.privacy-note span { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #dff1d8; color: var(--green-deep); font-weight: 900; }
.privacy-note p { margin: 0; color: #637087; font-size: 12px; line-height: 1.5; }

.preview-column { min-width: 0; }
.preview-label { display: flex; justify-content: space-between; padding: 0 4px 12px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--green-deep); }
.preview-label span:last-child { color: #7b8495; }
.canvas-frame { position: relative; display: grid; place-items: center; min-height: 580px; padding: 26px; border-radius: 26px; background: var(--navy); overflow: hidden; box-shadow: 0 22px 60px rgba(7,28,84,.18); }
.canvas-frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 15%, rgba(54,221,234,.18), transparent 35%), radial-gradient(circle at 85% 85%, rgba(255,210,26,.18), transparent 30%); pointer-events: none; }
canvas { position: relative; z-index: 1; display: block; width: min(100%, 410px); height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.24); touch-action: none; background: #56b737; }
.drag-hint { position: absolute; z-index: 2; bottom: 38px; left: 50%; transform: translateX(-50%); pointer-events: none; padding: 8px 12px; border-radius: 999px; background: rgba(7,28,84,.82); color: white; font-size: 11px; opacity: .9; transition: opacity .35s; }
.drag-hint.hidden { opacity: 0; }
.preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.download-button { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 12px; padding: 15px 20px; background: var(--yellow); color: var(--navy); font-weight: 900; box-shadow: 0 8px 20px rgba(255,210,26,.22); }
.download-button:hover { background: #ffdc48; }
.download-button span { font-size: 22px; line-height: .5; }
.preview-actions p { margin: 0; color: #68748a; font-size: 12px; text-align: right; }
.save-preview { width: 100%; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.save-preview p { margin: 0 0 10px; color: #526078; font-size: 13px; line-height: 1.45; text-align: left; }
.save-preview img { display: block; width: min(100%, 230px); height: auto; margin: 0 auto; border-radius: 10px; -webkit-touch-callout: default; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px 4px 0; color: #7d899c; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 900px) {
  .intro { align-items: flex-start; flex-direction: column; }
  .number-lockup { align-items: flex-start; }
  .workspace { grid-template-columns: 1fr; }
  .preview-column { order: -1; }
  .canvas-frame { min-height: 480px; }
}
@media (max-width: 560px) {
  .app-shell { width: min(100% - 28px, 1320px); padding-top: 14px; }
  .topbar-meta { display: none; }
  .intro { padding: 42px 0 28px; }
  h1 { font-size: 62px; }
  .number-lockup span { font-size: 92px; }
  .control-section { padding: 22px; }
  .privacy-note { padding: 16px 22px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-button { min-height: 58px; }
  .canvas-frame { min-height: 420px; padding: 14px; border-radius: 20px; }
  .preview-actions, .footer { align-items: flex-start; flex-direction: column; }
  .preview-actions p { text-align: left; }
}
