/* ===================================================================
   Inner-page styles. Loaded after site.css; only adds what the
   one-page home layout does not already define.
   =================================================================== */

/* ---- Page intro --------------------------------------------------- */

.page-head {
  display: grid;
  gap: 1.1rem;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-width: 62ch;
}

.page-head h1 {
  font-size: var(--step-3);
  letter-spacing: -0.03em;
}

.page-head p {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---- Detail rows -------------------------------------------------- */

.detail-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.detail {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.detail__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
}

.detail__title {
  display: grid;
  gap: 0.3rem;
}

.detail__title h2 {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.detail__title span {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.detail__body {
  display: grid;
  gap: 0.6rem;
}

.detail__body p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 52ch;
}

.detail__body ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.55;
}

.detail__body li::marker {
  color: var(--brand);
}

/* ---- Numbered walkthrough ----------------------------------------- */

.walkthrough {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: step;
}

.walk {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.walk__label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.walk__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  flex-shrink: 0;
}

.walk__label h2 {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.walk__body {
  display: grid;
  gap: 0.6rem;
}

.walk__body p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}

.walk__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* ---- Pricing ------------------------------------------------------ */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.plan {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plan--featured {
  border-color: var(--brand);
  box-shadow: 0 20px 50px -34px rgba(15, 76, 58, 0.55);
}

.plan__head {
  display: grid;
  gap: 0.25rem;
}

.plan__name {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan__price strong {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan__price span {
  font-size: var(--step--1);
  color: var(--ink-faint);
}

.plan__desc {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.55;
  min-height: 3em;
}

.plan__features {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}

.plan__features li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.5;
}

.plan__features li::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-top: 0.22em;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 9px var(--brand);
}

.plan .btn {
  justify-self: stretch;
  justify-content: center;
}

/* ---- FAQ ---------------------------------------------------------- */

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  font-family: var(--display);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  padding-block-end: 1.25rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---- Not-found ---------------------------------------------------- */

.notfound {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-block: clamp(4rem, 2rem + 8vw, 9rem);
  max-width: 52ch;
}

.notfound h1 {
  font-size: var(--step-3);
}

.notfound p {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .detail {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .detail__glyph {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .detail__body {
    grid-column: 2;
  }

  .walk {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
