@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "Kronaone";
  src: url("https://cdn.prod.website-files.com/64427620b70e49196db5e0d3/64427620b70e49a4a6b5e2d2_KronaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --crays-ink: #051823;
  --crays-muted: #687788;
  --crays-soft: #f6f3ee;
  --crays-line: rgba(5, 24, 35, 0.12);
  --crays-pink: #f31248;
  --crays-pink-deep: #ce2e2e;
  --crays-blue: #1475ff;
  --crays-card: #ffffff;
  --crays-shadow: 0 22px 60px rgba(5, 24, 35, 0.12);
  --crays-radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 18, 72, 0.08), transparent 26rem),
    linear-gradient(135deg, #fbfaf7 0%, #f1f5f8 48%, #faf7f2 100%);
  color: var(--crays-ink);
  font-family: "Montserrat", "Lato", Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.portal-shell {
  min-height: 100vh;
  color: var(--crays-ink);
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 62px;
  padding: 0 30px;
  background: rgba(2, 7, 10, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.portal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  flex: 0 0 auto;
}

.portal-logo img {
  display: block;
  width: 124px;
  max-height: 30px;
  object-fit: contain;
}

.equity-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, #1475ff 0%, #005ce8 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 28px rgba(20, 117, 255, 0.24);
}

.equity-pill::before {
  content: "";
  width: 17px;
  height: 17px;
  background: url("../crays-mark.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

.portal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-action,
.portal-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.portal-action:hover,
.portal-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.portal-app-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: calc(100vh - 62px);
}

.portal-sidebar {
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  padding: 30px 18px;
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid var(--crays-line);
  backdrop-filter: blur(22px);
}

.portal-nav-section {
  display: grid;
  gap: 8px;
}

.portal-nav-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--crays-line);
}

.portal-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #2c3743;
  font-size: 15px;
  font-weight: 650;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.portal-nav-link:hover {
  transform: translateX(2px);
  background: rgba(243, 18, 72, 0.07);
  border-color: rgba(243, 18, 72, 0.16);
  color: var(--crays-ink);
}

.portal-nav-link.is-active {
  background: linear-gradient(135deg, rgba(243, 18, 72, 0.12), rgba(20, 117, 255, 0.08));
  border-color: rgba(243, 18, 72, 0.28);
  color: var(--crays-pink);
  box-shadow: 0 12px 24px rgba(243, 18, 72, 0.08);
}

.portal-nav-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(5, 24, 35, 0.06);
  color: currentColor;
  font-size: 15px;
  font-weight: 900;
}

.portal-main {
  padding: 28px min(3.4vw, 48px) 56px;
}

.portal-frame {
  max-width: 1480px;
  margin: 0 auto;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--crays-line);
}

.page-kicker,
.card-kicker {
  margin: 0 0 8px;
  color: var(--crays-pink);
  font-family: "Kronaone", "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.page-title .accent {
  color: var(--crays-pink);
}

.page-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: #556272;
  font-size: 16px;
  line-height: 1.65;
}

.primary-button,
.secondary-button,
.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  font-size: 14px;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #071923 0%, #133c4b 58%, #0b6d7a 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(5, 24, 35, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.dark-button:hover {
  transform: translateY(-2px);
}

.secondary-button {
  border: 1px solid rgba(5, 24, 35, 0.14);
  background: #fff;
  color: var(--crays-ink);
}

.dark-button {
  background: #050505;
  color: #fff;
}

.page-head .dark-button,
.side-stack .dark-button {
  background: linear-gradient(135deg, #071923 0%, #133c4b 58%, #0b6d7a 100%);
  box-shadow: 0 16px 34px rgba(5, 24, 35, 0.2);
}

.portal-grid {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.offerings-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offering-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(5, 24, 35, 0.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--crays-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px rgba(5, 24, 35, 0.16);
}

.offering-cover {
  position: relative;
  min-height: 230px;
  background: linear-gradient(180deg, rgba(5, 24, 35, 0.02), rgba(5, 24, 35, 0.6)), var(--cover) center / cover no-repeat;
}

.offering-logo {
  position: absolute;
  left: 28px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  width: 126px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.offering-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.min-investment {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(5, 24, 35, 0.74);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.offering-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 30px;
}

.offering-subtitle {
  margin: 0 0 12px;
  color: var(--crays-pink) !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.32em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.offering-body h2,
.detail-copy h2,
.content-card h2 {
  margin: 0;
  font-size: clamp(21px, 1.65vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.detail-copy h2 {
  font-size: clamp(19px, 1.42vw, 24px);
  line-height: 1.14;
}

.offering-body p,
.content-card p,
.detail-copy p {
  color: #526173;
  line-height: 1.65;
}

.content-card .card-kicker,
.side-card .card-kicker {
  color: var(--crays-pink);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.chip {
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f2f4;
  color: var(--crays-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-hero,
.content-card,
.side-card,
.data-table,
.empty-state {
  border: 1px solid rgba(5, 24, 35, 0.1);
  border-radius: var(--crays-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--crays-shadow);
  backdrop-filter: blur(18px);
}

.detail-hero {
  overflow: hidden;
}

.detail-hero img {
  display: block;
  width: 100%;
  height: clamp(285px, 34vh, 380px);
  object-fit: cover;
}

.detail-copy {
  padding: 22px 28px 26px;
}

.detail-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.content-card {
  padding: 24px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #415164;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crays-pink), var(--crays-blue));
  box-shadow: 0 0 0 5px rgba(243, 18, 72, 0.1);
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 22px 24px;
}

.side-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.side-card p {
  color: #526173;
  line-height: 1.48;
}

.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(5, 24, 35, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 248, 0.92));
  font-weight: 750;
}

.doc-link span:first-child {
  max-width: 118px;
  font-size: 13px;
  line-height: 1.15;
}

.doc-link span:last-child {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #071923 0%, #133c4b 58%, #0b6d7a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.document-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 18, 72, 0.08), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7fafc);
  border: 1px solid rgba(5, 24, 35, 0.08);
  box-shadow: 0 14px 36px rgba(5, 24, 35, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.stat-card span {
  display: block;
  margin-top: 4px;
  color: #667687;
  font-size: 13px;
  font-weight: 700;
}

.data-table {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(5, 24, 35, 0.08);
  text-align: left;
}

.data-table th {
  background: rgba(5, 24, 35, 0.04);
  color: #526173;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 34px;
  margin-top: 28px;
}

.empty-state h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.055em;
}

.empty-state p {
  max-width: 720px;
  margin: 0;
  color: #586879;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(5, 24, 35, 0.1);
  background: #fff;
  box-shadow: 0 12px 30px rgba(5, 24, 35, 0.07);
}

.timeline-item strong {
  color: var(--crays-pink);
}

.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 7, 10, 0.64);
  backdrop-filter: blur(16px);
}

.portal-modal.is-open {
  display: flex;
}

.modal-card {
  width: min(620px, 100%);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #061923, #182335);
  color: #fff;
}

.modal-head h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.modal-body {
  padding: 28px;
  color: #435266;
  line-height: 1.7;
}

.modal-body strong {
  color: var(--crays-ink);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 0 28px 28px;
}

@media (max-width: 1180px) {
  .portal-app-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
    width: 100%;
    max-width: 100vw;
    padding: 16px;
    overflow-x: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--crays-line);
  }

  .portal-nav-section {
    display: flex;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .portal-nav-divider {
    display: none;
  }

  .portal-nav-link {
    flex: 0 0 auto;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .portal-topbar {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .portal-brand,
  .portal-actions {
    justify-content: space-between;
  }

  .portal-main {
    padding: 28px 18px 48px;
  }

  .page-head,
  .detail-panels,
  .stats-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .chip-grid {
    grid-template-columns: 1fr;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }
}
