:root {
  --navy: #101c3a;
  --navy-light: #192b52;
  --blue: #315cf5;
  --blue-light: #edf2ff;
  --yellow: #ffd43b;
  --green: #16a765;
  --background: #f5f7fb;
  --white: #ffffff;
  --text: #172033;
  --muted: #7b8498;
  --border: #e9edf4;
  --shadow: 0 8px 30px rgba(20, 35, 70, .06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--background);
  color: var(--text);
}

a { text-decoration: none; color: inherit; }

button, input {
  font: inherit;
}

.header {
  height: 78px;
  background: var(--navy);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 25px rgba(0,0,0,.12);
}

.logo {
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  flex-shrink: 0;
}

.logo span { color: var(--yellow); }

.logo small {
  display: block;
  color: #aebbd6;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 6px;
}

.header-search {
  display: flex;
  align-items: center;
  background: white;
  height: 45px;
  border-radius: 9px;
  max-width: 570px;
  width: 100%;
  overflow: hidden;
}

.header-search span {
  padding: 0 13px;
  color: #667085;
  font-size: 25px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
}

.header-search button {
  height: 100%;
  padding: 0 20px;
  border: none;
  background: var(--blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  white-space: nowrap;
}

.header-link {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.account-btn {
  background: rgba(255,255,255,.1);
  color: white;
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.publish-btn {
  background: var(--yellow);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.navigation {
  height: 54px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  border-bottom: 1px solid var(--border);
}

.navigation a {
  height: 100%;
  display: flex;
  align-items: center;
  color: #677187;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}

.navigation a:hover,
.navigation a.active {
  color: var(--blue);
}

.navigation a.active::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--blue);
  bottom: 0;
  left: 0;
  border-radius: 5px;
}

.page-shell {
  max-width: 1200px;
  margin: 40px auto 70px;
  padding: 0 22px;
}

.hero-panel {
  background: linear-gradient(135deg, #101c3a 0%, #1a2d5a 100%);
  color: white;
  border-radius: 26px;
  padding: 48px 36px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.hero-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.text-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.text-block h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.text-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.features-section,
.values-section {
  margin-top: 42px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading .eyebrow {
  color: var(--blue);
  background: var(--blue-light);
  border-color: #dce5ff;
}

.section-heading h2,
.values-section h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-number {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1rem;
}

.feature-card p,
.payment-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.payment-note {
  margin-top: 16px;
  font-size: .9rem;
}

.founder-panel {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
  padding: 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  box-shadow: var(--shadow);
}

.founder-mark {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--yellow);
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.founder-label {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.founder-copy h2 {
  max-width: 700px;
  margin: 10px 0 14px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.founder-copy p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
}

.founder-copy strong {
  color: white;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.value-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.cta-panel {
  margin-top: 42px;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0;
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.cta-panel p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.cta-primary {
  background: var(--blue);
  color: white;
}

.cta-secondary {
  border: 1px solid var(--border);
  color: var(--navy);
}

.footer {
  background: #0d1730;
  color: rgba(255,255,255,.8);
  padding: 42px 6% 28px;
  margin-top: 60px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
}

.footer-brand p {
  margin: 18px 0 0;
  line-height: 1.8;
  color: rgba(255,255,255,.7);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  margin: 0 0 8px;
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a {
  color: rgba(255,255,255,.72);
  font-size: 0.95rem;
  transition: opacity .2s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 26px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 18px 20px;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .header-search {
    width: 100%;
    max-width: none;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .story-section,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-panel {
    grid-template-columns: 1fr;
  }

  .founder-mark {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .founder-panel {
    padding: 28px 22px;
  }

  .page-shell {
    margin-top: 24px;
    padding: 0 16px;
  }
}
