/* Public pages shell: info (/join), pricing and signup (/signup).
 * Same palette, type and controls as the app (ranch-studio): forest primary,
 * gold for selection, sage canvas, white panels, bold Inter titles.
 * Section-specific styles live in styles/public.css (shared sections) and
 * landing.css (info page only).
 */
@font-face { font-family: FieldInter; src: url("/static/assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
html:has(.join-page) { background: #edf2ee; color-scheme: light; }
.join-page {
  --pub-forest: #173e35;
  --pub-forest-deep: #0f2c25;
  --pub-forest-hover: #28584a;
  --pub-sage: #edf2ee;
  --pub-sage-deep: #e3ece6;
  --pub-paper: #ffffff;
  --pub-ink: #20352e;
  --pub-muted: #5d7168;
  --pub-line: #d9e2dc;
  --pub-gold: #c9a35b;
  --pub-gold-soft: #f6ecd6;
  --pub-tag: #e9c46a;
  --pub-focus: #916c2d;
  --pub-radius-lg: 22px;
  --pub-radius: 14px;
  --pub-radius-sm: 10px;
  --pub-gutter: 48px;
  --pub-shell: min(1240px, calc(100% - var(--pub-gutter) * 2));
  --pub-ease: cubic-bezier(.22, 1, .36, 1);
  margin: 0;
  background: var(--pub-sage);
  color: var(--pub-ink);
  font: 16px/1.6 FieldInter, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
html:has(.join-page) { scroll-behavior: smooth; scroll-padding-top: 96px; }
.join-page *, .join-page *::before, .join-page *::after { box-sizing: border-box; }
:where(.join-page) img { max-width: 100%; }
.join-page a { color: inherit; text-underline-offset: 4px; }
:where(.join-page) :is(h1, h2, h3) { font-family: inherit; color: var(--pub-ink); margin: 0; }
:where(.join-page) h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 760; line-height: .98; letter-spacing: -.045em; }
:where(.join-page) h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 720; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
:where(.join-page) h3 { font-size: 19px; font-weight: 660; line-height: 1.3; letter-spacing: -.02em; }
:where(.join-page) p { margin: 0; }
.join-page :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--pub-focus); outline-offset: 4px; border-radius: 6px; }

/* Widths: every top-level block shares one measure; full-bleed bands opt out. */
.join-page main > :is(section, div, p, noscript, header, details), .join-footer { width: var(--pub-shell); margin-inline: auto; }
.join-page main > .lp-field-band { width: auto; }

/* Header */
.join-skip { position: fixed; z-index: 100; left: 16px; top: 12px; transform: translateY(-200%); padding: 12px 20px; border-radius: var(--pub-radius-sm); background: var(--pub-paper); border: 2px solid var(--pub-forest); font-weight: 650; }
.join-skip:focus { transform: none; }
.join-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--pub-sage) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.join-header.is-scrolled { border-bottom-color: var(--pub-line); box-shadow: 0 8px 28px #173e350d; }
.join-header-inner { width: var(--pub-shell); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.join-brand { display: inline-flex; align-items: center; min-height: 48px; }
.join-brand .cc-logo { width: 176px; height: auto; display: block; filter: none; }
.join-header nav { display: flex; align-items: center; gap: 6px; }
.join-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--pub-radius-sm); font-size: 14px; font-weight: 560; color: var(--pub-ink); text-decoration: none; transition: background .2s ease; }
.join-nav-link:hover { background: #173e350d; }
.join-nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--pub-gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.join-nav-cta { margin-left: 8px; }

/* Buttons */
.join-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--pub-line); border-radius: 12px; background: var(--pub-paper); color: var(--pub-ink); font-weight: 650; font-size: 15px; line-height: 1.2; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s var(--pub-ease), box-shadow .2s ease; }
.join-page .button:hover { border-color: #b9c9be; transform: translateY(-1px); }
.join-page .button:active { transform: translateY(0); }
.join-page .button-primary { background: var(--pub-forest); border-color: var(--pub-forest); color: #fff; box-shadow: 0 1px 0 #ffffff1f inset, 0 6px 18px #173e3524; }
.join-page .button-primary:hover { background: var(--pub-forest-hover); border-color: var(--pub-forest-hover); box-shadow: 0 1px 0 #ffffff1f inset, 0 10px 24px #173e3530; }
.join-page .button-large { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.join-page .button:disabled { background: var(--pub-sage-deep); color: var(--pub-muted); border-color: var(--pub-line); box-shadow: none; cursor: not-allowed; transform: none; }
.join-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }
.join-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 620; color: var(--pub-forest); text-decoration: underline; text-decoration-color: var(--pub-gold); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .2s ease; }
.join-text-link:hover { text-underline-offset: 3px; }
button.join-text-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 620; cursor: pointer; }
button.join-text-link:disabled { opacity: .55; cursor: default; }
.public-closed .public-note { margin-top: 8px; font-size: 14px; color: var(--pub-muted, #5b6660); }
.join-availability { margin-top: 16px; max-width: 440px; padding: 12px 14px; border-left: 3px solid var(--pub-gold); background: var(--pub-paper); border-radius: 0 var(--pub-radius-sm) var(--pub-radius-sm) 0; font-size: 14px; color: var(--pub-muted); }

/* Sections */
.join-section { padding: 104px 0; scroll-margin-top: 80px; }
.join-section-heading { max-width: 680px; }
.join-section-heading > p { margin-top: 18px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: var(--pub-muted); }

/* Photo hero (pricing and signup) */

/* Footer */
.join-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 32px 0 40px; border-top: 1px solid var(--pub-line); color: var(--pub-muted); font-size: 14px; }
.join-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.join-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.join-footer a:hover { color: var(--pub-forest); text-decoration: underline; }

/* States */
.join-loading { min-height: 60vh; display: grid; place-items: center; color: var(--pub-muted); }
.join-error, .join-noscript { max-width: 620px; }
.join-error p, .join-noscript p { margin-top: 16px; color: var(--pub-muted); }
.join-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  .join-page { --pub-gutter: 30px; }
  .join-nav-link:not(.join-nav-signin) { display: none; }
  
}
@media (max-width: 760px) {
  .join-page { --pub-gutter: 20px; font-size: 15px; }
  html:has(.join-page) { scroll-padding-top: 76px; }
  .join-header-inner { min-height: 64px; gap: 10px; }
  .join-brand .cc-logo { width: 138px; }
  .join-nav-link { padding: 0 8px; font-size: 14px; }
  .join-nav-cta { margin-left: 2px; min-height: 44px !important; padding: 0 14px !important; font-size: 14px !important; }
  .join-section { padding: 68px 0; }
  .join-section-heading > p { font-size: 16px; }
  
  
  .join-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 359px) {
  .join-page { --pub-gutter: 16px; }
  .join-brand .cc-logo { width: 118px; }
  .join-nav-cta { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.join-page) { scroll-behavior: auto; }
  .join-page *, .join-page *::before, .join-page *::after { transition-duration: 1ms !important; }
  .join-page .button:hover { transform: none; }
}
