/* static/css/styles.css */
:root {
  --kestris-sky: #0ea5e9;
  --kestris-slate: #0f172a;
  --kestris-surface: #f0f9ff;
  --kestris-border: #e2e8slate;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: var(--kestris-slate);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Structural Components */
.nav-container {
  width: 100%;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wrapper a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
 }

.logo-frame {
  height: 24px;
  /*border: 2px solid var(--kestris-sky);
  transform: rotate(45deg);*/
}

.logo-frame img {
  height: inherit
}

.logo-text {
  font-weight: 900;
  tracking: 0.05em;
  margin-left: 12px;
}

.nav-links a {
  margin-left: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--kestris-sky);
}

/* Hero Elements */
.hero-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 48px 24px;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--kestris-sky);
  background-color: #f0f9ff;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #e0f2fe;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--kestris-slate);
  line-height: 1.15;
  margin-top: 24px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.hero-main {
  display: flex;
  flex-direction: row;
  padding: 0px
}

.hero-logo {
  width: 90%
}

.hero-logo img {
  width: inherit
}

.hero-body {
  font-size: 1.125rem;
  color: #64748b;
  margin-top: 24px;
  line-height: 1.6;
  max-width: 768px;
}

/* Asymmetric Pillars Grid */
.pillars-section {
  border-top: 1px solid #e2e8f0;
  background-color: var(--kestris-surface);
  padding: 80px 0;
}

.pillars-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pillar-card {
  background-color: #ffffff;
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  border-left: 4px solid var(--kestris-sky);
}

.card-num {
  font-family: monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--kestris-sky);
}

.card-body {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Legal Footer */
.footer-container {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 48px 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.markdown-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kestris-slate);
    margin: 40px 0 12px 0;
}

.markdown-body p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.markdown-body ul {
    padding-left: 20px;
    margin-bottom: 32px;
}

.markdown-body li {
    margin-bottom: 12px;
    color: #475569;
}

.pillars-grid a {
  text-decoration: none;
}

.service-layout {
    max-width: 1140px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

@media (min-width: 768px) {
    .service-layout {
        flex-direction: row;
    }
    .service-sidebar {
        width: 30%;
        position: sticky;
        top: 112px;
        height: max-content;
    }
    .service-content {
        width: 70%;
    }
}
.deliverable-block {
    margin-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 32px;
}
.deliverable-block:last-child {
    border-bottom: none;
}
.bullet-list {
    padding-left: 20px;
    margin-top: 16px;
}
.bullet-list li {
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.95rem;
}

/* Profile page styles */
.profile-layout {
    max-width: 1140px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}
@media (min-width: 768px) {
    .profile-layout {
        flex-direction: row;
    }
    .profile-main {
        width: 65%;
    }
    .profile-stats {
        width: 35%;
        border-left: 1px solid #e2e8f0;
        padding-left: 48px;
    }
}

.profile-main a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: underline dotted;
 }

.highlight-card {
    background-color: var(--kestris-surface);
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 2px;
}
.highlight-meta {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--kestris-sky);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}
