/* Pequity site token fallback. The shared branding stylesheet is loaded last. */
:root {
  --color-primary: #16635b;
  --color-secondary: #103e38;
  --color-accent: #bf8f46;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --surface-soft: #eef1f8;
  --text-hi: #182134;
  --text-mid: #374151;
  --text-low: #4b5563;
  --line: #64748b;
  --line-soft: #d5dbe6;
  --accent-ink: var(--site-accent-ink, var(--color-primary));
  --accent-fill: var(--site-accent-fill, var(--color-primary));
  --accent-strong: var(--site-accent-strong, var(--color-primary));
  --danger-ink: #b91c1c;
  --danger-bg: #fef2f2;
  --success-ink: #166534;
  --radius: 0.75rem;
  --maxw: 72rem;
  --font-body: "Inter", ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
  --app-header-offset: 3.75rem;
  color-scheme: light;
}
html[data-theme="dark"] {
  --surface: #172132;
  --canvas: #101826;
  --surface-soft: #202e43;
  --text-hi: #f8fafc;
  --text-mid: #e2e8f0;
  --text-low: #cbd5e1;
  --line: #94a3b8;
  --line-soft: #435269;
  --accent-ink: var(--site-accent-ink, #99f6e4);
  --accent-strong: var(--site-accent-strong, #5eead4);
  --danger-ink: #fecaca;
  --danger-bg: #3f1d28;
  --success-ink: #bbf7d0;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--app-header-offset) + 1rem); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--canvas); color: var(--text-mid); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
[hidden] { display: none !important; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 0.1875rem solid var(--accent-strong); outline-offset: 0.1875rem; }
main:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text-hi); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.15; letter-spacing: -0.04em; }
h2 { font-size: 1.5rem; line-height: 1.35; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; line-height: 1.4; }
p { max-width: 70ch; }
.container { width: min(var(--maxw), 100% - 2rem); margin-inline: auto; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 10000; padding: 0.75rem 1rem; background: var(--surface); border: 0.125rem solid var(--accent-strong); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 0.0625rem solid var(--line-soft); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text-hi); font-size: 1.25rem; font-weight: 700; line-height: 1.3; min-height: 2.75rem; }
.brand small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--text-low); letter-spacing: 0.01em; }
.brand-mark { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--accent-fill); color: #ffffff; }
.nav-links, .nav-group, .nav-cta, .foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.nav-links { margin-left: auto; }
.nav-links > a, .nav-group > a, .nav-cta > a, .foot-links > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.theme-control { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-low); }
select, input, textarea { min-height: 2.75rem; min-width: 0; max-width: 100%; border: 0.0625rem solid var(--line); border-radius: 0.5rem; background: var(--surface); color: var(--text-hi); padding: 0.625rem 0.75rem; }
textarea { resize: vertical; }
.theme-control select { font-size: 0.875rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 0.625rem; min-height: 2.75rem; border: 0.0625rem solid var(--line); border-radius: 0.5rem; padding: 0.625rem 1rem; background: var(--surface); color: var(--text-hi); font-weight: 600; cursor: pointer; transition: background-color 0.18s ease; }
.btn:hover { background: var(--surface-soft); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--text-hi); }
.btn-primary { color: #ffffff; background: var(--accent-fill); border-color: var(--accent-fill); }
.btn-primary:hover { background: var(--site-accent-hover, var(--color-secondary)); }
.btn:disabled { opacity: 0.65; cursor: wait; }
.btn-danger { color: var(--danger-ink); }
.landing-title { padding-top: clamp(2.5rem, 6vw, 5rem); }
.landing-title h1 { max-width: 21ch; margin-bottom: 0; }
.hero { padding-block: 2rem 3rem; }
.hero-layout { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 17ch; margin-bottom: 1.5rem; }
.eyebrow { color: var(--accent-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.lede { font-size: 1.125rem; max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 2rem 1rem; }
.access-note { color: var(--text-low); font-size: 0.875rem; }
.access-note i { margin-right: 0.375rem; }
.workflow-preview { border: 0.0625rem solid var(--line-soft); border-radius: 1rem; padding: 1.5rem; background: var(--surface); }
.workflow-steps { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.workflow-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.workflow-steps h2 { font-size: 1.125rem; margin-bottom: 0.375rem; }
.workflow-steps p { font-size: 0.9375rem; color: var(--text-low); margin: 0; }
.step-icon { flex: 0 0 2.75rem; min-height: 2.75rem; display: grid; place-items: center; border: 0.0625rem solid var(--line-soft); background: var(--surface-soft); border-radius: 0.75rem; color: var(--accent-ink); }
.section { padding-block: 2rem 4rem; }
.section-title { margin-bottom: 1.5rem; }
.feature-grid { display: grid; gap: 1rem; }
.feature-card { border-top: 0.125rem solid var(--line-soft); padding-block: 1.5rem 0; }
.feature-card > i { color: var(--accent-ink); font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-low); margin-bottom: 0; }
.site-footer { border-top: 0.0625rem solid var(--line-soft); padding-block: 1.5rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; font-size: 0.875rem; color: var(--text-low); }
.foot-links { margin-left: auto; }
body:not(.is-authenticated) [data-auth-show="authenticated"], body:not(.is-authenticated) #auth-user-nav, body.is-authenticated [data-auth-show="guest"], body.is-authenticated #auth-guest-nav { display: none !important; }
html.page-mode-embedded { --app-header-offset: 0rem; }
html.page-mode-embedded [data-dashboard-chrome], html.page-mode-embedded .he-header, html.page-mode-embedded .he-context-bar { display: none !important; }
html.page-mode-embedded body { padding-top: 0 !important; }
.page-sticky-top { top: var(--app-header-offset); }
@media (min-width: 48rem) { .hero-layout { grid-template-columns: 1.2fr 1fr; } .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .nav-links { margin-left: 0; width: 100%; justify-content: flex-start; } .foot-links { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
