.section-shell {
  width: min(var(--content-width, 1240px), calc(100% - 2rem));
  margin: 0 auto;
}

.home-page {
  padding-bottom: 4rem;
}

.home-hero {
  padding: 1.2rem 0 2.8rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(180deg, #f7f4ed 0%, #f2ece3 100%);
}

.home-hero__wrap {
  width: min(var(--content-width, 1240px), calc(100% - 2rem));
  margin: 0 auto;
}

.home-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 36px 70px rgba(15, 35, 62, 0.12);
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: clamp(2rem, 4vw, 4rem);
  color: #f7f2e8;
  background:
    radial-gradient(circle at top left, rgba(216, 159, 52, 0.18), transparent 34%),
    linear-gradient(160deg, #10253f 0%, #0d2037 55%, #0b1a2d 100%);
}

.home-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.72);
}

.home-hero__headline {
  color: #ffffff;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
}

.home-hero__headline-accent {
  margin-top: -0.45rem;
  color: var(--accent-gold-strong, #ebb451);
  font-size: clamp(2.5rem, 5.7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.home-hero__subheadline {
  max-width: 630px;
  font-size: 1.08rem;
  color: rgba(247, 242, 232, 0.85);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.home-hero__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-hero__pillar {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.home-hero__pillar-icon {
  width: 3rem;
  height: 3rem;
  color: var(--accent-gold-strong, #ebb451);
}

.home-hero__pillar-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(247, 242, 232, 0.88);
}

.home-hero__visual {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(0deg, rgba(15, 35, 62, 0.2), rgba(15, 35, 62, 0.2)),
    radial-gradient(circle at 15% 20%, rgba(255, 183, 77, 0.18), transparent 22%),
    linear-gradient(180deg, #2d241f 0%, #1a1a1a 32%, #211810 100%);
}

.hero-scene {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.2rem;
}

.hero-scene__quote {
  position: absolute;
  top: 2rem;
  right: 2rem;
  max-width: 220px;
  color: #f5efe4;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  text-align: right;
  line-height: 1.35;
}

.hero-laptop {
  position: absolute;
  left: 8%;
  right: 11%;
  top: 18%;
  display: grid;
  justify-items: center;
}

.hero-laptop__screen {
  width: 100%;
  min-height: 300px;
  padding: 2rem;
  border-radius: 20px 20px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(11, 22, 37, 0.95), rgba(10, 17, 27, 0.96)),
    radial-gradient(circle at top right, rgba(216, 159, 52, 0.12), transparent 24%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 28px 55px rgba(0, 0, 0, 0.32);
}

.hero-laptop__title {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 650;
  line-height: 1.1;
}

.hero-laptop__points {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: rgba(245, 239, 228, 0.88);
  font-size: 1rem;
}

.hero-laptop__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-laptop__metric {
  color: rgba(245, 239, 228, 0.92);
  text-align: center;
}

.hero-laptop__metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold-strong, #ebb451);
}

.hero-laptop__metric-label {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: rgba(245, 239, 228, 0.72);
}

.hero-laptop__cta {
  display: inline-flex;
  margin-top: 1.7rem;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  background: rgba(216, 159, 52, 0.18);
  color: #f7f2e8;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-laptop__keyboard {
  width: 92%;
  height: 24px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #898178 0%, #4f4a45 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
}

.hero-scene__mug {
  position: absolute;
  left: 7%;
  bottom: 18%;
  padding: 1.2rem 1rem;
  border-radius: 0 0 18px 18px;
  background: #16191c;
  color: rgba(245, 239, 228, 0.88);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.25);
}

.hero-scene__note {
  position: absolute;
  right: 6%;
  bottom: 11%;
  width: 180px;
  padding: 1.25rem 1rem;
  border-radius: 8px;
  background: #e9dcc4;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.18);
  transform: rotate(6deg);
}

.hero-scene__note-title {
  margin-bottom: 0.7rem;
  color: #233247;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-scene__note ul {
  list-style: none;
  display: grid;
  gap: 0.32rem;
  color: #34475f;
  font-size: 0.92rem;
}

.hero-scene__note li::before {
  content: '- ';
}

.hero-scene__plant {
  position: absolute;
  right: 2.5rem;
  bottom: 20%;
  width: 78px;
  height: 118px;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 32% 16%, #6f9447 0 12%, transparent 13%),
    radial-gradient(circle at 64% 10%, #89b458 0 12%, transparent 13%),
    radial-gradient(circle at 50% 0, #a8d36d 0 10%, transparent 11%),
    linear-gradient(180deg, transparent 0%, transparent 45%, #635242 46%, #504135 100%);
}

.learn-grid-section,
.home-guides,
.guild-section {
  padding: 4rem 0;
}

.learn-grid-section {
  background: linear-gradient(180deg, #f8f5ef 0%, #ffffff 100%);
}

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

.learn-card {
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 34, 53, 0.08);
  text-align: center;
  box-shadow: 0 18px 36px rgba(15, 35, 62, 0.06);
}

.learn-card__icon {
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1rem;
  padding: 0.75rem;
  border-radius: 999px;
  background: rgba(15, 35, 62, 0.05);
  color: var(--surface-navy, #0f233e);
}

.learn-card h3 {
  font-size: 1.5rem;
}

.learn-card p {
  margin-top: 0.8rem;
  color: var(--ink-soft, #586981);
}

.framework-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f4eee5 0%, #f7f2e9 100%);
}

.framework-section__inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.framework-intro h2 {
  font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.framework-intro p {
  margin-top: 1rem;
  color: var(--ink-soft, #57687e);
}

.framework-intro .btn {
  margin-top: 1.6rem;
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.framework-step {
  text-align: center;
}

.framework-step__icon {
  width: 5.2rem;
  height: 5.2rem;
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 999px;
  color: var(--accent-gold, #d89f34);
  background: var(--surface-navy, #0f233e);
  box-shadow: 0 18px 34px rgba(15, 35, 62, 0.18);
}

.framework-step__number {
  margin-bottom: 0.4rem;
  color: var(--surface-navy, #0f233e);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.framework-step h3 {
  font-size: 1rem;
}

.framework-step p {
  margin-top: 0.55rem;
  color: var(--ink-soft, #59687a);
  font-size: 0.95rem;
}

.proof-strip {
  background: linear-gradient(180deg, #10253f 0%, #0c1c30 100%);
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 0;
}

.proof-strip__item {
  text-align: center;
  color: rgba(245, 239, 228, 0.88);
}

.proof-strip__value {
  color: var(--accent-gold-strong, #ebb451);
  font-size: 1.8rem;
  font-weight: 700;
}

.proof-strip__label {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.home-guides {
  background: linear-gradient(180deg, #ffffff 0%, #f7f2e8 100%);
}

.guild-section {
  background: linear-gradient(180deg, #f6f0e6 0%, #f2ebe0 100%);
}

.guild-section__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: center;
}

.guild-badge-card {
  display: flex;
  justify-content: center;
}

.guild-badge-card__crest {
  width: 180px;
  min-height: 210px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.3rem;
  padding: 1.5rem 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, #10253f 0%, #0a1828 100%);
  border: 3px solid var(--accent-gold, #d89f34);
  color: #f6f2ea;
  text-align: center;
  box-shadow: 0 26px 50px rgba(15, 35, 62, 0.18);
}

.guild-badge-card__crest span {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guild-badge-card__crest strong {
  color: var(--accent-gold-strong, #ebb451);
  font-size: 2.4rem;
  line-height: 1;
}

.guild-content h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.guild-content__subtitle {
  margin-top: 0.45rem;
  color: var(--surface-navy, #0f233e);
  font-size: 1.3rem;
  font-weight: 650;
}

.guild-content p {
  margin-top: 1rem;
  color: var(--ink-soft, #59687c);
}

.guild-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  margin: 1.4rem 0 1.7rem;
}

.guild-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink, #223247);
  font-weight: 500;
}

.guild-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent-gold, #d89f34);
}

.guild-testimonial {
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 34, 53, 0.08);
  box-shadow: 0 20px 40px rgba(15, 35, 62, 0.08);
}

.guild-testimonial__quote-mark {
  color: var(--accent-gold, #d89f34);
  font-size: 3rem;
  line-height: 0.8;
}

.guild-testimonial blockquote {
  margin: 0.35rem 0 0;
  color: var(--ink-soft, #586a81);
  font-size: 1.05rem;
}

.guild-testimonial__author {
  margin-top: 1.15rem;
  color: var(--ink, #243348);
  font-weight: 650;
  text-align: right;
}

@media (max-width: 1180px) {
  .home-hero__panel,
  .framework-section__inner,
  .guild-section__inner {
    grid-template-columns: 1fr;
  }

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

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

  .guild-section__inner {
    justify-items: start;
  }

  .guild-testimonial {
    max-width: 520px;
  }
}

@media (max-width: 860px) {
  .home-hero__visual {
    min-height: 500px;
  }

  .home-hero__pillars,
  .learn-grid,
  .framework-steps,
  .guild-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-laptop {
    left: 7%;
    right: 9%;
  }

  .hero-scene__quote {
    max-width: 190px;
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .home-hero__wrap {
    width: calc(100% - 1.25rem);
  }

  .home-hero {
    padding-top: 0.7rem;
  }

  .home-hero__content {
    padding: 1.5rem;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__pillars,
  .learn-grid,
  .framework-steps,
  .guild-points,
  .proof-strip__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    min-height: 430px;
  }

  .hero-scene {
    padding: 1.3rem;
  }

  .hero-scene__quote {
    top: 1.2rem;
    right: 1.2rem;
    max-width: 155px;
    font-size: 0.9rem;
  }

  .hero-laptop {
    left: 5%;
    right: 5%;
    top: 16%;
  }

  .hero-laptop__screen {
    min-height: 260px;
    padding: 1.3rem;
  }

  .hero-laptop__metrics {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-scene__mug,
  .hero-scene__plant {
    display: none;
  }

  .hero-scene__note {
    right: 3%;
    bottom: 5%;
    width: 150px;
    transform: rotate(4deg);
  }

  .learn-grid-section,
  .home-guides,
  .guild-section,
  .framework-section {
    padding: 3rem 0;
  }
}
