.growth-hub {
  margin: 2.5rem 0 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(11, 92, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, #f7faff 0%, #edf4ff 100%);
  box-shadow: 0 18px 45px rgba(6, 30, 59, 0.08);
}

.growth-hub-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.growth-hub h2,
.growth-hub h3,
.growth-hub p { margin-top: 0; }
.growth-hub h2 { margin-bottom: 0.35rem; color: #061e3b; }
.growth-hub-heading p { margin-bottom: 0; color: #4c5f75; max-width: 58ch; }

.growth-pattern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.growth-pattern-card {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid #dbe7fb;
  border-radius: 18px;
  color: #061e3b;
  background: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.growth-pattern-card:hover,
.growth-pattern-card:focus-visible {
  transform: translateY(-2px);
  border-color: #0b5cff;
  box-shadow: 0 10px 25px rgba(11, 92, 255, 0.12);
}

.growth-pattern-card strong { font-size: 1rem; }
.growth-pattern-card span { color: #597089; font-size: 0.9rem; line-height: 1.45; }
.growth-pattern-card b { color: #0b5cff; font-size: 0.88rem; }

.growth-hub-actions,
.growth-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.growth-hub-actions { margin-top: 1rem; }
.growth-result-actions { margin-left: auto; }

.growth-button,
.growth-hub button {
  appearance: none;
  border: 1px solid #0b5cff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #0b5cff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.growth-invite-button { box-shadow: 0 8px 22px rgba(11, 92, 255, 0.22); }
.growth-status { margin: 1rem auto; max-width: 1180px; color: #173b64; font-weight: 650; }

.pattern-guide-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.pattern-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 28px;
  color: #fff;
  background: radial-gradient(circle at top right, #1f6fff 0%, #0b3c8a 33%, #061e3b 75%);
  box-shadow: 0 24px 60px rgba(6, 30, 59, 0.22);
}

.pattern-guide-hero h1 { margin: 0.45rem 0 0.9rem; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; }
.pattern-guide-hero p { color: #dbe9ff; font-size: 1.08rem; line-height: 1.65; }
.pattern-guide-hero .section-kicker { color: #9ec2ff; }

.pattern-launcher {
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.pattern-launcher label { display: grid; gap: 0.45rem; font-weight: 700; }
.pattern-launcher input { min-height: 48px; border: 1px solid #b9d1f5; border-radius: 11px; padding: 0.65rem; font: inherit; }
.pattern-launcher a { display: block; margin-top: 0.8rem; border-radius: 12px; padding: 0.85rem 1rem; color: #061e3b; background: #fff; text-align: center; text-decoration: none; font-weight: 800; }
.pattern-launcher small { display: block; margin-top: 0.65rem; color: #c9dcfb; line-height: 1.4; }

.cycle-strip { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.25rem 0 0; }
.cycle-block { flex: 1 1 56px; min-width: 50px; padding: 0.65rem 0.35rem; border-radius: 10px; text-align: center; font-size: 0.78rem; font-weight: 800; }
.cycle-work { color: #fff; background: #0b5cff; }
.cycle-night { color: #fff; background: #5b36b8; }
.cycle-off { color: #173b64; background: #dfeaf8; }

.pattern-guide-content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; margin-top: 1.5rem; }
.pattern-guide-copy,
.pattern-guide-aside { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #e0e8f2; border-radius: 22px; background: #fff; }
.pattern-guide-copy h2,
.pattern-guide-aside h2 { color: #061e3b; }
.pattern-guide-copy p,
.pattern-guide-copy li,
.pattern-guide-aside p,
.pattern-guide-aside li { color: #41566d; line-height: 1.7; }
.pattern-guide-copy section + section { margin-top: 2rem; }
.pattern-guide-aside { align-self: start; }
.pattern-guide-aside ul { padding-left: 1.2rem; }

.pattern-faq details { border-top: 1px solid #e4ebf4; padding: 0.9rem 0; }
.pattern-faq summary { color: #102f52; font-weight: 760; cursor: pointer; }

@media (max-width: 900px) {
  .growth-pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pattern-guide-hero,
  .pattern-guide-content { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .growth-hub-heading { align-items: flex-start; flex-direction: column; }
  .growth-pattern-grid { grid-template-columns: 1fr; }
  .growth-result-actions { width: 100%; margin-left: 0; }
  .growth-result-actions button { flex: 1 1 100%; }
  .pattern-guide-page { padding: 0.75rem; }
  .pattern-guide-hero { border-radius: 20px; }
}

@media print {
  .growth-hub,
  .growth-result-actions,
  .growth-invite-button { display: none !important; }
}
