/* Shared visual language from the supplied Vicaria landing page redesign. */
:root {
  color-scheme: light;
  --v-paper: #f7f6f2;
  --v-ink: #201f1d;
  --v-muted: #6a6660;
  --v-amber: #8a6020;
  --v-gold: #b68235;
  --v-rule: rgba(32,31,29,.16);
  --v-display: 'Cormorant Garamond', Georgia, serif;
  --v-prose: Lora, Georgia, serif;
  --v-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--v-paper); color: var(--v-ink); font-family: var(--v-prose); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--v-amber); }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--v-amber); outline-offset: 5px;
}
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 20px; z-index: 10; background: var(--v-ink); color: var(--v-paper); }
.skip-link:focus { top: 12px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--v-amber); }
.hero a, .closing-section a { transition: background .15s, color .15s; }
.hero a:hover, .closing-section a:hover { background: rgba(182,130,53,.06); }
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; cursor: pointer; }
details[open] .vq-plus { transform: rotate(45deg); }
details .vq-plus { transition: transform .2s ease; flex-shrink: 0; }
/* The diagram keeps the supplied vector art and editable labels on desktop. */
.loop-section figure > div > img { max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 22px var(--v-display); letter-spacing: .01em; }
.eyebrow { font: 11px var(--v-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--v-muted); }
.signin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; overflow-x: clip; }
.signin-orbit-ground { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.signin-orbits { position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: clamp(1200px,160%,2200px); max-width: none; transform: translate(-50%,-50%) rotate(-18deg); opacity: .85; }
.signin-header { position: relative; max-width: 1120px; width: 100%; margin: 0 auto; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-link { font: 12px var(--v-mono); letter-spacing: .06em; color: var(--v-muted); }
.signin-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px 96px; }
.signin-card { width: 100%; max-width: 480px; background: rgba(247,246,242,.9); backdrop-filter: blur(6px); border: 1px solid var(--v-rule); border-radius: 4px; padding: 56px 52px 44px; text-align: center; }
.signin-symbol { display: block; margin: 0 auto 36px; }
.signin-card .eyebrow { margin-bottom: 18px; }
.signin-card h1 { font: 400 46px/1.05 var(--v-display); letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
.signin-card h1 em { color: var(--v-amber); }
.signin-intro { font-size: 17px; font-style: italic; line-height: 1.6; color: #5c5852; margin: 0 0 36px; text-wrap: pretty; }
.signin-card hr { width: 40px; border: 0; border-top: 1px solid var(--v-rule); margin: 0 auto 36px; }
.signin-card .button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 14px 20px; border: 1px solid var(--v-gold); border-radius: 4px; color: var(--v-ink); background: transparent; font: 600 20px/1.25 var(--v-display); cursor: pointer; }
.signin-card .button:hover { background: rgba(182,130,53,.08); }
.signin-card .fine { font-size: 13px; line-height: 1.7; color: var(--v-muted); margin: 22px 0 0; }
.signin-card .notice { padding: 14px 18px; margin: 0 0 24px; text-align: left; background: #f5eddd; border: 1px solid #cbb58e; border-radius: 4px; color: #684510; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.signin-card .notice p { color: inherit; }
.signin-card .notice button { margin-top: 12px; }
.signin-card [role="alert"] { line-height: 1.6; }
.signin-footer { position: relative; text-align: center; padding: 0 24px 32px; }
.signin-footer a { font: 12px var(--v-mono); letter-spacing: .06em; color: var(--v-muted); border-bottom: 1px solid var(--v-rule); padding-bottom: 3px; }
/* Reflow the diagram before its fixed-width side labels reach the viewport edges. */
@media (max-width: 900px) {
  .loop-section { padding: 60px 24px !important; }
  .loop-section figure > div { aspect-ratio: auto !important; display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 10px !important; }
  .loop-section figure > div > img { position: relative !important; width: 100% !important; height: auto !important; grid-row: 1; }
  .loop-section figure > div > div { position: static !important; transform: none !important; width: auto !important; text-align: center !important; }
  .loop-section figure > div > div:nth-last-child(-n+2) { display: none; }
  .loop-section figure > div > div > div:last-child { max-width: 280px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .site-header { flex-wrap: wrap; padding: 22px 24px !important; gap: 18px !important; }
  .site-header nav { gap: 18px !important; font-size: 11px !important; flex-wrap: wrap; }
  .hero { padding: 64px 24px 48px !important; }
  .hero > img { margin-bottom: 38px !important; }
  .hero h1 { font-size: clamp(80px,22vw,140px) !important; }
  .hero > div:nth-of-type(1) { margin-bottom: 38px !important; font-size: 12px !important; }
  .hero > p { font-size: 18px !important; }
  .hero h2 { font-size: 34px !important; }
  .hero > div:nth-of-type(2) { margin: 44px 0 36px !important; }
  .hero > div:last-child { font-size: 10px !important; }
  .harness-section { padding: 0 24px 64px !important; margin-inline: 24px !important; }
  .harness-section > div:nth-child(2) { gap: 22px 28px !important; font-size: 23px !important; }
  .process-section { padding: 0 24px 70px !important; }
  .process-section > div:nth-child(2) { grid-template-columns: 1fr !important; gap: 26px !important; }
  .process-section > div:nth-child(2) > div { border-right: 0 !important; border-bottom: 1px solid var(--v-rule); padding: 0 0 26px !important; }
  .process-section p, .faq-section p { text-align: left !important; }
  .faq-section { padding: 0 24px 76px !important; }
  .faq-section summary { font-size: 23px !important; gap: 18px !important; }
  .closing-section { padding: 0 24px 76px !important; }
  .site-footer { padding-inline: 24px !important; }
  .signin-header { padding: 24px; gap: 18px; flex-wrap: wrap; }
  .signin-main { padding: 24px 20px 60px; }
  .signin-card { padding: 40px 28px 34px; }
  .signin-card h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.signin-card a.button::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: url("google.svg") center / contain no-repeat; }
