/* ==========================================================================
   P.A.S.S. Workflow — landing page + shared toolbar styles
   Self-contained, no CSS-variable dependencies on the host theme.
   ========================================================================== */

/* ---------- Wrapper ---------- */
.pgi-wrapper {
  font-family: 'Satoshi', system-ui, -apple-system, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
  /* v2.3: route through the farmers-palette tokens so light-mode rotates daily */
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
.pgi-wrapper * { box-sizing: border-box; }
[data-theme="dark"] .pgi-wrapper { color: #f5f5f5; background: #111; }

/* ---------- Toolbar (lang switcher + theme toggle) ---------- */
.pgi-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 20px;
  background: rgba(0,0,0,0.02);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-theme="dark"] .pgi-toolbar { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.08); }

.lang-switcher { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.lang-link {
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}
.lang-link:hover { color: #111; background: rgba(0,0,0,0.05); }
.lang-link.lang-active { color: #111; font-weight: 700; background: rgba(0,0,0,0.06); }
.lang-sep { color: rgba(0,0,0,0.25); }
[data-theme="dark"] .lang-link { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .lang-link:hover, [data-theme="dark"] .lang-link.lang-active { color: #fff; background: rgba(255,255,255,0.08); }
[data-theme="dark"] .lang-sep { color: rgba(255,255,255,0.25); }

.pgi-toolbar .theme-toggle {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.pgi-toolbar .theme-toggle:hover { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .pgi-toolbar .theme-toggle { border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .pgi-toolbar .theme-toggle:hover { background: rgba(255,255,255,0.08); }

/* ---------- Landing page layout ---------- */
/* v2.3: container is 100% width with fluid gutter so it scales from phone
 * to ultra-wide. Per-paragraph readability comes from style.css `p, li`. */
.pass-landing .container { max-width: 100%; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 3rem); }
.pass-landing .center { text-align: center; }

/* Hero */
.pass-landing .hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: 100%; margin: 0 auto;
  padding: 80px clamp(1rem, 4vw, 3rem) 60px;
  align-items: center;
}
@media (max-width: 768px) { .pass-landing .hero { grid-template-columns: 1fr; padding: 40px 20px; } }
.pass-landing .hero-eyebrow { color: rgba(0,0,0,0.55); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; margin: 0 0 12px; }
[data-theme="dark"] .pass-landing .hero-eyebrow { color: rgba(255,255,255,0.55); }
.pass-landing .hero-title { font-family: 'Cabinet Grotesk', system-ui, sans-serif; font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.05; margin: 0 0 18px; }
.pass-landing .hero-subtitle { font-size: 17px; opacity: 0.8; margin: 0 0 28px; max-width: 540px; }
.pass-landing .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pass-landing .btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 15px; transition: transform 0.15s, box-shadow 0.15s; }
.pass-landing .btn-primary { background: #111; color: #fff; }
.pass-landing .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.pass-landing .btn-secondary { background: transparent; color: inherit; border: 1.5px solid rgba(0,0,0,0.18); }
.pass-landing .btn-secondary:hover { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .pass-landing .btn-primary { background: #fff; color: #111; }
[data-theme="dark"] .pass-landing .btn-secondary { border-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .pass-landing .btn-secondary:hover { background: rgba(255,255,255,0.08); }

/* Hero diagram (decorative) */
.pass-landing .hero-visual { display: flex; justify-content: center; }
.pass-landing .hero-diagram { position: relative; width: 320px; height: 320px; max-width: 100%; }
.pass-landing .diagram-ring { position: absolute; inset: 0; border: 1.5px dashed rgba(0,0,0,0.18); border-radius: 50%; }
.pass-landing .ring-label { position: absolute; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; background: #fff; padding: 2px 8px; border-radius: 4px; }
[data-theme="dark"] .pass-landing .ring-label { background: #111; }
.pass-landing .ring-label-1 { top: -8px; left: 50%; transform: translateX(-50%); }
.pass-landing .ring-label-2 { right: -10px; top: 32%; }
.pass-landing .ring-label-3 { bottom: 12%; right: 4%; }
.pass-landing .ring-label-4 { bottom: 12%; left: 4%; }
.pass-landing .ring-label-5 { left: -10px; top: 32%; }
.pass-landing .diagram-core { position: absolute; inset: 25%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-items: center; justify-items: center; background: rgba(0,0,0,0.04); border-radius: 50%; }
[data-theme="dark"] .pass-landing .diagram-core { background: rgba(255,255,255,0.06); }
.pass-landing .core-letter { font-family: 'Cabinet Grotesk', sans-serif; font-size: 36px; font-weight: 800; }

/* Sections */
.pass-landing .section { padding: 80px 0; }
.pass-landing .section-alt { background: rgba(0,0,0,0.025); }
[data-theme="dark"] .pass-landing .section-alt { background: rgba(255,255,255,0.03); }
.pass-landing .section-eyebrow { color: rgba(0,0,0,0.55); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; margin: 0 0 12px; }
[data-theme="dark"] .pass-landing .section-eyebrow { color: rgba(255,255,255,0.55); }
.pass-landing .section-title { font-family: 'Cabinet Grotesk', system-ui, sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin: 0 0 14px; }
.pass-landing .section-desc { font-size: 17px; opacity: 0.8; margin: 0 auto 40px; max-width: 720px; }

/* Workflow timeline */
.pass-landing .workflow-timeline { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.pass-landing .wf-stage { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: flex-start; }
@media (max-width: 768px) { .pass-landing .wf-stage { grid-template-columns: 50px 1fr; gap: 14px; } }
.pass-landing .wf-number { width: 60px; height: 60px; background: #111; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
[data-theme="dark"] .pass-landing .wf-number { background: #fff; color: #111; }
.pass-landing .wf-content h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 24px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pass-landing .wf-tag { font-size: 11px; padding: 3px 10px; background: rgba(0,0,0,0.08); border-radius: 999px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.pass-landing .wf-tag.accent { background: #111; color: #fff; }
[data-theme="dark"] .pass-landing .wf-tag { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .pass-landing .wf-tag.accent { background: #fff; color: #111; }
.pass-landing .wf-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 16px; }
.pass-landing .wf-detail-group h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin: 0 0 8px; }
.pass-landing .wf-detail-group ul { padding-left: 18px; margin: 0; opacity: 0.85; }
.pass-landing .wf-detail-group li { margin-bottom: 4px; font-size: 14px; }

/* P.A.S.S. pillars */
.pass-landing .pass-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.pass-landing .pillar { padding: 20px; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; }
[data-theme="dark"] .pass-landing .pillar { border-color: rgba(255,255,255,0.12); }
.pass-landing .pillar-letter { width: 40px; height: 40px; background: #111; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; margin-bottom: 10px; }
[data-theme="dark"] .pass-landing .pillar-letter { background: #fff; color: #111; }
.pass-landing .pillar h4 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 17px; margin: 0 0 4px; }
.pass-landing .pillar p { margin: 0; opacity: 0.75; font-size: 14px; }

.pass-landing .pass-plus { margin-top: 24px; padding: 20px; background: rgba(0,0,0,0.04); border-radius: 12px; }
[data-theme="dark"] .pass-landing .pass-plus { background: rgba(255,255,255,0.05); }
.pass-landing .pass-plus h4 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 16px; margin: 0 0 12px; }
.pass-landing .plus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.pass-landing .plus-item { font-size: 13px; opacity: 0.85; }
.pass-landing .plus-item strong { display: block; margin-bottom: 2px; }

/* Develop steps */
.pass-landing .develop-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.pass-landing .dev-step { display: grid; grid-template-columns: 50px 1fr; gap: 14px; }
.pass-landing .dev-num { font-weight: 700; font-family: 'Cabinet Grotesk', sans-serif; font-size: 18px; opacity: 0.6; }
.pass-landing .dev-step strong { display: block; font-size: 15px; }
.pass-landing .dev-step p { margin: 4px 0 0; opacity: 0.75; font-size: 14px; }

/* Audit grid */
.pass-landing .audit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 16px; }
.pass-landing .audit-item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin: 0 0 8px; }
.pass-landing .audit-item ul { padding-left: 18px; margin: 0; opacity: 0.85; font-size: 14px; }
.pass-landing .five-second-test { margin-top: 24px; padding: 16px; background: #111; color: #fff; border-radius: 10px; font-size: 14px; }
[data-theme="dark"] .pass-landing .five-second-test { background: rgba(255,255,255,0.1); }

/* Deliver checklist */
.pass-landing .deliver-checklist { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.pass-landing .deliver-item { display: flex; gap: 10px; align-items: center; font-size: 14px; opacity: 0.9; }
.pass-landing .check-icon { width: 20px; height: 20px; border-radius: 50%; background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
[data-theme="dark"] .pass-landing .check-icon { background: #fff; color: #111; }

/* Lanes */
.pass-landing .lanes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.pass-landing .lane-card { padding: 28px; border-radius: 14px; border: 1.5px solid rgba(0,0,0,0.1); }
[data-theme="dark"] .pass-landing .lane-card { border-color: rgba(255,255,255,0.12); }
.pass-landing .lane-card.lane-a { border-color: #4a7c59; }
.pass-landing .lane-card.lane-b { border-color: #d97757; }
.pass-landing .lane-card.lane-c { border-color: #6b5b95; }
.pass-landing .lane-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; background: rgba(0,0,0,0.08); }
[data-theme="dark"] .pass-landing .lane-badge { background: rgba(255,255,255,0.1); }
.pass-landing .lane-card h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 22px; margin: 0 0 8px; }
.pass-landing .lane-card p { margin: 0; opacity: 0.8; }

/* Case studies */
.pass-landing .case-studies { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.pass-landing .case-card { padding: 24px; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; background: #fff; }
[data-theme="dark"] .pass-landing .case-card { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.pass-landing .case-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pass-landing .case-number { font-family: 'Cabinet Grotesk', sans-serif; font-size: 28px; font-weight: 800; opacity: 0.4; }
.pass-landing .case-tag { font-size: 11px; padding: 3px 10px; background: rgba(0,0,0,0.08); border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }
[data-theme="dark"] .pass-landing .case-tag { background: rgba(255,255,255,0.1); }
.pass-landing .case-card h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 18px; margin: 0 0 4px; }
.pass-landing .case-location { font-size: 13px; opacity: 0.6; margin: 0 0 14px; }
.pass-landing .case-key { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.08); font-size: 14px; opacity: 0.85; }
[data-theme="dark"] .pass-landing .case-key { border-top-color: rgba(255,255,255,0.1); }

/* AI Tools */
.pass-landing .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.pass-landing .tool-card { padding: 28px; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; }
[data-theme="dark"] .pass-landing .tool-card { border-color: rgba(255,255,255,0.12); }
.pass-landing .tool-card h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 20px; margin: 0 0 4px; }
.pass-landing .tool-version { font-size: 13px; opacity: 0.6; margin: 0 0 14px; }
.pass-landing .tool-card ul { padding-left: 18px; margin: 0 0 14px; opacity: 0.85; font-size: 14px; }
.pass-landing .tool-card li { margin-bottom: 4px; }
.pass-landing .tool-strength { font-size: 13px; padding: 10px 12px; background: rgba(0,0,0,0.04); border-radius: 8px; }
[data-theme="dark"] .pass-landing .tool-strength { background: rgba(255,255,255,0.06); }

/* Blending */
.pass-landing .blending-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.pass-landing .blend-card { padding: 24px; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; }
[data-theme="dark"] .pass-landing .blend-card { border-color: rgba(255,255,255,0.12); }
.pass-landing .blend-card h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 19px; margin: 0 0 8px; }
.pass-landing .blend-card p { opacity: 0.8; margin: 0 0 12px; }
.pass-landing .blend-card ul { padding-left: 18px; margin: 0; opacity: 0.85; font-size: 14px; }

/* Finishing */
.pass-landing .finishing-workflow { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 30px; }
.pass-landing .finish-phase { padding: 24px; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; }
[data-theme="dark"] .pass-landing .finish-phase { border-color: rgba(255,255,255,0.12); }
.pass-landing .finish-phase h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 19px; margin: 0 0 4px; }
.pass-landing .finish-role { font-size: 13px; opacity: 0.6; margin: 0 0 18px; }
.pass-landing .finish-steps { display: flex; flex-direction: column; gap: 14px; }
.pass-landing .finish-step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.pass-landing .fs-num { font-weight: 700; font-family: 'Cabinet Grotesk', sans-serif; font-size: 16px; opacity: 0.5; }
.pass-landing .finish-step strong { display: block; font-size: 14px; }
.pass-landing .finish-step p { margin: 4px 0 0; opacity: 0.75; font-size: 13px; }

/* Disclosure */
.pass-landing .disclosure-section { margin-top: 50px; padding: 30px; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; }
[data-theme="dark"] .pass-landing .disclosure-section { border-color: rgba(255,255,255,0.12); }
.pass-landing .disclosure-section h3 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 22px; margin: 0 0 12px; }
.pass-landing .disclosure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 20px; }
.pass-landing .disclosure-item h4 { font-family: 'Cabinet Grotesk', sans-serif; font-size: 15px; margin: 0 0 4px; }
.pass-landing .disclosure-item p { margin: 0; opacity: 0.8; font-size: 14px; }
.pass-landing .disclosure-template { margin-top: 24px; padding: 14px; background: rgba(0,0,0,0.05); border-radius: 8px; font-size: 13px; opacity: 0.85; }
[data-theme="dark"] .pass-landing .disclosure-template { background: rgba(255,255,255,0.05); }

/* CTA */
.pass-landing .section-cta { padding: 60px 0 80px; text-align: center; }
.pass-landing .section-cta .container { display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* Pricing & account toolbar polish — same wrapper class */
.pgi-wrapper.pass-pricing,
.pgi-wrapper.pass-account { padding-bottom: 60px; }
