@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0f1f;
  --slate: #111827;
  --cloud: #f5f4f0;
  --fog: #e7e2d8;
  --aqua: #6ad1c6;
  --amber: #f2a74b;
  --rose: #ed6a5a;
  --line: rgba(15, 23, 42, 0.15);
  --shadow: 0 22px 60px rgba(9, 16, 24, 0.16);
  --phi: 1.618;
  --space-1: 0.75rem;
  --space-2: 1.25rem;
  --space-3: calc(var(--space-2) * var(--phi));
  --space-4: calc(var(--space-3) * var(--phi));
  --space-5: calc(var(--space-4) * var(--phi));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #f6f2ea 0%, #f1ede4 40%, #f6f4ef 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

body::before {
  top: -120px;
  right: -120px;
  background: rgba(106, 209, 198, 0.6);
}

body::after {
  bottom: -120px;
  left: -120px;
  background: rgba(242, 167, 75, 0.55);
}

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

main {
  padding: 0 6vw var(--space-5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 6vw var(--space-2);
  position: sticky;
  top: 0;
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}

.brand-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(11, 15, 31, 0.7);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  color: rgba(11, 15, 31, 0.7);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta {
  background: var(--ink);
  color: #fff;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  padding: var(--space-5) 0 var(--space-3);
}

.hero h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.hero h1 span {
  color: var(--rose);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: rgba(11, 15, 31, 0.7);
  margin-bottom: var(--space-2);
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 600px;
}

.one-liner {
  margin-top: var(--space-2);
  font-size: 0.95rem;
  color: rgba(11, 15, 31, 0.75);
}

.readiness-pill {
  display: inline-flex;
  margin-top: var(--space-2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fffaf2;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(11, 15, 31, 0.65);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  margin: var(--space-3) 0 var(--space-2);
}

.ghost {
  border: 1px solid var(--ink);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-weight: 600;
}

.hero-panel {
  display: grid;
  gap: var(--space-2);
}

.panel-card {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--space-3);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.panel-title {
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.panel-card ul {
  list-style: none;
  display: grid;
  gap: var(--space-1);
  color: rgba(11, 15, 31, 0.8);
}

.metrics {
  display: grid;
  gap: var(--space-1);
}

.metrics span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose);
}

.metrics small {
  display: block;
  color: rgba(11, 15, 31, 0.7);
}

.section {
  padding: var(--space-5) 0 var(--space-2);
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-3);
}

.section-cta {
  margin-top: var(--space-2);
}

.cta-preface {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(11, 15, 31, 0.6);
  margin-bottom: var(--space-1);
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-family: 'Fraunces', 'Times New Roman', serif;
  margin-bottom: var(--space-1);
}

.grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: var(--space-3);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(9, 16, 24, 0.08);
  animation: fadeUp 0.8s ease both;
}

.card h3 {
  margin-bottom: var(--space-1);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.case {
  background: #101624;
  color: #f8f5f0;
  border-radius: 20px;
  padding: var(--space-3);
  box-shadow: var(--shadow);
}

.case h3 {
  margin-bottom: var(--space-1);
  color: var(--aqua);
}

.case ul {
  margin-top: var(--space-2);
  display: grid;
  gap: 0.6rem;
  padding-left: 1rem;
}

.split {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stack h3 {
  margin-bottom: var(--space-2);
}

.checklist {
  list-style: none;
  display: grid;
  gap: var(--space-1);
}

.checklist li::before {
  content: '✓';
  color: var(--amber);
  margin-right: 0.6rem;
}

.callout {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: #fff4e3;
  border-radius: 14px;
  border: 1px dashed var(--amber);
}

.ecosystem {
  display: grid;
  gap: var(--space-3);
}

.logo-card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: #fff;
  border-radius: 20px;
  padding: var(--space-3);
  border: 1px solid var(--line);
}

.logo-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.pill-grid span {
  padding: var(--space-1) var(--space-2);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.sim {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  gap: var(--space-2);
  position: relative;
  padding: var(--space-3) var(--space-2);
  border-radius: 20px;
  background: #0f172a;
  color: #f8f5f0;
}

.sim-node {
  padding: var(--space-1) var(--space-2);
  text-align: center;
  border: 1px solid rgba(248, 245, 240, 0.2);
  border-radius: 12px;
}

.sim-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}

.sim-orb {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  top: 50%;
  left: 4%;
  animation: orbit 6s linear infinite;
}

.contact-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: var(--space-3);
  border: 1px solid var(--line);
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.contact-card .ghost {
  background: var(--ink);
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}

.contact-form {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fffaf2;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: grid;
  gap: var(--space-2);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
  padding: 4vh 6vw;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.6);
}

.modal-content {
  position: relative;
  background: #fffaf2;
  border-radius: 22px;
  border: 1px solid var(--line);
  max-width: 760px;
  max-height: 90vh;
  margin: 0 auto;
  padding: var(--space-4);
  box-shadow: var(--shadow);
  z-index: 1;
  overflow: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.modal-close {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.form-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.form-error {
  color: #9f2f21;
}

.form-fallback {
  margin-top: var(--space-2);
  display: grid;
  gap: var(--space-1);
}

.form-fallback textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem;
  font-family: inherit;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-4) 6vw var(--space-4);
  display: grid;
  gap: 1rem;
  background: #f2ede3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(11, 15, 31, 0.7);
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(11, 15, 31, 0.65);
  display: grid;
  gap: 0.4rem;
  max-width: 640px;
}

.note {
  font-size: 0.85rem;
  color: rgba(11, 15, 31, 0.7);
}

.disclaimer {
  font-size: 0.85rem;
  color: rgba(11, 15, 31, 0.65);
}


@keyframes orbit {
  0% {
    left: 4%;
  }
  50% {
    left: 96%;
  }
  100% {
    left: 4%;
  }
}

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

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: var(--space-2);
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    align-items: flex-start;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-actions {
    width: 100%;
  }

  .ghost {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    width: 100%;
    margin: 0;
  }

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

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