.public-page { font-size: 16px; line-height: 1.65; }
.public-page a { color: var(--accent); text-underline-offset: .2em; }
.public-page a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.public-header { max-width: 1120px; margin-inline: auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.public-brand { color: var(--ink) !important; text-decoration: none; font-size: 20px; font-weight: 700; }
.public-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.public-header nav a { display: inline-block; padding-block: 8px; font-size: 14px; font-weight: 600; text-decoration: none; }
.public-header nav a:hover { text-decoration: underline; }
.public-header nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.public-header .sign-in { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.public-main { max-width: 880px; margin: 12px auto 0; padding: 48px 64px 56px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.public-main article { max-width: 72ch; }
.public-main h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.025em; margin-block: 0 24px; }
.public-main h2 { font-size: 22px; line-height: 1.35; margin-block: 36px 12px; }
.public-main h3 { font-size: 17px; line-height: 1.4; margin-block: 24px 8px; }
.public-main p { margin-block: 0 16px; }
.public-main li { padding-inline-start: 4px; margin-block: 6px; }
.public-main ul, .public-main ol { padding-inline-start: 24px; margin-block: 0 20px; }
.public-main .updated { color: var(--muted); font-size: 14px; margin-block: -12px 28px; }
.public-footer { max-width: 880px; margin-inline: auto; padding: 24px 32px 40px; color: var(--muted); font-size: 13px; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; padding: 8px 16px; background: var(--panel); }
.skip-link:focus { top: 8px; z-index: 1; }
@media (max-width: 700px) {
  .public-header { padding: 20px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .public-header nav { gap: 0 16px; }
  .public-main { margin: 0 12px; padding: 28px 20px 32px; }
  .public-main h1 { font-size: 28px; }
  .public-main h2 { font-size: 21px; }
  .public-footer { padding: 20px 24px 32px; }
}
@media print {
  .public-header, .public-footer, .skip-link { display: none; }
  .public-page { background: var(--panel); }
  .public-main { border: 0; padding: 0; margin: 0; max-width: none; }
  .public-main h2, .public-main h3 { break-after: avoid; }
}

body.sapauto-introduction {

    & { background: var(--panel); font-size: 16px; line-height: 1.6; }
    a { color: var(--accent); text-underline-offset: 4px; }
    a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
    .wrap { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
    header { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 20px; border-bottom: 1px solid var(--line); }
    .logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
    .logo-caption { font-size: 14px; font-weight: 700; line-height: 1.3; }
    nav { display: flex; align-items: center; gap: 24px; }
    .languages { display: flex; gap: 2px; }
    .languages a { display: grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 4px; font-size: 14px; text-decoration: none; color: #56616d; }
    .languages a:hover { background: var(--bg); }
    .languages a[aria-current="true"] { color: var(--accent); background: var(--soft); font-weight: 600; }
    .languages button { min-width: 40px; min-height: 40px; border: 0; background: transparent; color: #56616d; cursor: pointer; border-radius: 4px; font-size: 14px; }
    .languages button[aria-pressed="true"] { color: var(--accent); background: var(--soft); font-weight: 600; }
    .languages button:hover { background: var(--bg); }
    .login { color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; padding-block: 10px; }
    .login:hover { text-decoration: underline; }
    .hero { padding: 40px 0 32px; }
    .audience { color: var(--accent); font-size: inherit; font-weight: 600; }
    h1 { max-width: 760px; color: var(--accent); font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: normal; text-wrap: balance; }
    .intro { max-width: 780px; margin-top: 16px; color: #4e5c68; font-size: 20px; line-height: 1.65; }
    .intro > span { display: block; }
    .intro > span + span { margin-top: 12px; }
    main { counter-reset: scenario; }
    .section-divider { margin: 0 0 28px; border: 0; border-top: 1px solid var(--line); }
    .usage-examples { padding-top: 24px; border-top: 1px solid var(--line); }
    .usage-examples > h2 { margin: 0; color: var(--accent); font-size: 20px; font-weight: 600; line-height: 1.4; }
    .usage-examples > .benefit:first-of-type { border-top: 0; }
    .benefit { display: grid; grid-template-columns: 28px minmax(0, .85fr) minmax(0, 1.65fr); grid-template-rows: auto auto auto; gap: 12px 24px; padding: 28px 0; border-top: 1px solid var(--line); counter-increment: scenario; }
    .benefit::before { content: counter(scenario, decimal-leading-zero); grid-column: 1; grid-row: 1; color: var(--accent); }
    .situation, .answer { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: 1 / span 3; align-items: start; }
    .situation { grid-column: 2; }
    .answer { grid-column: 3; }
    .benefit::before, .job, .answer h3 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.012em; text-wrap: pretty; }
    .benefit::before { font-size: 18px; line-height: 28px; }
    .job, .answer h3 { color: var(--accent); }
    .problem { color: #56616d; font-size: 16px; line-height: 1.65; }
    .answer p { max-width: 65ch; color: #303b45; font-size: 16px; line-height: 1.65; }
    .answer .detail { color: #56616d; font-size: 16px; line-height: 1.65; }
    .action-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; min-height: 156px; gap: 24px 32px; margin: 4px 0 24px; padding: 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
    .action-panel h2 { font-size: 20px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
    .action-panel p { color: #3e6060; font-size: 16px; line-height: 1.65; }
    .action-actions { display: grid; gap: 10px; min-width: 0; }
    .action-actions svg { width: 20px; height: 20px; flex: 0 0 auto; }
    .primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 18px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--accent); font-size: 16px; line-height: 1.65; font-weight: 600; text-decoration: none; cursor: pointer; }
    .primary:hover { background: #f4f9f8; border-color: var(--accent); }
    .primary:active { background: #e7f0ee; }
    .product-collage { width: min(640px, 100%); margin: 32px auto; }
    .product-collage a { display: block; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; }
    .product-collage a:hover { border-color: var(--accent); }
    .product-collage img { display: block; width: 100%; height: auto; border-radius: 8px; }
    .product-collage figcaption { margin-top: 10px; color: #56616d; font-size: 14px; text-align: center; }
    footer { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 24px; color: #56616d; font-size: 14px; }
    footer a { color: inherit; }
    .skip { position: absolute; top: -100px; left: 16px; background: white; padding: 12px; }
    .skip:focus { top: 12px; }
    @media(max-width: 760px) {
      .wrap { width: calc(100% - 40px); }
      header { min-height: 76px; flex-wrap: wrap; gap: 8px 12px; padding-block: 14px; }
      nav { gap: 10px; margin-inline-start: auto; }
      .hero { padding: 28px 0; }
      h1 { max-width: 26ch; font-size: 32px; }
      .benefit { grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: none; gap: 18px 12px; padding: 24px 0; }
      .situation, .answer { display: block; grid-row: auto; grid-column: 2; }
      .job, .answer h3 { margin-bottom: 10px; font-size: 20px; }
      .problem { max-width: 65ch; }
      .answer .detail { margin-top: 12px; }
      .action-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
      footer { flex-wrap: wrap; gap: 6px 24px; }
    }
    @media(max-width: 360px) {
      .wrap { width: calc(100% - 32px); }
      h1 { font-size: 29px; }
      header { gap: 8px; }
      nav { gap: 6px; }
    }

/* Родитель: ../../superpowers/specs/2026-10-17-self-registration-design.md. Навигация актуальных локальных макетов на действующие публичные страницы. */
header { flex-wrap: wrap; padding-block: 16px; }
header > nav { min-width: 0; max-width: 100%; margin-inline-start: auto; flex-wrap: wrap; gap: 12px 20px; }
.site-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-width: 0; }
.site-links a { padding-block: 8px; color: var(--accent); font-size: 14px; line-height: 1.5; text-decoration: none; }
.site-links a:hover, .site-links a[aria-current="page"] { text-decoration: underline; }
.site-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  header > nav { width: 100%; }
}
@media (max-width: 760px) {
  .site-links { flex-basis: 100%; }
  header > nav .languages { margin-inline-start: auto; }
}

}

body.sapauto-access {
/* Родитель: ../../superpowers/specs/2026-10-17-self-registration-design.md. Общие стили локальных макетов доступа. */
    & { background: var(--panel); font-size: 16px; line-height: 1.65; }
    a { color: var(--accent); text-underline-offset: 4px; }
    a:focus-visible, button:focus-visible, input:focus-visible, .flow-panel h1:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
    .wrap { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
    header { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 20px; border-bottom: 1px solid var(--line); }
    .logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
    .logo-caption { font-size: 14px; font-weight: 700; line-height: 1.3; }
    nav { display: flex; align-items: center; gap: 24px; }
    .languages { display: flex; gap: 2px; }
    .languages button { min-width: 40px; min-height: 40px; border: 0; background: transparent; color: #56616d; cursor: pointer; border-radius: 4px; font-size: 14px; }
    .languages button[aria-pressed="true"] { color: var(--accent); background: var(--soft); font-weight: 600; }
    .languages button:hover { background: var(--bg); }
    .login { color: var(--ink); font-weight: 600; text-decoration: none; padding-block: 10px; }
    .login:hover { text-decoration: underline; }
    main { padding-block: 28px 40px; }
    .back { display: inline-block; margin-bottom: 24px; }
    h1 { max-width: 800px; color: var(--accent); font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
    .intro { max-width: 780px; margin-top: 16px; color: #4e5c68; font-size: 20px; }
    .trial-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; align-items: start; }
    h2 { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--accent); margin-bottom: 12px; }
    .benefits { padding-left: 22px; margin: 0 0 24px; color: #303b45; }
    .benefits li + li { margin-top: 10px; }
    .shared { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
    .shared h2 { margin-bottom: 8px; }
    .requirements p { color: #56616d; }
    .registration { border: 1px solid var(--line); border-radius: 8px; padding: 24px; min-width: 0; }
    .field { display: grid; gap: 6px; margin-bottom: 16px; }
    label { font-weight: 600; }
    input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #a6b1bc; border-radius: 6px; background: var(--panel); padding: 10px 12px; font: inherit; color: var(--ink); }
    .hint, .next { color: #56616d; font-size: 16px; }
    .next { margin-block: 4px 20px; }
    .primary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; width: 100%; padding: 11px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
    .primary:hover { background: #f4f9f8; border-color: var(--accent); }
    .primary:active { background: #e7f0ee; }
    .existing { margin-top: 16px; }
    .preview-message { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: #56616d; }
    footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 24px; border-top: 1px solid var(--line); color: #56616d; font-size: 14px; }
    .skip { position: absolute; top: -100px; left: 16px; background: white; padding: 12px; }
    .skip:focus { top: 12px; }
    @media (max-width: 760px) {
      .wrap { width: calc(100% - 40px); }
      header { flex-wrap: wrap; gap: 8px 12px; padding-block: 14px; }
      nav { gap: 10px; margin-inline-start: auto; }
      .trial-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
      .registration { padding: 20px; }
      .back { margin-bottom: 20px; }
    }
    @media (max-width: 360px) {
      .wrap { width: calc(100% - 32px); }
      h1 { font-size: 29px; }
    }
    .review-tools { margin-top: 24px; padding: 16px; background: var(--bg); border-radius: 8px; }
    .review-tools label { display: block; margin-bottom: 6px; }
    .review-tools select { width: 100%; min-height: 46px; padding: 8px; font: inherit; color: var(--ink); background: white; border: 1px solid #a6b1bc; border-radius: 6px; }
    .review-tools p { margin-top: 8px; font-size: 14px; color: #56616d; }
    .flow-panel { width: min(480px, 100%); margin: 32px auto; padding: 28px; border: 1px solid var(--line); border-radius: 8px; }
    .flow-panel h1 { font-size: 32px; margin-bottom: 16px; }
    .flow-panel > p { margin-bottom: 16px; color: #56616d; }
    .flow-panel .field { margin-top: 16px; }
    .flow-panel .primary + .primary, .flow-panel .primary + p, .flow-panel p + .primary { margin-top: 16px; }
    .flow-panel .primary { text-decoration: none; }
    .flow-panel .primary:disabled { color: #56616d; background: var(--bg); cursor: default; }
    .flow-panel input[readonly] { background: var(--bg); }
    .flow-panel .notice { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--ink); }
    .flow-panel .error, .registration .error { padding: 12px; border: 1px solid var(--danger); border-radius: 6px; color: var(--danger); }
    .flow-panel .identity { color: var(--ink); overflow-wrap: anywhere; }
    .flow-panel .inline-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
    .review-outcome { width: min(480px, 100%); margin: 0 auto 32px; color: #56616d; font-size: 14px; }
    @media (max-width: 760px) { .flow-panel { padding: 20px; } .flow-panel h1 { font-size: 29px; } }

/* Родитель: ../../superpowers/specs/2026-10-17-self-registration-design.md. Навигация актуальных локальных макетов на действующие публичные страницы. */
header { flex-wrap: wrap; padding-block: 16px; }
header > nav { min-width: 0; max-width: 100%; margin-inline-start: auto; flex-wrap: wrap; gap: 12px 20px; }
.site-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-width: 0; }
.site-links a { padding-block: 8px; color: var(--accent); font-size: 14px; line-height: 1.5; text-decoration: none; }
.site-links a:hover, .site-links a[aria-current="page"] { text-decoration: underline; }
.site-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  header > nav { width: 100%; }
}
@media (max-width: 760px) {
  .site-links { flex-basis: 100%; }
  header > nav .languages { margin-inline-start: auto; }
}

}
