:root {
  --bg: #07141f;
  --bg-soft: #0d1f2d;
  --panel: rgba(13, 31, 45, 0.82);
  --panel-solid: #102536;
  --text: #eaf2f7;
  --muted: #a7bac7;
  --accent: #f39a53;
  --accent-strong: #ffbf7d;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 154, 83, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(111, 187, 255, 0.14), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.topbar {
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 21, 31, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--accent-strong);
}

.nav-links,
.nav-actions,
.hero-actions,
.hero-metrics,
.portal-grid,
.value-grid,
.feature-grid,
.tab-buttons {
  display: flex;
  gap: 0.75rem;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--text);
}

.nav-actions {
  align-items: center;
}

.ghost-link,
.primary-button,
.secondary-button,
.tab-button,
.portal-card {
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ghost-link {
  color: var(--muted);
  padding: 0.75rem 0.2rem;
}

.primary-button,
.secondary-button,
.tab-button {
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent) 0%, #ef7f2d 100%);
  color: #1d1208;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(243, 154, 83, 0.24);
}

.secondary-button,
.tab-button {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 0.9rem 1.25rem;
}

.primary-button:hover,
.secondary-button:hover,
.tab-button:hover,
.portal-card:hover {
  transform: translateY(-2px);
}

.hero,
.section,
.form-section {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(13, 31, 45, 0.94), rgba(9, 22, 33, 0.86)),
    radial-gradient(circle at top right, rgba(243, 154, 83, 0.22), transparent 38%);
}

.hero-copy {
  padding: 0.5rem 0;
}

.eyebrow,
.section-kicker,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(243, 154, 83, 0.12);
  border: 1px solid rgba(243, 154, 83, 0.16);
}

.hero h1,
.section h2,
.form-copy h2,
.hero-panel h2 {
  margin: 0.8rem 0 0;
  font-family: 'Fraunces', serif;
  line-height: 1.02;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.hero p,
.section p,
.form-copy p,
.feature-card p,
.value-card p,
.hero-panel p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  margin-top: 1rem;
}

.hero-actions,
.hero-metrics {
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.metric-card,
.value-card,
.feature-card,
.hero-panel-card,
.portal-card,
.interest-form {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.metric-card {
  min-width: 160px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
}

.metric-card strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--accent-strong);
}

.hero-panel {
  display: flex;
  align-items: stretch;
}

.hero-panel-card {
  width: 100%;
  min-height: 100%;
  border-radius: 26px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(16, 37, 54, 0.95), rgba(10, 22, 31, 0.92)),
    radial-gradient(circle at top, rgba(243, 154, 83, 0.18), transparent 52%);
}

.hero-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-panel p {
  margin-top: 1rem;
}

.panel-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.panel-list div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-list span {
  color: var(--accent-strong);
  font-weight: 700;
}

.section,
.form-section {
  padding: 1.8rem;
  background: rgba(10, 23, 34, 0.72);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section h2,
.form-copy h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.value-grid,
.feature-grid {
  flex-wrap: wrap;
}

.value-card,
.feature-card,
.portal-card {
  border-radius: 22px;
  padding: 1.25rem;
  flex: 1 1 220px;
}

.value-card h3,
.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.tab-set {
  display: grid;
  gap: 1rem;
}

.tab-buttons {
  flex-wrap: wrap;
}

.tab-button.active {
  background: rgba(243, 154, 83, 0.18);
  border-color: rgba(243, 154, 83, 0.35);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.portal-grid {
  flex-wrap: wrap;
}

.portal-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(16, 37, 54, 0.92), rgba(12, 26, 38, 0.9));
}

.form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.form-notes {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.interest-form {
  border-radius: 26px;
  padding: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.interest-form input,
.interest-form select,
.interest-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.interest-form input::placeholder,
.interest-form textarea::placeholder {
  color: #94aab8;
}

.interest-form input:focus,
.interest-form select:focus,
.interest-form textarea:focus {
  border-color: rgba(243, 154, 83, 0.4);
  box-shadow: 0 0 0 3px rgba(243, 154, 83, 0.14);
}

.submit-button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.25rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0.2rem 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  min-width: 240px;
  max-width: min(90vw, 360px);
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(5, 13, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar,
  .hero,
  .form-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar {
    position: static;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .hero,
  .section,
  .form-section,
  .topbar {
    padding: 1rem;
    border-radius: 22px;
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions,
  .hero-actions,
  .tab-buttons,
  .footer {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .tab-button {
    width: 100%;
    justify-content: center;
  }
}:root {
    --primary: #0a192f;
    --accent: #64ffda;
    --text: #ccd6f6;
    --bg: #020c1b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    padding: 40px;
    border: 2px ridge var(--primary);
    border-radius: 5px;
    background: var(--primary);
    text-align: center;
}

.info-section {
    margin: 40px 0;
    line-height: 1.6;
    text-align: left;
}

.info-section h2 {
    color: var(--accent);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

/* The Link Grid logic */
.link-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    margin-top: 20px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.resource-link i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.resource-link:hover {
    background: rgba(100, 255, 218, 0.15);
    border-color: var(--accent);
    transform: translateX(5px);
}

.contact-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
    margin-top: 10px;
}

.contact-btn:hover {
    background-color: #ffffff;
    box-shadow: 0 0 15px var(--accent);
}

footer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
}