@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;

  --bg: #f4f0e8;
  --ink: #15201b;
  --ink-2: #46514b;
  --ink-3: #5c6761;

  --accent: #1c3a2e;
  --accent-hover: #264d3d;
  --accent-ink: #1c3a2e;
  --on-accent: #f6f3ec;
  --accent-soft: rgb(28 58 46 / 0.08);
  --gold: #b8893b;
  --gold-ink: #7c5816;
  --gold-soft: rgb(184 137 59 / 0.13);
  --gold-line: rgb(184 137 59 / 0.26);
  --lake-ink: #2b6573;
  --lake-soft: rgb(43 101 115 / 0.1);
  --ok: #2f6b48;
  --err: #a2372e;
  --err-soft: rgb(162 55 46 / 0.08);
  --focus: #2f6b52;
  --focus-ring: rgb(47 107 82 / 0.2);

  --surface: rgb(255 255 255 / 0.62);
  --surface-2: rgb(255 255 255 / 0.8);
  --surface-3: rgb(255 255 255 / 0.94);
  --sunk: rgb(21 32 27 / 0.045);
  --field: rgb(255 255 255 / 0.78);
  --field-solid: #fdfbf7;
  --line: rgb(21 32 27 / 0.08);
  --line-2: rgb(21 32 27 / 0.14);
  --line-3: rgb(21 32 27 / 0.26);
  --edge: rgb(255 255 255 / 0.85);
  --bar: rgb(246 243 236 / 0.72);
  --toast: rgb(252 250 246 / 0.88);
  --glass: rgb(250 248 243 / 0.72);
  --glass-line: rgb(255 255 255 / 0.7);
  --pill: rgb(255 255 255 / 0.95);
  --pill-shadow: 0 1px 2px rgb(21 32 27 / 0.08), 0 6px 16px -6px rgb(21 32 27 / 0.22);
  --glow-a: rgb(233 196 120 / 0.42);
  --glow-b: rgb(96 150 142 / 0.24);
  --veil-top: rgb(244 240 232 / 0.5);
  --veil-bottom: rgb(244 240 232 / 0.88);
  --scene-top: rgb(244 240 232 / 0.04);
  --scene-bottom: rgb(244 240 232 / 0.32);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6761' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2.5c.7 4.9 2.6 6.8 7.5 7.5-4.9.7-6.8 2.6-7.5 7.5-.7-4.9-2.6-6.8-7.5-7.5 4.9-.7 6.8-2.6 7.5-7.5zM18.5 14c.4 2.6 1.4 3.6 4 4-2.6.4-3.6 1.4-4 4-.4-2.6-1.4-3.6-4-4 2.6-.4 3.6-1.4 4-4z'/%3E%3C/svg%3E");

  --shadow-1: 0 1px 2px rgb(21 32 27 / 0.04), 0 12px 32px -18px rgb(21 32 27 / 0.24);
  --shadow-2: 0 2px 6px rgb(21 32 27 / 0.05), 0 24px 48px -22px rgb(21 32 27 / 0.34);
  --shadow-3: 0 40px 90px -40px rgb(10 18 14 / 0.5);
  --btn-glow: rgb(28 58 46 / 0.42);

  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --r-sm: 0.75rem;
  --r-md: 1rem;
  --r-lg: 1.375rem;
  --r-xl: 1.75rem;
  --sheet: 44rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 600ms;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.064 3.6%, 0.209 7.1%, 0.383 10.7%, 0.554 14.3%, 0.703 17.9%, 0.822 21.4%, 0.911 25%, 0.971 28.6%, 1.009 32.1%, 1.029 35.7%, 1.038 39.3%, 1.038 42.9%, 1.034 46.4%, 1.027 50%, 1.014 57.1%, 1.005 64.3%, 1 71.4%, 1);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1411;
    --ink: #eef0ea;
    --ink-2: #b7c0b9;
    --ink-3: #949f98;

    --accent: #e8dab2;
    --accent-hover: #f4e9c9;
    --accent-ink: #e8d7a6;
    --on-accent: #14201a;
    --accent-soft: rgb(232 218 178 / 0.1);
    --gold: #d6ae62;
    --gold-ink: #e2c07c;
    --gold-soft: rgb(214 174 98 / 0.14);
    --gold-line: rgb(214 174 98 / 0.3);
    --lake-ink: #93cbd6;
    --lake-soft: rgb(147 203 214 / 0.12);
    --ok: #86d1a3;
    --err: #f0998e;
    --err-soft: rgb(240 153 142 / 0.1);
    --focus: #e6c77e;
    --focus-ring: rgb(230 199 126 / 0.24);

    --surface: rgb(30 43 37 / 0.55);
    --surface-2: rgb(38 53 46 / 0.72);
    --surface-3: rgb(29 42 36 / 0.96);
    --sunk: rgb(255 255 255 / 0.04);
    --field: rgb(255 255 255 / 0.05);
    --field-solid: #17221d;
    --line: rgb(255 255 255 / 0.08);
    --line-2: rgb(255 255 255 / 0.14);
    --line-3: rgb(255 255 255 / 0.26);
    --edge: rgb(255 255 255 / 0.06);
    --bar: rgb(13 21 17 / 0.7);
    --toast: rgb(28 40 34 / 0.9);
    --glass: rgb(14 22 18 / 0.66);
    --glass-line: rgb(255 255 255 / 0.1);
    --pill: rgb(255 255 255 / 0.11);
    --pill-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 6px 16px -8px rgb(0 0 0 / 0.6);
    --glow-a: rgb(214 170 90 / 0.16);
    --glow-b: rgb(70 130 120 / 0.18);
    --veil-top: rgb(10 17 14 / 0.8);
    --veil-bottom: rgb(10 17 14 / 0.94);
    --scene-top: rgb(6 11 9 / 0.42);
    --scene-bottom: rgb(6 11 9 / 0.74);
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3ada6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 34px -18px rgb(0 0 0 / 0.6);
    --shadow-2: 0 2px 6px rgb(0 0 0 / 0.35), 0 28px 60px -24px rgb(0 0 0 / 0.75);
    --shadow-3: 0 40px 100px -40px rgb(0 0 0 / 0.85);
    --btn-glow: rgb(232 218 178 / 0.22);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-ui);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.site {
  position: relative;
  isolation: isolate;
  overscroll-behavior-y: none;
}

body.site-guest {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 3rem;
}

body.site-landing {
  padding-top: 0;
  padding-bottom: 0;
}

body.site-app {
  padding-bottom: calc(env(safe-area-inset-bottom) + 7rem);
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgb(184 137 59 / 0.3);
}

::placeholder {
  color: var(--ink-3);
  opacity: 0.72;
}

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

a {
  color: var(--accent-ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-3);
  text-underline-offset: 0.2em;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

a:hover {
  color: var(--gold-ink);
  text-decoration-color: currentColor;
}

.skip {
  position: fixed;
  z-index: 100;
  top: calc(env(safe-area-inset-top) + 0.75rem);
  left: 1rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  translate: 0 calc(-100% - 3rem);
  transition: translate var(--t-med) var(--ease-out);
}

.skip:focus,
.skip:hover {
  translate: 0 0;
  color: var(--on-accent);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg) url("/static/img/wallpaper-tall.webp") center / cover no-repeat;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--veil-top), var(--veil-bottom) 72%);
}

.glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  will-change: transform;
  animation: drift 38s ease-in-out infinite alternate;
}

.glow-a {
  top: -26vmax;
  left: -22vmax;
  width: 64vmax;
  height: 64vmax;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
}

.glow-b {
  right: -24vmax;
  bottom: -22vmax;
  width: 56vmax;
  height: 56vmax;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
  animation-duration: 52s;
  animation-delay: -14s;
}

.site-account .backdrop {
  background-image: url("/static/img/dawn-tall.webp");
}

.site-account .backdrop::after {
  background: linear-gradient(180deg, var(--scene-top), var(--scene-bottom));
}

.site-account .glow {
  display: none;
}

@media (orientation: landscape) {
  .backdrop {
    background-image: url("/static/img/wallpaper-wide.webp");
  }
}

@media (orientation: landscape) and (min-width: 700px) {
  .site-account .backdrop {
    background-image: url("/static/img/dawn-wide.webp");
    background-position: 30% 40%;
  }
}

main.sheet {
  position: relative;
  width: min(var(--sheet), calc(100% - 2.5rem));
  margin: 1.5rem auto 3rem;
}

main.sheet-landing {
  width: 100%;
  margin: 0;
}

.site-guest > main.sheet:not(.sheet-auth, .sheet-landing) {
  margin-top: max(3rem, 14vh);
}

.page-rise > * {
  animation: rise 560ms var(--ease-out) both;
}

.page-rise > :nth-child(2) { animation-delay: 50ms; }
.page-rise > :nth-child(3) { animation-delay: 100ms; }
.page-rise > :nth-child(4) { animation-delay: 150ms; }
.page-rise > :nth-child(5) { animation-delay: 200ms; }
.page-rise > :nth-child(n + 6) { animation-delay: 250ms; }

.page-rise > :is(h1, :has(h1)) {
  animation: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.6rem, 2rem + 2.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

main h1 {
  view-transition-name: page-title;
}

h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: 1.9rem;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.006em;
}

p {
  margin: 0 0 0.85rem;
}

strong {
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow a {
  color: inherit;
  text-decoration-color: var(--line-2);
}

.lede {
  max-width: 38rem;
  margin: 0 0 1.1rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.muted {
  color: var(--ink-2);
}

.meta {
  color: var(--ink-3);
  font-size: 0.875rem;
}

.meta a {
  color: var(--ink-2);
}

.cat {
  margin: 0 0 0.35rem;
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote {
  margin: 0.2rem 0 0.8rem;
  color: var(--ink);
  font: italic 400 1.4rem/1.3 var(--font-display);
  text-wrap: pretty;
}

.quote::before {
  content: "\201C";
}

.quote::after {
  content: "\201D";
}

.clamp,
.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.clamp-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.stack {
  display: grid;
  gap: 0.85rem;
}

form.stack {
  gap: 1.1rem;
}

.row,
.landing-cta,
.page-actions,
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.row {
  margin-top: 0.9rem;
}

.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card.row-between {
  display: flex;
  flex-wrap: nowrap;
  padding: 0.85rem 0.85rem 0.85rem 1.1rem;
}

.card.row-between > div {
  flex: 1;
  min-width: 0;
}

.card.row-between .btn {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  font-size: 0.875rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 2.4rem 0 0.9rem;
}

.toolbar h2 {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.row-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
}

.row-form label {
  flex: 1 1 13rem;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}

.page-head h1 {
  margin: 0;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 1rem 1.15rem;
  margin: 0 0 1.15rem;
}

.profile-head > div {
  min-width: 0;
}

.profile-head h1 {
  margin: 0;
}

.profile-head .eyebrow {
  margin-bottom: 0.45rem;
}

.page-actions {
  margin: 0.5rem 0 1.25rem;
}

.more {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-icon {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.meta-icon svg {
  width: 100%;
  height: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(env(safe-area-inset-top) + 0.65rem) max(1.25rem, env(safe-area-inset-right), calc((100% - var(--sheet)) / 2)) 0.65rem max(1.25rem, env(safe-area-inset-left), calc((100% - var(--sheet)) / 2));
  background: var(--bar);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 1px 0 var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font: 400 1.6rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark:hover {
  color: var(--ink);
}

.mark-glyph {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--gold);
  transition: scale var(--t-slow) var(--spring);
}

.mark:hover .mark-glyph {
  scale: 1.12;
}

.who {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.3rem 0.25rem 0.25rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.who:hover {
  color: var(--ink);
  background: var(--sunk);
}

.who-name {
  max-width: 11rem;
  padding-right: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar,
.church-mark {
  --a1: #3f6e59;
  --a2: #1c3a2e;
  flex: none;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(140deg, var(--a1), var(--a2));
  color: #fff;
  user-select: none;
}

.avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font: 600 0.72rem/1 var(--font-ui);
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), 0 2px 6px -2px rgb(0 0 0 / 0.3);
}

.avatar-sm {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.58rem;
}

.avatar-xl {
  width: 4.75rem;
  height: 4.75rem;
  font: 400 1.9rem/1 var(--font-display);
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18), 0 14px 30px -14px var(--a2);
}

.church-mark {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  font: 400 1.35rem/1 var(--font-display);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.28), 0 10px 20px -12px var(--a2);
}

.church-mark-sm {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  font-size: 0.95rem;
}

.church-mark-lg {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.4rem;
  font-size: 2rem;
}

.tone-0 { --a1: #4d8069; --a2: #1c3a2e; }
.tone-1 { --a1: #d5aa5c; --a2: #93672a; }
.tone-2 { --a1: #5b9aa6; --a2: #25596a; }
.tone-3 { --a1: #cf8a6b; --a2: #8b4631; }
.tone-4 { --a1: #93ad7f; --a2: #4b6a3f; }
.tone-5 { --a1: #a48ab8; --a2: #5a4478; }
.tone-6 { --a1: #7f95a8; --a2: #3b4f63; }
.tone-7 { --a1: #d49a9f; --a2: #8d4c58; }

/* position: fixed must win here; a relative dock scrolls away with the page. */
.dock {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 0.75rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  width: min(27rem, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 0.35rem;
  border-radius: 1.75rem;
  background: var(--bar);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line), inset 0 1px 0 var(--edge);
}

.dock-link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  min-height: 3.4rem;
  padding: 0.35rem 0.15rem 0.3rem;
  border-radius: 1.45rem;
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast);
}

.dock-link:hover {
  color: var(--ink);
}

.dock-link.is-active {
  color: var(--accent-ink);
  font-weight: 600;
}

.dock-pill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--pill);
  box-shadow: var(--pill-shadow);
  view-transition-name: dock-pill;
}

.dock-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--t-med) var(--spring);
}

.dock-icon svg {
  width: 100%;
  height: 100%;
}

.dock-link.is-active .dock-icon {
  animation: icon-pop 560ms var(--spring) 80ms backwards;
}

.dock-link.is-active svg {
  stroke-width: 2.1;
}

.dock-link:active .dock-icon {
  transform: scale(0.84);
  transition-duration: 90ms;
}

.dock-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  position: absolute;
  top: 0.25rem;
  left: calc(50% + 0.3rem);
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: #d9483b;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
  animation: pop 520ms var(--spring) 200ms both;
}

.panel,
.card,
.invite-form,
.people {
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line), inset 0 1px 0 var(--edge);
}

.panel {
  position: relative;
  margin: 1.75rem 0;
  padding: 1.4rem 1.3rem 1.45rem;
  border-radius: var(--r-xl);
}

.panel > h2:first-child {
  margin-top: 0;
  font-size: 1.7rem;
}

.card {
  position: relative;
  display: block;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: var(--r-lg);
  color: inherit;
}

.card > :last-child {
  margin-bottom: 0;
}

.card p {
  margin-bottom: 0.55rem;
}

.panel .card {
  background: var(--sunk);
  box-shadow: inset 0 0 0 1px var(--line);
}

.card-link {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background-color var(--t-fast);
}

.card-link:hover {
  color: inherit;
}

.card-link:active {
  transform: scale(0.985);
  transition-duration: 100ms;
}

.card-link:focus-visible {
  outline-offset: 4px;
}

.card-dim {
  background: var(--sunk);
  box-shadow: inset 0 0 0 1px var(--line);
}

.card-dim .quote {
  color: var(--ink-2);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-top .eyebrow {
  margin: 0;
  min-width: 0;
}

.card .card-top .eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

main > .card-top {
  margin-bottom: 0.9rem;
}

.scope-mark {
  --mark-ink: var(--accent-ink);
  --mark-bg: var(--accent-soft);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.65rem;
  background: var(--mark-bg);
  color: var(--mark-ink);
}

.scope-mark svg {
  width: 1.05rem;
  height: 1.05rem;
}

.scope-neighboring {
  --mark-ink: var(--lake-ink);
  --mark-bg: var(--lake-soft);
}

.scope-body {
  --mark-ink: var(--gold-ink);
  --mark-bg: var(--gold-soft);
}

.need-card h3 {
  margin: 0.8rem 0 0.4rem;
}

.need-card .clamp {
  color: var(--ink-2);
  font-size: 0.975rem;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.5rem;
  margin-top: 0.95rem;
}

.need-meta {
  margin: 0.25rem 0 1.1rem;
}

.byline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0 auto 0 0;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
}

.byline a {
  color: inherit;
  font-weight: 600;
}

.church-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.church-card h3 {
  margin: 0.1rem 0 0.2rem;
}

.church-card .muted {
  margin-bottom: 0.45rem;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.church-card .clamp-2 {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.notice-card h3 {
  font-size: 1.3rem;
}

.person-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.person-line > * {
  min-width: 0;
}

.person-line p {
  margin: 0;
}

.person-line .muted,
.person-line .meta {
  margin-top: 0.1rem;
  font-size: 0.85rem;
}

.person-line a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.person-line a:hover {
  color: var(--accent-ink);
}

.people {
  margin: 0;
  padding: 0.3rem 0.95rem;
  border-radius: var(--r-lg);
  list-style: none;
}

.people:empty {
  display: none;
}

.stack + .people {
  margin-top: 0.85rem;
}

.panel > .stack + form {
  margin-top: 1.4rem;
}

.people li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.55rem 0;
}

.people li + li {
  border-top: 1px solid var(--line);
}

.people a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.people a:hover {
  color: var(--accent-ink);
}

.people .muted {
  flex: none;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.place > h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.6rem;
}

.place:first-of-type > h2 {
  margin-top: 1.75rem;
}

.device-card {
  display: grid;
  gap: 0.3rem;
}

.device-card p {
  margin: 0;
}

.device-card .chip {
  justify-self: start;
  margin-bottom: 0.25rem;
}

.device-card form {
  margin-top: 0.55rem;
}

.device-name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.invite-form {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--r-lg);
}

.account-end {
  margin: 0.65rem 0 0;
}

:not(.account-end) + .account-end {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 2.4rem 1.5rem 2.1rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-xl);
  background: var(--sunk);
  color: var(--ink-2);
  text-align: center;
}

.empty::before {
  content: "";
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 17%, transparent 19% 46%, var(--gold-line) 48% 53%, transparent 55%);
  box-shadow: 0 0 0 0.55rem var(--gold-soft);
  animation: halo 5s ease-in-out infinite;
}

.empty p {
  max-width: 26rem;
  margin: 0;
}

.empty .btn {
  margin-top: 0.9rem;
  justify-self: center;
}

.empty .landing-cta {
  justify-content: center;
  margin-top: 0.9rem;
}

.empty .landing-cta .btn {
  margin-top: 0;
}

.btn {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-ink: var(--on-accent);
  --btn-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 1px 2px rgb(0 0 0 / 0.14), 0 10px 24px -12px var(--btn-glow);
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  justify-self: start;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: var(--btn-shadow);
  font: 600 0.9375rem/1 var(--font-ui);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), box-shadow var(--t-med) var(--ease-out), color var(--t-fast);
}

.btn:hover {
  color: var(--btn-ink);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-quiet {
  --btn-bg: var(--surface-2);
  --btn-bg-hover: var(--surface-3);
  --btn-ink: var(--ink);
  --btn-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-light {
  --btn-bg: #f7f2e6;
  --btn-bg-hover: #fffaf0;
  --btn-ink: #13201a;
  --btn-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 14px 30px -12px rgb(0 0 0 / 0.55);
}

.btn-glass {
  --btn-bg: rgb(255 255 255 / 0.14);
  --btn-bg-hover: rgb(255 255 255 / 0.24);
  --btn-ink: #fbf8f0;
  --btn-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.btn-icon {
  display: inline-grid;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -0.3rem;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.2;
}

form.stack > .btn {
  width: 100%;
}

.btn.is-busy {
  color: transparent;
  pointer-events: none;
}

.btn.is-busy::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: auto;
  border: 2px solid var(--btn-ink);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-text {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 0.75rem;
  background: none;
  color: var(--ink-2);
  font: 600 0.9rem/1 var(--font-ui);
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--t-fast), background-color var(--t-fast);
}

.btn-text:hover {
  color: var(--err);
  background: var(--err-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.6rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--sunk);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.chip-accent {
  background: var(--gold-soft);
  color: var(--gold-ink);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

.chip-accent::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.chip-closed {
  background: var(--err-soft);
  color: var(--err);
  box-shadow: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.25rem 0 1rem;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.875rem;
  font-weight: 500;
}

.pill::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.pill-wait {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.pill-wait::before {
  animation: breath 2.4s ease-in-out infinite;
}

.pill-warn {
  background: var(--err-soft);
  color: var(--err);
}

.share-row {
  margin: 0.5rem 0 1.1rem;
}

.code {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin: 0;
  padding: 0 1rem;
  border-radius: var(--r-md);
  background: var(--sunk);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font: 600 1.05rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  user-select: all;
}

label,
legend,
.password-field > label,
.church-search > label {
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
}

label {
  display: grid;
  gap: 0.45rem;
}

legend {
  margin: 0 0 0.6rem;
  padding: 0;
}

input:not([type="radio"], [type="checkbox"], [type="hidden"]),
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background-color: var(--field);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.03);
  font: 400 1rem/1.4 var(--font-ui);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

input:not([type="radio"], [type="checkbox"], [type="hidden"]):hover,
textarea:hover,
select:hover {
  border-color: var(--line-3);
}

input:not([type="radio"], [type="checkbox"], [type="hidden"]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--focus);
  background-color: var(--field-solid);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 100px var(--field-solid) inset;
  transition: background-color 9999s;
}

textarea {
  min-height: 6.5rem;
  line-height: 1.55;
  resize: vertical;
}

select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

select option,
select optgroup {
  background: var(--field-solid);
  color: var(--ink);
}

.picker {
  position: relative;
  display: block;
  min-width: 0;
}

select.picker-native {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.picker-face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 2.6rem 0.75rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background-color: var(--field);
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.03);
  font: 400 1rem/1.4 var(--font-ui);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.picker-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-face:hover {
  border-color: var(--line-3);
}

.picker-face:focus {
  outline: none;
  border-color: var(--focus);
  background-color: var(--field-solid);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.picker.is-open .picker-face {
  border-color: var(--focus);
  background-color: var(--field-solid);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.picker-menu {
  position: fixed;
  z-index: 50;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid var(--line-2);
  border-radius: 1rem;
  background: var(--field-solid);
  color: var(--ink);
  box-shadow: 0 18px 40px rgb(12 20 17 / 0.18);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.picker-menu::-webkit-scrollbar {
  width: 3px;
}

.picker-menu::-webkit-scrollbar-track {
  background: transparent;
}

.picker-menu::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: transparent;
}

.picker-menu:hover,
.picker-menu.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--ink) 38%, transparent) transparent;
}

.picker-menu:hover::-webkit-scrollbar-thumb,
.picker-menu.is-scrolling::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 38%, transparent);
}

.picker-label {
  padding: 0.55rem 0.75rem 0.15rem;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.picker-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--ink);
  font: 400 0.975rem/1.35 var(--font-ui);
  text-align: left;
  cursor: pointer;
}

.picker-option:hover,
.picker-option:focus-visible {
  outline: none;
  background: var(--accent-soft);
}

.picker-option.is-selected {
  background: var(--gold-soft);
  color: var(--ink);
}

.scopes {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

label.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: var(--field);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.9375rem;
  font-weight: 400;
  cursor: pointer;
  transition: box-shadow var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}

.choice strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.choice:hover {
  box-shadow: inset 0 0 0 1px var(--line-3);
}

.choice:active {
  transform: scale(0.99);
}

.choice:has(input:checked) {
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 22px -16px var(--btn-glow);
}

.choice input {
  appearance: none;
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.1rem 0 0;
  border-radius: 50%;
  background: var(--field-solid);
  box-shadow: inset 0 0 0 1.5px var(--line-3);
  cursor: pointer;
  transition: box-shadow var(--t-med) var(--spring);
}

.choice input:checked {
  box-shadow: inset 0 0 0 0.4rem var(--accent);
}

.password-field,
.church-search {
  display: grid;
  gap: 0.45rem;
}

.password-row {
  position: relative;
}

.password-row input:not([type="radio"], [type="checkbox"], [type="hidden"]) {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0.3rem;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: auto 0;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--t-fast), background-color var(--t-fast);
}

.password-toggle:hover {
  color: var(--ink);
  background: var(--sunk);
}

.password-icon {
  display: inline-flex;
}

.church-search-input-wrap {
  position: relative;
}

.church-search-status {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.church-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 15rem;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  border-radius: var(--r-md);
  background: var(--surface-3);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  animation: drop-in 260ms var(--ease-out) both;
}

.church-suggestion {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: var(--ink);
  font: 500 0.9375rem/1.35 var(--font-ui);
  text-align: left;
  cursor: pointer;
}

.church-suggestion:hover,
.church-suggestion:focus-visible {
  outline: none;
  background: var(--accent-soft);
}

.rewrite-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  min-height: 2.25rem;
}

button.rewrite {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding: 0 0.85rem 0 0.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font: 600 0.8125rem/1 var(--font-ui);
  letter-spacing: 0.01em;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
}

button.rewrite::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

button.rewrite:hover {
  background-color: var(--gold-line);
}

button.rewrite:active {
  transform: scale(0.96);
}

button.rewrite:disabled {
  cursor: wait;
}

button.rewrite.is-busy {
  background: linear-gradient(100deg, var(--gold-soft) 20%, var(--gold-line) 50%, var(--gold-soft) 80%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

button.rewrite.is-busy::before {
  animation: twinkle 1.1s ease-in-out infinite;
}

.rewrite-status {
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 500;
}

.rewrite-status.is-live {
  color: var(--ok);
}

.review-banner,
.review-wait {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  scroll-margin-top: 6rem;
}

.review-banner {
  background: var(--gold-soft);
  color: var(--gold-ink);
  box-shadow: inset 0 0 0 1px var(--gold-line);
  animation: drop-in 460ms var(--spring) both;
}

.review-banner::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: currentColor;
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}

.review-wait {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.review-wait::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

form.is-reviewing {
  pointer-events: none;
}

form.is-reviewing > :not(.review-wait) {
  opacity: 0.5;
  transition: opacity var(--t-med);
}

.flash {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.flash-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--ok);
  color: var(--bg);
}

.flash-icon svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.6;
}

.flash-ok {
  position: fixed;
  z-index: 60;
  top: calc(env(safe-area-inset-top) + 0.75rem);
  left: 0;
  right: 0;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.6rem 1.15rem 0.6rem 0.65rem;
  border-radius: 1.5rem;
  background: var(--toast);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  pointer-events: none;
  animation: toast-in 640ms var(--spring) both, toast-out 420ms var(--ease-in) 4.2s forwards;
}

.flash-err {
  width: min(var(--sheet), calc(100% - 2.5rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border-radius: var(--r-md);
  background: linear-gradient(var(--err-soft), var(--err-soft)), var(--surface-3);
  color: var(--err);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  animation: drop-in 480ms var(--spring) both;
}

.flash-err .flash-icon {
  background: var(--err);
}

.site-account > .flash-err {
  width: min(27rem, calc(100% - 1.5rem));
  margin-top: max(1.5rem, 5vh);
}

.site-account > .flash-err + .sheet-auth {
  margin-top: 0.85rem;
}

.site-landing > .flash-err {
  position: absolute;
  z-index: 10;
  top: calc(env(safe-area-inset-top) + 4.5rem);
  left: 0;
  right: 0;
}

.install-bar {
  position: fixed;
  z-index: 45;
  top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  right: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  width: min(40rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.55rem 0.55rem 0.55rem 0.85rem;
  border-radius: 1.4rem;
  background: var(--toast);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  animation: drop-in 600ms var(--spring) both;
}

.install-bar .mark-glyph {
  width: 1.5rem;
  height: 1.5rem;
}

.install-bar p {
  flex: 1 1 11rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.install-bar-ios {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.install-bar-manual .install-bar-copy {
  flex: 1 1 100%;
}

.install-bar-help {
  flex-shrink: 0;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  font: 700 1rem/1 var(--font-ui);
}

.install-help {
  width: min(24rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.4rem;
  background: var(--surface-3);
  color: var(--ink);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}

.install-help::backdrop {
  background: rgb(8 14 12 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.install-help-sheet {
  display: grid;
  gap: 1rem;
  max-height: calc(100dvh - 2rem);
  padding: 1.15rem 1.15rem 1.25rem;
  overflow: auto;
}

.install-help-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.install-help-head h2 {
  margin: 0;
  font: 600 1.125rem/1.25 var(--font-ui);
  letter-spacing: -0.01em;
}

.install-help-close {
  min-height: 2.25rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
}

.install-help-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.install-help-steps li + li {
  margin-top: 0.35rem;
}

.install-help-figures {
  display: grid;
  gap: 0.85rem;
}

.install-help-figures figure {
  margin: 0;
}

.install-help-figures img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  box-shadow: inset 0 0 0 1px var(--line);
  background: #0c1411;
}

.install-help-figures figcaption {
  margin-top: 0.4rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.install-help-done {
  width: 100%;
}

.install-bar .btn {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

body.native-shell .install-bar,
body.standalone .install-bar {
  display: none !important;
}

@media (display-mode: standalone) {
  .install-bar {
    display: none !important;
  }
}

.hero {
  --sun-x: 4%;
  --sun-y: 12%;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: max(100svh, 34rem);
  padding: calc(env(safe-area-inset-top) + 4rem) max(1.5rem, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 5rem) max(1.5rem, env(safe-area-inset-left));
  overflow: clip;
  border-radius: 0 0 clamp(1.75rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3rem);
  background: #14211c;
  color: #f7f3ea;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/static/img/dawn-tall.webp") 50% 40% / cover no-repeat;
  transform-origin: var(--sun-x) var(--sun-y);
  animation: breathe 28s ease-in-out infinite alternate;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 18 14 / 0.35) 0%, rgb(10 18 14 / 0) 22%, rgb(10 18 14 / 0.04) 45%, rgb(9 16 13 / 0.62) 74%, rgb(9 16 13 / 0.9) 100%);
}

.hero-rays {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 100deg at var(--sun-x) var(--sun-y), rgb(255 236 190 / 0) 0deg, rgb(255 236 190 / 0.16) 2.5deg, rgb(255 236 190 / 0) 6deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at var(--sun-x) var(--sun-y), #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at var(--sun-x) var(--sun-y), #000 10%, transparent 70%);
  mix-blend-mode: screen;
  transform-origin: var(--sun-x) var(--sun-y);
  animation: rays 16s ease-in-out infinite alternate;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-bottom: 0.2rem;
}

.hero-name {
  margin: 0;
  color: #fbf7ee;
  font: 400 clamp(2rem, 1.2rem + 3vw, 3.25rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 20px rgb(0 0 0 / 0.25);
}

.hero-inner {
  display: grid;
  justify-items: start;
  gap: 1.1rem;
  width: min(64rem, 100%);
  margin: 0 auto;
}

.vesica {
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  color: #ecc987;
  filter: drop-shadow(0 0 14px rgb(236 201 135 / 0.45));
}

.vesica svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fbf8f0;
  font-size: clamp(3.4rem, 2.2rem + 6.5vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 40px rgb(0 0 0 / 0.35);
}

.hero .landing-cta {
  margin-top: 0.7rem;
}

.hero .btn,
.landing-ways .btn {
  min-height: 3.25rem;
  padding: 0 1.6rem;
  font-size: 1rem;
}

.hero-cue {
  position: absolute;
  bottom: calc(env(safe-area-inset-bottom) + 1.25rem);
  left: 50%;
  width: 1.5px;
  height: 2.5rem;
  margin-left: -0.75px;
  overflow: hidden;
  border-radius: 1px;
  background: rgb(255 255 255 / 0.16);
}

.hero-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(255 255 255 / 0), rgb(255 255 255 / 0.9));
  animation: cue 2.6s var(--ease-out) infinite;
}

.landing-story {
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.landing-story p {
  margin: 0 0 1.35rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.landing-story p:first-child {
  margin-bottom: 2.1rem;
  color: var(--ink);
  font: 400 clamp(1.75rem, 1.35rem + 1.6vw, 2.4rem)/1.22 var(--font-display);
  letter-spacing: -0.01em;
}

.landing-ways {
  position: relative;
  isolation: isolate;
  width: min(64rem, calc(100% - 1.5rem));
  margin: 0 auto clamp(3rem, 8vw, 5rem);
  padding: clamp(2.75rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  overflow: clip;
  border-radius: 2rem;
  background: #1e170f;
  color: #f7f2e7;
  box-shadow: var(--shadow-3);
}

.ways-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/static/img/linen.webp") 70% 50% / cover no-repeat;
}

.ways-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(22 16 9 / 0.94) 0%, rgb(22 16 9 / 0.72) 45%, rgb(22 16 9 / 0.12) 100%);
}

.landing-ways h2 {
  margin: 0 0 1.1rem;
  color: #fbf6ea;
  font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4rem);
  line-height: 1;
}

.landing-ways p {
  max-width: 30rem;
  margin: 0 0 1.9rem;
  color: rgb(247 242 231 / 0.84);
  font-size: 1.1rem;
  line-height: 1.7;
}

main.sheet-auth {
  width: min(27rem, calc(100% - 1.5rem));
  margin: max(1.5rem, 7vh) auto 3rem;
  padding: 1.9rem 1.5rem 1.6rem;
  border-radius: 2rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: var(--shadow-3), inset 0 0 0 1px var(--glass-line), inset 0 1px 0 var(--edge);
}

.auth-home {
  margin: 0 0 1.75rem;
}

.auth-home .mark {
  font-size: 1.45rem;
}

.sheet-auth h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.5rem, 2.1rem + 1.6vw, 3.1rem);
}

.sheet-auth .lede {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.sheet-auth .auth-card {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.sheet-auth .auth-card .split {
  grid-template-columns: 1fr;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

.auth-links a {
  color: var(--ink-2);
  text-decoration-color: var(--line-2);
}

.auth-links a:hover {
  color: var(--ink);
}

@media (hover: hover) {
  .btn:hover {
    background-color: var(--btn-bg-hover);
    transform: translateY(-1px);
  }

  .btn:active {
    transform: scale(0.97);
  }

  .card-link:hover {
    transform: translateY(-3px);
    background: var(--surface-2);
    box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--edge);
  }

  .card-link:active {
    transform: scale(0.985);
  }
}

@media (orientation: landscape) and (min-width: 700px) {
  .hero {
    --sun-x: 12%;
    --sun-y: 8%;
  }

  .hero-scene {
    background-image: url("/static/img/dawn-wide.webp");
    background-position: 30% 45%;
  }
}

@media (max-width: 699px) {
  .landing-ways {
    padding-top: 13rem;
  }

  .ways-scene {
    background-position: 84% 0%;
  }

  .ways-scene::after {
    background: linear-gradient(180deg, rgb(22 16 9 / 0.3) 0%, rgb(22 16 9 / 0.86) 42%, rgb(22 16 9 / 0.95) 100%);
  }
}

@media (min-width: 560px) {
  main.sheet-auth {
    padding: 2.4rem 2.25rem 2rem;
  }

  .panel {
    padding: 1.6rem 1.6rem 1.7rem;
  }
}

@media (max-width: 559px) {
  main.sheet {
    width: calc(100% - 2rem);
  }

  main.sheet-landing {
    width: 100%;
  }

  main.sheet-auth {
    width: calc(100% - 1.5rem);
  }

  .who-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .who {
    padding: 0.25rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .row-form .btn {
    width: 100%;
  }

  .profile-head {
    gap: 0.9rem;
  }

  .avatar-xl,
  .church-mark-lg {
    width: 4rem;
    height: 4rem;
  }

  .avatar-xl {
    font-size: 1.6rem;
  }

  .church-mark-lg {
    border-radius: 1.2rem;
    font-size: 1.7rem;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 360ms;
}

::view-transition-old(root) {
  animation: vt-out 180ms var(--ease-in) both;
}

::view-transition-new(root) {
  animation: vt-in 360ms var(--ease-out) 60ms both;
}

::view-transition-group(page-title) {
  animation-duration: 460ms;
  animation-timing-function: var(--ease-out);
}

::view-transition-old(page-title) {
  animation-duration: 220ms;
}

::view-transition-group(dock-pill) {
  animation-duration: 520ms;
  animation-timing-function: var(--spring);
}

::view-transition-old(dock-pill) {
  animation: none;
  opacity: 0;
}

::view-transition-new(dock-pill) {
  animation: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-0.6rem) scale(0.98);
  }
}

@keyframes picker-rise {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
}

@keyframes picker-drop {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-140%) scale(0.94);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-80%) scale(0.96);
    visibility: hidden;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes icon-pop {
  from {
    transform: translateY(3px) scale(0.82);
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes drift {
  to {
    transform: translate3d(6vmax, 5vmax, 0) scale(1.12);
  }
}

@keyframes halo {
  50% {
    box-shadow: 0 0 0 0.95rem transparent;
  }
}

@keyframes breath {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

@keyframes twinkle {
  50% {
    opacity: 0.4;
    transform: rotate(18deg) scale(0.8);
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 1.75rem;
    scale: 0.97;
  }
}

@keyframes focus-in {
  from {
    opacity: 0;
    filter: blur(14px);
    translate: 0 0.6rem;
  }
}

@keyframes bar-settle {
  from {
    background-color: transparent;
    box-shadow: 0 1px 0 transparent;
    -webkit-backdrop-filter: blur(0) saturate(1);
    backdrop-filter: blur(0) saturate(1);
  }
}

@keyframes breathe {
  to {
    scale: 1.06;
  }
}

@keyframes rays {
  from {
    opacity: 0.55;
    rotate: -2.5deg;
  }

  to {
    opacity: 1;
    rotate: 2.5deg;
  }
}

@keyframes hero-drift {
  to {
    translate: 0 16%;
  }
}

@keyframes hero-fade {
  to {
    opacity: 0;
    translate: 0 -2.5rem;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cross-in {
  from {
    opacity: 0;
    scale: 0.6;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes cue {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes vt-out {
  to {
    opacity: 0;
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .picker-menu {
    animation: picker-rise 180ms var(--ease-out);
  }

  .picker-menu.is-up {
    animation-name: picker-drop;
  }

  .picker-menu::-webkit-scrollbar-thumb {
    transition: background-color 180ms linear;
  }

  .vesica circle {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.4s var(--ease-out) 0.3s forwards;
  }

  .vesica circle + circle {
    animation-delay: 0.65s;
  }

  .vesica path {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: cross-in 1.2s var(--ease-out) 1.1s forwards;
  }

  .hero h1 {
    animation: focus-in 1.3s var(--ease-out) 0.25s both;
  }

  .hero .landing-cta {
    animation: rise 900ms var(--ease-out) 0.75s both;
  }

  .hero-cue {
    animation: fade-in 1s var(--ease-out) 1.6s both;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stack > .card,
    .people > li,
    .landing-story p,
    .landing-ways > :not(.ways-scene) {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }

    .topbar {
      animation: bar-settle linear both;
      animation-timeline: scroll(root);
      animation-range: 0 4rem;
    }

    .hero-scene {
      animation: breathe 28s ease-in-out infinite alternate, hero-drift linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100svh;
    }

    .hero-inner {
      animation: hero-fade linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70svh;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-rise > *,
  .glow,
  .hero-scene,
  .hero-rays,
  .hero-lockup,
  .hero-cue::after,
  .empty::before,
  .dock-link.is-active .dock-icon,
  .badge,
  .picker-menu {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --surface: var(--surface-3);
    --bar: var(--bg);
    --glass: var(--bg);
    --toast: var(--bg);
  }

  .topbar,
  .dock,
  .flash-ok,
  .install-bar,
  .btn-glass,
  main.sheet-auth {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .btn-text,
  .card,
  .panel,
  .people,
  .dock,
  .flash,
  .chip,
  .pill,
  .code,
  .empty,
  .install-bar,
  label.choice,
  main.sheet-auth {
    border: 1px solid CanvasText;
  }

  .dock-pill {
    background: Highlight;
  }

  input:not([type="radio"], [type="checkbox"], [type="hidden"]):focus,
  textarea:focus,
  select:focus,
  .picker-face:focus,
  .picker-menu,
  .picker-option.is-selected {
    outline: 2px solid Highlight;
  }

  .choice input {
    border: 1px solid CanvasText;
  }

  .choice input:checked {
    background: Highlight;
  }
}
