* {
  box-sizing: border-box;
}

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

body {
  background: #f3f0e8;
  color: #15212b;
  font-family: Arial, Helvetica, "PingFang SC", "Noto Sans SC", sans-serif;
}

.ft-header {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 32px;
  background: #ffffff;
  border-bottom: 1px solid #e0ddd3;
}

.ft-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #15212b;
  text-decoration: none;
}

.ft-wordmark {
  color: #e31b23;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.ft-tagline {
  color: #53616b;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.ft-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #e2ded2;
  border-radius: 7px;
  background: #faf8f2;
}

.ft-nav a {
  padding: 9px 18px;
  border-radius: 5px;
  color: #5d6a72;
  font-size: 12px;
  text-decoration: none;
}

.ft-nav a:hover {
  background: #f0ede3;
}

.ft-nav a.is-active {
  background: #ffffff;
  color: #15212b;
  box-shadow: 0 1px 3px rgba(24, 35, 43, 0.08);
  font-weight: 600;
}

.ft-note {
  margin-left: auto;
  color: #7e898e;
  font-size: 11px;
}

.ft-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 52px 0 70px;
}

.ft-eyebrow {
  margin: 0 0 14px;
  color: #5e7b86;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ft-hero h1 {
  margin: 0 0 14px;
  font-size: 48px;
  font-weight: 750;
  letter-spacing: -1.8px;
}

.ft-lead {
  max-width: 670px;
  margin: 0;
  color: #53616b;
  font-size: 15px;
  line-height: 1.6;
}

.ft-section {
  margin-top: 46px;
}

.ft-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dcd7ca;
}

.ft-section-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.ft-section-head span {
  color: #7e898e;
  font-size: 11px;
}

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

.ft-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 22px 23px 18px;
  border: 1px solid #ddd8cb;
  border-radius: 10px;
  background: #fffdf8;
  color: #15212b;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ft-card:hover {
  transform: translateY(-2px);
  border-color: #b8c6ca;
  box-shadow: 0 10px 26px rgba(24, 35, 43, 0.09);
}

.ft-card-primary {
  background: #1e3b4d;
  border-color: #1e3b4d;
  color: #ffffff;
}

.ft-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  color: #d8e7ea;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ft-card h3 {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: -0.7px;
}

.ft-card p {
  margin: 0 0 14px;
  color: #69777e;
  font-size: 13px;
  line-height: 1.55;
}

.ft-card-primary p {
  color: #c3d3d8;
}

.ft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #a9c2c8;
  font-size: 10px;
}

.ft-meta span {
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.ft-open {
  margin-top: auto;
  color: #1f6387;
  font-size: 11px;
  font-weight: 700;
}

.ft-card-primary .ft-open {
  color: #ffffff;
}

.ft-open b {
  margin-left: 5px;
  font-size: 15px;
}

.ft-footer {
  padding: 18px 32px 28px;
  color: #879094;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .ft-header {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    padding: 14px 18px;
  }

  .ft-note {
    display: none;
  }

  .ft-main {
    width: calc(100% - 36px);
    padding-top: 30px;
  }

  .ft-hero h1 {
    font-size: 36px;
  }

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