html { scroll-padding-top: 22px; }
body { background: #faf9f7; }
button, textarea, input { font: inherit; }
[hidden] { display: none !important; }
.top { max-width: 1220px; border-bottom-color: #e9e7e3; }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-actions a { font-size: 13px; font-weight: 750; text-decoration: none; }
.top-actions a:hover, .top-actions a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.top-actions a:first-child { color: #64438e; }
.register-page { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 85px; }
.register-intro { max-width: 875px; margin: 0 0 27px; }
.register-eyebrow, .step-caption { color: #735597; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.register-intro h1 { max-width: 850px; margin: 8px 0 8px; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.052em; }
.register-intro > p { max-width: 700px; margin: 0; color: #5f5d59; font-size: 16px; line-height: 1.5; }
.demo-section { margin-bottom: 20px; }
.demo-section-title { margin: 0 0 12px; color: #63576f; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 20px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.15; letter-spacing: -.042em; }
.section-heading > p { max-width: 345px; margin: 0 0 3px; color: #6c6964; font-size: 13px; line-height: 1.55; }
.demo-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: stretch; }
.demo-products, .question-card { border: 1px solid #e4e1dc; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(30,24,18,.035); }
.demo-products { padding: 17px; }
.product-switch { display: flex; gap: 7px; margin-bottom: 14px; padding: 4px; border-radius: 11px; background: #f4f2ef; }
.product-switch button { flex: 1; min-height: 41px; border: 0; border-radius: 8px; background: transparent; color: #67645e; font-size: 13px; font-weight: 800; cursor: pointer; }
.product-switch button[aria-pressed="true"] { background: #fff; color: #211f1d; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.product-switch button:focus-visible { outline: 2px solid #7656a6; outline-offset: 2px; }
.demo-product { display: grid; grid-template-columns: minmax(155px, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: center; }
.demo-product img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 13px; object-fit: cover; }
.product-info > span { display: block; margin-bottom: 5px; color: #77716d; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.product-info h3 { margin: 0 0 13px; font-size: 21px; line-height: 1.18; letter-spacing: -.035em; }
.product-info dl { margin: 0; }
.product-info dl > div { padding: 7px 0; border-top: 1px solid #eeeae6; }
.product-info dt { margin-bottom: 1px; color: #77716d; font-size: 11px; }
.product-info dd { margin: 0; color: #252321; font-size: 12px; font-weight: 750; line-height: 1.35; }
.question-card { display: flex; flex-direction: column; padding: clamp(23px, 3vw, 34px); }
.question-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.question-avatar { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #ece6f4; color: #64438e; font-size: 20px; font-weight: 850; }
.question-card-head strong, .question-card-head small { display: block; }
.question-card-head strong { font-size: 17px; letter-spacing: -.015em; }
.question-card-head small { margin-top: 2px; color: #77716d; font-size: 12px; line-height: 1.35; }
.question-card form label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.question-card textarea { display: block; width: 100%; min-height: 95px; padding: 15px 16px; border: 1px solid #d5d0ca; border-radius: 13px; resize: vertical; background: #fff; color: #222; font-size: 15px; line-height: 1.5; }
.sample-prompt { display: inline-block; margin-top: 9px; padding: 0; border: 0; background: none; color: #64438e; font-size: 12px; font-weight: 750; text-align: left; cursor: pointer; }
.sample-prompt:hover, .sample-prompt:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.sample-prompt:disabled { opacity: .55; cursor: default; }
.missing-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #eeeae6; }
.missing-examples > span { flex-basis: 100%; color: #77716d; font-size: 11px; font-weight: 750; }
.missing-examples button { padding: 6px 9px; border: 1px solid #e3ded8; border-radius: 999px; background: #faf9f7; color: #655d54; font-size: 11px; cursor: pointer; }
.missing-examples button:hover, .missing-examples button:focus-visible { border-color: #b8a3d1; color: #64438e; }
.register-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; max-width: 1160px; margin: 0 auto; padding: 0 24px 32px; }
.register-legal a { color: #6b655f; font-size: 11px; }
.question-card textarea:focus, .assumption-grid input:focus, .account-form-card input:focus { outline: 2px solid #b8a3d1; outline-offset: 1px; }
.question-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 15px; }
.question-actions small { max-width: 240px; color: #79736e; font-size: 11px; line-height: 1.4; }
.question-actions button, .create-account, .register-next > a, .result-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 11px 18px; border: 1px solid #211f1d; border-radius: 10px; background: #211f1d; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; }
.question-actions button:hover, .create-account:hover, .register-next > a:hover, .result-actions a:hover { background: #403b37; }
.question-actions button:disabled { opacity: .65; cursor: wait; }
.demo-result { margin-top: 21px; padding: 19px; border: 1px solid #d9e8dd; border-radius: 13px; background: #f5faf6; }
.demo-result.is-review { border-color: #ece0c4; background: #fffbf2; }
.demo-result.is-error { border-color: #ead3d3; background: #fff7f7; }
.demo-result.is-loading { border-color: #e8e1ef; background: #faf8fd; }
.result-label { display: block; margin-bottom: 8px; color: #34634b; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.is-review .result-label { color: #886022; }
.is-error .result-label { color: #a34242; }
.is-loading .result-label { color: #7656a6; }
.demo-result p { margin: 0; font-size: 15px; line-height: 1.65; }
.result-source, .result-missing { display: block; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(0,0,0,.09); color: #555d56; font-size: 12px; line-height: 1.5; }
.result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.result-actions a { min-height: 39px; padding: 9px 13px; font-size: 12px; }
.result-actions a.secondary { border-color: #c8d0c9; background: transparent; color: #253e2c; }
.result-actions a.secondary:hover { background: #e7f0e8; }
.demo-foot { margin-top: auto; padding-top: 14px; color: #817b74; font-size: 11px; line-height: 1.4; }
.register-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 24px 28px; border: 1px solid #ddd5e5; border-radius: 18px; background: #eee8f4; }
.register-next h2 { margin: 5px 0 3px; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.04em; }
.register-next p { margin: 0; color: #625b68; font-size: 13px; }
.register-next > a { flex: 0 0 auto; }
.account-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 38px; align-items: start; padding: clamp(28px, 4vw, 50px); border: 1px solid #e1dde7; border-radius: 22px; background: #f0eaf5; scroll-margin-top: 22px; }
.register-page.is-enhanced .account-panel:not(.is-open) { display: none; }
.account-copy h2 { max-width: 430px; margin: 12px 0 15px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.account-copy p { margin: 0; color: #61596a; font-size: 15px; line-height: 1.65; }
.account-copy .account-safety { margin-top: 17px; font-size: 13px; font-weight: 750; }
.account-form-card { padding: clamp(23px, 3vw, 32px); border: 1px solid #e2dce8; border-radius: 16px; background: #fff; }
.account-form-card label { display: block; margin: 13px 0 7px; font-size: 12px; font-weight: 800; }
.account-form-card input:not([type="hidden"]) { display: block; width: 100%; height: 47px; padding: 0 12px; border: 1px solid #d4d0d6; border-radius: 9px; background: #fff; color: #252321; }
.account-form-card .field-grid { gap: 12px; }
.account-form-card .field-grid label { margin-top: 0; }
.account-form-card .field-help { margin: 9px 0 0; }
.create-account { width: 100%; margin-top: 20px; }
.account-form-card .fine { margin-top: 13px; }
.account-form-card .fine a { color: #68448d; font-weight: 750; }
@media (max-width: 950px) {
  .demo-product { grid-template-columns: 1fr; }
  .demo-product img { max-height: 235px; object-fit: contain; background: #f2f0ea; }
  .product-info { padding: 0 3px 4px; }
  .product-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
}
@media (max-width: 760px) {
  .register-page { padding-top: 38px; }
  .register-next { align-items: stretch; flex-direction: column; }
  .demo-layout, .account-panel { grid-template-columns: 1fr; }
  .demo-product { grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr); }
  .demo-product img { max-height: none; }
  .account-panel { gap: 24px; }
}
@media (max-width: 580px) {
  .top { padding: 17px 16px; }
  .top-actions { gap: 10px; }
  .top-actions a { font-size: 11px; }
  .top-actions a:first-child { max-width: 85px; text-align: right; line-height: 1.2; }
  .register-page { width: calc(100% - 30px); padding-top: 24px; padding-bottom: 65px; }
  .register-intro { margin-bottom: 18px; }
  .register-intro h1 { margin: 7px 0 8px; font-size: clamp(34px, 8.5vw, 44px); }
  .register-intro > p { font-size: 14px; line-height: 1.5; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 8px; }
  .demo-section { margin-bottom: 18px; }
  .register-next { padding: 20px; }
  .register-next > a { width: 100%; }
  .demo-products { padding: 12px; }
  .demo-product { grid-template-columns: 82px 1fr; gap: 11px; }
  .demo-product img { width: 82px; }
  .product-info h3 { font-size: 17px; }
  .product-info dl { display: block; }
  .product-info dl > div { padding: 4px 0; }
  .product-info dl > div:nth-child(n+3) { display: none; }
  .product-info dt, .product-info dd { font-size: 10px; }
  .question-card { padding: 22px 18px; }
  .question-card-head { margin-bottom: 21px; }
  .question-actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .question-actions button { width: 100%; }
  .account-panel { padding: 24px 17px; }
  .account-form-card { padding: 21px 16px; }
  .account-form-card .field-grid { display: block; }
  .account-form-card .field-grid > div + div { margin-top: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
