:root {
  --bg: #ededeb;
  --surface: #f4f3f0;
  --surface-strong: #f8f7f4;
  --line: rgba(17, 17, 17, 0.11);
  --text: #23211f;
  --muted: #706b67;
  --button: #161616;
  --button-text: #f7f5f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #efefed 0%, #e7e5e1 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 24px 18px 64px;
}

.site-header {
  margin-bottom: 40px;
}

.pill-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 98px;
  height: auto;
  overflow: visible;
}

.brand-logo-iduna {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.06em;
  fill: #121212;
}

.brand-logo-capital {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.045em;
  fill: #7389c6;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.main-nav a,
.nav-link,
.language-switcher button,
.section-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.main-nav a,
.nav-link {
  color: var(--muted);
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2a2a2a 0%, #111111 100%);
  color: var(--button-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.nav-button:hover,
.submit-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 20px rgba(0, 0, 0, 0.12);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding-right: 2px;
}

.language-switcher button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-switcher button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.language-switcher button.is-active {
  background: var(--button);
  color: var(--button-text);
}

.hero {
  padding: 92px 0 72px;
  text-align: center;
}

.hero h1,
.page-intro h1,
.cta-frame h2,
.timeline-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.94;
}

.hero-lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-art {
  position: relative;
  height: 350px;
  margin-top: 36px;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-art::before {
  width: 250px;
  height: 250px;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  opacity: 0.52;
}

.hero-art::after {
  width: 520px;
  height: 520px;
  bottom: -210px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.48;
}

.monolith {
  position: absolute;
  bottom: 0;
  background: linear-gradient(135deg, #fbfbfb 0%, #e7e7e7 40%, #bdbdbd 100%);
  box-shadow:
    inset 14px 14px 24px rgba(255, 255, 255, 0.72),
    inset -18px -14px 28px rgba(0, 0, 0, 0.05);
  transition: transform 300ms ease;
}

.monolith-left {
  left: 0;
  width: 250px;
  height: 126px;
  clip-path: polygon(0 32%, 66% 32%, 100% 68%, 100% 100%, 0 100%);
}

.monolith-center {
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 246px;
  clip-path: polygon(18% 0, 78% 0, 100% 32%, 100% 100%, 72% 100%, 72% 46%, 34% 46%, 34% 100%, 0 100%, 0 30%);
}

.monolith-right {
  right: 0;
  width: 224px;
  height: 122px;
  clip-path: polygon(0 44%, 28% 0, 100% 0, 100% 100%, 0 100%);
}

.hero:hover .monolith-left {
  transform: translateY(-4px);
}

.hero:hover .monolith-center {
  transform: translateX(-50%) translateY(-8px);
}

.hero:hover .monolith-right {
  transform: translateY(-4px);
}

.cta-panel {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cta-frame {
  margin: 0 auto;
  padding: 44px 28px 54px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.section-kicker {
  color: var(--muted);
  text-transform: uppercase;
}

.cta-frame h2 {
  max-width: 540px;
  margin: 18px auto 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
}

.cta-frame p,
.page-intro p,
.card p,
.timeline-item p,
.contact-card p,
.principle-card p,
.metric-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 700px;
  margin: 30px auto 0;
}

.signup-row input {
  min-height: 70px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  background: transparent;
  padding: 0 28px;
  color: var(--text);
}

.internal-page {
  padding-top: 18px;
}

.page-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 54px 0 40px;
  text-align: center;
}

.page-intro h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.96;
  margin-top: 16px;
}

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card,
.timeline-block,
.principle-card,
.contact-card,
.metric-card,
.quote-band {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.card,
.principle-card,
.contact-card,
.metric-card {
  padding: 24px;
}

.card small,
.principle-card small,
.metric-card small {
  display: block;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3,
.principle-card h3,
.contact-card h3,
.metric-card h3 {
  margin: 14px 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.timeline-block {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  gap: 18px;
  padding: 24px;
  margin-top: 18px;
}

.timeline-copy h2 {
  margin-top: 12px;
  font-size: 2.4rem;
  line-height: 1;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-band {
  margin-top: 18px;
  padding: 38px 24px;
}

.quote-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(17, 17, 17, 0.22);
  background: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form .submit-button {
  border: 0;
  justify-self: start;
}

@media (max-width: 980px) {
  .pill-nav {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .main-nav {
    border-left: 0;
    padding-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .two-col,
  .three-col,
  .metrics-strip,
  .principles-grid,
  .contact-layout,
  .timeline-block,
  .signup-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 16px 40px;
  }

  .hero {
    padding: 78px 0 86px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-art {
    height: 180px;
    margin-top: 42px;
  }

  .hero-art::before {
    width: 140px;
    height: 140px;
    top: 14px;
  }

  .hero-art::after {
    width: 280px;
    height: 280px;
    bottom: -120px;
  }

  .monolith-left {
    width: 150px;
    height: 78px;
  }

  .monolith-center {
    width: 215px;
    height: 150px;
  }

  .monolith-right {
    width: 140px;
    height: 76px;
  }

  .cta-frame {
    padding: 34px 18px 38px;
  }

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