/* =========================================================================
   sales.html — page-specific styles.

   Reuses the tokens, .btn variants, .section / .section-title / .section-sub,
   .eyebrow, .hero, .site-head, .how-flow / .chain, .disclaimer and .site-foot
   from style.css. Everything below is scoped to the new marketing sections so
   it cannot affect index.html / app.html. Colours come only from the CSS
   variables declared in style.css.
   ========================================================================= */

/* hero: the eyebrow reads as a small label above the headline */
.sales-hero .eyebrow { margin-bottom: 0.2rem; }
.hero-trust { margin-top: 1.4rem; font-size: 0.88rem; color: var(--faint); max-width: 60ch; }
.hero-trust a { color: var(--teal-2); border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.hero-trust a:hover { color: var(--teal); border-bottom-color: var(--teal); }
/* Visible keyboard focus ring (WCAG 2.4.7), matching the button pattern in style.css. */
.hero-trust a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

/* Each marketing section opens with a small mono eyebrow above its title. */
.section > .eyebrow { margin-bottom: 0.6rem; }

/* ---------- What it is: value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.value-card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.3rem; transition: border-color 0.25s, transform 0.25s; }
.value-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.value-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(90, 200, 220, 0.10); border: 1px solid var(--line-2); color: var(--teal); font-family: var(--mono); font-size: 1.05rem; margin-bottom: 0.9rem; }
.value-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.value-card p code { font-family: var(--mono); font-size: 0.82em; color: var(--teal); background: rgba(90, 200, 220, 0.08); padding: 0.05rem 0.32rem; border-radius: 5px; word-break: break-word; }

/* ---------- How it works: numbered flow ---------- */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; margin-top: 2.5rem; }
.flow-step { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.1rem; overflow: hidden; transition: border-color 0.25s, transform 0.25s; }
.flow-step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); opacity: 0.5; }
.flow-step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.flow-no { font-family: var(--mono); font-size: 0.8rem; color: var(--teal-2); }
.flow-step h3 { font-family: var(--display); font-weight: 500; font-size: 1.12rem; margin: 0.45rem 0 0.35rem; }
.flow-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.sales-chain { margin-top: 3rem; }

/* ---------- What's inside: analysis tracks ---------- */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.track-card { background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--teal-2); border-radius: 12px; padding: 1.25rem 1.2rem; transition: border-color 0.25s, transform 0.25s; }
.track-card:hover { border-color: var(--line-2); border-left-color: var(--teal); transform: translateY(-3px); }
.track-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.08rem; margin-bottom: 0.4rem; }
.track-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.track-card--grow { border-left-style: dashed; border-left-color: var(--teal-2); background: rgba(90, 200, 220, 0.04); }
.track-card--grow h3 { color: var(--teal); }

/* ---------- Signing / safety band ---------- */
.safety-band { margin-top: 2.6rem; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 16px; padding: 1.8rem; }
.safety-title { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-bottom: 1.2rem; }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.safety-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.15rem; }
.safety-tag { display: inline-block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.18rem 0.6rem; margin-bottom: 0.7rem; }
.safety-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem 1.6rem; transition: border-color 0.25s, transform 0.25s; }
.plan-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.plan-card--featured { border-color: var(--teal); box-shadow: 0 24px 60px -34px rgba(90, 200, 220, 0.55); }
.plan-badge { position: absolute; top: -0.75rem; left: 1.6rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #042029; background: linear-gradient(180deg, var(--teal), var(--teal-2)); border-radius: 999px; padding: 0.22rem 0.7rem; }
.plan-name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.plan-price { font-family: var(--display); font-weight: 500; font-size: 1.55rem; color: var(--ink); margin: 0.5rem 0 0.2rem; }
.plan-price span { font-family: var(--sans); font-size: 0.85rem; font-weight: 400; color: var(--faint); }
.plan-tag { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; }
.plan-feats { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-feats li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.plan-feats li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--teal); font-family: var(--mono); font-size: 0.85rem; }
.plan-feats li b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.plan-cta { margin-top: auto; justify-content: center; width: 100%; }
.plan-note { margin-top: 1.6rem; }

/* ---------- Footer CTA band ---------- */
.sales-cta-band { text-align: center; }
.cta-inner { max-width: 60rem; margin: 0 auto; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 20px; padding: 3rem 2rem; }
.cta-inner .section-title { margin-bottom: 0.4rem; }
.cta-sub { margin-left: auto; margin-right: auto; }
.sales-cta-band .hero-cta { justify-content: center; margin-top: 1.8rem; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-tag { min-height: 0; }
}
@media (max-width: 720px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .value-grid, .track-grid, .flow-steps { grid-template-columns: 1fr; }
  .cta-inner { padding: 2rem 1.2rem; }
  .safety-band { padding: 1.15rem; }
}
