/* Providence Society company page — white, minimal, standalone */

:root {
  --ps-bg: #ffffff;
  --ps-ink: #111111;
  --ps-muted: #5c5c5c;
  --ps-faint: #8a8a8a;
  --ps-line: #e8e8e8;
  --ps-line-strong: #d0d0d0;
  --ps-soft: #fafafa;
  --ps-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ps-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ps-wrap: min(1080px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ps-body {
  margin: 0;
  min-height: 100vh;
  background: var(--ps-bg);
  color: var(--ps-ink);
  font-family: var(--ps-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.ps-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--ps-ink);
  color: #fff;
  text-decoration: none;
}

.ps-skip:focus {
  top: 1rem;
}

.ps-wrap {
  width: var(--ps-wrap);
  margin: 0 auto;
}

.ps-header {
  border-bottom: 1px solid var(--ps-line);
  background: var(--ps-bg);
}

.ps-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 4.5rem;
  padding: 0.85rem 0;
}

.ps-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ps-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.ps-wordmark img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.ps-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.ps-nav a {
  color: var(--ps-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.ps-nav a:hover,
.ps-nav a:focus-visible {
  color: var(--ps-ink);
}

.ps-nav-signin {
  color: var(--ps-ink) !important;
  font-weight: 600;
}

.ps-hero {
  padding: 5.5rem 0 4.75rem;
  border-bottom: 1px solid var(--ps-line);
}

.ps-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ps-faint);
}

.ps-hero h1,
.ps-section h2 {
  margin: 0;
  font-family: var(--ps-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.ps-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  letter-spacing: 0.02em;
}

.ps-lede,
.ps-section-copy {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: var(--ps-muted);
  font-size: 1.12rem;
}

.ps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 2px;
  font-family: var(--ps-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.ps-btn--solid {
  background: var(--ps-ink);
  color: #fff;
  border: 1px solid var(--ps-ink);
}

.ps-btn--solid:hover,
.ps-btn--solid:focus-visible {
  background: #000;
}

.ps-btn--ghost {
  background: transparent;
  color: var(--ps-ink);
  border: 1px solid var(--ps-line-strong);
}

.ps-btn--ghost:hover,
.ps-btn--ghost:focus-visible {
  border-color: var(--ps-ink);
}

.ps-section {
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--ps-line);
}

.ps-section--quiet {
  background: var(--ps-soft);
}

.ps-section-head {
  margin-bottom: 2.5rem;
}

.ps-section h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.ps-app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 880px) {
  .ps-app-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.ps-app {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.45rem;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg);
}

.ps-app-mark {
  display: flex;
  align-items: flex-end;
  height: 4.75rem;
  margin: 0 0 1.15rem;
}

.ps-app-mark img {
  display: block;
  max-height: 100%;
  max-width: 9.5rem;
  width: auto;
  object-fit: contain;
  object-position: left bottom;
}

.ps-app-mark--word img {
  max-height: 2.35rem;
  max-width: 100%;
}

.ps-app h3 {
  margin: 0;
  font-family: var(--ps-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ps-app-role {
  margin: 0.35rem 0 1rem;
  color: var(--ps-faint);
  font-size: 0.95rem;
}

.ps-app p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 0.98rem;
}

.ps-app ul {
  margin: 1.1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.ps-app li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: var(--ps-ink);
  font-size: 0.95rem;
}

.ps-app li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.4rem;
  height: 1px;
  background: var(--ps-line-strong);
}

.ps-app-link {
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ps-ink);
  width: fit-content;
  padding-bottom: 0.1rem;
}

.ps-app-link:hover,
.ps-app-link:focus-visible {
  opacity: 0.7;
}

.ps-app-more {
  margin: 1.75rem 0 0;
  color: var(--ps-muted);
  font-size: 0.98rem;
}

.ps-app-more a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ps-line-strong);
  padding-bottom: 0.08rem;
}

.ps-app-more a:hover,
.ps-app-more a:focus-visible {
  color: var(--ps-ink);
  border-bottom-color: var(--ps-ink);
}

.ps-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ps-step;
}

@media (min-width: 880px) {
  .ps-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ps-steps li {
  counter-increment: ps-step;
}

.ps-steps h3 {
  margin: 0 0 0.55rem;
  font-family: var(--ps-serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.ps-steps h3::before {
  content: counter(ps-step, decimal-leading-zero) "  ";
  color: var(--ps-faint);
  font-family: var(--ps-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ps-steps p {
  margin: 0;
  color: var(--ps-muted);
}

.ps-footnote {
  margin: 2.25rem 0 0;
  color: var(--ps-faint);
  font-size: 0.95rem;
}

.ps-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .ps-about {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    gap: 4rem;
    align-items: start;
  }
}

.ps-aside {
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--ps-line);
}

@media (min-width: 880px) {
  .ps-aside {
    padding: 0;
    border-top: 0;
    border-left: 1px solid var(--ps-line);
    padding-left: 2rem;
  }
}

.ps-aside dl {
  margin: 0;
}

.ps-aside div + div {
  margin-top: 1.15rem;
}

.ps-aside dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ps-faint);
}

.ps-aside dd {
  margin: 0.2rem 0 0;
}

.ps-aside a {
  text-decoration: none;
  border-bottom: 1px solid var(--ps-line-strong);
}

.ps-aside a:hover,
.ps-aside a:focus-visible {
  border-bottom-color: var(--ps-ink);
}

.ps-footer {
  padding: 1.4rem 0 1.7rem;
}

.ps-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.ps-footer p {
  margin: 0;
  color: var(--ps-faint);
  font-size: 0.9rem;
}

.ps-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.ps-footer a {
  color: var(--ps-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.ps-footer a:hover,
.ps-footer a:focus-visible {
  color: var(--ps-ink);
}

:focus-visible {
  outline: 2px solid var(--ps-ink);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  :root {
    --ps-wrap: min(1080px, calc(100% - 2rem));
  }

  .ps-hero {
    padding: 3.5rem 0 3.25rem;
  }

  .ps-section {
    padding: 3.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
