:root { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color-scheme: light; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #c26151; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-shell { --bg: #faf8f3; --surface: #fffefd; --ink: #203b37; --muted: #5e6f68; --line: #e6e5dd; --accent: #aa4a36; --accent-ink: #fff; --soft: #f5f0e8; --green: #234640; --shadow: 0 18px 60px rgba(46,65,56,.07); min-height: 100vh; background: var(--bg); color: var(--ink); transition: background .25s, color .25s; }
.app-shell[data-theme="dark"] { --bg: #142420; --surface: #1b302b; --ink: #f1eee5; --muted: #bbcac1; --line: #3a5149; --accent: #e5957b; --accent-ink: #202d29; --soft: #233a34; --green: #17302b; --shadow: 0 18px 60px rgba(0,0,0,.16); color-scheme: dark; }
.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 16px; background: var(--ink); color: var(--bg); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav-row { min-height: 84px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); background: none; border: 0; padding: 0; font-size: 22px; font-weight: 770; letter-spacing: -.07em; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; background: #de8975; color: #fff; border-radius: 11px 11px 11px 2px; transform: rotate(-7deg); }
.brand-mark svg { transform: rotate(7deg); }
.brand-ai { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.nav-links button, .footer-links button { background: none; border: 0; padding: 8px 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-links button:hover, .footer-links button:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-control { border: 1px solid var(--line); border-radius: 999px; height: 38px; padding: 0 8px 0 11px; display: flex; align-items: center; gap: 3px; color: var(--muted); }
.language-control select { border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 12px; max-width: 70px; outline: 0; }
.icon-button { border: 1px solid var(--line); color: var(--ink); background: transparent; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; }
.icon-button:hover { background: var(--soft); }
.menu-button { display: none; }
.button { border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 0 22px; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 740; line-height: 1.25; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .46; cursor: not-allowed; }
.button-dark { background: var(--ink); color: var(--bg); }
.button-primary { min-height: 54px; padding-inline: 26px; color: var(--accent-ink); background: var(--accent); box-shadow: 0 10px 25px rgba(205,108,88,.17); }
.button-primary:hover:not(:disabled) { background: #a64635; }
.button-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button-outline:hover:not(:disabled) { background: var(--soft); }
.button-quiet { color: var(--ink); background: transparent; }
.button-light { background: #f8f1e9; color: #27413b; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: none; border: 0; padding: 6px 0; font-weight: 700; font-size: 13px; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); font-size: 10px; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 100%; background: var(--accent); }
.section-kicker { text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 800; color: var(--accent); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { letter-spacing: -.045em; }
.hero { min-height: 600px; display: grid; grid-template-columns: 1fr .96fr; align-items: center; gap: 60px; padding-top: 56px; padding-bottom: 70px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(56px, 5.7vw, 86px); line-height: .99; max-width: 620px; font-weight: 500; margin: 23px 0 22px; letter-spacing: -.065em; }
.hero-lead { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 30px 0 32px; }
.trust-row { display: flex; flex-wrap: wrap; column-gap: 17px; row-gap: 10px; color: var(--muted); font-size: 11px; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 4px; }
.trust-row svg { color: #5f9283; }
.hero-visual { position: relative; margin: 0 14px 0 0; }
.hero-visual > img { width: 100%; height: min(490px, 39vw); min-height: 390px; object-fit: cover; object-position: 51% center; display: block; border-radius: 250px 250px 130px 130px; }
.hero-visual:before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid #dbc8b7; border-radius: 250px 250px 130px 130px; z-index: -1; }
.hero-sticker { position: absolute; left: -52px; bottom: 26px; width: 265px; padding: 15px 18px; display: flex; gap: 11px; align-items: center; background: var(--surface); border-radius: 14px; box-shadow: 0 14px 45px rgba(31,51,43,.15); }
.sticker-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; color: var(--accent); background: #fae7df; border-radius: 50%; }
.hero-sticker strong { display: block; font-size: 11px; line-height: 1.3; }
.hero-sticker small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.35; color: var(--muted); }
.hero-sun { position: absolute; right: -35px; top: 18px; color: var(--accent); font-size: 49px; font-family: Georgia,serif; }
.mode-section { padding: 95px 0 106px; background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.section-heading h2, .steps-section h2, .editorial-copy h2, .privacy-band h2, .faq-section h2, .final-band h2 { font-family: Georgia, "Times New Roman",serif; font-size: clamp(36px, 3.4vw, 53px); font-weight: 500; line-height: 1.13; margin: 13px 0 9px; }
.section-heading p { font-size: 14px; color: var(--muted); margin: 0; }
.section-flower { color: var(--accent); font-size: 75px; line-height: .8; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mode-card { text-align: left; position: relative; border: 1px solid var(--line); min-height: 228px; padding: 22px; border-radius: 20px; background: var(--surface); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.mode-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8b3a5; }
.mode-top { display: flex; align-items: start; justify-content: space-between; }
.mode-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; }
.tone-peach .mode-icon { background: #fae4d9; color: #c76e56; }.tone-lilac .mode-icon { background: #eae5f5; color: #8976aa; }.tone-sand .mode-icon { background: #f6ebd8; color: #a38146; }.tone-blue .mode-icon { background: #e3eff0; color: #4d8588; }.tone-mint .mode-icon { background: #e4eee5; color: #64856b; }.tone-rose .mode-icon { background: #f4e7ea; color: #b2738d; }
.mode-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.mode-index { font-family: Georgia, serif; font-size: 12px; color: #b7b5aa; }
.mode-name { display: block; font-family: Georgia,serif; font-size: 25px; margin-top: 27px; letter-spacing: -.045em; }
.mode-description { display: block; font-size: 12px; line-height: 1.55; color: var(--muted); margin-top: 8px; max-width: 245px; }
.mode-arrow { position: absolute; right: 22px; bottom: 22px; color: var(--accent); }
.steps-section { padding: 110px 0 118px; }
.section-heading.centered { flex-direction: column; align-items: center; text-align: center; margin-bottom: 42px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.steps-grid article { border-top: 1px solid var(--line); padding: 29px 20px 0 0; position: relative; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); }
.step-no { position: absolute; top: 36px; right: 15px; font-family: Georgia,serif; font-size: 30px; color: #cfc9bd; }
.steps-grid h3 { font-family: Georgia,serif; font-weight: 500; font-size: 25px; margin: 25px 0 8px; }
.steps-grid p { color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 295px; }
.privacy-band { background: #e9eee6; color: #24433c; padding: 43px 0; }
.privacy-band-inner { display: flex; align-items: center; gap: 36px; }
.privacy-band h2 { font-size: 34px; margin: 6px 0; }
.privacy-band p { font-size: 13px; line-height: 1.6; margin: 0; max-width: 620px; }
.privacy-orbit { flex: 0 0 93px; width: 93px; height: 93px; display: grid; place-items: center; border: 1px solid #a9c2b3; border-radius: 50%; color: #5c8771; }
.privacy-band .button { margin-left: auto; background: transparent; border-color: #a7bcb0; }
.editorial-section { padding: 115px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 105px; align-items: center; }
.editorial-art { position: relative; height: 400px; background: #e8e9de; border-radius: 180px 180px 26px 26px; overflow: hidden; display: grid; place-items: center; }
.editorial-orbit { border: 1px solid rgba(64,100,84,.23); position: absolute; width: 310px; height: 310px; border-radius: 50%; }
.orbit-two { width: 410px; height: 410px; }
.editorial-face { position: relative; z-index: 1; color: #527b6b; width: 200px; height: 235px; display: grid; place-items: center; border-radius: 120px 120px 72px 72px; background: linear-gradient(140deg,#b6cdb6,#91b1a1); box-shadow: 18px 22px 0 rgba(53,93,75,.08); }
.feature-chip { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; background: #fffdfa; color: #496d5d; box-shadow: 0 8px 15px rgba(35,65,50,.1); }
.chip-eyes { top: 80px; left: 45px; }.chip-shape { right: 25px; top: 160px; }.chip-smile { bottom: 75px; left: 60px; }
.editorial-copy h2 { max-width: 370px; }
.editorial-copy p { line-height: 1.75; color: var(--muted); font-size: 14px; max-width: 455px; }
.feature-list { padding: 0; list-style: none; margin: 23px 0; display: grid; gap: 11px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.feature-list svg { color: #648d73; }
.limits-section { background: var(--soft); padding: 37px 0; }
.limits-inner { display: flex; gap: 24px; align-items: center; }
.limits-icon { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; background: var(--surface); color: var(--accent); border-radius: 50%; }
.limits-inner h2 { font-size: 20px; margin: 0 0 6px; }
.limits-inner p { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 740px; margin: 0; }
.limits-inner .button { margin-left: auto; }
.faq-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: 90px; padding: 110px 0; }
.faq-note { color: var(--muted); max-width: 290px; font-size: 13px; line-height: 1.6; }
.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; font-size: 15px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-size: 21px; font-weight: 400; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 550px; padding-bottom: 10px; }
.final-band { margin-bottom: 95px; padding: 50px 58px; display: flex; align-items: center; gap: 30px; background: #294b43; color: #fff8ec; border-radius: 22px; }
.final-band .section-kicker { color: #e7aa8c; }.final-band h2 { max-width: 575px; font-size: 38px; margin-bottom: 0; }
.final-band .button { margin-left: auto; }.final-sparkle { font-size: 75px; color: #e7aa8c; }
.site-footer { background: #19342f; color: #e7e9df; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 35px; }
.footer-brand { color: #fff; }.site-footer .brand-ai { color: #e7aa8c; }.site-footer p { color: #b2c4b9; font-size: 12px; line-height: 1.6; max-width: 260px; margin: 19px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 15px; align-content: start; }
.footer-links button { text-align: left; color: #d1ded4; }
.footer-side { display: grid; align-content: start; gap: 13px; font-size: 11px; line-height: 1.6; color: #b2c4b9; }

.work-page, .result-page { padding: 42px 0 104px; min-height: 680px; }
.page-back-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.muted-link, .result-privacy { color: var(--muted); font-size: 12px; }.result-privacy { display: flex; align-items: center; gap: 6px; }
.work-intro { margin: 56px 0 34px; max-width: 700px; }.work-intro h1, .result-heading h1, .info-page h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(42px,5vw,64px); margin: 12px 0 13px; line-height: 1.05; }.work-intro p, .result-heading p { color: var(--muted); font-size: 15px; line-height: 1.65; }.work-trust { display: flex; align-items: center; gap: 7px; color: #698675; font-size: 11px; font-weight: 700; margin-top: 25px; }
.slot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }.slot-grid.single-slot { grid-template-columns: minmax(280px, 560px); }
.photo-slot { min-width: 0; padding: 17px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; transition: border-color .2s, background .2s; }.photo-slot.is-dragging { border-color: var(--accent); background: var(--soft); }.photo-slot.has-error { border-color: #c66459; }
.slot-head { display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin-bottom: 13px; }.slot-head strong { font-size: 14px; }.optional-badge { padding: 4px 8px; color: var(--muted); background: var(--soft); border-radius: 99px; font-size: 10px; }
.slot-empty { min-height: 232px; border: 1.5px dashed #c8d0c8; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }.slot-empty p { color: var(--muted); font-size: 12px; margin: 10px 0 18px; }
.slot-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #668b75; background: var(--soft); }.slot-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }.button-slot { background: var(--ink); color: var(--bg); min-height: 40px; padding-inline: 15px; font-size: 11px; }.button-camera { border-color: var(--line); background: var(--surface); color: var(--ink); min-height: 40px; padding-inline: 13px; font-size: 11px; }
.slot-preview { position: relative; min-height: 232px; overflow: hidden; border-radius: 12px; background: var(--soft); }.slot-preview img { width: 100%; height: 232px; display: block; object-fit: cover; }.slot-preview-shade { position: absolute; inset: 48% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.5)); }.slot-preview-actions { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 7px; }.mini-button { border: 0; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 99px; color: #223d36; background: #fff; min-height: 35px; flex: 1; font-size: 11px; font-weight: 700; }.mini-button:hover { background: #f4e4dd; }.slot-error { color: #b44238; font-size: 11px; line-height: 1.5; margin: 10px 3px 0; }
.count-controls { display: flex; align-items: center; gap: 12px; margin-top: 25px; }.count-controls span { font-size: 12px; color: var(--muted); }.count-controls .button { min-height: 40px; }
.help-note { color: var(--muted); font-size: 13px; }
.submit-panel { display: flex; align-items: center; gap: 20px; margin-top: 37px; padding: 24px 26px; background: var(--soft); border-radius: 18px; }.submit-panel > div { display: flex; align-items: center; gap: 14px; min-width: 0; }.submit-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: #72907e; }.submit-panel strong { display: block; font-size: 13px; line-height: 1.4; }.submit-panel small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.5; color: var(--muted); }.submit-panel .button { margin-left: auto; }
.analysis-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(18,37,32,.68); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }.analysis-card { position: relative; text-align: center; width: min(100%, 480px); padding: 52px 40px 38px; background: var(--surface); color: var(--ink); border-radius: 23px; box-shadow: 0 25px 80px rgba(0,0,0,.25); }.close-progress { position: absolute; top: 15px; right: 15px; }.analysis-orbit { width: 96px; height: 96px; margin: 0 auto 27px; color: var(--accent); background: var(--soft); border-radius: 50%; display: grid; place-items: center; }.analysis-orbit svg { animation: spin 4s linear infinite; }.analysis-card h2 { font-family: Georgia, serif; font-size: 32px; font-weight: 500; margin: 10px 0; }.analysis-card p { color: var(--muted); font-size: 13px; }.progress-track { height: 6px; background: var(--soft); border-radius: 6px; margin-top: 30px; overflow: hidden; }.progress-track span { display: block; width: 40%; height: 100%; background: var(--accent); border-radius: 6px; animation: progress 2.5s ease-in-out infinite alternate; }.progress-stage { margin: 11px 0 18px; font-weight: 700; }
.review-page { padding: 40px 0 100px; }.review-page .work-intro { margin-bottom: 24px; }.quality-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0; }.quality-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 15px; }.quality-card .quality-icon { display: grid; place-items: center; border-radius: 50%; flex: 0 0 38px; height: 38px; background: var(--soft); color: #718d73; }.quality-card h3 { font-size: 14px; margin: 0 0 4px; }.quality-card p { color: var(--muted); font-size: 11px; margin: 0; }.quality-card > strong { margin-left: auto; font-size: 13px; }.review-actions { display: flex; justify-content: flex-end; gap: 10px; }.group-stage { position: relative; width: min(100%, 750px); background: var(--soft); border-radius: 20px; overflow: hidden; }.group-stage img { display: block; width: 100%; height: auto; }.face-box { position: absolute; background: rgba(237,159,119,.12); border: 3px solid #fff; color: #243b31; border-radius: 17px; box-shadow: 0 0 0 2px #ce755c; min-width: 30px; min-height: 30px; }.face-box.selected { background: rgba(211,105,73,.33); box-shadow: 0 0 0 5px #c36550; }.face-box span { position: absolute; top: -14px; left: -12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 12px; font-weight: 800; }
.result-heading { text-align: center; margin: 39px 0 42px; }.result-heading h1 { margin-top: 14px; }.result-heading p { margin: 0; }
.parent-result, .closest-result, .detail-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }.parent-result { padding: 34px 43px 30px; }.parent-result-top { display: flex; align-items: center; justify-content: space-between; }.parent-result-top h2, .closest-result h2 { font-family: Georgia,serif; font-weight: 500; font-size: 30px; margin: 8px 0 0; }.parent-result-top svg { color: var(--accent); }
.parents-row { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; align-items: end; margin: 22px 0 23px; }.parent-person, .child-person { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }.result-avatar { width: 98px; height: 98px; display: grid; place-items: center; background: var(--soft); color: var(--accent); border-radius: 50%; overflow: hidden; border: 5px solid var(--bg); box-shadow: 0 0 0 1px var(--line); font-family: Georgia,serif; font-size: 36px; }.result-avatar.large { width: 122px; height: 122px; }.result-avatar img { width: 100%; height: 100%; object-fit: cover; }.parent-person > span:nth-child(2), .child-person > span:nth-child(2) { font-size: 13px; font-weight: 700; }.parent-person strong { font-family: Georgia,serif; font-size: 40px; font-weight: 500; line-height: 1; }.parent-person strong small { font-size: 24px; }.child-spark { position: absolute; top: -5px; right: 30%; color: var(--accent); }.split-bar { width: min(760px,100%); height: 13px; margin: 0 auto 22px; border-radius: 100px; overflow: hidden; background: #96b4a7; }.split-bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .9s ease; }.result-caveat { display: flex; align-items: start; justify-content: center; gap: 9px; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }.result-caveat svg { flex: 0 0 17px; margin-top: 1px; }.raw-scores { display: flex; justify-content: center; gap: 22px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px; }.raw-scores strong { color: var(--ink); margin-left: 5px; }
.closest-result { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 45px; }.closest-result p { color: var(--muted); font-size: 12px; max-width: 580px; line-height: 1.6; margin: 13px 0 0; }.closest-people { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; font-size: 18px; font-weight: 700; margin-top: 20px; }.pair-connector { color: var(--accent); }.lead-number { color: var(--accent); white-space: nowrap; }.lead-number strong { font-family: Georgia, serif; font-size: 76px; font-weight: 500; }.lead-number span { font-size: 20px; }
.result-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 18px; margin: 18px 0; }.detail-panel { padding: 27px; box-shadow: none; }.panel-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }.panel-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fae7df; color: #c26c55; }.panel-icon.soft { background: #e6eee7; color: #648e75; }.panel-heading h2 { margin: 0; font-family: Georgia,serif; font-size: 24px; font-weight: 500; }.feature-row { display: grid; grid-template-columns: 120px minmax(75px,1fr) 35px auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 12px; }.feature-name { font-weight: 650; }.feature-track { background: var(--soft); height: 6px; border-radius: 6px; overflow: hidden; }.feature-track > span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }.feature-row strong { font-size: 12px; }.feature-row small { color: var(--muted); min-width: 90px; text-align: right; }.panel-footnote, .panel-intro { font-size: 11px; line-height: 1.55; color: var(--muted); margin: 16px 0 0; }.panel-intro { margin: 0 0 17px; }.quality-result-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 13px 0; font-size: 12px; font-weight: 650; }.quality-result-row div { text-align: right; }.quality-result-row strong { display: block; }.quality-result-row small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }
.ranking-panel, .matrix-panel { margin: 18px 0; }.ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }.rank-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }.rank-row > strong { margin-left: auto; }.rank-number { color: var(--accent); font-family: Georgia,serif; font-size: 17px; }.rank-x { color: var(--muted); }
.matrix-scroll { overflow-x: auto; }.matrix-panel table { width: 100%; border-collapse: collapse; min-width: 450px; }.matrix-panel th,.matrix-panel td { padding: 11px; text-align: center; border-bottom: 1px solid var(--line); font-size: 11px; }.matrix-panel th { font-weight: 700; }.matrix-panel tbody th { text-align: left; white-space: nowrap; }.matrix-panel td { color: var(--accent); font-weight: 800; }.matrix-panel .diagonal { color: var(--muted); background: var(--soft); }
.meaning-panel { display: flex; gap: 16px; background: var(--soft); padding: 24px; border-radius: 16px; margin: 20px 0 30px; }.meaning-panel svg { color: var(--accent); flex: 0 0 23px; }.meaning-panel h2 { font-size: 17px; margin: 0 0 7px; }.meaning-panel p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0; }.result-actions { display: flex; align-items: start; justify-content: space-between; gap: 16px; }.result-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }.sr-status { margin-top: 12px; color: var(--muted); font-size: 12px; }
.info-page { min-height: 700px; padding: 44px 0 110px; }.info-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; margin-top: 60px; }.info-page h1 { max-width: 390px; }.info-icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--soft); color: var(--accent); border-radius: 50%; margin-top: 30px; }.info-icon svg { width: 31px; height: 31px; }.info-card { border-top: 1px solid var(--line); padding: 23px 0; }.info-card > span { display: flex; align-items: center; gap: 9px; color: var(--accent); font: 16px Georgia,serif; }.info-card p { font-size: 15px; line-height: 1.8; margin: 15px 0 0; color: var(--muted); }.research-links { display: grid; gap: 10px; margin: 15px 0 30px; }.research-links h2 { font-size: 18px; }.research-links a { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; }.info-cta { background: var(--soft); padding: 25px; border-radius: 16px; }.info-cta p { color: var(--muted); line-height: 1.65; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes progress { to { width: 86%; } }
@media (max-width: 1070px) { .nav-row { gap: 22px; }.nav-links { gap: 15px; }.hero { gap: 38px; }.hero h1 { font-size: clamp(54px,6vw,75px); }.hero-sticker { left: -25px; }.editorial-section { gap: 55px; } }
@media (max-width: 820px) { .container { width: min(100% - 40px,1200px); }.nav-row { min-height: 70px; }.nav-links { display: none; position: absolute; top: 70px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 25px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }.nav-links.is-open { display: flex; }.nav-links button { text-align: left; padding: 13px; }.menu-button { display: inline-grid; }.header-cta { display: none; }.hero { grid-template-columns: 1fr 1fr; gap: 25px; min-height: 0; padding-block: 60px; }.hero h1 { font-size: 54px; }.hero-visual > img { min-height: 390px; height: 440px; }.hero-sticker { left: -20px; width: 230px; }.mode-grid { grid-template-columns: repeat(2,1fr); }.privacy-band-inner { flex-wrap: wrap; }.privacy-band .button { margin-left: 128px; }.editorial-section { gap: 35px; }.editorial-art { height: 350px; }.faq-section { gap: 35px; }.slot-grid { grid-template-columns: repeat(2,1fr); }.result-grid { grid-template-columns: 1fr; }.info-layout { gap: 35px; } }
@media (max-width: 640px) { .container { width: min(100% - 32px,1200px); }.brand { font-size: 19px; }.brand-mark { width: 32px; height: 32px; }.nav-actions { margin-left: auto; gap: 6px; }.theme-button { display: inline-grid; }.language-control { padding-inline: 7px; }.language-control svg { display: none; }.language-control select { max-width: 63px; }.hero { display: flex; flex-direction: column; align-items: stretch; padding: 48px 0 68px; gap: 35px; }.hero h1 { font-size: clamp(54px,13vw,76px); margin: 20px 0; }.hero-lead { font-size: 15px; }.hero-actions { margin: 26px 0; }.trust-row { max-width: 340px; }.hero-visual { margin: 0 18px 0 14px; }.hero-visual > img { height: 380px; min-height: 0; border-radius: 200px 200px 95px 95px; }.hero-visual:before { border-radius: 200px 200px 95px 95px; }.hero-sticker { left: -20px; bottom: 20px; width: 245px; }.hero-sun { right: -20px; }.mode-section { padding: 73px 0; }.section-heading h2, .steps-section h2, .editorial-copy h2, .faq-section h2 { font-size: 37px; }.section-flower { font-size: 50px; }.mode-grid { gap: 10px; }.mode-card { min-height: 205px; padding: 16px; }.mode-name { font-size: 21px; margin-top: 20px; }.mode-description { font-size: 11px; padding-right: 8px; }.mode-arrow { right: 13px; bottom: 13px; }.steps-section { padding: 82px 0; }.steps-grid { grid-template-columns: 1fr; gap: 21px; }.steps-grid article { padding-top: 20px; }.steps-grid h3 { margin: 13px 0 6px; }.steps-grid p { margin-bottom: 0; }.privacy-band-inner { display: grid; grid-template-columns: 65px 1fr; gap: 16px; }.privacy-orbit { width: 65px; height: 65px; flex-basis: 65px; }.privacy-orbit svg { width: 27px; }.privacy-band h2 { font-size: 26px; }.privacy-band p { font-size: 12px; }.privacy-band .button { grid-column: 2; margin: 0; justify-self: start; }.editorial-section { display: flex; flex-direction: column; padding: 79px 0; gap: 45px; }.editorial-art { width: 100%; height: 315px; }.editorial-copy { align-self: stretch; }.limits-inner { flex-wrap: wrap; gap: 12px; }.limits-inner > div { flex: 1 1 75%; }.limits-inner .button { margin-left: 70px; }.faq-section { display: block; padding: 78px 0; }.faq-list { margin-top: 30px; }.final-band { padding: 36px 26px; margin-bottom: 65px; display: block; }.final-sparkle { font-size: 52px; }.final-band h2 { font-size: 34px; margin-bottom: 24px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }.footer-grid > div:first-child { grid-column: 1 / -1; }.footer-side { grid-column: 1 / -1; }.work-page, .result-page { padding: 29px 0 70px; }.work-intro { margin: 45px 0 27px; }.slot-grid { grid-template-columns: 1fr; }.slot-empty,.slot-preview,.slot-preview img { min-height: 210px; height: 210px; }.submit-panel { align-items: stretch; flex-direction: column; padding: 18px; }.submit-panel .button { margin: 0; }.count-controls { flex-wrap: wrap; }.result-privacy { max-width: 150px; text-align: right; }.parent-result { padding: 25px 16px; }.parent-result-top h2 { font-size: 25px; }.parents-row { gap: 6px; }.result-avatar { width: 71px; height: 71px; }.result-avatar.large { width: 83px; height: 83px; }.parent-person strong { font-size: 31px; }.parent-person strong small { font-size: 18px; }.child-spark { right: 5%; }.raw-scores { flex-direction: column; align-items: center; gap: 7px; }.closest-result { padding: 27px; }.lead-number strong { font-size: 50px; }.feature-row { grid-template-columns: 88px minmax(45px,1fr) 25px; }.feature-row small { grid-column: 1 / -1; text-align: left; }.ranking-grid { grid-template-columns: 1fr; }.result-actions { display: block; }.result-actions > div { margin-bottom: 11px; }.result-actions .button { flex: 1; }.quality-grid { grid-template-columns: 1fr; }.review-actions { flex-wrap: wrap; }.review-actions .button { flex: 1; }.info-layout { display: block; margin-top: 45px; }.info-icon { display: none; }.info-content { margin-top: 30px; } }
@media (max-width: 400px) { .mode-grid { grid-template-columns: 1fr; }.mode-card { min-height: 160px; }.mode-name { margin-top: 15px; }.mode-description { max-width: 280px; }.hero-actions .button { width: 100%; }.nav-row { gap: 8px; }.brand { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
/* Release-hardening additions */
.analysis-spinner { width: 82px; height: 82px; margin: 0 auto 25px; display: block; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 1.2s linear infinite; }
.analysis-progress { height: 6px; overflow: hidden; margin: 26px 0 12px; background: var(--soft); border-radius: 999px; }
.analysis-progress span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .35s ease; }
.analysis-card small { display: block; color: var(--muted); margin-bottom: 18px; }
.analysis-card .button { margin-top: 5px; }
.analysis-privacy { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 16px 0 0 !important; font-size: 11px !important; }
.consent-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(18,37,32,.72); backdrop-filter: blur(9px); }
.consent-card { width: min(100%, 560px); padding: 34px; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 25px 90px rgba(0,0,0,.28); }
.consent-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); }
.consent-card h2 { margin: 20px 0 12px; font: 500 30px/1.15 Georgia,serif; }
.consent-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.consent-card a { display: inline-flex; margin-top: 4px; color: var(--accent); font-size: 12px; font-weight: 700; }
.consent-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.runtime-notice { margin: 20px 0 30px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.runtime-notice h2 { margin: 0 0 10px; font: 500 21px/1.25 Georgia,serif; }
.runtime-notice p { margin: 7px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 640px) {
  .consent-card { padding: 26px 20px; }
  .consent-card h2 { font-size: 26px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .button { width: 100%; }
  .analysis-card { padding: 40px 22px 28px; }
}

.first-load-note { margin-top: 7px !important; max-width: 720px; }
.consent-load-note { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink) !important; font-size: 12px !important; }

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .nav-links button,
html[dir="rtl"] .info-content,
html[dir="rtl"] .work-intro,
html[dir="rtl"] .slot-head,
html[dir="rtl"] .slot-empty,
html[dir="rtl"] .quality-card,
html[dir="rtl"] .detail-panel,
html[dir="rtl"] .faq-list,
html[dir="rtl"] .footer-grid { text-align: right; }
html[dir="rtl"] .nav-actions { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .submit-panel .button { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .privacy-band .button { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .rank-row > strong { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .raw-scores,
html[dir="rtl"] .split-bar,
html[dir="rtl"] .matrix-scroll,
html[dir="rtl"] .lead-number,
html[dir="rtl"] .quality-card > strong { direction: ltr; }
html[dir="rtl"] .matrix-panel tbody th { text-align: right; }
html[dir="rtl"] .feature-row small { text-align: right; }
html[dir="rtl"] .result-caveat { text-align: right; }
html[dir="rtl"] .child-spark { right: auto; left: 30%; }
html[dir="rtl"] .mode-arrow { right: auto; left: 22px; transform: scaleX(-1); }
html[dir="rtl"] .text-link svg:last-child,
html[dir="rtl"] .hero-actions .button svg:last-child,
html[dir="rtl"] .final-band .button svg:last-child,
html[dir="rtl"] .header-cta svg:last-child { transform: scaleX(-1); }

@media (max-width: 820px) {
  html[dir="rtl"] .nav-links button { text-align: right; }
}

@media (max-width: 640px) {
  html[dir="rtl"] .privacy-band .button { margin: 0; }
  html[dir="rtl"] .limits-inner .button { margin-right: 70px; margin-left: 0; }
  html[dir="rtl"] .child-spark { right: auto; left: 5%; }
}

/* Ultra-narrow header guard: keep 320px layouts free of horizontal overflow. */
@media (max-width: 360px) {
  .site-header .brand > span:last-child { display: none; }
  .language-control select { max-width: 76px; }
}
