:root {
  color-scheme: light;
  --paper: #f9f7f2;
  --ink: #302e37;
  --muted: #706c78;
  --line: #e4e0e6;
  --lavender: #e8e2f1;
  --accent: #54476a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
.intake { max-width: 480px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
.topbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 30px; letter-spacing: -1.5px; }
.brand-dot { color: #88759d; }
.context { font-size: 12px; color: var(--muted); }
.test-notice { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; }
.test-label { flex: none; background: var(--lavender); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .6px; border-radius: 5px; padding: 7px 8px; }
.test-notice p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.test-notice strong { color: var(--ink); font-weight: 600; }
.service { display: flex; align-items: center; gap: 16px; margin: 36px 0 32px; }
.service-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 17px; background: var(--lavender); color: var(--accent); font-family: Georgia, serif; font-size: 30px; }
.eyebrow { margin: 0 0 7px; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; color: var(--muted); }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 27px; line-height: 1.16; letter-spacing: -.5px; overflow-wrap: anywhere; }
.service-caption { margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.intro { margin: 46px 0 28px; }
h2 { font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -.3px; margin: 0 0 12px; }
.intro p, .result p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; text-wrap: pretty; }
.field { margin-bottom: 25px; }
label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 10px; line-height: 1.4; }
.field-note { font-size: 11px; color: var(--muted); align-self: center; }
input, .readonly-origin { width: 100%; min-height: 56px; border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: #fffdfa; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.45; }
.readonly-origin { overflow-wrap: anywhere; background: #f0edf1; color: #57515f; }
input[readonly] { background: #f0edf1; color: #57515f; }
input::placeholder { font-size: 14px; color: #817b88; opacity: 1; }
input:focus-visible, button:focus-visible { outline: 3px solid #86759e; outline-offset: 3px; }
input:focus { border-color: #86759e; }
.primary { border: 1px solid #d9cfe4; border-radius: 11px; min-height: 54px; padding: 15px 18px; width: 100%; background: var(--lavender); color: #45364f; font: inherit; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; touch-action: manipulation; transition: background .15s ease; }
.primary:hover:not(:disabled) { background: #ded5eb; }
.primary:active:not(:disabled) { background: #d7cce6; }
.primary:disabled { cursor: wait; opacity: .7; }
.arrow { font-size: 21px; font-weight: 400; }
.status { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.status:empty { display: none; }
.status[data-tone="error"] { padding: 14px 16px; border-radius: 10px; background: #f3e8e5; color: #853c32; }
.privacy-caption { display: flex; align-items: flex-start; gap: 9px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: #696471; }
.privacy-caption p { margin: 0; font-size: 11px; line-height: 1.7; }
.privacy-caption p span { font-size: 10px; }
.lock { flex: none; margin-top: 2px; }
.result { padding: 28px 0 8px; }
.result-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e4eadf; color: #435c39; font-size: 23px; margin-bottom: 20px; }
.result h2 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.result[data-tone="error"] .result-icon { background: #f3e8e5; color: #853c32; }
@media (min-width: 600px) { .intake { margin-top: 32px; } }
@media (max-width: 340px) { .intake { padding-left: 18px; padding-right: 18px; } .test-notice { gap: 8px; } .service { gap: 12px; } h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
