:root {
  --ink: #3c2f2c;
  --paper: #f8f3ef;
  --cream: #f0e5e0;
  --terracotta: #d6493e;
  --terracotta-dark: #bd372e;
  --sage: #75615b;
  --line: rgba(60, 47, 44, .16);
  --white: #fffaf7;
  --shadow: 0 22px 70px rgba(58, 42, 31, .13);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--terracotta); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

.hero { min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 80% 20%, #f0dfda 0, transparent 36%), var(--paper); }
.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 168px; height: auto; }
.embed-mode .nav { display: none; }
.embed-mode .hero-grid { min-height: 100svh; }
.nav-note { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hero-grid { min-height: calc(100svh - 92px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 6vw; padding-block: 70px; }
.hero-copy h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 5.5vw, 82px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--terracotta); font-weight: 500; }
.lead { max-width: 620px; margin: 32px 0; color: #57544e; font-size: 18px; line-height: 1.65; }
.button { min-height: 54px; padding: 0 24px; border: 0; border-radius: var(--radius-sm); font-weight: 700; transition: transform .2s, background .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button span { margin-left: 24px; }
.button-primary { color: white; background: var(--terracotta); box-shadow: 0 10px 24px rgba(168, 77, 51, .2); }
.button-primary:hover { background: var(--terracotta-dark); }
.button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.trust-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: #656159; font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--sage); }

.hero-art { display: flex; justify-content: center; }
.portrait-frame { position: relative; width: min(420px, 34vw); aspect-ratio: .78; padding: 22px; border: 1px solid var(--line); border-radius: 49% 49% 8px 8px; }
.portrait-placeholder { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 48% 48% 4px 4px; background: linear-gradient(145deg, #b7aa9a, #5e5a51); }
.portrait-placeholder::before { content: ""; position: absolute; width: 46%; aspect-ratio: .78; left: 27%; top: 22%; border-radius: 48% 48% 42% 42%; background: #d6b8a2; box-shadow: 0 -35px 0 30px #3e392f; }
.portrait-placeholder::after { content: ""; position: absolute; width: 90%; height: 45%; left: 5%; bottom: -18%; border-radius: 50% 50% 0 0; background: #292b27; }
.portrait-line { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; }
.line-one { width: 38%; aspect-ratio: .78; left: 31%; top: 27%; }
.line-two { width: 58%; aspect-ratio: 1; left: 21%; top: 20%; }
.line-three { width: 78%; aspect-ratio: 1; left: 11%; top: 9%; }
.art-label { position: absolute; padding: 9px 12px; color: white; border-radius: var(--radius-sm); background: rgba(32,32,29,.82); backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .05em; }
.label-one { left: -38px; top: 30%; }
.label-two { right: -44px; top: 52%; }
.label-three { left: -25px; bottom: 18%; }

.consultation { min-height: 100svh; padding: 90px 0; background: #e8ded1; }
.consultation-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: start; }
.steps-panel { position: sticky; top: 60px; padding-top: 30px; }
.steps-panel h2, .result-header h2, .loading-card h2, .result-cta h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.steps-panel > p:not(.eyebrow) { max-width: 390px; margin: 24px 0 45px; color: #625d56; line-height: 1.65; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 20px; padding: 18px 0; color: #878077; border-bottom: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.steps li span { font-weight: 600; }
.steps li.active { color: var(--terracotta); }
.result-promise { display: grid; gap: 11px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.28); }
.result-promise strong { margin-bottom: 4px; font-size: 13px; }
.result-promise span { color: #655a56; font-size: 12px; line-height: 1.45; }
.result-promise span::before { content: "✓"; margin-right: 8px; color: var(--terracotta); font-weight: 700; }

.upload-card { padding: 34px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-section-title { display: flex; gap: 14px; align-items: start; margin-bottom: 18px; }
.form-section-title h3 { margin: 1px 0 5px; font-size: 17px; }
.form-section-title p { margin: 0; color: #746965; font-size: 12px; line-height: 1.5; }
.step-badge { flex: 0 0 28px; height: 28px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--terracotta); font-size: 12px; font-weight: 700; }
.dropzone { position: relative; min-height: 320px; overflow: hidden; border: 1px dashed #aa9e90; border-radius: var(--radius-md); background: #f5f0e9; transition: background .2s, border-color .2s; }
.dropzone.dragging { border-color: var(--terracotta); background: #efe2d8; }
.dropzone > input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.drop-empty { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; pointer-events: none; }
.camera-icon { position: relative; width: 62px; height: 48px; margin-bottom: 24px; border: 1.5px solid var(--terracotta); border-radius: 5px; }
.camera-icon::before { content: ""; position: absolute; width: 19px; height: 19px; left: 20px; top: 13px; border: 1.5px solid var(--terracotta); border-radius: 50%; }
.camera-icon::after { content: ""; position: absolute; width: 20px; height: 7px; left: 8px; top: -8px; border: 1.5px solid var(--terracotta); border-bottom: 0; border-radius: 4px 4px 0 0; }
.drop-empty h3 { margin: 0; font-size: 23px; font-weight: 600; }
.drop-empty p { margin: 10px 0 24px; color: #746e66; }
.choose-file { margin-bottom: 16px; padding: 11px 18px; color: white; border-radius: var(--radius-sm); background: var(--terracotta); font-size: 12px; font-weight: 700; }
.file-note { color: #8c857c; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.preview { position: relative; min-height: 320px; height: 100%; }
.preview img { display: block; width: 100%; height: 320px; object-fit: contain; background: #24231f; }
.preview-actions { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.change-photo, .remove-photo { padding: 10px 15px; color: white; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius-sm); background: rgba(32,32,29,.72); backdrop-filter: blur(8px); }
.remove-photo { background: rgba(137,45,38,.82); }
.photo-tips { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 10px; align-items: center; margin-top: 14px; padding: 15px; border-radius: var(--radius-sm); background: #f8f3ef; }
.photo-tips strong, .photo-tips span { font-size: 11px; line-height: 1.45; }
.photo-tips span { color: #6e625e; }
.photo-tips b { color: var(--terracotta); }
.form-divider { height: 1px; margin: 32px 0; background: var(--line); }
.field { display: block; margin-top: 28px; }
.field > span { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.field small { color: #90887f; font-weight: 400; }
.field textarea { width: 100%; padding: 16px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); outline: none; resize: vertical; background: #fbf8f4; line-height: 1.5; }
.field textarea:focus { border-color: var(--terracotta); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wish-examples-heading { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: #766a66; }
.wish-examples-heading span { font-size: 11px; font-weight: 700; }
.wish-examples-heading small { font-size: 10px; text-align: right; }
.wish-examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.wish-examples button { padding: 8px 11px; color: #6b5d59; border: 1px solid var(--line); border-radius: 20px; background: transparent; font-size: 11px; transition: .2s; }
.wish-examples button:hover { color: var(--terracotta); border-color: var(--terracotta); background: #fff; }
.consent { display: flex; gap: 11px; margin: 20px 0; color: #68625b; font-size: 12px; line-height: 1.5; }
.consent input { flex: 0 0 auto; accent-color: var(--terracotta); }
.consent-link { display: inline; margin: 0; padding: 0; color: var(--terracotta); border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: inherit; font-weight: 600; line-height: inherit; text-align: left; }
.consent-link:hover { color: var(--terracotta-dark); }
.consent-modal { width: min(840px,calc(100% - 28px)); max-width: none; height: min(88svh,900px); max-height: none; margin: auto; padding: 0; overflow: hidden; color: var(--ink); border: 0; border-radius: 22px; background: var(--white); box-shadow: 0 28px 90px rgba(34,24,20,.3); }
.consent-modal::backdrop { background: rgba(42,31,27,.64); backdrop-filter: blur(3px); }
.consent-modal-card { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.consent-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.consent-modal-header .eyebrow { margin-bottom: 8px; }
.consent-modal-header h2 { max-width: 680px; margin: 0; font-size: clamp(22px,3vw,32px); font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
.consent-modal-close { flex: 0 0 38px; width: 38px; height: 38px; padding: 0 0 3px; color: #6f615c; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 27px; line-height: 1; }
.consent-modal-content { overflow-y: auto; padding: 24px 28px 32px; overscroll-behavior: contain; }
.consent-modal-content h3 { margin: 30px 0 10px; color: var(--terracotta); font-size: 16px; line-height: 1.35; }
.consent-modal-content h3:first-of-type { margin-top: 24px; }
.consent-modal-content p, .consent-modal-content li { color: #5f5551; font-size: 12px; line-height: 1.7; }
.consent-modal-content p { margin: 0 0 12px; }
.consent-modal-content ul { margin: 0 0 16px; padding-left: 22px; }
.consent-modal-content li+li { margin-top: 5px; }
.consent-modal-content a { color: var(--terracotta); }
.consent-modal-footer { display: flex; justify-content: flex-end; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--white); }
.consent-modal-footer .button { min-width: 150px; }
.button-wide { width: 100%; }
.submit-note { margin: 11px auto 0; color: #817672; text-align: center; font-size: 10px; line-height: 1.5; }
.form-error { margin: 16px 0 0; color: #a02925; font-size: 13px; }

.loading-view { min-height: 100svh; display: grid; place-items: center; padding: 30px; text-align: center; background: #dfd3c5; }
.loading-card { width: min(480px, 100%); }
.scan-portrait { position: relative; width: 210px; aspect-ratio: .8; margin: 0 auto 36px; overflow: hidden; border-radius: 48% 48% 3px 3px; background: #777; box-shadow: var(--shadow); }
.scan-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.scan-portrait span { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: #fff; box-shadow: 0 0 14px #fff; animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 100%; } }
.loading-card h2 { font-size: 46px; }
.loading-card > p:not(.eyebrow) { color: #676059; }
.progress { height: 2px; margin-top: 30px; overflow: hidden; background: rgba(32,32,29,.15); }
.progress span { display: block; width: 45%; height: 100%; background: var(--terracotta); animation: progress 1.6s ease-in-out infinite; }
@keyframes progress { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

.results { padding: 90px 0; background: var(--paper); }
.result-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.result-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.result-brand img { display: block; width: 154px; height: auto; }
.result-brand span { padding-left: 13px; color: #756762; border-left: 1px solid var(--line); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.button-secondary { border: 1px solid var(--ink); background: transparent; }
.result-intro { display: grid; grid-template-columns: 136px 1fr; gap: 32px; align-items: stretch; padding: 48px 0 24px; }
.result-photo-column { display: flex; min-width: 0; flex-direction: column; gap: 10px; }
.result-photo-column > img { width: 136px; aspect-ratio: .8; object-fit: cover; border-radius: 48% 48% 2px 2px; }
.selected-plan-summary { display: grid; gap: 6px; }
.selected-plan-summary span { padding: 7px 8px; color: #685a56; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,250,247,.76); font-size: 8px; line-height: 1.4; }
.selected-plan-summary b { display: block; margin-bottom: 2px; color: var(--terracotta); font-size: 7px; letter-spacing: .04em; text-transform: uppercase; }
.result-overview { display: grid; gap: 14px; }
.result-summary-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.result-summary-panel > span { display: block; margin-bottom: 12px; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.result-summary { max-width: 850px; margin: 0; font-size: clamp(17px, 1.8vw, 23px); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
.summary-details { margin-top: 12px; color: #665a56; font-size: 14px; line-height: 1.6; }
.summary-toggle { margin-top: 17px; padding: 0; color: var(--terracotta); border: 0; border-bottom: 1px dashed currentColor; background: transparent; font-size: 12px; font-weight: 700; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.profile-item { min-width: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,250,247,.72); }
.profile-item dt { margin-bottom: 6px; color: #81736e; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.profile-item dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; line-height: 1.35; }
.save-hint { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f1e7e2; font-size: 14px; font-weight: 600; line-height: 1.45; }
.save-hint button { padding: 13px 18px; color: white; border: 0; border-radius: var(--radius-sm); background: var(--terracotta); font-size: 12px; font-weight: 700; }
.notice { margin-bottom: 48px; padding: 22px 25px; border-left: 3px solid var(--terracotta); border-radius: var(--radius-md); background: #ede2d6; line-height: 1.55; }
.notice strong { display: block; margin-bottom: 6px; }
.notice ul { margin: 8px 0 0; padding-left: 19px; }
.recommendation-section { padding: 52px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 60px 180px 1fr; align-items: baseline; margin-bottom: 28px; }
.section-heading > span { color: var(--terracotta); font-weight: 600; }
.section-heading h3 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: #777168; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.selection-help { margin: -12px 0 24px 60px; color: #746965; font-size: 12px; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recommendation-card { position: relative; min-height: 250px; display: flex; flex-direction: column; padding: 27px; color: inherit; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .25s, box-shadow .25s, border-color .25s; }
.recommendation-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(49,37,28,.09); }
.generation-busy .recommendation-card { pointer-events: none; opacity: .72; }
.recommendation-card:focus-visible { outline: 3px solid rgba(214,73,62,.25); outline-offset: 3px; }
.recommendation-card.selected { border-color: var(--terracotta); box-shadow: inset 0 0 0 1px var(--terracotta), 0 16px 35px rgba(49,37,28,.09); }
.haircut-card.selected { background: #fff3ef; }
.recommendation-card.selected::after { content: "Выбрано ✓"; position: absolute; top: 17px; right: 17px; color: var(--terracotta); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.recommendation-card .number { color: var(--terracotta); font-size: 13px; font-weight: 600; }
.recommendation-card h4 { margin: 24px 0 10px; font-size: 23px; font-weight: 600; }
.recommendation-card p { margin: 0 0 20px; color: #6a645d; line-height: 1.55; }
.recommendation-card .why { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--sage); font-size: 12px; line-height: 1.5; }
.haircut-card .card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.card-select-label { align-self: flex-start; margin-top: 18px; padding: 9px 14px; color: var(--terracotta); border: 1px solid var(--terracotta); border-radius: var(--radius-sm); font-size: 10px; font-weight: 700; }
.haircut-card.selected .card-select-label { color: white; background: var(--terracotta); }
.color-grid .recommendation-card::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--swatch, #8c614d); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.color-grid .recommendation-card h4 { margin-top: 18px; }
.look-generation { margin: 10px 0 40px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #efe3de; }
.generation-copy { max-width: 760px; }
.generation-copy .eyebrow, .generation-result-heading .eyebrow { margin-bottom: 10px; }
.generation-copy h3, .generation-result-heading h3 { margin: 0; font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.035em; }
.generation-copy > p:not(.eyebrow) { margin: 16px 0 0; color: #685c58; font-size: 13px; line-height: 1.6; }
.generation-selections { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.generation-selections span { padding: 9px 12px; color: #655753; border: 1px solid rgba(214,73,62,.24); border-radius: 20px; background: rgba(255,255,255,.58); font-size: 11px; }
.generation-selections b { color: var(--terracotta); }
.generation-demo-note { padding: 11px 13px; border-radius: var(--radius-sm); background: rgba(255,255,255,.62); }
.generation-button { width: 100%; margin-top: 26px; }
.generation-note { margin: 11px 0 0; color: #7b6e69; font-size: 10px; line-height: 1.5; text-align: center; }
.generation-error { margin: 16px 0 0; padding: 13px 15px; color: #9f2f28; border-radius: var(--radius-sm); background: #fff0ed; font-size: 12px; }
.generation-loading { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; padding: 24px; border-radius: var(--radius-md); background: rgba(255,255,255,.64); }
.generation-loading div { display: grid; gap: 5px; }
.generation-loading strong { font-size: 13px; }
.generation-loading div span { color: #746965; font-size: 11px; }
.generation-spinner { flex: 0 0 34px; width: 34px; height: 34px; border: 3px solid #dfcbc3; border-top-color: var(--terracotta); border-radius: 50%; animation: generation-spin .8s linear infinite; }
@keyframes generation-spin { to { transform: rotate(360deg); } }
.generation-result { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.generation-result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.generation-result-heading > span { padding: 8px 10px; color: #6d605c; border-radius: 10px; background: rgba(255,255,255,.66); font-size: 10px; }
.generation-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.generation-comparison figure { position: relative; display: grid; margin: 0; overflow: hidden; border-radius: 18px; background: #e4d8d2; }
.generation-comparison figcaption { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 7px 10px; color: white; border-radius: 9px; background: rgba(60,47,44,.76); font-size: 10px; font-weight: 700; }
.generation-comparison img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: contain; }
.generation-selected-caption { display: grid; gap: 5px; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(255,250,247,.82); }
.generation-selected-caption span { color: #655753; font-size: 10px; line-height: 1.4; }
.generation-selected-caption b { color: var(--terracotta); }
.generation-attempts-message { margin: 16px 0 0; padding: 12px 14px; color: #655753; border-radius: var(--radius-sm); background: rgba(255,255,255,.62); font-size: 11px; line-height: 1.55; }
.generation-actions { display: flex; gap: 12px; margin: 18px 0 0 calc(50% + 7px); }
.generation-actions .button { display: inline-flex; flex: 1; align-items: center; justify-content: center; text-decoration: none; }
.generation-actions .button-secondary { color: var(--ink); border-color: #d7c7c0; background: #e8ded1; }
.generation-actions .button-secondary:hover { background: #dfd1ca; }
.result-cta { margin-top: 55px; padding: 70px max(30px, 8vw); color: white; text-align: center; border-radius: var(--radius-lg); background: var(--terracotta); }
.result-cta .eyebrow { color: #f4c9b9; }
.result-cta p:not(.eyebrow) { max-width: 650px; margin: 20px auto 28px; color: #f1d9d0; line-height: 1.6; }
.button-light { color: var(--terracotta); background: white; }
.result-cta .button-light { display: inline-flex; align-items: center; margin-top: 28px; text-decoration: none; }
.coming-soon { font-size: 12px; }
.result-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 30px; padding: 24px 4px 0; border-top: 1px solid var(--line); }
.result-footer > div { display: flex; align-items: center; gap: 14px; }
.result-footer img { width: 135px; height: auto; }
.result-footer span { color: #796c67; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.result-footer a { color: var(--terracotta); font-size: 11px; font-weight: 700; text-decoration: none; }
.result-footer .franchise-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 13px; color: #665a56; border: 1px solid #e8ddd8; border-radius: 20px; background: #fff; box-shadow: none; transition: background-color .15s ease; }
.result-footer .franchise-link:active { background: #f2eae6; }
.franchise-copy { display: grid; gap: 2px; min-width: 0; }
.franchise-copy strong { overflow: hidden; color: #4f4441; font-size: 10px; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.franchise-copy small { color: #948681; font-size: 9px; font-weight: 500; line-height: 1.3; }
.franchise-chevron { flex: 0 0 18px; width: 18px; height: 18px; color: #9a8e89; }
.bottom-actions { display: flex; justify-content: center; padding-top: 30px; }
.bottom-actions .button-secondary { min-height: 46px; color: #756762; border-color: var(--line); font-size: 11px; }

@media (max-width: 800px) {
  .shell { width: min(100% - 30px, 650px); }
  .nav { height: 72px; }
  .nav-note { display: none; }
  .brand img { width: 145px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 55px 0 70px; }
  .hero-copy h1 { font-size: clamp(46px, 14vw, 70px); }
  .lead { margin: 25px 0; font-size: 16px; }
  .hero-art { margin-top: 10px; }
  .portrait-frame { width: min(320px, 80vw); }
  .consultation { padding: 54px 0; }
  .consultation-grid { grid-template-columns: 1fr; gap: 26px; }
  .steps-panel { position: static; padding-top: 0; }
  .steps-panel > p:not(.eyebrow), .steps { display: none; }
  .result-promise { display: none; }
  .upload-card { padding: 16px; }
  .dropzone, .drop-empty, .preview { min-height: 264px; }
  .preview img { height: 264px; }
  .photo-tips { grid-template-columns: 1fr; }
  .photo-tips strong { margin-bottom: 2px; }
  .wish-examples-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .wish-examples-heading small { text-align: left; }
  .consent-modal { width: calc(100% - 16px); height: calc(100svh - 16px); border-radius: 18px; }
  .consent-modal-header { padding: 19px 18px 16px; }
  .consent-modal-header h2 { font-size: 20px; }
  .consent-modal-content { padding: 18px 18px 26px; }
  .consent-modal-footer { padding: 12px 18px; }
  .consent-modal-footer .button { width: 100%; }
  .results { padding: 55px 0; }
  .result-header { align-items: start; flex-direction: column; }
  .result-intro { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; align-items: start; }
  .result-photo-column { width: min(100%, 220px); }
  .result-photo-column > img { width: 136px; }
  .result-summary-panel { padding: 17px; }
  .result-summary { font-size: 15px; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-item { padding: 12px; }
  .save-hint { align-items: start; flex-direction: column; }
  .section-heading { grid-template-columns: 38px 1fr; }
  .section-heading p { display: none; }
  .selection-help { margin: -10px 0 20px; }
  .recommendation-grid { grid-template-columns: 1fr; }
  .recommendation-card { min-height: 220px; }
  .look-generation { padding: 24px 18px; }
  .generation-comparison { grid-template-columns: 1fr; }
  .generation-result-heading { align-items: start; flex-direction: column; }
  .generation-actions { flex-direction: column; margin-left: 0; }
  .generation-actions .button { width: 100%; }
  .result-cta { padding: 50px 22px; }
  .result-footer { align-items: center; flex-direction: row; gap: 14px; }
  .result-footer img { width: 118px; }
  .result-footer > .footer-links { width: auto; align-items: center; flex-direction: row; justify-content: flex-end; gap: 0; }
  .result-footer > .footer-links a { align-self: center; font-size: 9px; text-align: right; white-space: nowrap; }
  .result-footer .franchise-link { width: min(100%, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { color: #3c2f2c; background: white; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .results { display: block !important; padding: 0; background: white; }
  .results .shell { width: 100%; }
  .bottom-actions, .save-hint, .result-cta, .selection-help { display: none !important; }
  .consent-modal { display: none !important; }
  .look-generation:not(.generation-ready) { display: none !important; }
  .look-generation.generation-ready { display: block !important; margin: 20px 0; padding: 18px; border-radius: 14px; background: white; break-inside: avoid; page-break-inside: avoid; }
  .look-generation .generation-copy, .look-generation > .generation-button, .look-generation > .generation-note, .look-generation > .generation-error, .look-generation > .generation-loading, .generation-actions { display: none !important; }
  .generation-attempts-message { display: none !important; }
  .generation-result { display: block !important; margin: 0; padding: 0; border: 0; }
  .generation-result-heading { margin-bottom: 12px; }
  .generation-result-heading h3 { font-size: 20px; }
  .generation-comparison { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .generation-comparison figure { border-radius: 10px; break-inside: avoid; }
  .generation-comparison img { width: 100%; max-height: 92mm; object-fit: contain; }
  .generation-selected-caption { padding: 7px 9px; }
  .generation-selected-caption span { font-size: 8px; }
  .result-header { padding-bottom: 20px; }
  .result-brand img { width: 145px; }
  .result-header h2 { font-size: 30px; }
  .result-intro { grid-template-columns: 130px 1fr; gap: 20px; padding: 24px 0; }
  .result-photo-column { display: block !important; width: 130px; }
  .result-photo-column > img { display: block !important; width: 130px; height: 163px; max-width: none; object-fit: cover; visibility: visible !important; }
  .result-summary { font-size: 14px; }
  .summary-details { display: block !important; font-size: 10px; }
  .summary-toggle { display: none !important; }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-item, .result-summary-panel, .recommendation-card, .notice { break-inside: avoid; }
  .recommendation-section { padding: 24px 0; }
  .recommendation-grid { gap: 8px; }
  .recommendation-card { min-height: 0; padding: 15px; box-shadow: none !important; transform: none !important; }
  .recommendation-card h4 { margin: 12px 0 7px; font-size: 16px; }
  .recommendation-card p, .recommendation-card .why { font-size: 9px; }
  .result-footer { margin-top: 20px; padding-top: 12px; }
}
