/* SummitGear - homepage only styles (hero, steps, table, faq)
   Loaded only when is_front_page(). */

/* ---------------- Hero ---------------- */
.ceaa7b-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 68px;
  background:
    radial-gradient(760px 520px at 82% 8%, rgba(192, 102, 74, .20), transparent 66%),
    linear-gradient(180deg, rgba(23, 27, 32, .72), rgba(17, 20, 24, 0));
  border-bottom: 1px solid var(--border);
}
.ceaa7b-orb--hero {
  width: 420px; height: 420px;
  right: -140px; top: -170px;
  background: radial-gradient(circle at 34% 34%, rgba(192, 102, 74, .34), rgba(192, 102, 74, 0) 68%);
}
.ceaa7b-orb--hero2 { display: none; }
.ceaa7b-ring--hero {
  width: 260px; height: 260px;
  left: -120px; bottom: -130px;
  right: auto;
  border-color: rgba(232, 234, 237, .13);
  box-shadow: inset 0 0 0 26px rgba(192, 102, 74, .04);
}
.ceaa7b-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 46px;
  align-items: center;
}
.ceaa7b-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-lift);
  background: var(--accent-wash);
  border: 1px solid rgba(192, 102, 74, .30);
  border-radius: var(--radius-pill);
  padding: 6px 15px;
  margin-bottom: 22px;
}
.ceaa7b-hero__title {
  font-size: 55px;
  line-height: 1.06;
  letter-spacing: -.034em;
  margin: 0 0 18px;
  max-width: 15ch;
}
.ceaa7b-hero__title::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  margin-top: 20px;
}
.ceaa7b-hero__note {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.66;
  max-width: 40ch;
  margin: 0;
}

.ceaa7b-hero__panel {
  position: relative;
  background: var(--card);
  color: var(--card-ink);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.ceaa7b-hero__panel::before {
  content: "";
  position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  right: -62px; top: -62px;
  background: rgba(192, 102, 74, .16);
}
.ceaa7b-hero__panel::after {
  content: "";
  position: absolute;
  left: 30px; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}
.ceaa7b-hero__lede {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.62;
  color: #2b3035;
  margin: 0 0 22px;
}
.ceaa7b-sub { position: relative; z-index: 1; display: block; }
.ceaa7b-sub__label {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 9px;
}
.ceaa7b-sub__row {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(20, 24, 28, .16);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 16px;
  box-shadow: inset 0 1px 2px rgba(20, 24, 28, .06);
}
.ceaa7b-sub__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--card-ink);
}
.ceaa7b-sub__input::placeholder { color: #9a9d9f; }
.ceaa7b-sub__btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.ceaa7b-sub__btn:hover { background: #cf7558; transform: translateY(-1px); }
.ceaa7b-sub__fine {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--card-muted);
}

/* ---------------- Steps ---------------- */
.ceaa7b-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}
.ceaa7b-step {
  position: relative;
  background: rgba(241, 236, 230, .045);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px 22px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 10px 22px rgba(0, 0, 0, .18);
  transition: border-color .2s, transform .2s, background .2s;
  overflow: hidden;
}
.ceaa7b-step:hover {
  border-color: rgba(192, 102, 74, .45);
  background: rgba(192, 102, 74, .07);
  transform: translateY(-3px);
}
.ceaa7b-step__num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
  padding: 3px 11px;
  margin-bottom: 13px;
  box-shadow: 0 6px 16px rgba(192, 102, 74, .32);
}
.ceaa7b-step__title {
  font-size: 17.5px;
  line-height: 1.28;
  margin: 0 0 8px;
  letter-spacing: -.014em;
}
.ceaa7b-step__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ---------------- Quick reference table ---------------- */
.ceaa7b-tablewrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  background: var(--card);
}
.ceaa7b-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  color: var(--card-ink);
}
.ceaa7b-table thead th {
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
}
.ceaa7b-table tbody th {
  text-align: left;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 16px;
  color: var(--card-ink);
  white-space: nowrap;
}
.ceaa7b-table tbody td {
  padding: 12px 16px;
  color: #3a3f44;
  line-height: 1.45;
}
.ceaa7b-table tbody tr + tr th,
.ceaa7b-table tbody tr + tr td {
  border-top: 1px solid rgba(20, 24, 28, .10);
}
.ceaa7b-table tbody tr:nth-child(even) { background: rgba(20, 24, 28, .035); }
.ceaa7b-table tbody tr:hover { background: rgba(192, 102, 74, .10); }
.ceaa7b-table__note {
  margin: 14px 0 0;
  font-size: 11.5px;
  letter-spacing: .03em;
  color: #6f7883;
}

/* ---------------- FAQ ---------------- */
.ceaa7b-faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ceaa7b-faq__item {
  background: var(--card);
  color: var(--card-ink);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s, transform .2s;
}
.ceaa7b-faq__item[open] { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.ceaa7b-faq__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ceaa7b-faq__item summary {
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.32;
  letter-spacing: -.01em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--card-ink);
}
.ceaa7b-faq__item summary::-webkit-details-marker { display: none; }
.ceaa7b-faq__item summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  transform: translateY(1px);
}
.ceaa7b-faq__item[open] summary::before { content: "\2212"; }
.ceaa7b-faq__item p {
  margin: 12px 0 0 34px;
  font-size: 13px;
  line-height: 1.6;
  color: #3a3f44;
}
.ceaa7b-empty { color: var(--text-muted); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .ceaa7b-hero { padding: 56px 0 52px; }
  .ceaa7b-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .ceaa7b-hero__title { font-size: 44px; max-width: 20ch; }
  .ceaa7b-steps__list { grid-template-columns: 1fr 1fr; }
  .ceaa7b-table { font-size: 12.5px; }
}

@media (max-width: 768px) {
  .ceaa7b-hero { padding: 44px 0 44px; }
  .ceaa7b-hero__title { font-size: 33px; letter-spacing: -.026em; }
  .ceaa7b-hero__title::after { margin-top: 16px; width: 64px; }
  .ceaa7b-hero__note { font-size: 13.5px; }
  .ceaa7b-hero__panel { padding: 24px 22px 22px; }
  .ceaa7b-hero__lede { font-size: 15px; }
  .ceaa7b-steps__list { grid-template-columns: 1fr; }
  .ceaa7b-faq__list { grid-template-columns: 1fr; }
  .ceaa7b-tablewrap { overflow-x: auto; }
  .ceaa7b-table { min-width: 640px; }
  .ceaa7b-table thead th, .ceaa7b-table tbody th, .ceaa7b-table tbody td { padding: 10px 12px; }
}

@media (max-width: 560px) {
  .ceaa7b-hero__title { font-size: 29px; }
  .ceaa7b-sub__row { flex-wrap: wrap; padding: 10px; border-radius: var(--radius-sm); }
  .ceaa7b-sub__btn { width: 100%; }
}
