/* ============================================================
   Power of Smol — Home page styles
   Only layout/composition unique to index.html.
   All reusable components live in components.css.
   ============================================================ */

/* ── Hero ── */
.hero {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 72px var(--gutter) 88px;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--space-5);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
  color: var(--text-strong);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
  white-space: nowrap;
}

.hero__lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 30em;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero__avatars {
  display: inline-flex;
}

.hero__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: var(--weight-bold);
  font-family: var(--font-sans);
  background: var(--orange-100);
  color: var(--orange-800);
  box-shadow: 0 0 0 2.5px var(--cream);
}

.hero__av + .hero__av { margin-left: -10px; }
.hero__av:nth-child(2) { background: var(--teal-100); color: var(--teal-700); }
.hero__av:nth-child(3) { background: var(--sand-200); color: var(--ink-700); }
.hero__av:nth-child(4) { background: var(--ink-900); color: var(--cream); }

.hero__proof-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.hero__proof-text strong {
  color: var(--text-strong);
  font-weight: var(--weight-bold);
}

/* Mock visual */
.hero__visual {
  position: relative;
}

.hero__chip {
  position: absolute;
  z-index: 3;
}

.hero__chip--1 { top: -14px; left: -16px; }
.hero__chip--2 { bottom: -16px; right: 12px; }

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .hero__visual { order: -1; }
}


/* ── System mock ── */
.mock {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1deg);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--sand-100);
  border-bottom: 1px solid var(--border-subtle);
}

.mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand-300);
}

.mock__url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mock__body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 290px;
}

.mock__side {
  background: var(--surface-sunken);
  border-right: 1px solid var(--border-subtle);
  padding: 14px 10px;
}

.mock__side-heading {
  font-size: 12px;
  font-weight: var(--weight-extrabold);
  color: var(--text-strong);
  padding: 4px 8px 10px;
  font-family: var(--font-display);
}

.mock__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  font-weight: var(--weight-medium);
}

.mock__nav-item.is-active {
  background: var(--orange-50);
  color: var(--orange-700);
  font-weight: var(--weight-bold);
}

.mock__main { padding: 16px 18px; }

.mock__main-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 15px;
  color: var(--text-strong);
  margin-bottom: var(--space-3);
}

.mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.mock__check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #3F7D5B;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10px;
}

.mock__row-text {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
  flex: 1;
}

.mock__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 10px;
  font-weight: var(--weight-bold);
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-sans);
}


/* ── Intersection ── */
.intersection { background: var(--surface-page); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pillar {
  padding: 28px 26px;
  background: var(--paper);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.pillar__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--orange-50);
  color: var(--orange-600);
  margin-bottom: var(--space-5);
}

.pillar:nth-child(2) .pillar__icon { background: var(--teal-100); color: var(--teal-600); }
.pillar:nth-child(3) .pillar__icon { background: var(--sand-100); color: var(--ink-700); }

.pillar__title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: var(--space-2);
  color: var(--text-strong);
}

.pillar__body {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-body);
}

.intersection__foot {
  margin-top: var(--space-10);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  max-width: 22em;
}

.intersection__foot em {
  font-style: normal;
  color: var(--accent);
}

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


/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.service__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--ink-900);
  color: var(--cream);
}

.service--featured .service__icon { background: var(--accent); }

.service__list {
  list-style: none;
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-body);
}

.service__foot { margin-top: var(--space-6); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
}


/* ── Method ── */
.method {
  background: var(--surface-inverse);
  color: var(--cream);
}

.method .sec-title { color: var(--cream); }

.method__wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-9);
  align-items: start;
}

.method__rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.method__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 18px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--ink-300);
  transition: background var(--dur) var(--ease-out);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.method__item:hover { background: rgba(255,255,255,.04); }
.method__item.is-active { background: rgba(255,255,255,.06); }

.method__item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  color: var(--orange-300);
  text-transform: uppercase;
  flex-shrink: 0;
}

.method__item-title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 17px;
  color: var(--cream);
  flex: 1;
  letter-spacing: -0.01em;
}

.method__chevron {
  color: var(--orange-400);
  opacity: 0;
  transition: opacity var(--dur);
  flex-shrink: 0;
}

.method__item.is-active .method__chevron { opacity: 1; }

.method__detail {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.method__num {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 88px;
  line-height: 1;
  color: var(--orange-500);
  letter-spacing: -0.04em;
}

.method__detail-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  margin: var(--space-2) 0 var(--space-3);
  letter-spacing: -0.02em;
}

.method__detail-desc {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-300);
  margin-bottom: var(--space-6);
}

.method__meta {
  display: flex;
  gap: var(--space-6);
}

.method__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-200);
}

@keyframes method-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.method__detail-inner {
  animation: method-fade var(--dur-slow) var(--ease-out);
}

@media (max-width: 820px) {
  .method__wrap { grid-template-columns: 1fr; }
}


/* ── Testimonial ── */
.testimonial { display: flex; justify-content: center; }

.quote__card {
  max-width: 800px;
  text-align: center;
}

.quote__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--accent);
  margin-bottom: var(--space-6);
}

.quote__text {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: var(--space-8);
}

.quote__text em { font-style: normal; color: var(--accent); }

.quote__person {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-800);
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quote__name {
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  text-align: left;
}

.quote__role {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: left;
}
