/* AirTre Official Discord Community page (v9 shell + crisp editorial layout). */
.discord-v9 {
  background: #ffffff;
  color: #171717;
}

.dc-main {
  overflow: clip;
}

.dc-wrap {
  width: min(1140px, calc(100% - clamp(32px, 6vw, 96px)));
  margin: 0 auto;
  position: relative;
}

.dc-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #404040;
  text-transform: uppercase;
}

/* Discord Circle Avatar */
.dc-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.dc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  box-shadow:
    0 8px 20px rgba(88, 101, 242, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.dc-avatar img {
  display: block;
  width: 30px;
  height: auto;
}

.dc-avatar--sm {
  width: 42px;
  height: 42px;
  box-shadow:
    0 6px 14px rgba(88, 101, 242, 0.24),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.dc-avatar--sm img {
  width: 23px;
}

.dc-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-brand-meta .dc-label {
  margin: 0;
}

.dc-brand-sub {
  font-size: 13px;
  font-weight: 700;
  color: #5865f2;
}

.dc-btn-icon {
  display: inline-block;
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.dc-install-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dc-install-card-head .dc-install-badge {
  margin-bottom: 0;
}

.dc-main h1,
.dc-main h2,
.dc-main h3 {
  margin: 0;
  color: #171717;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.42;
}

.dc-main h2 {
  font-size: clamp(24px, 2.7vw, 36px);
}

.dc-main h3 {
  font-size: clamp(18px, 1.7vw, 22px);
}

/* Hero */
.dc-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ededed;
  background: #ffffff;
}

.dc-hero-visual {
  position: absolute;
  inset: 0 0 0 46%;
  overflow: hidden;
}

.dc-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 12%);
  pointer-events: none;
}

.dc-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.dc-hero-copy {
  position: relative;
  width: min(560px, 52%);
  padding-block: clamp(48px, 6vw, 76px);
}

.dc-hero h1 {
  font-size: clamp(24px, 2.75vw, 38px);
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.dc-hero h1 span {
  display: block;
}

.dc-hero-title-main {
  white-space: nowrap;
}

.dc-hero-title-sub {
  margin-top: 8px;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  color: #404040;
  letter-spacing: -0.01em;
}

.dc-hero-lead {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: #262626;
}

.dc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
}

.dc-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  min-width: 236px;
  padding: 14px 28px;
  border-radius: 8px;
  background: #171717;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.18s ease;
}

.dc-primary-btn:hover {
  background: #2b2b2b;
  transform: translateY(-2px);
}

.dc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #404040;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #404040;
  padding-block: 4px;
}

.dc-text-link:hover {
  color: #171717;
  border-bottom-color: #171717;
}

.dc-hero-points {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 32px 0 0;
  padding: 18px 0 0;
  max-width: 460px;
  border-top: 1px solid #ededed;
}

.dc-hero-points li {
  flex: 1 1 110px;
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid #ededed;
}

.dc-hero-points li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.dc-point-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #737373;
  text-transform: uppercase;
}

.dc-point-value {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: #171717;
}

/* Value Section */
.dc-value-band {
  background: #f5f8f9;
  padding-block: clamp(52px, 6vw, 76px);
}

.dc-section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: end;
}

.dc-section-head > p {
  margin: 0;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #404040;
}

.dc-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 44px;
}

.dc-step-num {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #737373;
  font-weight: 600;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.dc-step-num::after {
  content: "";
  height: 1px;
  background: #d4d4d4;
  flex: 1;
}

.dc-benefit-item h3 {
  margin-block: 14px 10px;
}

.dc-benefit-item p {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.85;
  color: #404040;
}

/* Install Discord (iPhone / Android) */
.dc-install-section {
  padding-block: clamp(52px, 6vw, 76px);
  border-bottom: 1px solid #ededed;
  background: #ffffff;
}

.dc-install-lead {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #404040;
}

.dc-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.dc-install-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid #dde5ef;
  background: #f8fafd;
}

.dc-install-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dc-install-card h3 {
  margin-bottom: 10px;
}

.dc-install-steps {
  margin: 0 0 20px;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #374151;
}

.dc-install-steps li + li {
  margin-top: 6px;
}

.dc-store-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  background: #171717;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.dc-store-btn:hover {
  background: #2b2b2b;
  transform: translateY(-1px);
}

.dc-install-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: #525252;
}

/* Join Flow */
.dc-join-flow {
  padding-block: clamp(52px, 6vw, 76px);
}

.dc-join-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.dc-join-lead {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: #404040;
}

.dc-flow-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.dc-flow-list li {
  border-top: 2px solid #171717;
  padding-top: 20px;
}

.dc-flow-meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #737373;
  margin-bottom: 10px;
}

.dc-flow-list h3 {
  margin-bottom: 10px;
}

.dc-flow-list p {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.85;
  color: #404040;
}

/* Social Contribution */
.dc-social-section {
  background: #f5f8f9;
  border-top: 1px solid #ededed;
  padding-block: clamp(56px, 6.5vw, 80px);
}

.dc-social-visual {
  margin: 0 0 clamp(32px, 4vw, 48px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  background: #eaf1f0;
}

.dc-social-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
  object-position: center 55%;
}

.dc-social-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: end;
}

.dc-social-lead {
  margin: 0;
  font-size: 15.2px;
  line-height: 1.88;
  color: #404040;
}

.dc-impact-flow {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.dc-impact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid #dde5ef;
  background: #ffffff;
}

.dc-impact-card::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -21px;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #737373;
  pointer-events: none;
}

.dc-impact-card:last-child::after {
  content: none;
}

.dc-impact-card--goal {
  border-color: #171717;
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08);
}

.dc-impact-step {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2f6;
  color: #404040;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dc-impact-card--goal .dc-impact-step {
  background: #171717;
  color: #ffffff;
}

.dc-impact-card h3 {
  margin-bottom: 10px;
  font-size: clamp(17.5px, 1.6vw, 20px);
}

.dc-impact-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #404040;
}

.dc-social-foot {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid #dde5ef;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.dc-social-quote {
  margin: 0;
  font-size: 14.8px;
  font-weight: 700;
  color: #171717;
  line-height: 1.7;
}

.dc-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.2px;
  font-weight: 700;
  color: #171717;
  text-decoration: none;
  border-bottom: 1px solid #171717;
  padding-bottom: 2px;
  white-space: nowrap;
}

.dc-social-link:hover {
  color: #404040;
  border-bottom-color: #404040;
}

/* FAQ */
.dc-faq-section {
  border-top: 1px solid #ededed;
  padding-block: clamp(52px, 6vw, 72px);
}

.dc-faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.dc-faq-lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: #404040;
}

.dc-faq-list {
  border-top: 1px solid #ededed;
}

.dc-faq-list details {
  border-bottom: 1px solid #ededed;
}

.dc-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
  color: #171717;
}

.dc-faq-list summary::-webkit-details-marker {
  display: none;
}

.dc-faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #525252;
  flex-shrink: 0;
}

.dc-faq-list details[open] summary::after {
  content: "−";
}

.dc-faq-answer {
  margin: 0;
  padding: 0 0 20px;
  font-size: 14.8px;
  line-height: 1.88;
  color: #404040;
}

/* Bottom CTA */
.dc-cta-band {
  background: #f5f7fa;
  padding-block: clamp(48px, 6vw, 68px);
}

.dc-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
}

.dc-cta-band p:not(.dc-label) {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: #404040;
}

.dc-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.dc-cta-btn {
  min-height: 60px;
  border-radius: 40px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 30px;
  width: 100%;
  max-width: 340px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.18s ease;
}

.dc-cta-btn:hover {
  background: #2b2b2b;
  transform: translateY(-2px);
}

.dc-cta-sublink {
  font-size: 14px;
  font-weight: 700;
  color: #1b2d45;
  text-decoration: none;
}

.dc-cta-sublink:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .dc-section-head,
  .dc-social-head,
  .dc-benefits,
  .dc-install-grid,
  .dc-flow-list,
  .dc-impact-flow,
  .dc-faq-grid,
  .dc-cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dc-impact-card::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
  }

  .dc-cta-actions {
    align-items: stretch;
  }

  .dc-cta-btn {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .dc-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .dc-hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    order: 2;
  }

  .dc-hero-visual::after {
    content: none;
  }

  .dc-hero-copy {
    width: 100%;
    padding-block: 36px 24px;
  }

  .dc-hero-title-main {
    white-space: normal;
  }

  .dc-social-visual img {
    aspect-ratio: 16 / 9;
  }

  .dc-primary-btn {
    width: 100%;
  }

  .dc-hero-points li {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }
}
