/* Simple OS pages (28.10.2026): About and Affiliates, on the same tokens and type as /pricing/.
   Title + lede centered, then sections: a centered heading, then cards or text. */

.pg { padding-bottom: clamp(72px, 10vh, 120px); }
.pg-hero { padding-top: 160px; padding-bottom: 56px; text-align: center; }
.pg-t { font-family: "Hypra Sans", sans-serif; font-weight: 400; font-size: var(--os-f); line-height: 1; letter-spacing: -0.032em; color: var(--ink); max-width: 14em; margin: 0 auto; text-wrap: balance; }
.pg-l { margin: 16px auto 0; max-width: 600px; font-size: 18px; line-height: 24px; letter-spacing: -0.36px; color: var(--ink-2); text-wrap: pretty; }
.pg-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.pg-fine { margin-top: 14px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.pg-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.pg-fine a:hover { color: var(--ink); }

.pg-sec { padding-top: 88px; }
.pg-h { margin-bottom: 32px; text-align: center; }
.pg-h2 { font-family: "Hypra Sans", sans-serif; font-weight: 400; font-size: clamp(26px, 2.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.pg-h p { margin: 12px auto 0; max-width: 520px; font-size: 16px; line-height: 22px; color: var(--ink-2); }

.pg-grid { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.pg-grid--2 { --cols: 2; }
.pg-card { padding: 28px; border-radius: var(--radius-tile); background: var(--card); box-shadow: var(--card-shadow); }
.pg-card h3 { font-size: 18px; line-height: 22px; letter-spacing: -0.36px; font-weight: 400; color: var(--ink); }
.pg-card p { margin-top: 8px; font-size: 15px; line-height: 21px; color: var(--ink-2); }
.pg-ic { width: 22px; height: 22px; margin-bottom: 20px; color: var(--ink-2); }
.pg-num { font-family: "Hypra Sans", sans-serif; font-size: clamp(56px, 6vw, 96px); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pg-card--stat h3 { margin-top: 20px; }
.pg-step { display: block; margin-bottom: 20px; font-size: 13px; line-height: 16px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pg-note { margin: 20px auto 0; max-width: 560px; text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-3); }

/* Text column (About) */
.pg-text { max-width: calc(600px + 2 * var(--gutter)); }
.pg-text p { font-size: 18px; line-height: 27px; letter-spacing: -0.2px; color: var(--ink-2); }
.pg-text p + p { margin-top: 18px; }
.pg-text p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-actions--start { justify-content: flex-start; margin-top: 32px; }

/* Form (Affiliates) */
.pg-form-card { max-width: 640px; margin: 0 auto; padding: 32px; border-radius: var(--radius-tile); background: var(--card); box-shadow: var(--card-shadow); }
.aff-form { display: grid; gap: 18px; }
.aff-field { display: grid; gap: 8px; }
.aff-field label { font-size: 14px; line-height: 18px; color: var(--ink); }
.aff-hint { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.aff-control input, .aff-control select, .aff-control textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r-40); font: inherit; font-size: 15px; line-height: 20px;
  color: var(--ink); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); outline: none; appearance: none; -webkit-appearance: none;
  transition: box-shadow 0.2s var(--ease);
}
.aff-control { position: relative; }
.aff-control select { padding-right: 36px; cursor: pointer; }
.aff-control .chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.aff-control .chevron path { stroke: var(--ink-3); }
.aff-opt { color: var(--ink-3); }
.pg-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.aff-control textarea { min-height: 110px; resize: vertical; border-radius: var(--radius-panel); }
.aff-control input::placeholder, .aff-control textarea::placeholder { color: var(--ink-3); }
.aff-control input:focus, .aff-control select:focus, .aff-control textarea:focus { box-shadow: inset 0 0 0 1px var(--ink-3); }
.aff-control--area { margin-top: 0; }
.aff-form-error { display: none; font-size: 14px; line-height: 20px; color: #ff8a8a; }
.aff-form-error.is-visible { display: block; }
.aff-submit { justify-self: start; height: 44px; padding: 0 22px; border: 0; cursor: pointer; font: inherit; font-size: 15px; }
.aff-submit p { margin: 0; }
.aff-submit[disabled] { opacity: 0.6; cursor: default; }
.aff-success h3 { font-size: 22px; line-height: 26px; color: var(--ink); font-weight: 400; }
.aff-success p { margin-top: 8px; font-size: 15px; line-height: 21px; color: var(--ink-2); }

@media (max-width: 860px) {
  .pg-grid, .pg-grid--2 { --cols: 1; }
  .pg-hero { padding-top: 128px; }
  .pg-sec { padding-top: 64px; }
  .pg-card, .pg-form-card { padding: 24px; }
}

/* About (28.10.2026): small images here and there, a strip before the questions */
.pg-hero--floats { position: relative; }
.pg-floats { position: absolute; inset: 0; pointer-events: none; }
.pg-fl { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; transform: translate(-50%, -50%); box-shadow: var(--card-shadow); }
.pg-strip { display: flex; justify-content: center; align-items: flex-end; gap: 12px; padding-top: 88px; }
.pg-strip img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: var(--card-shadow); }
.pg-strip img:nth-child(2n) { width: 64px; }
.pg-strip img:nth-child(4) { width: 112px; }
.pg--about .pr-faq { padding-bottom: 0; }
.pg--about .pg-form-card .pg-fine { margin-top: 20px; }
@media (max-width: 860px) {
  .pg-floats { display: none; }
  .pg-strip { gap: 8px; padding-top: 56px; }
  .pg-strip img { width: 52px; }
  .pg-strip img:nth-child(2n) { width: 40px; }
  .pg-strip img:nth-child(4) { width: 68px; }
  .pg-strip img:nth-child(n+6) { display: none; }
}
