/* ========================================
   AI4Live (US) — components that do not exist on the donor layout:
   contact form, consent checkbox, cookie banner, industry chips, disclaimers.
   Loaded last, after styles.css / home.css / subpages.css.
   ======================================== */

/* ---- Contact form ---- */
.formsec { position: relative; }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 36px; } }

.form-aside__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.form-aside__text { color: var(--txt-d-secondary); font-size: 17px; line-height: 1.6; margin-bottom: 28px; max-width: 46ch; }
.form-aside__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.form-aside__item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--txt-d-secondary); }
.form-aside__item b { color: var(--txt-d-primary); font-weight: 600; }
.form-aside__item::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--primary); }
.form-aside__contacts { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.form-aside__contacts a { color: var(--primary); }
.form-aside__addr { font-size: 14px; color: var(--txt-d-muted); line-height: 1.6; margin-top: 18px; }

.form { display: flex; flex-direction: column; gap: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-dark); border-radius: 16px; padding: 32px; }
@media (max-width: 600px) { .form { padding: 22px; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--txt-d-secondary); }
.field__label span { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--txt-d-primary);
  background: rgba(0, 0, 0, 0.35); border: 1px solid #2a2a2a; border-radius: 10px; padding: 12px 14px;
  transition: border-color 160ms, background 160ms;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 6l5 5 5-5' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: rgba(10, 132, 255, 0.06); }
.field input::placeholder, .field textarea::placeholder { color: #666; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--border-dark); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; }
.consent__text { font-size: 13px; line-height: 1.55; color: #c9c9c9; }
.consent__text a { color: var(--primary); text-decoration: underline; }
.form__submit { margin-top: 4px; justify-content: center; width: 100%; }
.form__note { font-size: 12.5px; color: var(--txt-d-muted); text-align: center; }
.form__error { display: none; font-size: 13px; color: #FF8A8A; }
.form__error.is-shown { display: block; }
.field__error { font-size: 13px; line-height: 1.45; color: #FF8A8A; display: flex; gap: 6px; }
.field__error::before { content: "\26A0"; font-size: 12px; }
.section--light .field__error, .section--soft .field__error, .section--light .form__error, .section--soft .form__error { color: #B3261E; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF8A8A; }
.section--light .field input[aria-invalid="true"], .section--light .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.consent input[aria-invalid="true"] { outline: 2px solid #FF8A8A; outline-offset: 2px; }

/* Light-section variant */
.section--light .form, .section--soft .form { background: #fff; border-color: var(--border-light); }
.section--light .field__label, .section--soft .field__label { color: var(--txt-l-secondary); }
.section--light .field input, .section--light .field select, .section--light .field textarea,
.section--soft .field input, .section--soft .field select, .section--soft .field textarea { background: #fafafa; border-color: var(--border-light); color: var(--txt-l-primary); }
.section--light .consent__text, .section--soft .consent__text { color: var(--txt-l-secondary); }

/* Thank-you state */
.form-thanks { display: none; flex-direction: column; gap: 14px; align-items: flex-start; background: rgba(10, 132, 255, 0.06); border: 1px solid rgba(10, 132, 255, 0.25); border-radius: 16px; padding: 40px 32px; }
.form-thanks.is-shown { display: flex; }
.form-thanks__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.form-thanks__text { color: var(--txt-d-secondary); font-size: 16px; line-height: 1.6; }

/* ---- Service card emphasis (card 01 leads, card 04 stays quiet) ---- */
.service--lead { background: linear-gradient(160deg, rgba(10, 132, 255, 0.1), rgba(10, 132, 255, 0.03)); border-color: rgba(10, 132, 255, 0.35); }
.service--lead .service__title { font-size: clamp(24px, 2.6vw, 32px); }
.service--quiet { background: transparent; }
.service--quiet .service__title { font-size: clamp(19px, 2vw, 22px); }
.service--quiet .service__text { color: var(--txt-d-muted); }

/* ---- Mobile menu (donor layout has none) ---- */
.nav-burger { display: none; }
.nav-mobile { display: none; }
@media (max-width: 960px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: 4px;
    background: transparent; border: 1px solid #2a2a2a; border-radius: 10px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 200ms, opacity 160ms; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__cta { padding: 9px 14px; font-size: 13px; }
  .nav-mobile {
    display: flex; flex-direction: column; gap: 28px;
    position: fixed; inset: 64px 0 0; z-index: 190;
    padding: 32px 24px 120px; overflow-y: auto;
    background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(12px);
  }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile__links { display: flex; flex-direction: column; }
  .nav-mobile__links a {
    font-family: 'Syne', sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
    color: var(--txt-d-primary); padding: 16px 0; border-bottom: 1px solid #1c1c1c;
  }
  .nav-mobile__links a:hover, .nav-mobile__links a:active { color: var(--primary); }
  .nav-mobile__foot { display: flex; flex-direction: column; gap: 12px; }
  .nav-mobile__foot .btn { justify-content: center; }
}

/* ========================================
   ACCESSIBILITY (WCAG 2.1 AA) — overrides on top of the donor system
   ======================================== */

/* Screen-reader-only text (used for "opens in a new window", status messages) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 400;
  transform: translateY(-200%); transition: transform 160ms;
  padding: 12px 20px; border-radius: 10px;
  background: var(--primary); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 15px;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* Visible focus indicator on every interactive element (2px, high contrast) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #7FC0FF !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
.section--light a:focus-visible, .section--light button:focus-visible,
.section--soft a:focus-visible, .section--soft button:focus-visible,
.section--light input:focus-visible, .section--light select:focus-visible, .section--light textarea:focus-visible,
.section--soft input:focus-visible, .section--soft select:focus-visible, .section--soft textarea:focus-visible {
  outline-color: #0A5BC4 !important;
}
/* Inputs: the donor CSS removes the ring — put it back, and keep the colour change as a second cue */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #7FC0FF !important; outline-offset: 1px !important; }
.section--light .field input:focus-visible, .section--light .field select:focus-visible, .section--light .field textarea:focus-visible { outline-color: #0A5BC4 !important; }

/* Contrast fixes — every value below meets 4.5:1 against its background */
:root { --txt-d-muted: #8A8A8A; --txt-l-muted: #6B6B6B; --primary-on-light: #0A66D0; }

/* White-on-blue at 15px needs a deeper blue than the brand accent (#0A84FF = 3.65:1) */
.btn--primary, .sticky-bar__btn--primary { background: var(--primary-on-light); }
.btn--primary:hover, .sticky-bar__btn--primary:hover { background: #084F9E; }
.skip-link { background: var(--primary-on-light); }
.btn--secondary:hover, .btn--ghost:hover { border-color: var(--primary-on-light); color: var(--primary-on-light); }
.section--dark .btn--secondary:hover, .section--elevated .btn--secondary:hover, .hero .btn--secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Blue text on light backgrounds also needs the deeper blue.
   Rebinding the token inside light sections covers every component at once. */
.section--light, .section--soft, .legal-doc, .faq__list, .faq-page-list { --primary: var(--primary-on-light); }
.section--light .eyebrow, .section--soft .eyebrow,
.section--light a:not(.btn), .section--soft a:not(.btn),
.legal-doc a, .legal-toc a, .faq__a a, .disclaimer a, .industry--muted { color: var(--primary-on-light); }
.section--light a:not(.btn):hover, .section--soft a:not(.btn):hover, .legal-doc a:hover { color: #084F9E; }
.section--light .service__meta, .section--soft .service__meta { color: var(--primary-on-light); }

/* FAQ: closed questions were #BBB on white (1.9:1) */
.faq__q { color: #595959; }
.faq__item:hover .faq__q, .faq__head:focus-visible .faq__q { color: #0A0A0A; }
.faq__item--open .faq__q { color: #0A0A0A; }
.faq__num { color: #6B6B6B; }

.disclaimer { color: #6B6B6B; }
.section--dark .disclaimer, .section--elevated .disclaimer { color: #8A8A8A; }
.footer__brand-text, .footer__legal-line, .footer__copyright { color: #8A8A8A; }
.hero__scroll span, .hero__scroll { color: #8A8A8A; }
.t-mono { color: #8A8A8A; }
.case-row__num { color: #8A8A8A; }
.chip--active { background: var(--primary-on-light); border-color: var(--primary-on-light); }
#heroHolo .lbl { color: #9CA3AF; }
.oferta-note { color: #6B6B6B; }
.section--dark .oferta-note, .section--elevated .oferta-note { color: #8A8A8A; }
.form__note { color: #9A9A9A; }
.section--light .form__note, .section--soft .form__note { color: #6B6B6B; }
.form-aside__addr { color: #9A9A9A; }
.consent__text { color: #D5D5D5; }
.contact-meta__note { color: #9A9A9A; }
.industry--muted { color: #6B6B6B; }
.clients__count { color: #5C5C5C; }
.faq__num { color: #6B6B6B; }
.legal-doc__meta, .legal-toc h2 { color: #6B6B6B; }

/* Links inside body copy: never colour alone */
.legal-doc p a, .legal-doc li a, .disclaimer a, .faq__a a, .detail-section__text a,
.form__note a, .consent__text a, .cookiebar__text a, .contact-meta__note a { text-decoration: underline; text-underline-offset: 2px; }

/* FAQ head is a <button> now — strip the button chrome, keep the layout */
button.faq__head { width: 100%; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }

/* Mobile: 44×44 minimum target size */
@media (max-width: 960px) {
  .sticky-bar__btn { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 16px; font-size: 13px; }
  .ask-mini__btn { min-height: 40px; display: inline-flex; align-items: center; }
  .case-row__cta, .case__cta, .service__cta, .saas-card__cta, .footer__col a, .footer__legal-links a, .page-hero__crumb a { min-height: 44px; display: inline-flex; align-items: center; }
  .faq__head { min-height: 56px; }
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .nav__brand { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Respect the system reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  #heroHolo .particles { display: none; }
  .hero__glow, .hero__glow--2, .cta-final__glow, .page-hero__glow { animation: none !important; }
}

/* ---- Anchor offset: the nav is fixed (68px), so in-page jumps need clearance ---- */
section[id], [id^="free-check"], .legal-doc h2, .legal-doc h3 { scroll-margin-top: 88px; }

/* ---- Language switcher in the header ---- */
.nav__lang {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
  margin-left: auto; padding: 8px 14px; border: 1px solid #2a2a2a; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  color: var(--txt-d-secondary); transition: color 200ms, border-color 200ms;
}
.nav__lang:hover { color: var(--txt-d-primary); border-color: #4a4a4a; }
.nav__inner .nav__cta { margin-left: 10px; }
@media (max-width: 960px) {
  .nav__lang { margin-left: auto; min-height: 44px; }
  .nav-mobile__links .nav__lang { display: none; }
}
@media (max-width: 520px) { .nav__lang { display: none; } }

/* ---- Sticky bar: keep the ask-mini label from colliding with the CTA on
   mid-size viewports (localized labels are wider than the English ones) ---- */
.sticky-bar__left { min-width: 0; overflow: hidden; }
.sticky-bar__left .ask-mini__label { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
@media (max-width: 1080px) { .sticky-bar__left .ask-mini__label { display: none; } }

/* ---- Promo bar (dismissible, above nav) ---- */
.promo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 71; background: #0A84FF; color: #fff; }
.promo-bar__inner { max-width: 1240px; margin: 0 auto; padding: 10px 56px 10px 20px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center; }
.promo-bar__text { font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.promo-bar__text strong { font-family: 'Syne', sans-serif; font-weight: 700; }
.promo-bar a.promo-bar__link { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.promo-bar a.promo-bar__link:hover { color: #fff; opacity: 0.85; }
.promo-bar__close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); border-radius: 50%; color: #fff; transition: background 150ms; }
.promo-bar__close:hover { background: rgba(255,255,255,0.28); }
body[data-promo="on"] .nav { top: var(--promo-h, 46px); }
@media (max-width: 640px) { .promo-bar__text { font-size: 12.5px; } .promo-bar__inner { padding: 10px 46px 10px 14px; } }

/* ---- Nav: AI Search Optimization pill (featured this month) ---- */
.nav__link--aeo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(10,132,255,0.5); background: rgba(10,132,255,0.12); color: var(--txt-d-primary) !important; }
.nav__link--aeo-pill:hover { background: rgba(10,132,255,0.2); }
.nav-mobile__links a.nav-mobile__link--aeo { color: var(--primary); }

/* ---- Service card "featured" badge ---- */
.service__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(10,132,255,0.14); border: 1px solid rgba(10,132,255,0.4); color: var(--primary); font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.service__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px var(--primary); }

/* ---- AEO: competitors block ---- */
.aeo-comp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .aeo-comp { grid-template-columns: 1fr; } }
.aeo-comp__list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.aeo-comp__list li { padding: 18px 0; border-bottom: 1px solid var(--border-dark-soft); font-size: 15.5px; line-height: 1.6; color: var(--txt-d-secondary); display: flex; gap: 14px; }
.aeo-comp__list li:first-child { padding-top: 0; }
.aeo-comp__list li b { color: var(--txt-d-primary); font-weight: 600; }
.aeo-comp__num { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--primary); flex-shrink: 0; }

/* ---- AEO: how we measure ---- */
.aeo-measure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-dark-soft); border: 1px solid var(--border-dark-soft); border-radius: 16px; overflow: hidden; }
@media (max-width: 1000px) { .aeo-measure { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .aeo-measure { grid-template-columns: 1fr; } }
.aeo-measure__item { background: var(--card-dark); padding: 30px 24px; }
.aeo-measure__num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.aeo-measure__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--txt-d-primary); margin-bottom: 8px; }
.aeo-measure__text { font-size: 13.5px; line-height: 1.55; color: var(--txt-d-secondary); }
.aeo-measure__item:nth-child(5) { grid-column: span 2; }
.aeo-measure__item--note { grid-column: span 2; }
.aeo-measure__item--note:last-child { grid-column: span 4; }
.aeo-measure__item--note .aeo-measure__title { font-size: 19px; margin-bottom: 10px; }
.aeo-measure__item--note .aeo-measure__text { font-size: 14.5px; }
@media (max-width: 1000px) { .aeo-measure__item:nth-child(5), .aeo-measure__item--note, .aeo-measure__item--note:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .aeo-measure__item:nth-child(5), .aeo-measure__item--note, .aeo-measure__item--note:last-child { grid-column: span 1; } }

/* ---- AEO: check us yourself ---- */
.aeo-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 40px; border-radius: 18px; background: var(--card-light); border: 1px solid var(--border-light); }
.aeo-check__text h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 10px; color: var(--txt-l-primary); }
.aeo-check__text p { font-size: 15px; color: var(--txt-l-secondary); line-height: 1.6; max-width: 46ch; }
.aeo-check__text p a { color: var(--primary); }
.aeo-check__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- AEO: guarantee / not-guarantee ---- */
.aeo-guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .aeo-guarantee { grid-template-columns: 1fr; } }
.aeo-guarantee__col { padding: 32px; border-radius: 16px; }
.aeo-guarantee__col--yes { background: rgba(34,224,122,0.06); border: 1px solid rgba(34,224,122,0.25); }
.aeo-guarantee__col--no { background: rgba(255,255,255,0.02); border: 1px solid var(--border-dark-soft); }
.aeo-guarantee__head { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.aeo-guarantee__col--yes .aeo-guarantee__head { color: #22e07a; }
.aeo-guarantee__col--no .aeo-guarantee__head { color: var(--txt-d-secondary); }
.aeo-guarantee__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.aeo-guarantee__col li { font-size: 14.5px; line-height: 1.55; color: var(--txt-d-secondary); padding-left: 22px; position: relative; }
.aeo-guarantee__col--yes li::before { content: '✓'; position: absolute; left: 0; color: #22e07a; font-weight: 700; }
.aeo-guarantee__col--no li::before { content: '—'; position: absolute; left: 0; color: var(--txt-d-muted); }
.aeo-guarantee__close { margin-top: 28px; font-size: 16px; line-height: 1.6; color: var(--txt-d-primary); font-family: 'Syne', sans-serif; font-weight: 600; }

/* ---- AEO: tiered pricing ---- */
.aeo-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .aeo-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .aeo-tiers { grid-template-columns: 1fr; } }
.aeo-tier { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--border-light); }
.aeo-tier--highlight { border-color: var(--primary); box-shadow: 0 8px 30px rgba(10,132,255,0.12); }
.aeo-tier__name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--txt-l-muted); }
.aeo-tier__price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; color: var(--txt-l-primary); line-height: 1.15; }
.aeo-tier__unit { display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px; text-transform: none; letter-spacing: 0; color: var(--txt-l-muted); margin-top: 4px; }
.aeo-tier__desc { font-size: 14px; line-height: 1.6; color: var(--txt-l-secondary); flex-grow: 1; }
.aeo-tier__note { font-size: 12.5px; color: var(--txt-l-muted); }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--border-light); color: inherit; transition: border-color 200ms, transform 200ms var(--ease); }
.blog-card:hover { border-color: var(--primary-on-light); transform: translateY(-3px); }
.blog-grid--dark .blog-card { background: var(--card-dark); border-color: var(--border-dark); }
.blog-grid--dark .blog-card:hover { border-color: var(--primary); }
.blog-card__num { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--primary); }
.blog-card__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--txt-l-primary); }
.blog-grid--dark .blog-card__title { color: var(--txt-d-primary); }
.blog-card__text { font-size: 15px; line-height: 1.6; color: var(--txt-l-secondary); }
.blog-grid--dark .blog-card__text { color: var(--txt-d-secondary); }
.blog-card__cta { margin-top: auto; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px; color: var(--primary); }
.article-title { font-size: clamp(30px, 4.4vw, 56px); max-width: 22ch; }
.article-meta { font-size: 14.5px; color: #9A9A9A; margin-top: 22px; }
.article-meta a { color: var(--primary); }
.article .article-faq__q { font-size: 18px; margin-top: 26px; }
.article .article-quote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--primary-on-light); background: #fafafa; font-size: 17px; line-height: 1.6; color: var(--txt-l-primary); }
.article-contacts { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border-light); font-size: 15px; line-height: 1.7; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 28px;
  background: var(--card-dark); border: 1px solid var(--border-dark); border-radius: 16px;
  color: inherit; transition: border-color 200ms, transform 200ms var(--ease);
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.contact-card--accent { background: linear-gradient(160deg, rgba(10, 132, 255, 0.12), rgba(10, 132, 255, 0.03)); border-color: rgba(10, 132, 255, 0.35); }
.contact-card__label { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.contact-card__value { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--txt-d-primary); }
.contact-card__note { font-size: 14px; line-height: 1.55; color: var(--txt-d-secondary); }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border-dark); }
@media (max-width: 800px) { .contact-meta { grid-template-columns: 1fr; gap: 32px; } }
.contact-meta__col { display: flex; flex-direction: column; gap: 12px; }
.contact-meta__text { font-size: 17px; line-height: 1.65; color: var(--txt-d-primary); }
.contact-meta__note { font-size: 14px; line-height: 1.6; color: var(--txt-d-muted); }

/* ---- Free AI visibility check (2-field form) ---- */
.aicheck { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .aicheck { grid-template-columns: 1fr; gap: 28px; } }
.aicheck__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.aicheck__text { font-size: 16.5px; line-height: 1.6; color: var(--txt-d-secondary); max-width: 46ch; }
.aicheck__list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.aicheck__item { display: flex; gap: 10px; font-size: 15px; color: var(--txt-d-secondary); }
.aicheck__item::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--primary); }
.section--light .aicheck__text, .section--light .aicheck__item, .section--soft .aicheck__text, .section--soft .aicheck__item { color: var(--txt-l-secondary); }

/* ---- Three training levels (donor layout has two) ---- */
.levels-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .levels-grid--3 { grid-template-columns: 1fr; } }

/* ---- Industry chips (replaces donor client-logo wall) ---- */
.industries { display: flex; flex-wrap: wrap; gap: 12px; }
.industry {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 100px; border: 1px solid var(--border-light);
  background: #fff; color: var(--txt-l-primary);
}
.industry--muted { background: transparent; color: var(--txt-l-muted); }

/* ---- Disclaimers ---- */
.disclaimer { margin-top: 28px; font-size: 12.5px; line-height: 1.6; color: var(--txt-d-muted); max-width: 88ch; }
.section--light .disclaimer, .section--soft .disclaimer { color: var(--txt-l-muted); }

/* ---- Cookie banner ---- */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  max-width: 980px; margin: 0 auto; padding: 18px 22px;
  background: rgba(14, 14, 16, 0.96); border: 1px solid #2a2a2a; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
}
.cookiebar__text { font-size: 13.5px; line-height: 1.55; color: #c9c9c9; max-width: 62ch; }
.cookiebar__text a { color: var(--primary); text-decoration: underline; }
.cookiebar__actions { display: flex; gap: 10px; }
.cookiebar__btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 700px) { .cookiebar { bottom: 82px; padding: 16px; } .cookiebar__actions { width: 100%; } .cookiebar__btn { flex: 1; } }

/* ---- Legal / policy pages ---- */
.legal-doc { max-width: 78ch; margin: 0 auto; }
.legal-doc h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; margin: 48px 0 14px; color: var(--txt-l-primary); }
.legal-doc h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 19px; margin: 30px 0 10px; color: var(--txt-l-primary); }
.legal-doc p, .legal-doc li { font-size: 16.5px; line-height: 1.72; color: var(--txt-l-secondary); }
.legal-doc p { margin-bottom: 16px; }
.legal-doc ul { margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-doc strong { color: var(--txt-l-primary); font-weight: 600; }
.legal-doc a { color: var(--primary); }
.legal-doc__meta { font-size: 14px; color: var(--txt-l-muted); margin-bottom: 8px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border-light); color: var(--txt-l-secondary); }
.legal-doc th { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--txt-l-primary); background: #fafafa; }
@media (max-width: 600px) { .legal-doc table { font-size: 13.5px; } .legal-doc th, .legal-doc td { padding: 9px 10px; } }
.legal-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: #f4f4f5; padding: 2px 6px; border-radius: 5px; }
.legal-toc { margin: 32px 0 8px; padding: 22px 24px; background: #fafafa; border: 1px solid var(--border-light); border-radius: 12px; }
.legal-toc h2 { font-size: 15px; margin: 0 0 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--txt-l-muted); }
.legal-toc ol { margin: 0 0 0 20px; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: 14.5px; line-height: 1.9; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* Single-column variant of the guarantee grid ("Who this is not for") */
.aeo-guarantee.aeo-guarantee--single { grid-template-columns: 1fr; }
.aeo-check__hint { display: block; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--txt-d-secondary); }

/* ============ PERSONAL OS page ============ */
.pos-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; letter-spacing: 0.02em; color: #8A8A8A; }
.pos-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex: none; }
.pos-hero-note { margin-top: 18px; font-size: 14.5px; color: var(--txt-d-secondary); }

.pos-body { font-size: 17px; line-height: 1.7; color: var(--txt-d-secondary); max-width: 64ch; }
.pos-body + .pos-body { margin-top: 18px; }
.pos-body strong { color: var(--txt-d-primary); font-weight: 600; }
.pos-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.section--light .pos-body, .section--soft .pos-body { color: var(--txt-l-secondary); }
.section--light .pos-body strong, .section--soft .pos-body strong { color: var(--txt-l-primary); }

.pos-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; max-width: 68ch; }
.pos-list li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.6; color: var(--txt-d-secondary); }
.pos-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: #4a4a4a; }
.pos-list li strong { color: var(--txt-d-primary); font-weight: 600; }
.pos-list li.is-key { color: var(--txt-d-primary); padding-left: 22px; }
.pos-list li.is-key::before { background: var(--primary); width: 7px; height: 7px; top: 9px; }

.pos-pull { margin-top: 40px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -0.01em; color: var(--txt-d-primary); max-width: 30ch; }
.section--light .pos-pull, .section--soft .pos-pull { color: var(--txt-l-primary); }

.pos-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .pos-split { grid-template-columns: 1fr; gap: 36px; } }
.pos-alone { margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--border-dark-soft); border-bottom: 1px solid var(--border-dark-soft); font-family: 'Syne', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.5; color: var(--txt-d-primary); }

/* Frames that will hold real screenshots */
.pos-frame { border: 1px solid var(--border-dark); border-radius: 14px; background: var(--card-dark); overflow: hidden; }
.pos-frame__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border-dark-soft); }
.pos-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2f2f2f; display: block; }
.pos-frame__bar span { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #8A8A8A; }
.pos-frame__slot { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 28px 22px; text-align: center; font-size: 13.5px; line-height: 1.55; color: #8A8A8A; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 12px, transparent 12px 24px); }
.pos-frame img { display: block; width: 100%; height: auto; }
.pos-frame__cap { padding: 14px 16px; border-top: 1px solid var(--border-dark-soft); font-size: 13.5px; line-height: 1.5; color: var(--txt-d-secondary); }
.pos-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 900px) { .pos-shots { grid-template-columns: 1fr; } }

/* Comparison table */
.pos-table-wrap { margin-top: 48px; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; background: #fff; }
.pos-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pos-table th, .pos-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-light); vertical-align: top; line-height: 1.5; }
.pos-table thead th { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; color: var(--txt-l-primary); background: #F6F6F6; white-space: nowrap; }
.pos-table tbody th { font-weight: 500; color: var(--txt-l-secondary); width: 42%; }
.pos-table td { color: var(--txt-l-secondary); width: 29%; }
.pos-table tr:last-child th, .pos-table tr:last-child td { border-bottom: none; }
.pos-table tr.is-key th, .pos-table tr.is-key td { background: rgba(10,132,255,0.06); color: var(--txt-l-primary); font-weight: 600; }
.pos-table tr.is-key td:last-child { color: var(--primary-on-light); }
@media (max-width: 760px) { .pos-table { font-size: 14px; } .pos-table th, .pos-table td { padding: 12px 13px; } .pos-table tbody th { width: 40%; } }
.pos-foot { margin-top: 26px; font-size: 16px; line-height: 1.65; color: var(--txt-l-secondary); max-width: 78ch; }
.pos-foot em { font-style: italic; }

.pos-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-dark-soft); border: 1px solid var(--border-dark-soft); border-radius: 16px; overflow: hidden; margin-top: 48px; }
@media (max-width: 900px) { .pos-cols { grid-template-columns: 1fr; } }
.pos-col { background: var(--card-dark); padding: 32px 28px; }
.pos-col__num { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.pos-col__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--txt-d-primary); }
.pos-col__text { font-size: 15.5px; line-height: 1.65; color: var(--txt-d-secondary); }

.pos-close { margin-top: 36px; padding: 28px 30px; border-radius: 16px; background: rgba(10,132,255,0.06); border: 1px solid rgba(10,132,255,0.22); }
.pos-close p { font-size: 16.5px; line-height: 1.65; color: var(--txt-d-secondary); max-width: 82ch; }
.pos-close p + p { margin-top: 14px; }
.pos-close strong { color: var(--txt-d-primary); font-weight: 700; }

.aeo-tiers--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .aeo-tiers--3 { grid-template-columns: 1fr; } }
.aeo-tier__badge { display: inline-flex; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--primary-on-light); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.aeo-tier__list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 1.55; color: var(--txt-l-secondary); }
.aeo-tier__list li { position: relative; padding-left: 16px; }
.aeo-tier__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary-on-light); }
.aeo-tier .btn { justify-content: center; }

.pos-sub { font-size: 18px; line-height: 1.6; color: var(--txt-l-secondary); max-width: 72ch; margin-top: 14px; }
.section--dark .pos-sub, .section--elevated .pos-sub { color: var(--txt-d-secondary); }
.pos-eyebrow { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 0.26em; text-transform: uppercase; color: #9A9A9A; margin-bottom: 22px; }
.pos-h1 { font-size: clamp(38px, 5.4vw, 68px); max-width: 22ch; }
/* ---- Personal OS lockup (mark + wordmark) ---- */
.pos-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.pos-lockup__mark { flex-shrink: 0; }
.pos-lockup__name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1; color: var(--txt-d-primary); }
.pos-lockup__name b { font-weight: 800; }
.pos-lockup__name em { font-style: normal; display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; color: #9A9A9A; margin-top: 5px; }
@media (max-height: 800px) { .page-hero { padding-top: 150px; padding-bottom: 56px; } .pos-h1 { font-size: clamp(34px, 4.4vw, 52px); } }

/* Announcement bar: muted, never the accent color (home page only) */
.promo-bar { background: #17171A; color: #EDEDED; border-bottom: 1px solid #26262A; }
.promo-bar__text strong { color: #fff; }
.promo-bar a.promo-bar__link { color: #EDEDED; }
.promo-bar a.promo-bar__link:hover { color: #fff; }
.promo-bar__close { background: rgba(255,255,255,0.1); }
.promo-bar__close:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 420px) { .promo-bar__inner { padding: 9px 44px 9px 16px; } .promo-bar__text { font-size: 12.5px; } }
.pos-frame--video .pos-frame__slot { min-height: 290px; }

/* ---- Personal OS: block 1.5, testimonials, close ---- */
.pos-def { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.02em; color: var(--txt-d-primary); max-width: 24ch; }
.pos-def-sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--txt-d-secondary); max-width: 60ch; }
.pos-formula { display: flex; align-items: stretch; gap: 14px; margin: 56px 0; padding: 34px 0; border-top: 1px solid var(--border-dark-soft); border-bottom: 1px solid var(--border-dark-soft); }
.pos-formula__step { flex: 1; display: flex; flex-direction: column; gap: 12px; font-family: 'Syne', sans-serif; font-weight: 600; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; color: var(--txt-d-primary); }
.pos-formula__i { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; font-size: 11.5px; letter-spacing: 0.16em; color: var(--primary); }
.pos-formula__arrow { flex: none; align-self: center; font-size: 22px; line-height: 1; color: #6E6E73; }
@media (max-width: 760px) { .pos-formula { flex-direction: column; gap: 18px; } .pos-formula__arrow { align-self: flex-start; transform: rotate(90deg); margin-left: 6px; } }
.pos-anna { margin: 34px 0; padding: 28px 30px; border-radius: 16px; background: rgba(255,255,255,0.035); border-left: 2px solid var(--primary); font-size: 18px; line-height: 1.65; color: var(--txt-d-primary); max-width: 72ch; }
.section--light .pos-anna, .section--soft .pos-anna { background: rgba(0,0,0,0.035); color: var(--txt-l-primary); }

.pos-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .pos-quotes { grid-template-columns: 1fr; } }
.pos-quote { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border: 1px solid var(--border-light); border-radius: 16px; background: #fff; }
.pos-quote__media { display: flex; align-items: center; justify-content: center; height: 150px; border-radius: 12px; background: #F0F0F0; font-size: 13px; color: #6E6E73; }
.pos-quote__text { font-size: 16px; line-height: 1.6; color: var(--txt-l-primary); min-height: 84px; }
.pos-quote__who { display: flex; flex-direction: column; gap: 3px; }
.pos-quote__name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--txt-l-primary); }
.pos-quote__role { font-size: 13.5px; color: var(--txt-l-secondary); }

.pos-final { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 36px; }
.pos-final__sum { font-size: 17px; line-height: 1.6; color: var(--txt-d-secondary); max-width: 60ch; }
.pos-final .pos-hero-note { margin-top: 0; }

.aeo-tiers--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .aeo-tiers--2 { grid-template-columns: 1fr; } }
.aeo-tier__desc + .aeo-tier__list { margin-top: 4px; }
.pos-works { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pos-works__logos { display: flex; align-items: center; gap: 8px; }
.pos-works__logos img { display: block; width: 26px; height: 26px; border-radius: 6px; }
.pos-works__text { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5; color: #9A9A9A; }
@media (max-width: 480px) { .pos-works { align-items: flex-start; flex-wrap: wrap; } }
.pos-video { margin: 34px 0 0; max-width: 820px; }
.pos-video__note { margin: 10px 0 0; max-width: 700px; font-size: 13px; line-height: 1.6; color: #8F8F8F; }
.pos-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0C0C0C; border: 1px solid rgba(255,255,255,.12); }
.pos-video__iframe { display: block; width: 100%; height: 100%; border: 0; }
.pos-video__frame .kinescope-popup, .pos-video__frame .kinescope-popup-thumbnail { height: 100%; }
.pos-video__frame .kinescope-popup-thumbnail img { border-radius: 0 !important; }
.pos-video__frame .kinescope-play-btn { background: var(--primary) !important; }
.pos-video__cap { margin: 12px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5; color: #9A9A9A; }
@media (max-width: 600px) { .pos-video { margin-top: 26px; } .pos-video__btn { width: 52px; height: 52px; } }
.pos-buy { margin-top: 4px; min-height: 48px; }
.pos-buy stripe-buy-button { display: block; }

/* ---- Personal OS: self-serve model ---- */
.pos-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.pos-price-tag { display: inline-flex; align-items: center; gap: 10px; }
.pos-price-tag s { font-size: 15px; color: #8A8A8A; text-decoration-thickness: 1px; }
.pos-price-tag b { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--txt-d-primary); }
.pos-eb { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(10,132,255,0.45); background: rgba(10,132,255,0.12); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8FC5FF; white-space: nowrap; }
.page-hero--pos { padding-bottom: 64px; }
@media (max-height: 820px) { .page-hero--pos { padding-top: 148px; padding-bottom: 44px; } .page-hero--pos .pos-h1 { font-size: clamp(32px, 4.2vw, 48px); } .page-hero--pos .page-hero__sub { font-size: 16.5px; } .page-hero--pos .pos-cta { margin-top: 24px; } }

.pos-availability { margin-top: 26px; font-size: 15px; color: var(--txt-d-secondary); }
.section--light .pos-availability, .section--soft .pos-availability { color: var(--txt-l-secondary); }
.pos-foot--dark { color: var(--txt-d-secondary); }

.aeo-tier__was { display: block; margin-bottom: 2px; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; color: var(--txt-l-secondary); text-decoration-thickness: 1px; }
.aeo-tier__note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--txt-l-secondary); }
/* Personal OS tier: name + badge on one row, price on one line */
.aeo-tier__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.aeo-tier__price--row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 32px; }
.aeo-tier__price--row .aeo-tier__was { display: inline; margin: 0; font-size: 17px; color: var(--txt-l-muted); }
.aeo-tier__price--row .aeo-tier__unit { display: inline; margin: 0; }
/* keep a section title on one line on wide screens; wrap only on narrow */
.sec-head__title--nowrap { max-width: none; }
@media (min-width: 720px) { .sec-head__title--nowrap { white-space: nowrap; } }
/* long title: even two-line wrap instead of three ragged lines */
.sec-head__title--balance { text-wrap: balance; max-width: 30ch; }
.sec-head__title--two { max-width: none; text-wrap: pretty; }
.br-md { display: none; }
@media (min-width: 760px) { .br-md { display: inline; } }

.pos-carousel { margin-top: 40px; }
.pos-carousel__stage { position: relative; }
.pos-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.pos-carousel__track::-webkit-scrollbar { display: none; }
.pos-carousel__track:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pos-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; border: 1px solid var(--border-dark); border-radius: 14px; background: var(--card-dark); overflow: hidden; }
.pos-slide__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border-dark-soft); }
.pos-slide__bar i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #2f2f2f; }
.pos-slide__bar span { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #8A8A8A; }
.pos-slide__shot { display: block; height: 420px; background: #0C0C0C; border-bottom: 1px solid var(--border-dark-soft); }
.pos-slide__shot img { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; }
.pos-slide__shot:hover img { opacity: .92; }
.pos-slide__cap { margin: 0; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--txt-d-secondary); }
.pos-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-dark); background: rgba(12,12,12,.82); color: #fff; font-size: 16px; cursor: pointer; }
.pos-carousel__nav:hover:not(:disabled) { background: #fff; color: #0C0C0C; }
.pos-carousel__nav:disabled { opacity: .3; cursor: default; }
.pos-carousel__nav--prev { left: -8px; }
.pos-carousel__nav--next { right: -8px; }
.pos-carousel__rail { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.pos-carousel__rail::-webkit-scrollbar { display: none; }
.pos-thumb { flex: 0 0 auto; display: grid; gap: 6px; justify-items: start; padding: 0; border: 0; background: none; cursor: pointer; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #8A8A8A; }
.pos-thumb img { display: block; width: 104px; height: 66px; object-fit: cover; object-position: top center; border-radius: 8px; border: 1px solid var(--border-dark); opacity: .5; transition: opacity .2s ease, border-color .2s ease; }
.pos-thumb:hover img { opacity: .8; }
.pos-thumb.is-active img { opacity: 1; border-color: var(--primary); }
.pos-thumb.is-active { color: #fff; }
.pos-carousel__note { margin: 18px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #8A8A8A; }
@media (max-width: 720px) { .pos-slide__shot { height: 300px; } .pos-carousel__nav--prev { left: 4px; } .pos-carousel__nav--next { right: 4px; } .pos-thumb img { width: 84px; height: 54px; } }
#pricing .aeo-tier .btn--secondary { background: #fff; border-color: var(--primary-on-light); color: var(--primary-on-light); }
#pricing .aeo-tier .btn--secondary:hover { background: var(--primary-on-light); border-color: var(--primary-on-light); color: #fff; }
.pos-tiers-table { width: 100%; border-collapse: collapse; margin: 4px 0 6px; font-size: 14px; }
.pos-tiers-table th, .pos-tiers-table td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid var(--border-light); vertical-align: top; line-height: 1.45; }
.pos-tiers-table thead th { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--txt-l-secondary); }
.pos-tiers-table tbody th { font-weight: 500; color: var(--txt-l-secondary); }
.pos-tiers-table td { color: var(--txt-l-secondary); }
.pos-tiers-table tbody b { color: var(--txt-l-primary); font-family: 'Syne', sans-serif; font-weight: 700; }
.pos-tiers-table tr:last-child th, .pos-tiers-table tr:last-child td { border-bottom: none; }

.pos-support { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; margin-top: 36px; }
@media (max-width: 860px) { .pos-support { grid-template-columns: 1fr; gap: 28px; } }
.pos-support__mail { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.01em; color: var(--txt-d-primary); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); align-self: start; word-break: break-word; }
.pos-support__mail:hover { color: #fff; border-bottom-color: var(--primary); }
.pos-solo > p { max-width: 68ch; }
.pos-stack--one { margin-top: 34px; }
.pos-stack--one .pos-frame { align-self: flex-start; }
.pos-stack { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.pos-stack .pos-frame { max-width: 460px; }
.pos-stack .pos-frame:nth-child(even) { align-self: flex-end; }
@media (max-width: 900px) { .pos-stack .pos-frame:nth-child(even) { align-self: stretch; } }
.pos-frame img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--border-dark-soft); }
.pos-frame figcaption { margin: 0; }
/* landscape screenshots — full container width, clickable to full size */
.pos-stack .pos-frame--wide, .pos-stack--one .pos-frame--wide { max-width: none; width: 100%; align-self: stretch; }
.pos-frame--wide a { display: block; }
.pos-frame--wide a:hover img { opacity: 0.92; }


/* ---- Personal OS v2: card grids, agent catalog, rollout ---- */
.pos-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-dark-soft); border: 1px solid var(--border-dark-soft); border-radius: 16px; overflow: hidden; margin-top: 48px; }
@media (max-width: 1100px) { .pos-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pos-cards { grid-template-columns: 1fr; } }
.pos-card { background: var(--card-dark); padding: 30px 26px; }
.pos-card__t { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--txt-d-primary); }
.pos-card__x { font-size: 15.5px; line-height: 1.65; color: var(--txt-d-secondary); }
.section--light .pos-cards, .section--soft .pos-cards { background: var(--border-light); border-color: var(--border-light); }
.section--light .pos-card, .section--soft .pos-card { background: #fff; }
.section--light .pos-card__t, .section--soft .pos-card__t { color: var(--txt-l-primary); }
.section--light .pos-card__x, .section--soft .pos-card__x { color: var(--txt-l-secondary); }
.pos-kicker { margin-top: 40px; font-family: 'Syne', sans-serif; font-weight: 600; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.4; letter-spacing: -0.01em; color: var(--txt-d-primary); max-width: 46ch; }
.section--light .pos-kicker, .section--soft .pos-kicker { color: var(--txt-l-primary); }
.pos-note-line { margin-top: 26px; font-size: 16px; line-height: 1.65; color: var(--txt-d-secondary); max-width: 74ch; }
.section--light .pos-note-line, .section--soft .pos-note-line { color: var(--txt-l-secondary); }
.section--light .pos-list li, .section--soft .pos-list li { color: var(--txt-l-secondary); }
.section--light .pos-list li::before, .section--soft .pos-list li::before { background: #C8C8C8; }
.section--light .pos-list li.is-key::before, .section--soft .pos-list li.is-key::before { background: var(--primary-on-light); }
.section--light .pos-list li strong, .section--soft .pos-list li strong { color: var(--txt-l-primary); }

.ag-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.ag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 1100px) { .ag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .ag-grid { grid-template-columns: 1fr; } }
.ag-card { background: var(--card-dark); border: 1px solid var(--border-dark-soft); border-radius: 14px; padding: 24px 24px 22px; }
.ag-card--wide { border-color: rgba(10,132,255,0.28); }
.ag-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; }
.ag-card__name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17.5px; line-height: 1.25; letter-spacing: -0.01em; color: var(--txt-d-primary); }
.ag-card__when { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; letter-spacing: 0.04em; color: var(--primary); }
.ag-card__l { font-size: 15px; line-height: 1.6; color: var(--txt-d-secondary); }
.ag-card__l + .ag-card__l { margin-top: 8px; }
.ag-card__l b { color: var(--txt-d-primary); font-weight: 600; }

.pos-guarantee { margin-top: 36px; padding: 26px 28px; border-radius: 16px; background: rgba(10,132,255,0.06); border: 1px solid rgba(10,132,255,0.22); }
.pos-guarantee__t { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 10px; color: var(--txt-l-primary); }
.pos-guarantee__x { font-size: 16px; line-height: 1.65; color: var(--txt-l-secondary); max-width: 82ch; }
.pos-anchor-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 15px; }

.pos-pkg { margin-top: 40px; }
.pos-lic { margin-top: 40px; padding: 28px 30px; border-radius: 16px; border: 1px solid var(--border-light); background: #fff; }
.pos-lic__t { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 12px; color: var(--txt-l-primary); }
.pos-lic p { font-size: 16px; line-height: 1.65; color: var(--txt-l-secondary); max-width: 82ch; }
.pos-lic p + p { margin-top: 12px; }

.pos-sign { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.pos-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.pos-sign__who { font-size: 15px; line-height: 1.5; color: var(--txt-d-secondary); }
.pos-sign__who b { display: block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--txt-d-primary); }

.pos-quote--feature { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .pos-quote--feature { grid-template-columns: 1fr; gap: 22px; } }
.pos-quote--feature .pos-quote__text { font-style: italic; font-size: 21px; line-height: 1.55; }

/* Package table + licence block on dark sections */
.section--dark .pos-table-wrap, .section--elevated .pos-table-wrap { background: var(--card-dark); border-color: var(--border-dark-soft); }
.section--dark .pos-table thead th, .section--elevated .pos-table thead th { background: #141414; color: var(--txt-d-primary); }
.section--dark .pos-table th, .section--dark .pos-table td, .section--elevated .pos-table th, .section--elevated .pos-table td { border-bottom-color: var(--border-dark-soft); }
.section--dark .pos-table tbody th, .section--elevated .pos-table tbody th { color: var(--txt-d-primary); }
.section--dark .pos-table td, .section--elevated .pos-table td { color: var(--txt-d-secondary); }
.section--dark .pos-table td b, .section--elevated .pos-table td b { color: var(--txt-d-primary); }
.section--dark .pos-lic, .section--elevated .pos-lic { background: var(--card-dark); border-color: var(--border-dark-soft); }
.section--dark .pos-lic__t, .section--elevated .pos-lic__t { color: var(--txt-d-primary); }
.section--dark .pos-lic p, .section--elevated .pos-lic p { color: var(--txt-d-secondary); }
/* Five-column package table: the description column carries the text */
.pos-pkg .pos-table tbody th, .pos-pkg .pos-table th:nth-child(1), .pos-pkg .pos-table td:nth-child(1) { width: 14%; }
.pos-pkg .pos-table th:nth-child(2), .pos-pkg .pos-table td:nth-child(2) { width: 10%; }
.pos-pkg .pos-table th:nth-child(3), .pos-pkg .pos-table td:nth-child(3) { width: 9%; }
.pos-pkg .pos-table th:nth-child(4), .pos-pkg .pos-table td:nth-child(4) { width: 52%; }
.pos-pkg .pos-table th:nth-child(5), .pos-pkg .pos-table td:nth-child(5) { width: 15%; white-space: nowrap; }
@media (max-width: 760px) { .pos-pkg { overflow-x: auto; } .pos-pkg .pos-table { min-width: 640px; } }

/* Founder's promise, presented as a signed quote */
.pos-vow { margin-top: 30px; padding: 26px 28px; border-radius: 16px; background: var(--card-dark); border: 1px solid var(--border-dark-soft); max-width: 64ch; }
.pos-vow .pos-sign { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border-dark-soft); }
.pos-vow__q { font-family: 'Syne', sans-serif; font-weight: 500; font-style: italic; font-size: 19px; line-height: 1.55; color: var(--txt-d-primary); }
@media (max-width: 600px) { .pos-vow { padding: 22px 20px; } .pos-vow__q { font-size: 17.5px; } }

/* Personal OS: tighter vertical rhythm and no orphan cards in the grids */
@media (max-width: 1200px) { body[data-page="personal-os"] .section { padding-top: 96px; padding-bottom: 96px; } }
@media (max-width: 760px) { body[data-page="personal-os"] .section { padding-top: 72px; padding-bottom: 72px; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .pos-cards--3 { grid-template-columns: 1fr; }
  .ag-grid > article:last-child:nth-child(odd) { grid-column: span 2; }
}
