:root {
  --navy: #071D49;
  --navy-2: #030B1A;
  --blue: #2E7DFF;
  --blue-2: #6DB7FF;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --text: #0B1736;
  --muted: #68758F;
  --border: rgba(46, 125, 255, 0.18);
  --shadow: 0 24px 80px rgba(7, 29, 73, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 29, 73, 0.06);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-logo .st0,
.brand-logo .st1 {
  fill: var(--blue);
}

.brand-logo .st2,
.brand-logo .brand-letter {
  fill: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #4E5A72;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:not(.nav-cta) {
  transition: color .18s ease;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta):focus-visible,
.nav-links a:not(.nav-cta).active {
  color: #004dc9;
}

.nav-cta {
  color: var(--white);
  background: var(--navy);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-cta {
    animation: ctaBreathe 2.6s ease-in-out infinite;
  }
}

@keyframes ctaBreathe {
  0%, 100% {
    background: var(--navy);
    box-shadow: 0 0 0 0 rgba(0, 77, 201, 0);
  }
  50% {
    background: #004dc9;
    box-shadow: 0 0 0 4px rgba(0, 77, 201, 0.16), 0 10px 26px rgba(0, 77, 201, 0.5);
  }
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 26px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 75% 15%, rgba(46, 125, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 29, 73, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 29, 73, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 26px;
}

.hero-text {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #0057E7);
  box-shadow: 0 16px 32px rgba(46, 125, 255, 0.28);
}

.btn.secondary {
  color: var(--navy);
  background: white;
  border: 1px solid rgba(7, 29, 73, 0.1);
}

.market-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-weight: 800;
  border: 1px solid rgba(7, 29, 73, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .market-pills.reveal span {
    animation: pillFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .market-pills.reveal span:nth-child(1) { animation-delay: 0.05s; }
  .market-pills.reveal span:nth-child(2) { animation-delay: 0.14s; }
  .market-pills.reveal span:nth-child(3) { animation-delay: 0.23s; }
  .market-pills.reveal span:nth-child(4) { animation-delay: 0.32s; }
  .market-pills.reveal span:nth-child(5) { animation-delay: 0.41s; }
  .market-pills.reveal span:nth-child(6) { animation-delay: 0.50s; }
}

@keyframes pillFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(109, 183, 255, 0.5), transparent 32%),
    linear-gradient(145deg, #071D49, #030B1A);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 26px;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.hero-art {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  max-width: 290px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art.art-reveal {
    animation: artFadeUp 0.5s ease both;
  }
}

@keyframes artFadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes artFadeUpCorner {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Laptop / tablet / mobile: tuck the artwork into the card's top-right corner
   so it never overlaps the dashboard text. */
@media (max-width: 1100px) {
  .hero-art {
    top: 16px;
    left: auto;
    right: 16px;
    transform: none;
    width: 46%;
    max-width: 180px;
  }

  .hero-art.art-reveal {
    animation-name: artFadeUpCorner;
  }
}

.hero h1 .tw-char {
  opacity: 0;
}

.hero h1 .tw-char.on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .tw-char {
    opacity: 1;
  }
}

.dashboard {
  position: absolute;
  inset: auto 26px 26px 26px;
  color: white;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.dash-top span,
.flow small,
.stats span {
  color: rgba(255,255,255,0.62);
}

.dash-top strong {
  font-size: 22px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.flow b {
  display: block;
  margin-top: 6px;
  font-size: 19px;
}

.flow-line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  box-shadow: 0 0 22px rgba(46,125,255,.8);
  transform-origin: left center;
}

.flow-line.energy-grow {
  animation: energyGrow 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes energyGrow {
  from {
    transform: scaleX(0);
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-line.energy-grow {
    animation: none;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 22px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background: white;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(7, 29, 73, 0.08);
  box-shadow: 0 18px 60px rgba(7, 29, 73, 0.06);
}

.icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(46,125,255,.1);
  color: var(--blue);
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 22px;
}

.info-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.info-card p,
.muted,
.settlement p,
.contact-box p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(46,125,255,.34), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.dark-section h2 {
  color: white;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.market-grid div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.market-grid strong,
.market-grid span {
  display: block;
}

.market-grid strong {
  font-size: 22px;
  margin-bottom: 8px;
}

.market-grid span {
  color: var(--blue-2);
  font-weight: 900;
}

.settlement {
  display: grid;
  place-items: center;
}

.settlement-card {
  width: min(900px, 100%);
  padding: 48px;
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 29, 73, 0.08);
}

.settlement-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  padding-left: 20px;
  margin: 28px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.contact-section {
  padding-top: 0;
}

.contact-box {
  background:
    radial-gradient(circle at 85% 20%, rgba(109,183,255,.42), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  padding: 48px;
  border-radius: 34px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.contact-box h2 {
  color: white;
}

.contact-box p {
  max-width: 620px;
}

.footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.72);
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-card {
    min-height: 380px;
  }

  .contact-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .settlement-card ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 64px 0;
  }

  .hero-card,
  .settlement-card,
  .contact-box {
    border-radius: 24px;
  }

  .dash-top,
  .flow,
  .stats {
    grid-template-columns: 1fr;
    display: grid;
  }

  .flow-line {
    width: 100%;
  }

  /* Mobile: stack the artwork (centered, top) above a normal-flow dashboard
     so the card grows to fit and nothing gets cut off. */
  .hero-card {
    min-height: auto;
    padding: 24px;
    padding-top: 210px;
  }

  .hero-art {
    top: 26px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 58%;
    max-width: 220px;
  }

  .hero-art.art-reveal {
    animation-name: artFadeUp;
  }

  .dashboard {
    position: static;
    inset: auto;
  }
}

/* Contact modal */
.cm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.cm-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 73, 0.45);
  backdrop-filter: blur(8px);
}

.cm-card {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 40px 34px 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 29, 73, 0.08);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
}

.cm-overlay.open .cm-card {
  transform: none;
  opacity: 1;
}

.cm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: rgba(7, 29, 73, 0.06);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cm-close:hover {
  background: rgba(7, 29, 73, 0.12);
  transform: rotate(90deg);
}

.cm-title {
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cm-sub {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.cm-options {
  display: grid;
  gap: 12px;
}

.cm-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(7, 29, 73, 0.1);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cm-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 77, 201, 0.4);
  box-shadow: 0 12px 28px rgba(0, 77, 201, 0.16);
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.cm-ico {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(46, 125, 255, 0.1);
  color: var(--blue);
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-ico svg {
  width: 24px;
  height: 24px;
}

.cm-option:hover .cm-ico {
  background: linear-gradient(135deg, var(--blue), #004dc9);
  color: #fff;
}

.cm-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cm-text strong {
  font-size: 16px;
  color: var(--navy);
}

.cm-text small {
  font-size: 13px;
  color: var(--muted);
}

.cm-go {
  flex: none;
  color: var(--blue);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.cm-option:hover .cm-go {
  transform: translateX(4px);
}
