.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}

.section-head h2 {
  max-width: 18ch;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head p {
  max-width: 60ch;
  color: var(--section-text);
}

.section-grid {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.section.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(rgba(145, 214, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 214, 237, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
}

.section.section-dark::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 219, 244, 0.58), transparent);
  pointer-events: none;
}

.section.section-dark > .container {
  position: relative;
  z-index: 1;
}

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

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

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

.section-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(128, 214, 237, 0.24);
  background: linear-gradient(155deg, rgba(11, 41, 64, 0.74), rgba(7, 24, 39, 0.68));
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(3px);
  transition: transform 0.28s var(--ease), border 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.section-panel h3 {
  margin-bottom: 10px;
}

.section-panel p {
  color: var(--section-text);
}

.section-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(170, 232, 251, 0.38);
  box-shadow: 0 24px 36px rgba(3, 11, 20, 0.24);
}

.section-light .section-panel,
.section-panel[data-tone='light'] {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(15, 42, 66, 0.14);
  box-shadow: 0 18px 40px rgba(12, 20, 36, 0.1);
}

.section-light .section-panel h3,
.section-panel[data-tone='light'] h3 {
  color: #13324b;
}

.section-light .section-panel p,
.section-panel[data-tone='light'] p {
  color: #3a5a74;
}

.flow-list {
  display: grid;
  gap: 16px;
}

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(128, 214, 237, 0.24);
  background: linear-gradient(155deg, rgba(11, 40, 62, 0.72), rgba(7, 24, 39, 0.66));
  backdrop-filter: blur(3px);
  transition: transform 0.28s var(--ease), border 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.flow-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(42, 210, 238, 0.36), rgba(20, 121, 163, 0.28));
  border: 1px solid rgba(145, 222, 245, 0.38);
  color: #ddf6ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(205, 242, 253, 0.14);
}

.flow-item h3 {
  margin-bottom: 6px;
}

.flow-item p {
  color: var(--section-text);
}

.flow-item:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 231, 252, 0.4);
  box-shadow: 0 20px 32px rgba(3, 11, 20, 0.22);
}

.section-light .flow-item,
.flow-item[data-tone='light'] {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-color: rgba(15, 42, 66, 0.14);
}

.section-light .flow-index,
.flow-item[data-tone='light'] .flow-index {
  background: rgba(14, 165, 233, 0.2);
  color: #0e4f74;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.principle-grid {
  display: grid;
  gap: 18px;
}

.principle-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(128, 214, 237, 0.22);
  background: linear-gradient(155deg, rgba(11, 40, 62, 0.72), rgba(7, 24, 39, 0.66));
  transition: transform 0.28s var(--ease), border 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.principle-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.principle-card p {
  color: var(--section-text);
}

.principle-card:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 231, 252, 0.36);
  box-shadow: 0 20px 30px rgba(3, 11, 20, 0.22);
}

.section-light .principle-card,
.principle-card[data-tone='light'] {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(15, 42, 66, 0.14);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(128, 214, 237, 0.24);
  background: linear-gradient(155deg, rgba(11, 40, 62, 0.74), rgba(7, 24, 39, 0.68));
  transition: transform 0.28s var(--ease), border 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.pillar h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.pillar p {
  color: var(--section-text);
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 231, 252, 0.36);
  box-shadow: 0 20px 30px rgba(3, 11, 20, 0.22);
}

.section-light .pillar,
.pillar[data-tone='light'] {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(15, 42, 66, 0.14);
}

.cta-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgba(227, 190, 101, 0.2), transparent 42%),
    linear-gradient(140deg, rgba(11, 47, 72, 0.88), rgba(7, 24, 38, 0.88));
  border: 1px solid rgba(129, 214, 238, 0.34);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background:
    linear-gradient(rgba(145, 214, 237, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 214, 237, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 14ch;
}

.cta-band p {
  color: var(--section-text);
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-band {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .grid-4,
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .section-head h2 {
    font-size: clamp(1.72rem, 9vw, 2.3rem);
    max-width: 14ch;
  }

  .section-head p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-panel,
  .card,
  .flow-item,
  .principle-card,
  .pillar {
    padding: 16px;
  }

  .cta-band {
    padding: 26px 20px;
  }
}
