:root {
  --navy: #12335b;
  --navy-2: #0b2748;
  --blue: #2f7bdc;
  --blue-soft: #eaf3ff;
  --ink: #172537;
  --muted: #647285;
  --line: #dbe3ed;
  --paper: #ffffff;
  --cloud: #f3f6fa;
  --lime: #d7ff65;
  --shadow: 0 18px 55px rgba(12, 39, 72, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cloud); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
button, input, select { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header { height: 72px; display: flex; align-items: center; gap: 34px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -.04em; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--navy); color: var(--lime); font-size: .8rem; }
.site-header nav { display: flex; gap: 24px; margin-right: auto; }
.site-header nav a { text-decoration: none; font-weight: 700; font-size: .92rem; color: #435166; }
.site-header nav a:hover { color: var(--blue); }
.local-pill { padding: 7px 12px; border-radius: 999px; background: #e9f8ef; color: #187347; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.local-pill::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #2db66d; }

.tool-hero { padding: 44px max(24px, calc((100vw - 1180px) / 2)) 82px; background: radial-gradient(circle at 82% 4%, rgba(47,123,220,.13), transparent 26%), var(--cloud); }
.hero-copy { max-width: 710px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy-2); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.065em; word-break: keep-all; overflow-wrap: break-word; }
h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p:last-child { max-width: 650px; margin: 15px 0 0; color: #54657a; font-size: 1rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.trust-list span { padding: 6px 12px; border: 1px solid #cdd9e8; border-radius: 999px; background: rgba(255,255,255,.72); color: #41536b; font-size: .82rem; font-weight: 800; }
.trust-list span::before { content: "✓"; margin-right: 6px; color: var(--blue); }

.editor-shell { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0, 1fr); overflow: hidden; background: var(--paper); border: 1px solid #d6e0ec; border-radius: 24px; box-shadow: var(--shadow); }
.control-panel { padding: 30px; border-right: 1px solid var(--line); }
.panel-step { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; }
.panel-step:not(:first-child) { margin-top: 28px; }
.panel-step > span, .step-number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--navy); color: white; font-size: .78rem; font-weight: 900; }
.panel-step div { display: flex; flex-direction: column; line-height: 1.3; }
.panel-step strong { font-size: .95rem; }
.panel-step small { color: var(--muted); font-size: .76rem; }

.upload-box { min-height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 18px; border: 1.5px dashed #93a9c4; border-radius: 14px; background: #f8fbff; text-align: center; cursor: pointer; transition: .2s ease; }
.upload-box[hidden] { display: none; }
.upload-box:hover, .upload-box.dragging { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); }
.upload-mark { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 3px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 1.45rem; font-weight: 500; }
.upload-box strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.upload-box small { color: var(--muted); font-size: .76rem; }
.file-meta { padding: 14px; border: 1px solid #bad2ee; border-radius: 13px; background: #f5f9ff; }
.file-meta[hidden], .quality-panel[hidden], .condition-panel[hidden] { display: none; }
.file-meta-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.file-ready { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #dff5e9; color: #168150; font-weight: 900; }
.file-meta-copy div { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.file-meta-copy strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.file-meta-copy small { color: var(--muted); font-size: .8rem; }
.file-actions { display: flex; gap: 7px; margin-top: 12px; }
.mini-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border: 1px solid #c4d4e6; border-radius: 8px; background: white; color: #40536b; font-size: .8rem; font-weight: 800; cursor: pointer; }
.mini-button.danger { color: #a23d45; }
.field-label, .range-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #405069; font-size: .82rem; font-weight: 800; }
select, .custom-size input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #cbd7e4; border-radius: 10px; background: white; color: var(--ink); }
select:focus, input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(47,123,220,.28); outline-offset: 2px; }
.custom-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin-top: 10px; }
.custom-size[hidden] { display: none; }
.custom-size label { font-size: .76rem; font-weight: 700; color: var(--muted); }
.custom-size input { margin-top: 4px; }
.range-label { margin-top: 21px; }
input[type="range"] { width: 100%; accent-color: var(--blue); }
.range-label.compact { margin-top: 15px; }
.zoom-control, .tilt-control { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; }
.tilt-control { grid-template-columns: 48px 1fr 48px; }
.zoom-control button, .tilt-control button, .fine-move button { min-width: 40px; min-height: 40px; border: 1px solid #cbd7e4; border-radius: 9px; background: white; color: var(--navy); font-weight: 900; cursor: pointer; }
.tilt-control button { padding: 0 4px; font-size: .72rem; }
.zoom-control button:hover:not(:disabled), .tilt-control button:hover:not(:disabled), .fine-move button:hover:not(:disabled) { border-color: #91b7e5; background: var(--blue-soft); }
.control-hint { margin: 7px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.soft-button { min-height: 44px; border: 1px solid #cbd7e4; border-radius: 10px; background: white; color: #31445c; font-size: .84rem; font-weight: 800; cursor: pointer; }
.soft-button:hover:not(:disabled) { background: var(--blue-soft); border-color: #acc8eb; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .45; }
.fine-move { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.fine-move > span { color: #526278; font-size: .82rem; font-weight: 800; }
.fine-move > div { display: flex; gap: 5px; }
.fine-move button { min-width: 36px; min-height: 36px; font-size: .9rem; }
.check-row { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: .84rem; font-weight: 700; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.microcopy { margin: 6px 0 0 27px; color: var(--muted); font-size: .75rem; line-height: 1.45; }

.preview-panel { display: flex; flex-direction: column; align-items: center; padding: 30px clamp(22px, 5vw, 66px); background: linear-gradient(135deg, #edf3fa, #f8fbff); }
.preview-top { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.preview-top > div { display: flex; align-items: center; gap: 10px; }
.preview-top strong { color: var(--navy); }
#size-badge { padding: 6px 10px; border: 1px solid #c9d8e9; border-radius: 8px; background: rgba(255,255,255,.75); color: #4d6077; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; font-weight: 800; }
.canvas-wrap { width: min(100%, 380px); position: relative; overflow: hidden; border: 10px solid white; border-radius: 6px; box-shadow: 0 13px 35px rgba(20,45,78,.2), 0 0 0 1px #cfd9e6; background: #e9eef4; }
#preview-canvas { width: 100%; height: auto; display: block; aspect-ratio: 413 / 531; touch-action: none; cursor: grab; }
#preview-canvas:focus-visible { outline: 4px solid rgba(47,123,220,.45); outline-offset: -4px; }
#preview-canvas.grabbing { cursor: grabbing; }
.empty-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; background: linear-gradient(145deg, #e8eef5, #f5f8fb); color: #64758a; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state > span { font-size: 2.5rem; color: #91a6bd; }
.empty-state strong { color: #53667c; line-height: 1.45; }
.empty-state small { font-size: .76rem; }
.face-guide { display: none; position: absolute; inset: 0; pointer-events: none; }
.face-guide.visible { display: block; }
.face-oval { width: 42%; height: 53%; position: absolute; left: 29%; top: 15%; border: 1.5px dashed rgba(215,255,101,.95); border-radius: 50% 50% 46% 46%; box-shadow: 0 0 0 999px rgba(8,25,46,.14); }
.face-guide::before { content: ""; position: absolute; left: 7%; right: 7%; top: 38%; border-top: 1px dashed rgba(215,255,101,.95); }
.face-guide span { position: absolute; right: 8%; top: calc(38% - 22px); padding: 2px 6px; background: var(--lime); color: #1e3c2d; border-radius: 4px; font-size: .65rem; font-weight: 900; }
.drag-help { margin: 16px 0 19px; color: #62738a; font-size: .82rem; }
.quality-panel { width: 100%; display: flex; align-items: center; gap: 11px; margin: -4px 0 14px; padding: 12px 14px; border: 1px solid #b9ddc8; border-radius: 12px; background: #f0faf5; }
.quality-panel.warning { border-color: #edcf90; background: #fff9eb; }
.quality-icon { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: #dff5e9; color: #168150; font-size: .8rem; font-weight: 900; }
.quality-panel.warning .quality-icon { background: #ffedc4; color: #8f6311; }
.quality-panel div { display: flex; flex-direction: column; line-height: 1.45; }
.quality-panel strong { font-size: .84rem; }
.quality-panel span:last-child { color: var(--muted); font-size: .78rem; }
.condition-panel { width: 100%; display: flex; align-items: center; gap: 11px; margin: -4px 0 14px; padding: 12px 14px; border: 1px solid #d8dfe8; border-radius: 12px; background: #f7f9fc; }
.condition-panel > span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: #e6edf6; color: #526d8d; font-weight: 900; }
.condition-panel div { display: flex; flex-direction: column; line-height: 1.45; }
.condition-panel strong { font-size: .84rem; }
.condition-panel small { color: var(--muted); font-size: .78rem; }
.download-card { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid #d7e1ec; border-radius: 14px; background: white; }
.download-card > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.download-card strong { font-size: .9rem; }
.download-card span { overflow: hidden; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.format-control { display: flex; padding: 3px; border-radius: 9px; background: #edf2f7; }
.format { border: 0; padding: 6px 8px; border-radius: 7px; background: transparent; color: #64758a; font-size: .75rem; font-weight: 900; cursor: pointer; }
.format.active { background: white; color: var(--blue); box-shadow: 0 1px 4px rgba(20,45,78,.13); }
.download-button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--navy); color: white; font-size: .86rem; font-weight: 900; cursor: pointer; }
.download-button:hover:not(:disabled) { background: var(--blue); }
.download-button.working { background: #405e80; }
.download-button span { margin-left: 7px; color: var(--lime); font-size: 1rem; }
.status { min-height: 25px; width: 100%; margin-top: 8px; color: #286a52; font-size: .8rem; text-align: left; }
.status[data-tone="error"] { color: #a23d45; }
.status[data-tone="neutral"] { color: #5d6f85; }

.content-section, .faq-section { padding: 100px max(24px, calc((100vw - 1080px) / 2)); background: white; }
.content-heading { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; }
.content-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -22px; }
h2 { margin: 0; color: var(--navy-2); font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.14; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: break-word; }
.content-heading > p:last-child { margin: 0; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.info-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; }
.info-grid article > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 900; }
.info-grid h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.08rem; }
.info-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.guide-links a { display: flex; justify-content: space-between; gap: 20px; padding: 21px 24px; border-radius: 14px; background: var(--navy); color: white; text-decoration: none; }
.guide-links a:last-child { background: var(--blue); }
.guide-links span { font-size: .85rem; opacity: .8; }
.guide-links strong { text-align: right; }
.content-hub-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 22px 24px; border: 1px solid #b9cce3; border-radius: 14px; background: #f5f9ff; color: var(--navy); text-decoration: none; }
.content-hub-cta span { display: flex; flex-direction: column; }
.content-hub-cta small { margin-top: 2px; color: var(--muted); font-size: .82rem; }
.content-hub-cta b { flex: 0 0 auto; color: var(--blue); font-size: .88rem; }
.faq-section { background: #eef3f8; }
.faq-section > h2 { max-width: 690px; margin-bottom: 34px; }
.faq-section details { max-width: 900px; border-top: 1px solid #cdd8e5; }
.faq-section details:last-child { border-bottom: 1px solid #cdd8e5; }
.faq-section summary { padding: 20px 4px; color: var(--navy); font-weight: 850; cursor: pointer; }
.faq-section details p { max-width: 780px; margin: -4px 4px 22px; color: var(--muted); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 48px max(24px, calc((100vw - 1080px) / 2)); background: var(--navy-2); color: white; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 1.2rem; }
.footer-brand span, footer p { color: #aebed1; font-size: .8rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { color: #dae4f0; font-size: .82rem; text-decoration: none; }
footer p { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }

.article-main { min-height: 70vh; padding: 70px max(24px, calc((100vw - 820px) / 2)) 100px; background: white; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 800; }
.breadcrumb a:hover { text-decoration: underline; }
.article-main h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.article-main .lead { margin: 22px 0 44px; color: var(--muted); font-size: 1.06rem; }
.article-main h2 { margin: 45px 0 15px; font-size: 1.65rem; }
.article-main h3 { margin: 28px 0 10px; color: var(--navy); }
.article-main p, .article-main li { color: #46576b; }
.article-main .note { padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-soft); }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table th, .spec-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 34%; color: var(--navy); background: #f5f8fb; }
.article-cta { display: inline-flex; margin-top: 30px; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: white; text-decoration: none; font-weight: 900; }
.related-links { display: grid; gap: 8px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.related-links strong { color: var(--navy); font-size: .9rem; }
.related-links a { width: fit-content; color: var(--blue); font-size: .9rem; font-weight: 750; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: -24px 0 38px !important; color: var(--muted) !important; font-size: .8rem; }
.article-meta strong { color: var(--navy); }
.article-meta span + span::before { content: "·"; margin-right: 14px; color: #9babbc; }
.guide-hub { max-width: none; }
.guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 36px 0 58px; }
.guide-card { display: flex; flex-direction: column; min-height: 238px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-2px); border-color: #a9c4e5; box-shadow: 0 12px 30px rgba(18,51,91,.09); }
.guide-card.featured { background: var(--navy); color: white; border-color: var(--navy); }
.guide-card > span { color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.guide-card.featured > span { color: var(--lime); }
.guide-card h2 { margin: 16px 0 10px; color: var(--navy); font-size: 1.4rem; line-height: 1.25; letter-spacing: -.035em; }
.guide-card.featured h2 { color: white; }
.guide-card p { margin: 0 0 20px; color: var(--muted); font-size: .9rem; }
.guide-card.featured p { color: #c8d6e7; }
.guide-card > strong { margin-top: auto; color: var(--blue); font-size: .86rem; }
.guide-card.featured > strong { color: var(--lime); }
.decision-list { display: grid; gap: 10px; margin: 20px 0 30px; }
.decision-list div { display: grid; grid-template-columns: minmax(190px, .7fr) 1.5fr; gap: 20px; padding: 17px 19px; border-top: 1px solid var(--line); }
.decision-list div:last-child { border-bottom: 1px solid var(--line); }
.decision-list strong { color: var(--navy); }
.decision-list span { color: var(--muted); }
.checklist { display: grid; gap: 10px; }
.checklist > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.checklist > div > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .74rem; font-weight: 900; }
.checklist p { margin: 0; }
.checklist p strong { display: block; margin-bottom: 3px; color: var(--navy); }
.number-list { display: grid; gap: 10px; margin: 18px 0; padding-left: 24px; }
.number-list li { padding-left: 6px; }
.plain-list { display: grid; gap: 10px; margin: 18px 0; padding-left: 22px; }
.plain-list li { padding-left: 4px; }
.source-box { display: grid; gap: 7px; margin-top: 38px; padding: 20px; border-radius: 12px; background: #f3f6fa; }
.source-box > strong { color: var(--navy); }
.source-box a { width: fit-content; color: var(--blue); font-weight: 800; }
.source-box p { margin: 5px 0 0; font-size: .82rem; }
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll .spec-table { min-width: 680px; margin: 0; }
.spec-table thead th { color: var(--navy); background: #edf3f9; }
.spec-table.wide th { width: auto; }
.micro-note { margin: -10px 0 30px; color: var(--muted) !important; font-size: .8rem; }
.formula-box { margin: 20px 0; padding: 24px; border-radius: 14px; background: var(--navy); color: white; }
.formula-box span { display: block; color: var(--lime); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 900; }
.formula-box p { margin: 10px 0 0; color: #c8d6e7; font-size: .88rem; }

.consent-panel { position: fixed; z-index: 1000; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 880px; margin: 0 auto; padding: 20px 22px; border: 1px solid #2d4f78; border-radius: 16px; background: #102c4e; box-shadow: 0 18px 50px rgba(8, 28, 52, .28); color: white; }
.consent-panel[hidden], .consent-settings-button[hidden] { display: none; }
.consent-copy { max-width: 620px; }
.consent-copy strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.consent-copy p { margin: 0; color: #d7e3ef; font-size: .86rem; line-height: 1.55; }
.consent-copy a { color: var(--lime); font-weight: 800; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-actions button, .consent-settings-button { min-height: 42px; border: 1px solid #7190b2; border-radius: 10px; background: transparent; color: white; font: inherit; font-size: .84rem; font-weight: 850; cursor: pointer; }
.consent-actions button { padding: 9px 14px; }
.consent-actions button.primary { border-color: var(--lime); background: var(--lime); color: #102c4e; }
.consent-settings-button { position: fixed; z-index: 999; right: 16px; bottom: 16px; padding: 8px 12px; border-color: #d2deea; background: white; box-shadow: 0 8px 22px rgba(18, 51, 91, .14); color: var(--navy); }

@media (max-width: 820px) {
  .site-header { height: 64px; padding: 0 18px; gap: 12px; }
  .site-header nav { display: none; }
  .local-pill { margin-left: auto; font-size: .7rem; }
  .tool-hero { padding: 24px 16px 58px; }
  h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); }
  .hero-copy > p:last-child { margin-top: 12px; font-size: .93rem; line-height: 1.55; }
  .trust-list { margin: 13px 0 18px; }
  .trust-list span { padding: 5px 9px; font-size: .75rem; }
  .editor-shell { grid-template-columns: 1fr; border-radius: 17px; }
  .control-panel { padding: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mini-button, .zoom-control button, .tilt-control button, .fine-move button, .format { min-height: 44px; }
  .zoom-control { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .tilt-control { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .fine-move button { min-width: 44px; }
  .zoom-control input[type="range"], .tilt-control input[type="range"] { height: 44px; }
  .format { min-width: 48px; padding-inline: 10px; }
  .preview-panel { padding: 24px 16px; }
  .canvas-wrap { width: min(100%, 330px); }
  .download-card { grid-template-columns: 1fr auto; }
  .download-card > div:first-child { grid-column: 1 / -1; }
  .download-button { min-width: 170px; }
  .content-section, .faq-section { padding: 70px 20px; }
  .content-heading { grid-template-columns: 1fr; gap: 18px; }
  .content-heading .eyebrow { margin-bottom: -6px; }
  .info-grid, .guide-links { grid-template-columns: 1fr; }
  .guide-links a { flex-direction: column; gap: 4px; }
  .guide-links strong { text-align: left; }
  .content-hub-cta { align-items: flex-start; flex-direction: column; gap: 10px; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .decision-list div { grid-template-columns: 1fr; gap: 5px; }
  .consent-panel { right: 12px; bottom: 12px; left: 12px; align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
  footer { grid-template-columns: 1fr; padding: 40px 22px; }
  footer nav { gap: 12px 18px; }
  footer p { grid-column: 1; }
}

@media (max-width: 430px) {
  .brand { font-size: 1.05rem; }
  .brand-icon { width: 28px; height: 28px; }
  .local-pill { padding: 5px 9px; }
  .control-panel { padding: 18px; }
  .panel-step:not(:first-child) { margin-top: 22px; }
  .upload-box { min-height: 126px; }
  .fine-move { align-items: flex-start; flex-direction: column; }
  .preview-top { align-items: flex-start; }
  .preview-panel { padding-inline: 12px; }
  .download-card { gap: 10px; padding: 13px; }
  .download-button { min-width: 0; padding-inline: 13px; }
}

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