/* Lane B3: Story + Service Plan + Security — COPY-DECK.md sections 2.5 and 2.6.
   Tokens are the deck names from section 1, with deck hex values as fallbacks,
   so this sheet also renders before the foundation sheet lands.
   Mobile-first: base rules are the 390px layout. */

/* ---------- Shared bits for this lane ---------- */

.hf-eyebrow {
  margin: 0 0 14px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hf-eyebrow--dark {
  color: var(--accent, #C9A45C);
}

/* ---------- Story (section 2.5, surface band) ---------- */

.hf-story {
  background: var(--surface, #0B1526);
  color: var(--text, #F5F5F7);
  padding: 56px 24px;
}

.hf-story__inner {
  max-width: var(--width-narrow, 680px);
  margin: 0 auto;
}

.hf-story__header {
  margin: 0 0 40px;
}

.hf-story__title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--text, #F5F5F7);
}

.hf-story__body {
  max-width: 68ch;
}

.hf-story__body p {
  margin: 0 0 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text, #F5F5F7);
}

.hf-story__body p:last-child {
  margin-bottom: 0;
}

.hf-story__link-line {
  margin: 40px 0 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.hf-story__link {
  color: var(--cta-hover, #DCC084);
  text-decoration: none;
}

.hf-story__link:hover,
.hf-story__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.hf-story__link:focus-visible {
  outline: 2px solid var(--accent, #C9A45C);
  outline-offset: 3px;
}

/* ---------- Service plan (section 2.6, dark band) ---------- */

.hf-plan {
  background: var(--ground, #060D18);
  color: var(--text, #F5F5F7);
  padding: 56px 24px;
}

.hf-plan__inner {
  max-width: var(--width-content, 980px);
  margin: 0 auto;
}

.hf-plan__header {
  max-width: var(--width-narrow, 680px);
  margin: 0 0 40px;
}

.hf-plan__title {
  margin: 0 0 16px;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--text, #F5F5F7);
}

.hf-plan__sub {
  margin: 0;
  max-width: 68ch;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted, #A8B3C7);
}

.hf-plan__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hf-plan__card {
  background: var(--surface, #0B1526);
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: var(--radius, 10px);
  padding: 24px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hf-plan__card-title {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text, #F5F5F7);
}

.hf-plan__card-text {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted, #A8B3C7);
}

/* ---------- Wider viewports ---------- */

@media (min-width: 561px) {
  .hf-story,
  .hf-plan {
    padding: 72px 24px;
  }

  .hf-plan__card {
    padding: 28px;
  }
}

@media (min-width: 821px) {
  .hf-plan__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Refresh polish 2026-11-11 (DESIGN 2.6): section titles step down on small screens. */
@media (max-width: 560px) {
  .hf-story__title, .hf-plan__title { font-size: 1.75rem; }
}
