/* Hallmark · shape: Scene-per-tool · genre: atmospheric · theme: Refract (deal 2/3, seed crm-photography-studios-whatsapp-f375·9e13200d·2026-11-20·r0) · job: sign up · draw: by request, interior public pages in the landing's system
 * hero: centred head over a strip of water light · nav: shared with the landing · footer: shared colophon · imagery: none, clear panels and the live water light · signature: the same water light closing every page head · refract: water/pool
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: V, text pages are quiet by nature so the light and the panel shadows carry the page */
/* waive 1: Funnel is not allowed by the site CSP, DM Sans and Inter are self-hosted */
/* waive 24b: the 150px water strip is a fixed art height, not spacing; waive 38iii: those i elements are icons in a square, not an accented word */
/* waive 48: public_plans.html keeps its own inline plan-card rules; its colours are remapped here through the legacy variable names */
/* Restyles the public-* and auth-* classes used by about, what-we-do, privacy, tos, cookies, plans, login, 2FA, password recovery and success pages. */

.public-shell, .auth-shell {
  --ink: var(--color-ink); --muted: var(--color-muted); --surface: var(--color-light); --surface-soft: var(--color-paper-2);
  --line: var(--color-rule); --brand: var(--color-accent); --brand-dark: var(--color-accent-hi); --accent: var(--color-accent); --sage: var(--color-accent-soft);
  color: var(--color-ink);
}
.public-kicker { display: none; }
.public-shell { min-height: 60dvh; }

/* hero: the water lies at the bottom edge, never under the text */
.public-hero { position: relative; isolation: isolate; text-align: center; padding: var(--space-3xl) var(--gutter) calc(150px + var(--space-xl)); overflow: clip; border-bottom: var(--rule-hair) solid var(--color-rule); }
.public-hero-inner { max-width: 880px; margin-inline: auto; }
.public-hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.5rem, 5vw + 0.5rem, 4.75rem); font-weight: 500; line-height: 1; }
.public-hero p { margin: var(--space-lg) auto 0; max-width: 56ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-muted); }
.public-hero > canvas.light, .auth-visual-modern > canvas.light { top: auto; bottom: 0; height: 150px; -webkit-mask-image: linear-gradient(to top, var(--color-ink) 0%, transparent 100%); mask-image: linear-gradient(to top, var(--color-ink) 0%, transparent 100%); }

.public-main { max-width: var(--container); margin-inline: auto; padding: var(--section-gap-s) var(--gutter); }
.public-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.public-section h2, .public-cta h2 { font-size: clamp(2rem, 3vw + 0.75rem, 3.5rem); font-weight: 500; line-height: 1.04; }
.public-section > div:first-child { position: sticky; top: calc(68px + var(--space-xl)); }
.public-section p, .public-card p, .public-list-card p, .public-list-card li, .public-cta p { color: var(--color-ink-2); line-height: 1.7; margin: var(--space-sm) 0 0; }
.public-section > div:first-child p { font-size: var(--text-lead); color: var(--color-muted); }
.public-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.public-card, .public-list-card { background: var(--color-light); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); padding: var(--space-xl); }
.public-card { display: grid; gap: var(--space-sm); align-content: start; }
.public-card i, .public-list-card h2 i { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-inner); background: var(--color-accent-soft); color: var(--color-accent); font-size: var(--text-md); }
.public-card h3 { font-size: var(--text-xl); font-weight: 500; font-family: var(--font-display); }
.public-card p { font-size: var(--text-sm); margin: 0; }
.public-list { display: grid; gap: var(--space-md); max-width: 860px; margin-inline: auto; }
.public-list-card h2 { display: flex; align-items: center; gap: var(--space-md); font-size: var(--text-xl); font-weight: 500; }
.public-list-card ul { margin: var(--space-sm) 0 0; padding-left: var(--space-lg); }
.public-list-card p, .public-list-card li { font-size: var(--text-md); }
.public-inline-link { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.public-inline-link:hover { text-decoration: underline; }

.public-cta { text-align: center; max-width: 900px; margin: var(--section-gap-s) auto 0; padding: var(--space-3xl) var(--space-xl); background: var(--color-light); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-cast); }
.public-cta h2 { margin-inline: auto; max-width: 20ch; }
.public-cta p { margin-inline: auto; max-width: 52ch; }
.public-primary { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: 48px; margin-top: var(--space-xl); padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink) !important; font-weight: 500; text-decoration: none; box-shadow: var(--edge-light), var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.public-primary:hover { background: var(--color-accent-hi); transform: translateY(-1px); }
.public-primary:active { transform: translateY(1px); }
.success-hero { padding-bottom: var(--space-3xl); }
.success-main { padding-top: 0; }
.success-hero + .success-main .public-cta, .success-card { margin-top: var(--space-2xl); }

/* auth screens */
.auth-page-modern { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); min-height: 100dvh; }
.auth-visual-modern { position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-xl) var(--gutter) calc(200px + var(--space-xl)); background: var(--color-paper); border-right: var(--rule-hair) solid var(--color-rule); }
.auth-visual-modern > canvas.light { height: 200px; }
.auth-brand-modern { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: 500; text-decoration: none; }
.auth-brand-modern img { width: 36px; height: 36px; border-radius: var(--radius-inner); }
.auth-visual-copy { max-width: 560px; margin-bottom: 0; }
.auth-visual-copy h1 { font-size: clamp(2.5rem, 4vw + 0.5rem, 4.25rem); font-weight: 500; line-height: 1; }
.auth-visual-copy p { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-muted); }
.auth-card-wrap { display: flex; align-items: center; justify-content: center; padding: var(--space-xl); background: var(--color-paper-2); }
.auth-card { width: 100%; max-width: 420px; padding: var(--space-xl); background: var(--color-light); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-cast); }
.auth-card h1, .auth-card h2 { font-size: var(--text-3xl); font-weight: 500; margin: 0 0 var(--space-xs); }
.auth-card > p, .auth-help { color: var(--color-muted); margin: 0 0 var(--space-lg); }
.auth-field { margin-bottom: var(--space-md); }
.auth-field label { display: block; margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; }
.auth-input-modern { position: relative; }
.auth-input-modern i { position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--color-muted); }
.auth-input-modern input { width: 100%; height: 48px; margin: 0; padding: 0 var(--space-md) 0 calc(var(--space-md) + var(--space-lg) + var(--space-xs)); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-light); color: var(--color-ink); font: inherit; }
.auth-input-modern input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.auth-submit-modern { width: 100%; height: 48px; border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: inherit; font-weight: 500; cursor: pointer; box-shadow: var(--edge-light), var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.auth-submit-modern:hover { background: var(--color-accent-hi); }
.auth-submit-modern:active { transform: translateY(1px); }
.auth-submit-modern:disabled { background: var(--color-paper-3); color: var(--color-muted); box-shadow: none; cursor: not-allowed; }
.auth-actions-modern { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-lg); }
.auth-actions-modern a { color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.auth-actions-modern a:hover { text-decoration: underline; }
.auth-help { padding: var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-2); font-size: var(--text-sm); }
.public-language-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* language menu built by public_language.js (auth screens) */
.studio-language-menu { position: relative; }
.studio-language-trigger { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-clear); color: var(--color-ink); font: inherit; font-size: var(--text-sm); font-weight: 500; cursor: pointer; }
.studio-language-trigger i { font-size: 0.7em; color: var(--color-muted); }
.studio-language-options { position: absolute; right: 0; bottom: calc(100% + var(--space-xs)); min-width: 110px; padding: var(--space-2xs); border-radius: var(--radius-inner); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); display: none; z-index: var(--z-dropdown); }
.studio-language-menu.open .studio-language-options { display: block; }
.studio-language-option-btn { display: flex; align-items: center; gap: var(--space-xs); width: 100%; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-inner); background: transparent; color: var(--color-ink); font: inherit; font-size: var(--text-sm); cursor: pointer; text-align: left; }
.studio-language-option-btn:hover, .studio-language-option-btn.active { background: var(--color-accent-soft); }

/* error pages */
.v3-error { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: var(--space-xl); }
.v3-error h1 { font-size: clamp(5rem, 14vw, 10rem); font-weight: 500; line-height: 0.9; margin-inline: auto; }
.v3-error p { margin: var(--space-lg) auto var(--space-xl); font-size: var(--text-lead); color: var(--color-muted); max-width: 40ch; }

@media (max-width: 60rem) {
  .public-section, .auth-page-modern { grid-template-columns: minmax(0, 1fr); }
  .public-section > div:first-child { position: static; }
  .auth-visual-modern { min-height: 340px; border-right: 0; }
}
@media (max-width: 40rem) {
  .public-card-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-actions-modern { flex-direction: column; align-items: stretch; }
  .auth-card-wrap { padding: var(--space-lg) var(--space-md) var(--space-2xl); }
  .public-hero { padding-bottom: calc(150px + var(--space-lg)); }
}
