html:has(.public-site) { background: #f9f8f5; }
.public-site {
  --ink: #1b2922;
  --green: #214f3b;
  --muted: #52645a;
  --line: #d9e0d7;
  color: var(--ink);
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
}
.public-site main { max-width: none; padding: 0; }
.p-header { background: #fff; border-color: var(--line); padding: 0; }
.p-navbar, .p-main-inner, .p-how-inner, .p-footer-inner {
  width: min(1100px, calc(100% - 36px));
  margin-inline: auto;
}
.p-navbar, .p-nav, .p-logo, .p-footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.p-navbar, .p-footer-inner { justify-content: space-between; flex-wrap: wrap; padding-block: 16px; }
.public-site a { color: inherit; text-decoration: none; }
.p-nav a:hover, .p-footer a:hover { text-decoration: underline; }
.p-logo { gap: 10px; }
.p-logo-symbol, .p-letter-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font: 700 24px "Outfit", system-ui, sans-serif;
}
.p-logo-text strong, .p-logo-text small { display: block; line-height: 1.2; }
.p-logo-text small { font-size: 10px; letter-spacing: .12em; }
.p-nav { flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.p-nav-active { border-bottom: 2px solid var(--green); }
.p-nav .p-login { padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; }
.p-main-inner { padding-block: clamp(26px, 6vw, 64px); }
.p-section-title { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.p-section-eyebrow, .p-section-count { font-size: 12px; letter-spacing: .1em; font-weight: 800; color: var(--green); }
.p-section-count { background: #e6efe5; border-radius: 24px; padding: 7px 12px; }
.p-section-title h1, .public-site h2, .p-step h3 { font-family: "Outfit", system-ui, sans-serif; line-height: 1.12; }
.p-section-title h1 { font-size: clamp(34px, 6vw, 64px); margin: 5px 0; }
.public-site h2 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0; }
.p-section-title p, .p-step p { color: var(--muted); margin: 8px 0; }
.p-partner-label { color: var(--green); margin-top: 10px; }
.p-group-grid, .p-round-grid, .p-step-grid { display: grid; gap: 12px; margin-top: 22px; }
.p-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-round-grid, .p-step-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); }
.p-group-card, .p-round-card, .p-step {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font: inherit;
  text-align: left;
}
.p-group-card, .p-round-card { cursor: pointer; }
.p-group-card:hover, .p-round-card:hover { border-color: var(--green); background: #f1f7ef; }
.p-group-card strong, .p-group-card > span:last-child { display: block; }
.p-group-card strong { margin-top: 8px; }
.p-group-card > span:last-child { color: var(--muted); font-size: 14px; }
.p-round-card { display: flex; justify-content: space-between; font-weight: 800; }
.p-tip { display: flex; align-items: start; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #e8efe4; }
.p-tip p { margin: 0; }
.p-tip-icon, .p-step-icon { color: var(--green); font-size: 22px; }
.p-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.p-crumbs button { border: 0; padding: 4px 0; background: transparent; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }
.p-how { background: #eff3ed; border-block: 1px solid var(--line); }
.p-how-inner { padding-block: 36px; }
.p-step h3 { margin: 6px 0; }
.p-step > span, .p-footer { color: var(--muted); font-size: 14px; }
.p-footer-brand { font-weight: 700; }
.public-site :focus-visible { outline: 3px solid #315fba; outline-offset: 3px; }
@media (max-width: 540px) {
  .p-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-navbar { gap: 10px; }
}
