:root {
  --ink: #172b2a;
  --muted: #687674;
  --paper: #f5f2eb;
  --panel: #fffdf8;
  --line: #d9dfd8;
  --teal: #1e7770;
  --teal-dark: #14544f;
  --coral: #e7765f;
  --yellow: #f4c95d;
  --shadow: 0 24px 70px rgba(28, 54, 49, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .32; background-image: radial-gradient(#b8c6bc 0.65px, transparent 0.65px); background-size: 18px 18px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.page-shell { position: relative; max-width: 1320px; margin: auto; padding: 0 42px; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .03em; text-decoration: none; text-transform: lowercase; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; color: white; border-radius: 50%; background: var(--teal); font-size: 21px; line-height: 1; }
.brand-accent { color: var(--coral); }
.header-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(231, 118, 95, .14); }
.intro-section { display: grid; grid-template-columns: minmax(0, 1fr) 370px; min-height: 315px; align-items: center; padding: 47px 5% 38px; }
.eyebrow, .section-kicker { margin: 0 0 15px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 630px; margin-bottom: 18px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 5.2vw, 71px); line-height: .98; letter-spacing: 0; }
h1 em { color: var(--teal); font-style: normal; }
.intro-text { max-width: 480px; margin-bottom: 27px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.trust-row { display: flex; gap: 25px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro-art { position: relative; width: 280px; height: 210px; margin: auto; }
.sun-disc { position: absolute; top: 29px; right: 17px; width: 138px; height: 138px; border-radius: 50%; background: var(--yellow); }
.orbit { position: absolute; border: 1px solid var(--teal); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { inset: 4px 0 60px 31px; }
.orbit-two { inset: 37px 20px 26px 0; border-color: var(--coral); }
.art-label { position: absolute; bottom: 11px; left: 42px; color: var(--teal-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 22px; align-items: stretch; }
.assessment-panel, .result-panel { border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }
.assessment-panel { padding: 32px 38px 29px; background: var(--panel); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; line-height: 1.1; }
.required-note { color: var(--muted); font-size: 11px; }
fieldset { padding: 24px 0 3px; border: 0; border-bottom: 1px solid var(--line); }
fieldset:last-of-type { border-bottom: 0; }
legend { margin-bottom: 17px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field-grid { display: grid; gap: 17px; margin-bottom: 17px; }
.field-grid:last-child { margin-bottom: 0; }
.three-columns { grid-template-columns: repeat(3, 1fr); }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.field b { color: var(--coral); }
.field output { float: right; color: var(--teal); font-weight: 700; }
input, select { width: 100%; min-height: 43px; padding: 0 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; outline: 0; background: #faf9f4; font-size: 13px; }
input::placeholder { color: #a7b0ab; }
input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 119, 112, .1); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.range-field { padding-top: 1px; }
input[type="range"] { min-height: 0; height: 28px; padding: 0; border: 0; accent-color: var(--teal); background: transparent; }
.range-labels { display: flex; justify-content: space-between; margin-top: -7px; color: #a0aaa4; font-size: 9px; font-weight: 400; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; }
.form-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.lock-icon { display: inline-grid; width: 19px; height: 19px; margin-right: 5px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); }
.primary-button { display: flex; align-items: center; gap: 20px; border: 0; border-radius: 2px; padding: 14px 17px; color: white; background: var(--teal); font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.form-error { margin: 15px 0 0; color: #b34e3b; font-size: 12px; }
.result-panel { position: relative; min-height: 520px; overflow: hidden; padding: 32px 31px; color: white; background: var(--teal-dark); }
.result-panel::before { position: absolute; top: -125px; right: -130px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ""; }
.result-topline { position: relative; display: flex; justify-content: space-between; }
.result-panel .section-kicker { color: var(--yellow); }
.model-tag { color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .1em; }
.result-empty { position: relative; max-width: 250px; margin: 102px auto 0; text-align: center; }
.empty-symbol { display: grid; width: 61px; height: 61px; margin: 0 auto 22px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--yellow); font-size: 38px; font-weight: 300; }
.result-empty h2 { margin-bottom: 14px; font-family: "Playfair Display", Georgia, serif; font-size: 27px; line-height: 1.08; }
.result-empty p { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.65; }
.result-content { position: relative; margin-top: 78px; }
.score-label { margin-bottom: 10px; color: rgba(255,255,255,.65); font-size: 12px; }
.score-wrap { display: flex; align-items: baseline; gap: 9px; margin-bottom: 22px; }
.score-wrap strong { color: var(--yellow); font-family: "Playfair Display", Georgia, serif; font-size: 92px; line-height: .85; }
.score-wrap span { color: rgba(255,255,255,.6); font-size: 15px; }
.score-meter { height: 7px; margin-bottom: 25px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.17); }
.score-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--yellow); transition: width 1s ease-out; }
.score-message { max-width: 275px; color: white; font-family: "Playfair Display", Georgia, serif; font-size: 21px; line-height: 1.25; }
.result-divider { height: 1px; margin: 25px 0 18px; background: rgba(255,255,255,.18); }
.result-footnote { color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.6; }
.text-button { padding: 0; border: 0; color: var(--yellow); background: transparent; font-size: 11px; font-weight: 700; }
.text-button span { display: inline-block; margin-left: 7px; transition: transform .2s; }
.text-button:hover span { transform: translate(3px, -3px); }
.result-decoration { position: absolute; right: 28px; bottom: 28px; display: flex; gap: 5px; }
.result-decoration span { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.result-decoration span:nth-child(2) { background: var(--yellow); }
.site-footer { display: flex; justify-content: space-between; padding: 25px 5%; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
@media (max-width: 850px) { .page-shell { padding: 0 20px; } .intro-section { grid-template-columns: 1fr; padding: 50px 3% 33px; } .intro-art { display: none; } .workspace-grid { grid-template-columns: 1fr; } .result-panel { min-height: 400px; } .result-empty { margin-top: 58px; } .result-content { margin-top: 45px; } }
@media (max-width: 560px) { .site-header { height: 70px; } .header-note { font-size: 0; } .header-note .pulse-dot { font-size: initial; } h1 { font-size: 43px; } .trust-row { gap: 12px; font-size: 9px; } .assessment-panel, .result-panel { padding: 25px 20px; } .three-columns, .two-columns { grid-template-columns: 1fr; gap: 15px; } .field-grid { margin-bottom: 15px; } .form-footer { align-items: stretch; flex-direction: column; } .primary-button { justify-content: space-between; } .site-footer { padding: 20px 3%; } }
