:root {
  color-scheme: light;
  --bg: #f7f6f2; --surface: #ffffff; --surface-soft: #f1efe9;
  --text: #292e35; --muted: #616771; --border: #dddcd5;
  --gold: #e1b551; --gold-text: #795713; --gold-soft: #f7edce;
  --button-text: #272819; --green: #276044; --green-bg: #e8f1eb;
  --shadow: 0 14px 50px #343b4910; --focus: #775615;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141b24; --surface: #1c2531; --surface-soft: #242f3d;
  --text: #f2f1eb; --muted: #b6bec9; --border: #3c4857;
  --gold: #e1b551; --gold-text: #e9c774; --gold-soft: #352e20;
  --button-text: #272819; --green: #a8d8b9; --green-bg: #213a30;
  --shadow: 0 14px 50px #00000020; --focus: #f4d589;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus { outline: none; }
button, select { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 2.8vw, 43px); font-weight: 500; line-height: 1.15; letter-spacing: -1.6px; }
h2 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.preview-bar { text-align: center; padding: 7px 18px; background: var(--gold-soft); color: var(--gold-text); font-size: 11px; letter-spacing: .5px; font-weight: 600; }
.preview-bar span { padding: 0 7px; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { width: 195px; height: 58px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 240px; max-width: none; height: 71px; margin-left: -27px; }
.logo-dark, [data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.website-link { font-size: 13px; color: var(--muted); }
.website-link span { margin-left: 8px; }
.theme-toggle { background: transparent; border: 1px solid var(--border); border-radius: 30px; padding: 9px 15px; display: flex; align-items: center; gap: 9px; font-size: 12px; }
.theme-toggle > span:first-child { font-size: 18px; line-height: 1; }
.theme-toggle { white-space: nowrap; flex-shrink: 0; }
.with-sidebar { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: calc(100vh - 119px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 36px 22px 22px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-caption { color: var(--muted); font-size: 10px; letter-spacing: 1.4px; padding-left: 15px; }
.sidebar nav { display: flex; flex-direction: column; gap: 7px; }
.sidebar nav a { padding: 12px 14px; display: flex; align-items: center; gap: 12px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.sidebar nav a > span { width: 20px; text-align: center; font-size: 21px; line-height: 1; }
.sidebar nav a[aria-current] { background: var(--gold-soft); color: var(--gold-text); font-weight: 600; }
.sidebar nav a:hover { background: var(--surface-soft); color: var(--text); }
.sidebar-bottom { margin-top: auto; padding-top: 100px; }
.account { display: flex; align-items: center; gap: 10px; padding: 15px 0; border-top: 1px solid var(--border); }
.account strong { display: block; font-size: 12px; }
.account div > span { display: block; color: var(--muted); font-size: 11px; }
.avatar { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%; background: var(--surface-soft); font-size: 11px; }
.sidebar-bottom button { font-size: 11px; }
main { min-width: 0; padding: 43px 44px; max-width: 1600px; width: 100%; margin: 0 auto; }
.eyebrow { display: block; font-size: 10px; letter-spacing: 1.6px; font-weight: 600; color: var(--gold-text); }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.page-heading h1 { margin: 10px 0 12px; }
.page-heading p { color: var(--muted); font-size: 14px; }
.sample-date { flex-shrink: 0; font-size: 11px; color: var(--muted); padding-bottom: 3px; }
.metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.metric { border: 1px solid var(--border); background: var(--surface); padding: 24px; border-radius: 13px; display: flex; flex-direction: column; min-height: 164px; }
.metric.featured { border-color: var(--gold); background: var(--gold-soft); }
.metric-label { font-size: 12px; color: var(--muted); }
.metric strong { font-size: clamp(30px, 2.5vw, 39px); font-weight: 500; letter-spacing: -1.4px; line-height: 1.35; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.metric strong span { font-size: .67em; letter-spacing: -.8px; }
.metric-note, .metric a { font-size: 11px; color: var(--muted); }
.metric a { text-decoration: underline; text-underline-offset: 4px; color: var(--gold-text); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .9fr); gap: 26px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.section-heading > a { font-size: 12px; color: var(--gold-text); }
.project-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.project-art { height: 174px; position: relative; overflow: hidden; background: #e8e4d9; }
.project-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.art-caption { position: absolute; left: 16px; bottom: 12px; font-size: 9px; letter-spacing: 1px; color: #343c43; background: #f7f3e6; padding: 4px 8px; border-radius: 3px; }
.project-body { padding: 23px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10px; margin-bottom: 13px; }
.pill { color: var(--green); background: var(--green-bg); border-radius: 20px; padding: 5px 10px; font-size: 10px; font-weight: 600; }
.project-body > p { margin-top: 5px; font-size: 12px; }
.muted { color: var(--muted); }
dl { margin: 0; }
.project-facts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin: 24px 0; }
dt { font-size: 11px; color: var(--muted); }
dd { margin: 5px 0 0; font-size: 19px; font-weight: 500; }
.project-footer { border-top: 1px solid var(--border); padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; }
.text-button { border: 0; background: none; color: var(--gold-text); padding: 0; font-size: 12px; font-weight: 600; }
.text-button span { margin-left: 8px; }
.next-steps { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.next-steps h2 { font-size: 27px; font-weight: 500; margin: 10px 0; }
.next-steps > p { color: var(--muted); font-size: 12px; }
.timeline { list-style: none; padding: 0; margin: 29px 0 26px; }
.timeline li { display: flex; gap: 13px; position: relative; padding-bottom: 25px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 30px; bottom: 3px; width: 1px; left: 14px; background: var(--border); }
.timeline li > span { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; flex-shrink: 0; font-size: 10px; }
.timeline .complete > span { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-text); }
.timeline strong { display: block; font-size: 12px; font-weight: 600; padding-top: 3px; }
.timeline p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.note-banner { display: flex; align-items: center; gap: 15px; border: 1px solid var(--border); border-radius: 10px; padding: 18px 23px; margin-top: 26px; }
.note-symbol { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--gold-text); color: var(--gold-text); border-radius: 50%; flex-shrink: 0; font: italic 15px Georgia, serif; }
.note-banner strong { font-size: 12px; font-weight: 600; }
.note-banner p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.access-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; max-width: 1100px; margin: 10px auto; align-items: center; }
.access-story h1 { font-size: clamp(44px, 4.7vw, 64px); line-height: 1.1; letter-spacing: -2.6px; margin: 23px 0; }
.access-story h1 em { font-style: normal; font-weight: 300; color: var(--gold-text); }
.intro { color: var(--muted); font-size: 15px; max-width: 390px; }
.access-illustration { margin-top: 25px; }
.access-illustration img { width: 100%; height: 205px; object-fit: cover; object-position: center 56%; border-radius: 12px; }
.access-illustration span { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.access-card { padding: 38px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.small-mark { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--gold); border-radius: 12px; color: var(--gold-text); font-weight: 700; margin-bottom: 27px; font-size: 24px; }
.access-card h2 { font-size: 30px; margin: 9px 0 13px; font-weight: 500; }
.access-card > p { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.access-benefits { list-style: none; padding: 0; margin: 27px 0 32px; }
.access-benefits li { display: flex; gap: 15px; align-items: baseline; margin-bottom: 20px; }
.access-benefits li > span { color: var(--gold-text); font-size: 10px; }
.access-benefits strong { font-size: 13px; font-weight: 600; }
.access-benefits p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 8px; border: 1px solid var(--gold); padding: 12px 20px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.primary-button { background: var(--gold); color: var(--button-text); }
.primary-button:hover { background: #edc774; }
.access-card .primary-button { width: 100%; justify-content: space-between; }
.access-card .demo-explanation { font-size: 11px; margin-top: 17px; line-height: 1.65; }
.secondary-button { background: transparent; border-color: var(--border); color: var(--text); padding: 9px 13px; font-size: 11px; }
.secondary-button:hover { background: var(--surface-soft); }
.investment-list { max-width: 850px; }
.investment-list .project-card + .project-card { margin-top: 22px; }
.login-form { display: grid; gap: 10px; margin-top: 25px; }
.login-form label, .demo-scenarios label { font-size: 12px; font-weight: 600; }
.login-form input { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--text); }
.login-form input[readonly] { background: var(--surface-soft); color: var(--muted); }
.login-form input::placeholder { color: var(--muted); opacity: 1; }
.login-form .primary-button { margin-top: 10px; }
.field-hint { color: var(--muted); font-size: 11px; line-height: 1.65; }
.feedback, .demo-code { padding: 14px; margin-top: 18px; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; background: var(--surface-soft); }
.feedback[role="alert"] { border-color: var(--gold-text); }
.demo-code { background: var(--gold-soft); color: var(--gold-text); }
.demo-code strong { font-size: 16px; }
.demo-code p { font-size: 11px; margin-top: 6px; }
.access-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 20px; }
.demo-scenarios { margin-top: 18px; }
.demo-scenarios summary, .demo-session-tools summary { color: var(--muted); font-size: 11px; }
.demo-scenarios label { display: block; margin: 15px 0 8px; }
.demo-scenarios select { width: 100%; }
.demo-session-tools { margin-top: 14px; border: 0; padding: 0; }
.demo-session-tools button { margin-top: 14px; text-align: left; }
.loading-state { max-width: 660px; margin: 80px auto; }
.loading-state h1 { margin: 16px 0; }
.loading-state p { color: var(--muted); }
.review-pill { color: var(--gold-text); background: var(--gold-soft); }
button:disabled { cursor: not-allowed; color: var(--muted); }
.project-meta { flex-wrap: wrap; }
.project-body h3, .document-name h3, .document-name p, .project-facts dd { overflow-wrap: anywhere; }
.empty-state .secondary-button { margin-top: 20px; }
.plan-list { padding-left: 20px; font-size: 12px; }
.plan-list li + li { margin-top: 10px; }
.investment-list .project-card { display: grid; grid-template-columns: .9fr 1.3fr; }
.investment-list .project-art { height: 100%; min-height: 280px; }
.count { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 20px; padding: 2px 8px; margin-left: 8px; }
.documents-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 27px; }
.filter { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.contract-filter { margin-bottom: 18px; }
.contract-filter select { min-width: 0; }
select { border: 1px solid var(--border); border-radius: 6px; background: var(--surface); padding: 9px; max-width: 100%; font-size: 12px; }
.document-row { display: flex; align-items: center; gap: 17px; padding: 22px 0; border-top: 1px solid var(--border); }
.document-name { flex: 1; min-width: 0; }
.document-name h3 { font-size: 14px; letter-spacing: 0; }
.document-name p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.document-icon { color: var(--gold-text); font-size: 23px; background: var(--gold-soft); border-radius: 7px; width: 41px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
.empty-state { text-align: center; padding: 55px 15px; }
.empty-state > span { font-size: 32px; color: var(--gold-text); }
.empty-state h3 { font-size: 19px; margin: 13px 0; }
.empty-state p, .footnote { color: var(--muted); font-size: 12px; }
.footnote { margin-top: 18px; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 35px; }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { font-size: 14px; cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: 13px; margin-top: 14px; padding-right: 10px; }
.help-card { border: 1px solid var(--border); background: var(--surface); padding: 28px; border-radius: 14px; align-self: start; }
.help-card h2 { font-size: 26px; font-weight: 500; margin: 14px 0; }
.help-card > p { color: var(--muted); font-size: 13px; margin-bottom: 25px; }
.help-card .footnote { font-size: 11px; margin-bottom: 0; }
dialog { border: 1px solid var(--border); border-radius: 16px; padding: 28px; background: var(--surface); color: var(--text); max-width: 560px; width: calc(100% - 32px); max-height: calc(100dvh - 40px); box-shadow: var(--shadow); }
dialog::backdrop { background: #101721ad; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.icon-button { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 50%; width: 36px; height: 36px; font-size: 23px; line-height: 1; }
dialog h2 { font-size: 25px; line-height: 1.25; overflow-wrap: anywhere; }
dialog p { margin-top: 15px; font-size: 13px; }
dialog .primary-button { margin-top: 25px; }
.detail-facts { display: grid; gap: 17px; margin: 25px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.detail-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.detail-facts dd { font-size: 15px; }
.document-stamp { display: block; font-size: 10px; color: var(--gold-text); margin: 0 0 15px; letter-spacing: 1px; }
.sample-document { border: 1px solid var(--border); padding: 25px; margin-top: 20px; border-radius: 8px; background: var(--bg); }
.sample-document h3 { margin-top: 15px; }
.sample-document hr { border: 0; border-top: 1px solid var(--border); margin-top: 25px; }
.skip-link { position: fixed; top: -100px; left: 15px; padding: 12px 20px; background: var(--surface); color: var(--text); z-index: 10; border: 2px solid var(--focus); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.noscript { padding: 30px; text-align: center; }
.qa-page { padding: 16px; }
.qa-page h1 { font-size: 20px; letter-spacing: 0; }
.qa-page p { font-size: 12px; margin: 5px 0 10px; }
.qa-page output { display: block; margin: 8px 0; font-size: 12px; }
.qa-frames { display: flex; gap: 8px; align-items: flex-start; }
.qa-frames iframe { flex-shrink: 0; }
@media (min-width: 1600px) { main { padding: 55px 60px; } .project-art { height: 200px; } }
@media (max-width: 1150px) {
  .with-sidebar { grid-template-columns: 205px minmax(0, 1fr); }
  main { padding: 32px 26px; }
  .sidebar { padding-left: 14px; padding-right: 14px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .page-heading { display: block; }
  .sample-date { display: block; margin-top: 10px; }
  .access-layout { gap: 40px; }
  .access-card { padding: 29px; }
  .help-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .preview-bar { font-size: 9px; padding: 7px 9px; letter-spacing: .1px; }
  .preview-bar span { padding: 0 2px; }
  .site-header { height: 70px; padding: 0 16px; }
  .brand { width: 160px; height: 48px; }
  .brand img { width: 190px; height: 56px; margin-left: -21px; }
  .website-link { display: none; }
  .header-actions { gap: 10px; }
  .theme-toggle { padding: 8px 11px; font-size: 10px; gap: 7px; }
  .with-sidebar { display: flex; flex-direction: column; min-height: calc(100vh - 98px); }
  .sidebar { padding: 10px 12px 0; border-right: 0; border-bottom: 1px solid var(--border); gap: 0; }
  .sidebar-caption, .sidebar-bottom .account { display: none; }
  .sidebar nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .sidebar nav a { flex-direction: column; gap: 6px; padding: 9px 2px; font-size: 10px; white-space: nowrap; }
  .sidebar nav a > span { font-size: 18px; }
  .sidebar-bottom { margin: 0; padding: 9px 3px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
  .demo-session-tools { margin-top: 0; }
  .sidebar-bottom button { font-size: 10px; }
  main { padding: 27px 20px; }
  h1 { font-size: 29px; letter-spacing: -1px; }
  h2 { font-size: 19px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .page-heading { margin-bottom: 24px; }
  .page-heading p { font-size: 12px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
  .metric { padding: 17px; min-height: 145px; }
  .metric.featured { grid-column: 1 / -1; min-height: 143px; }
  .metric.featured strong { font-size: 38px; }
  .metric-label { font-size: 11px; }
  .metric strong { font-size: 31px; margin: 8px 0; }
  .metric-note, .metric a { font-size: 10px; }
  .project-body { padding: 20px; }
  .project-art { height: 165px; }
  .project-facts { gap: 10px; }
  dd { font-size: 17px; }
  .note-banner { padding: 17px; align-items: flex-start; }
  .access-layout { display: flex; flex-direction: column; gap: 30px; margin: 7px auto 20px; }
  .access-story { width: 100%; }
  .access-story h1 { font-size: 43px; letter-spacing: -2px; margin: 18px 0; }
  .intro { font-size: 13px; }
  .access-illustration { display: none; }
  .access-card { width: 100%; padding: 27px; }
  .access-card h2 { font-size: 27px; }
  .small-mark { display: none; }
  .investment-list .project-card { display: block; }
  .investment-list .project-art { min-height: 0; height: 165px; }
  .documents-panel { padding: 20px; }
  .documents-panel .section-heading { display: block; }
  .filter { margin-top: 17px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .filter select { width: 100%; }
  .document-row { flex-wrap: wrap; gap: 12px; }
  .document-row .secondary-button { margin-left: 53px; }
  .document-name { flex-basis: calc(100% - 58px); }
  .document-name h3 { font-size: 13px; }
  .document-icon { width: 35px; height: 42px; }
  .document-name p { font-size: 10px; }
  dialog { padding: 22px; }
  dialog h2 { font-size: 23px; }
}
.document-preview { display: block; width: 100%; height: 55vh; min-height: 240px; border: 1px solid var(--border); background: white; }
.ownership-panel { max-width: 820px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow-wrap: anywhere; }
.ownership-panel .login-form { margin-top: 24px; }
.ownership-panel input[type="file"] { width: 100%; min-width: 0; max-width: 100%; }
.ownership-panel .consent-field { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.ownership-panel .consent-field input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.document-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 360px) {
  .project-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
