:root {
  font-family: 'Space Grotesk', sans-serif;
  color: #f7f3ec;
  background:
    radial-gradient(circle at top left, rgba(224, 167, 86, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(131, 166, 197, 0.18), transparent 22%),
    linear-gradient(180deg, #0f1721 0%, #111d2a 45%, #09111a 100%);
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --panel: rgba(15, 25, 36, 0.78);
  --panel-strong: rgba(10, 18, 28, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --gold: #e0a756;
  --mist: #a9c0d4;
  --pearl: #f7f3ec;
  --text-soft: rgba(247, 243, 236, 0.74);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: inherit;
  background: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
}

main {
  position: relative;
  z-index: 1;
}

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #f7f3ec;
  color: #0f1721;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.site-glow-left {
  left: -10rem;
  top: -10rem;
  background: rgba(224, 167, 86, 0.5);
}

.site-glow-right {
  right: -12rem;
  top: 10rem;
  background: rgba(114, 159, 192, 0.45);
}

.topbar,
.hero,
.feature-card,
.footer,
.page-hero {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 18, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand strong,
.hero h1,
.page-hero h1,
.section-heading h2,
.feature-card h2,
.feature-card h3,
.footer h3 {
  font-family: 'Fraunces', serif;
}

.brand span {
  display: grid;
}

.brand small {
  color: var(--text-soft);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(224, 167, 86, 0.25), rgba(169, 192, 212, 0.2));
  border: 1px solid rgba(224, 167, 86, 0.4);
  color: var(--gold);
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.nav-link {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pearl);
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.page-hero {
  margin-top: 1.4rem;
  background: linear-gradient(145deg, rgba(12, 21, 31, 0.96), rgba(19, 31, 43, 0.85));
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
}

.hero-copy,
.hero-panel,
.page-hero {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
  max-width: 12ch;
}

.hero-copy p,
.page-hero p,
.feature-card p,
.footer p,
.founder-section p {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #e0a756, #efbd79);
  color: #1a2026;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(224, 167, 86, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.03);
}

.metric-card,
.feature-card,
.footer {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.metric-card {
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.metric-card span {
  color: var(--mist);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-card strong {
  display: block;
  margin: 0.4rem 0 0.5rem;
  font-size: 1.35rem;
}

.section,
.stack {
  margin-top: 1.4rem;
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.25rem;
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 0.8rem;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card div {
  padding: 1.25rem;
}

.wide {
  width: 100%;
}

.stack {
  display: grid;
  gap: 1rem;
}

.callout {
  margin-top: 1rem;
  background:
    linear-gradient(135deg, rgba(224, 167, 86, 0.12), rgba(169, 192, 212, 0.08)),
    var(--panel);
}

.path-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.path-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.path-button:hover,
.path-button.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(224, 167, 86, 0.5);
}

.path-result {
  margin-top: 1.2rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(9, 17, 26, 0.42);
}

.path-result h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.path-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.9rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--gold);
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field span {
  color: var(--mist);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  font: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-soft);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(224, 167, 86, 0.75);
  outline-offset: 2px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--mist);
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.founder-section {
  padding: 1.5rem;
  border-radius: 1.8rem;
  background: rgba(9, 17, 26, 0.7);
  border: 1px solid var(--line);
}

.footer {
  margin-top: 1.4rem;
  padding: 1.4rem;
  border-radius: 1.8rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr;
  gap: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.footer a,
.footer span {
  display: block;
  color: var(--text-soft);
}

.footer-copy {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.footer a:hover,
.text-link:hover {
  color: var(--pearl);
}

@media (max-width: 920px) {
  .topbar,
  .hero,
  .footer {
    border-radius: 1.6rem;
  }

  .topbar,
  .hero,
  .footer,
  .card-grid,
  .card-grid.compact {
    grid-template-columns: 1fr;
  }

  .topbar,
  .nav {
    justify-content: center;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .nav-link,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

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