/*
 * start, "Where to start" (home-bots-pricing 2026-11-28): the second half of the chapter "How we work and what it costs".
 * No chapter intro of its own: a hairline, a sub-heading (eyebrow, two-tone title and its line beside it from 1,024 px),
 * three equal cards (feature tile and name; how long and "Fixed price" as two quiet chips; what it is; what you get;
 * one link at the foot), then one closing line on senior judgement. Three columns from 1,024 px, one below.
 * Every rule is scoped to [data-section="start"].
 */

/* NEW TOKENS ------------------------------------------------------------------------------------ */
[data-section="start"] {
  --sta-line: rgb(11 13 16 / 0.09);
  --sta-chip: #F2F3F0;
}

[data-section="start"] .sta-body {
  max-inline-size: calc(var(--hf-story-max) + 2 * var(--hf-story-pad-x));
  margin-inline: auto;
  padding: 8px var(--hf-story-pad-x) var(--hf-row-pad-y);
}

/* The sub-heading: part of the chapter above, so smaller than a chapter title and set on the column */
[data-section="start"] .sta-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end;
  padding-block-start: 56px; border-block-start: 1px solid var(--sta-line);
}
[data-section="start"] .sta-head .hf-eyebrow { grid-column: 1 / -1; margin-block-end: 14px; }
[data-section="start"] .sta-head__title {
  margin: 0; font-size: clamp(28px, 2.6vw, 36px); font-weight: 650; line-height: 1.1; letter-spacing: -0.025em;
  color: var(--hf-color-text-1); text-wrap: balance;
}
[data-section="start"] .sta-head__title span { color: var(--hf-tone); }
[data-section="start"] .sta-head__lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--hf-color-text-2); text-wrap: pretty; }

[data-section="start"] .sta-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
[data-section="start"] .sta-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: var(--hf-surface-card);
  box-shadow: 0 0 0 1px var(--hf-line-card), 0 1px 2px rgb(11 13 16 / 0.04);
}
[data-section="start"] .sta-card__head { display: flex; align-items: center; gap: 14px; margin-block-end: 16px; }
[data-section="start"] .sta-card__title {
  margin: 0; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--hf-color-text-1); text-wrap: balance;
}
/* how long it takes and "Fixed price": two quiet chips, the duration first */
[data-section="start"] .sta-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
/* v7 pricing: the "Contact us for pricing" tag (lib/book.css) sits beside the duration chip */
[data-section="start"] .sta-card__price { font-size: 13.5px; }
[data-section="start"] .sta-card__time,
[data-section="start"] .sta-card__fixed {
  display: inline-flex; align-items: center; gap: 7px; min-block-size: 32px; padding: 5px 12px 5px 10px;
  border-radius: var(--hf-radius-pill, 999px); background: var(--sta-chip);
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--hf-color-text-1);
}
[data-section="start"] .sta-card__fixed { background: none; box-shadow: inset 0 0 0 1px var(--sta-line); color: var(--hf-color-text-2); }
[data-section="start"] .sta-card__time .hf-icon,
[data-section="start"] .sta-card__fixed .hf-icon { flex: none; font-size: 16px; color: var(--hf-color-text-3); }
[dir="rtl"] [data-section="start"] .sta-card__time,
[dir="rtl"] [data-section="start"] .sta-card__fixed { padding: 5px 10px 5px 12px; }
[data-section="start"] .sta-card__line { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--hf-color-text-2); text-wrap: pretty; }
[data-section="start"] .sta-card__get {
  margin: 0 0 18px; padding-block-start: 14px; inline-size: 100%;
  border-block-start: 1px solid var(--sta-line);
  font-size: 15px; line-height: 1.5; color: var(--hf-color-text-1);
}
[data-section="start"] .sta-card__k { display: block; margin-block-end: 2px; font-size: 13px; font-weight: 600; color: var(--hf-color-text-3); }
/* the link sits at the foot of every card, so the three line up */
[data-section="start"] .sta-card__link { margin-block-start: auto; font-size: 15px; }
[data-section="start"] .sta-card__link .hf-icon { font-size: 16px; }
/* v7 book: the card's action row under the link (lib/book.css .hf-book-row), so the three line up at the foot */
[data-section="start"] .sta-act {
  inline-size: 100%; margin-block-start: 16px; padding-block-start: 18px;
  border-block-start: 1px solid var(--sta-line);
}

/* the closing line: senior judgement on demand */
[data-section="start"] .sta-lead {
  margin: 40px auto 0; max-inline-size: 70ch; text-align: center;
  font-size: 16px; line-height: 1.6; color: var(--hf-color-text-2); text-wrap: balance;
}
[data-section="start"] .sta-lead__k { font-weight: 600; color: var(--hf-color-text-1); }
/* inline, so the line keeps its leading; the padding gives the 44 px target */
[data-section="start"] .sta-lead__link {
  display: inline; padding-block: 12px; white-space: nowrap;
  font-weight: 600; color: var(--hf-color-text-1); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
[data-section="start"] .sta-lead__link:hover { color: var(--hf-tone); }
[data-section="start"] .sta-lead__link .hf-icon { font-size: 16px; margin-inline-start: 4px; vertical-align: -0.2em; }

/* Arabic */
[data-section="start"]:lang(ar) .sta-head__title { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
[data-section="start"]:lang(ar) .sta-head__lead { line-height: 1.75; }
[data-section="start"]:lang(ar) .sta-card__title { letter-spacing: 0; line-height: 1.45; }
[data-section="start"]:lang(ar) .sta-card__time,
[data-section="start"]:lang(ar) .sta-card__fixed { font-size: 13.5px; line-height: 1.5; }
[data-section="start"]:lang(ar) .sta-card__line, [data-section="start"]:lang(ar) .sta-lead { line-height: 1.75; }
[data-section="start"]:lang(ar) .sta-card__get { line-height: 1.7; }
[data-section="start"]:lang(ar) .sta-card__k { font-size: 14px; }

/* 1,024-1,279: tighter cards */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  [data-section="start"] .sta-card { padding: 24px 22px 20px; }
}
/* Below 1,024: one column */
@media (max-width: 63.99rem) {
  [data-section="start"] .sta-body { max-inline-size: 680px; }
  [data-section="start"] .sta-head { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding-block-start: 44px; }
  [data-section="start"] .sta-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block-start: 28px; }
  [data-section="start"] .sta-lead { margin-block-start: 32px; text-align: start; }
}
@media (max-width: 47.99rem) {
  [data-section="start"] .sta-head { padding-block-start: 36px; }
  [data-section="start"] .sta-head__title { font-size: 26px; }
  [data-section="start"] .sta-head__lead { font-size: 16px; }
  [data-section="start"] .sta-card { padding: 22px 20px 18px; border-radius: 18px; }
  [data-section="start"] .sta-card__title { font-size: 19px; }
}
