:root {
  --navy: #102544;
  --blue: #254d82;
  --muted: #66758b;
  --line: #dce3ee;
  --bg: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--navy);
  font:
    15px/1.6 Arial,
    sans-serif;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  background: white;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 4%;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
  position: relative;
  white-space: nowrap;
}
.logo {
  display: inline-grid;
  place-items: center;
  background: var(--navy);
  color: white;
  width: 36px;
  height: 42px;
  margin-right: 8px;
  font: italic 34px Georgia;
}
.brand-sub {
  font-size: 8px;
  display: block;
  margin-left: 48px;
  letter-spacing: 4px;
}
nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
  font-size: 13px;
}
nav a:hover,
nav a.active {
  color: var(--blue);
}
.account {
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 6px;
  font-size: 13px;
}
.demo {
  text-align: center;
  font-size: 10px;
  letter-spacing: 1.8px;
  padding: 9px;
  background: #eaf0fa;
  color: #51627d;
}
main {
  max-width: 1300px;
  margin: auto;
  min-height: 75vh;
  padding: 36px 36px 64px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: bold;
}
h1 {
  font:
    normal clamp(36px, 4.7vw, 64px) / 1.08 Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 22px 0;
}
h2 {
  font:
    normal 30px Georgia,
    serif;
  margin: 8px 0 22px;
}
h3 {
  font-size: 18px;
  margin: 14px 0 6px;
}
p {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 30px 0 55px;
}
.hero p {
  max-width: 480px;
}
.button,
button {
  display: inline-block;
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 5px;
  padding: 12px 19px;
  font: 600 13px Arial;
  cursor: pointer;
}
.button.secondary,
button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
button:hover,
.button:hover {
  filter: brightness(1.2);
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.hero-art {
  background: var(--navy);
  border-radius: 12px;
  padding: 34px;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 22px 45px #172b4a18;
}
.hero-art:before {
  content: "";
  position: absolute;
  right: -50px;
  top: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #ffffff04,
    0 0 0 90px #ffffff04;
}
.hero-art .eyebrow {
  color: #a4b9e8;
}
.hero-art h2 {
  font-size: 30px;
  position: relative;
}
.art-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
}
.art-metrics strong {
  font-size: 29px;
  display: block;
}
.hero-art small {
  color: #b1c1dc;
}
.steps {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.steps span {
  border: 1px solid #ffffff30;
  padding: 10px;
  border-radius: 5px;
  font-size: 11px;
}
.stats {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
  margin-bottom: 45px;
}
.stat {
  padding-left: 25px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 24px;
}
.stat small {
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 12px;
  gap: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.monogram {
  background: #edf2f9;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font: bold 22px Georgia;
}
.tag {
  font-size: 10px;
  background: #eef3fa;
  color: #294f7e;
  border-radius: 4px;
  padding: 4px 8px;
  letter-spacing: 1px;
}
.card p {
  font-size: 13px;
  min-height: 22px;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.metrics small {
  color: var(--muted);
  display: block;
  font-size: 11px;
}
.metrics strong {
  font-size: 18px;
}
.card .button {
  width: 100%;
  text-align: center;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wide {
  margin-top: 22px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  margin: 13px 0 5px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e2;
  border-radius: 5px;
  padding: 11px;
  background: white;
  color: var(--navy);
  font: 14px Arial;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}
textarea {
  min-height: 100px;
}
.check {
  font-weight: normal;
  line-height: 1.6;
}
form button {
  margin-top: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
td button {
  font-size: 11px;
  padding: 8px;
}
.scroll {
  overflow: auto;
}
.empty {
  padding: 30px;
  color: var(--muted);
  background: white;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.notice-box {
  background: #edf2fa;
  padding: 18px;
  border-left: 3px solid var(--blue);
  font-size: 13px;
  margin: 18px 0;
}
.chart {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #e5eaf1;
  position: relative;
  margin: 25px auto;
}
.chart:after {
  content: "";
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: white;
}
.legend {
  font-size: 12px;
  list-style: none;
  padding: 0;
}
.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 8px;
}
#notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 400px;
  background: var(--navy);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  display: none;
  z-index: 10;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 4%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  gap: 20px;
}
.balance {
  background: #eef3fc;
  padding: 15px;
  border-radius: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7ba5f4;
  outline-offset: 3px;
}
details {
  margin-top: 20px;
}
summary {
  cursor: pointer;
}
.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.inline-form input {
  max-width: 145px;
}
.inline-form button {
  margin: 0;
}
@media (max-width: 1000px) {
  header {
    flex-wrap: wrap;
    gap: 15px;
  }
  nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
  }
  .account {
    margin-left: auto;
  }
  .hero {
    gap: 25px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  main {
    padding: 20px;
  }
  .hero,
  .two,
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 10px;
    gap: 20px;
  }
  h1 {
    font-size: 43px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 5px;
  }
  .stat strong {
    font-size: 20px;
  }
  .section-head {
    align-items: flex-start;
  }
  footer {
    flex-wrap: wrap;
  }
  .hero-art {
    padding: 25px;
  }
  .demo {
    letter-spacing: 0.7px;
    font-size: 9px;
  }
}
/* MVP additions: operator reviews, account states and accessible feedback. */
[hidden] {
  display: none !important;
}
.header-account {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  font-size: 12px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6c85a9;
  border-radius: 50%;
  margin-right: 8px;
}
.page-heading {
  margin: 10px 0 30px;
}
.page-heading h1 {
  font-size: clamp(34px, 4.5vw, 54px);
}
.tag.pending {
  background: #fff3dc;
  color: #856326;
}
.date-value {
  font-size: 14px !important;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 20px;
  margin: 20px 0 28px;
}
.toolbar label:first-child {
  flex: 1;
}
.toolbar label {
  min-width: 170px;
}
.text-link {
  color: #2957a6;
  font-weight: bold;
  font-size: 13px;
  display: inline-block;
}
.text-link.wide {
  margin-top: 20px;
}
.notice-box button {
  display: block;
  margin-top: 12px;
}
.check a {
  text-decoration: underline;
}
.empty-inline {
  padding: 25px 5px;
  color: var(--muted);
  font-size: 13px;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 450px;
}
.readiness > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.readiness strong {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.readiness-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #be9761;
  flex-shrink: 0;
}
.readiness-dot.ready {
  background: #416a9d;
}
.notification {
  margin: 12px 0;
}
.notification p {
  margin-bottom: 0;
}
.notification.unread {
  border-left: 3px solid #3766c1;
}
.narrow {
  max-width: 540px;
}
.balance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 9px 0;
}
.legend strong {
  margin-left: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
td {
  vertical-align: top;
}
td form {
  min-width: 180px;
  max-width: 300px;
}
td label {
  font-size: 11px;
}
td textarea {
  min-height: 70px;
}
td p {
  font-size: 12px;
}
code {
  font-size: 12px;
  background: #dfe8f8;
  padding: 2px 5px;
  border-radius: 3px;
}
footer a:hover {
  text-decoration: underline;
}
@media (min-width: 1100px) {
  header {
    gap: 25px;
  }
  nav {
    gap: 18px;
  }
  main {
    padding-top: 32px;
  }
}
@media (max-width: 750px) {
  .hero h1 {
    font-size: 48px;
  }
  .hero-art {
    margin-top: 8px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar label {
    min-width: 100%;
    margin: 0;
  }
  .header-account {
    margin-left: auto;
  }
  .readiness > div {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .readiness strong {
    margin-left: 20px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
  }
  .stat:last-child {
    border: 0;
  }
  .page-heading {
    margin-top: 15px;
  }
  .check {
    font-size: 12px;
  }
  header {
    padding: 18px 20px;
  }
  .demo {
    padding: 10px 12px;
    line-height: 1.7;
  }
}

.header-account {
  margin-left: auto;
}
.card .tag,
.card-top .tag {
  text-transform: uppercase;
}
.page-heading p {
  max-width: 760px;
}

/* Elilaf visual system */
body { font-family: 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
header { background: var(--navy); color: #ffffff; border-bottom-color: #263e5e; }
header .logo { background: #ffffff; color: var(--navy); }
header nav a:hover, header nav a.active { color: #ffffff; border-bottom-color: #ffffff; }
header .account { background: #ffffff; color: var(--navy); border-color: #ffffff; }
header .account:hover { background: #eaf0fa; }
header a:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
.brand { letter-spacing: 3px; font-size: 21px; }
.logo { border-radius: 50% 50% 50% 8px; background: #102544; height: 40px; }
.brand-sub { font-size: 8px; letter-spacing: 3px; }
nav a { padding: 7px 0; border-bottom: 2px solid transparent; }
nav a.active { border-color: var(--blue); }
.account { border-radius: 24px; background: white; }
.demo { background: #eef3fa; color: #526783; }
.live-dot { background: #254d82; }
main { max-width: 1320px; padding: 36px 48px 80px; }
h1 { font-size: clamp(42px, 5vw, 68px); letter-spacing: -2.2px; }
h1 em { color: #416a9d; font-weight: normal; }
h2 { letter-spacing: -.6px; }
.hero { gap: 64px; padding: 40px 0 66px; }
.hero p { font-size: 16px; line-height: 1.85; max-width: 505px; }
.eyebrow { font-size: 10px; letter-spacing: 2.2px; }
.button, button { border-radius: 28px; padding: 13px 22px; font-family: inherit; transition: background .15s, box-shadow .15s; }
.button:hover, button:hover { filter: none; background: #1d3d68; box-shadow: 0 4px 12px #10254415; }
.button.secondary:hover, button.secondary:hover { background: #eef3fa; }
.hero-art { background: linear-gradient(145deg, #193b65, #0b1c35); border-radius: 16px 70px 16px 16px; padding: 40px; box-shadow: 0 24px 50px #10254414; }
.hero-art h2 { color: #ffffff; font-size: 38px; line-height: 1.15; }
.hero-art .eyebrow { color: #b9cdea; }
.hero-art small { color: #cad8eb; line-height: 1.8; }
.hero-art:before { right: -120px; top: -90px; width: 350px; height: 350px; }
.art-metrics { border-block: 1px solid #ffffff24; margin: 25px 0 18px; }
.art-metrics strong { font-weight: 500; font-size: 34px; }
.steps span { flex: 1; border-radius: 8px; color: #e3ecf8; }
.stats { margin-bottom: 48px; padding: 28px 0; }
.stat { padding-left: 30px; }
.stat:first-child { padding-left: 0; }
.stat strong { font-weight: 500; font-size: 29px; }
.card, .panel { border-radius: 14px; padding: 28px; box-shadow: 0 3px 12px #10254403; }
.card { transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #9eb2cf; box-shadow: 0 8px 24px #10254409; }
.monogram { background: #eef3fa; color: #294f7e; border-color: #dce3ee; border-radius: 12px; }
.tag { border-radius: 20px; background: #eef3fa; color: #294f7e; font-size: 9px; }
.metrics { gap: 20px; }
.metrics strong { font-weight: 600; }
.metrics small { margin-bottom: 4px; }
.panel p { line-height: 1.8; }
.notice-box { background: #eef3fa; border-color: #416a9d; border-radius: 0 10px 10px 0; }
.balance { background: #eef3fa; }
.text-link { color: #254d82; }
input, select, textarea { border-color: #cdd8e8; border-radius: 8px; font-family: inherit; padding: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #729bd1; }
th { background: #f4f7fc; }
.contract-document { font: 14px/1.9 'Segoe UI', Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f8fc; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
footer { background: #eef3fa; align-items: center; padding: 34px 4%; }
footer .brand { font-size: 15px; }
@media (max-width: 1100px) { .hero { gap: 30px; } .hero-art { padding: 30px; } }
@media (max-width: 750px) { main { padding: 24px 20px 48px; } .hero { padding: 18px 0 36px; } .hero h1 { font-size: clamp(39px, 10vw, 50px); } .hero-art h2 { font-size: 32px; } .stats { padding: 8px 0; } .stat, .stat:first-child { padding: 16px 0; } .card, .panel { padding: 22px; } .steps { flex-wrap: wrap; } .steps span { min-width: 95px; } .contract-document { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Product investment marketplace */
.investment-card { padding: 0; overflow: hidden; }
.product-photo { display: block; aspect-ratio: 16 / 10; background: #edf1f6; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; color: #66758b; }
.investment-content { padding: 24px; }
.investment-subheading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-block: 1px solid #e1e6ed; padding: 16px 0; }
.issuer { display: flex; align-items: center; gap: 10px; min-width: 0; }
.issuer span { overflow-wrap: anywhere; }
.company-logo { width: 44px; height: 44px; object-fit: contain; background: white; border: 1px solid #e1e6ed; border-radius: 10px; padding: 4px; flex-shrink: 0; }
.expected-return { text-align: right; flex-shrink: 0; }
.expected-return small, .expected-return strong { display: block; }
.expected-return strong { font-size: 1.5rem; color: #244e40; }
.upload-preview { width: 100px; height: 100px; object-fit: contain; margin-bottom: 16px; }
input[type="file"] { max-width: 100%; padding: 12px; }

.marketplace-profit { text-align: left; padding: 8px 0 22px; }
.marketplace-profit strong { font-size: 2rem; }

.marketplace-issuer { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.marketplace-issuer small, .marketplace-issuer strong { display: block; }
.marketplace-issuer small { color: var(--muted); }
.marketplace-issuer strong { font-size: 1.15rem; }

/* Compact marketplace cards. */
#opportunity-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#opportunity-list .investment-content { padding: 19px; }
#opportunity-list .investment-content h3 { font-size: 17px; margin: 0 0 14px; }
#opportunity-list .company-logo, #opportunity-list .monogram { width: 36px; height: 36px; }
#opportunity-list .marketplace-issuer { gap: 10px; margin-bottom: 10px; }
#opportunity-list .marketplace-issuer strong { font-size: 1rem; }
#opportunity-list .marketplace-profit { padding: 6px 0 18px; }
#opportunity-list .marketplace-profit strong { font-size: 1.6rem; }
#opportunity-list .button { padding: 10px 12px; font-size: 12px; }
@media (max-width: 1100px) { #opportunity-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { #opportunity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { #opportunity-list { grid-template-columns: 1fr; } }

.onboarding-steps { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.onboarding-steps span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 24px; background: #f2f5f9; }
.onboarding-steps .complete { background: #e8f3ed; border-color: #96b6a3; color: #244e40; }

.product-review-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
