/* GENERATED by packages/tokens/scripts/build.js — do not edit.
 * Source: docs/design/handoff/tokens/tokens.json (v1.0.0) + packages/tokens/overlay.json.
 * Light is the default. Dark applies under data-theme="dark", or under the system preference when
 * no explicit theme is set (data-theme="light" wins over the system preference).
 *
 * data-theme is not tied to the root: a section of a page may carry it and take the dark palette with
 * it. The public profile's Ink style is always dark, whatever the visitor's system says.
 */
:root {
  color-scheme: light;
  --color-bg-default: #FAFAF8;
  --color-surface-card: #FFFFFF;
  --color-surface-elevated: #FFFFFF;
  --color-surface-paper: #F6F3EC;
  --color-text-primary: #191918;
  --color-text-secondary: #70706C;
  --color-text-placeholder: #9A9892;
  --color-border-subtle: #E8E7E2;
  --color-border-strong: #DCDAD4;
  --color-brand-primary: #245C4F;
  --color-brand-pressed: #1D4C41;
  --color-brand-soft: #E9F2EE;
  --color-brand-onPrimary: #FFFFFF;
  --color-accent-warm: #D99A3E;
  --color-accent-soft: #FDF6EB;
  --color-accent-ink: #7A5418;
  --color-status-success: #39865F;
  --color-status-successText: #2E7050;
  --color-status-error: #C85C55;
  --color-status-errorText: #B04B45;
  --privacy-public-bg: #E9F2EE;
  --privacy-public-border: #BBD5CB;
  --privacy-public-ink: #245C4F;
  --privacy-private-bg: #F1EFE9;
  --privacy-private-border: #DCDAD4;
  --privacy-private-ink: #4A4A46;
  --privacy-shared-bg: #FDF6EB;
  --privacy-shared-border: #EBD3A8;
  --privacy-shared-ink: #7A5418;
  --focus-ring-color: #245C4F;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-control: 10px;
  --radius-card: 14px;
  --radius-sheet: 18px;
  --radius-pill: 999px;
  --radius-androidCard: 16px;
  --size-target-ios: 44px;
  --size-target-android: 48px;
  --size-button: 52px;
  --size-row: 56px;
  --size-icon: 24px;
  --size-iconStroke: 1.75px;
  --type-title-page-size: 30px;
  --type-title-page-line-height: 34px;
  --type-title-page-weight: 600;
  --type-title-page-tracking: -0.02em;
  --type-title-section-size: 19px;
  --type-title-section-line-height: 24px;
  --type-title-section-weight: 600;
  --type-title-section-tracking: -0.01em;
  --type-body-size: 16px;
  --type-body-line-height: 23px;
  --type-body-weight: 400;
  --type-bodyStrong-size: 16px;
  --type-bodyStrong-line-height: 23px;
  --type-bodyStrong-weight: 500;
  --type-support-size: 14px;
  --type-support-line-height: 21px;
  --type-support-weight: 400;
  --type-meta-size: 12.5px;
  --type-meta-line-height: 17px;
  --type-meta-weight: 500;
  --type-meta-tracking: 0.04em;
  --type-meta-transform: uppercase;
  --type-journal-title-size: 20px;
  --type-journal-title-line-height: 26px;
  --type-journal-title-weight: 600;
  --type-journal-body-size: 17px;
  --type-journal-body-line-height: 31px;
  --type-journal-body-weight: 400;
  --type-label-size: 12.5px;
  --type-label-line-height: 16px;
  --type-label-weight: 700;
  --type-label-tracking: 0.04em;
  --type-label-transform: uppercase;
  --type-serif-quote-size: 17px;
  --type-serif-quote-line-height: 25px;
  --type-serif-quote-weight: 400;
  --type-serif-prompt-size: 25px;
  --type-serif-prompt-line-height: 32px;
  --type-serif-prompt-weight: 500;
  --type-serif-promptQuiet-size: 19px;
  --type-serif-promptQuiet-line-height: 26px;
  --type-serif-promptQuiet-weight: 400;
  --font-serif: ui-serif, Georgia, serif;
  --elevation-flat: none;
  --elevation-raised: 0 2px 8px rgba(25,25,24,.08);
  --elevation-sheet: 0 8px 28px rgba(25,25,24,.14);
  --elevation-dialog: 0 12px 40px rgba(25,25,24,.22);
  --motion-sheet-in: 320ms;
  --motion-sheet-out: 240ms;
  --motion-check: 180ms;
  --motion-tab: 160ms;
  --motion-toast-in: 220ms;
  --motion-toast-dwell: 5000ms;
  --motion-toast-out: 180ms;
  --motion-page: 280ms;
  --motion-skeleton: 1400ms;
  --easing-sheet-in: cubic-bezier(.32,.72,0,1);
  --easing-sheet-out: cubic-bezier(.4,0,1,1);
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
}

[data-theme='dark'] {
  color-scheme: dark;
  --color-bg-default: #111311;
  --color-surface-card: #191C19;
  --color-surface-elevated: #202420;
  --color-surface-paper: #161714;
  --color-text-primary: #F5F5F0;
  --color-text-secondary: #A7AAA4;
  --color-text-placeholder: #5A5E58;
  --color-border-subtle: #30352F;
  --color-border-strong: #3E443D;
  --color-brand-primary: #74B8A0;
  --color-brand-pressed: #5FA68E;
  --color-brand-soft: #1B2C26;
  --color-brand-onPrimary: #111311;
  --color-accent-warm: #E3AD60;
  --color-accent-soft: #2A2218;
  --color-accent-ink: #E3AD60;
  --color-status-success: #6FBF90;
  --color-status-error: #E98D85;
  --color-status-successText: #6FBF90;
  --color-status-errorText: #E98D85;
  --privacy-public-bg: #1B2C26;
  --privacy-public-border: #2E4A40;
  --privacy-public-ink: #74B8A0;
  --privacy-private-bg: #1C1B18;
  --privacy-private-border: #33312B;
  --privacy-private-ink: #A7AAA4;
  --privacy-shared-bg: #2A2218;
  --privacy-shared-border: #4A3B22;
  --privacy-shared-ink: #E3AD60;
  --focus-ring-color: #74B8A0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --color-bg-default: #111311;
    --color-surface-card: #191C19;
    --color-surface-elevated: #202420;
    --color-surface-paper: #161714;
    --color-text-primary: #F5F5F0;
    --color-text-secondary: #A7AAA4;
    --color-text-placeholder: #5A5E58;
    --color-border-subtle: #30352F;
    --color-border-strong: #3E443D;
    --color-brand-primary: #74B8A0;
    --color-brand-pressed: #5FA68E;
    --color-brand-soft: #1B2C26;
    --color-brand-onPrimary: #111311;
    --color-accent-warm: #E3AD60;
    --color-accent-soft: #2A2218;
    --color-accent-ink: #E3AD60;
    --color-status-success: #6FBF90;
    --color-status-error: #E98D85;
    --color-status-successText: #6FBF90;
    --color-status-errorText: #E98D85;
    --privacy-public-bg: #1B2C26;
    --privacy-public-border: #2E4A40;
    --privacy-public-ink: #74B8A0;
    --privacy-private-bg: #1C1B18;
    --privacy-private-border: #33312B;
    --privacy-private-ink: #A7AAA4;
    --privacy-shared-bg: #2A2218;
    --privacy-shared-border: #4A3B22;
    --privacy-shared-ink: #E3AD60;
    --focus-ring-color: #74B8A0;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-sheet-in: 120ms;
    --motion-sheet-out: 120ms;
    --motion-check: 0ms;
    --motion-tab: 0ms;
    --motion-page: 120ms;
    --motion-skeleton: 0ms;
  }
}

/* Source Serif 4 and Source Sans 3 (SIL Open Font License; public/assets/fonts/LICENSE-*), as daysli.com served them on
 * 2026-10-14 (scripts/vendor-fonts.mjs). */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-3b486b3bad.woff2) format('woff2');
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-ff707ba947.woff2) format('woff2');
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-1797482db5.woff2) format('woff2');
  unicode-range: U+1F??;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-19f0cf6ed7.woff2) format('woff2');
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-c5df199160.woff2) format('woff2');
  unicode-range:
    U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304,
    U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-5d0f1b280d.woff2) format('woff2');
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-770a5bd209.woff2) format('woff2');
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3 Fallback';
  src: local(Arial);
  ascent-override: 109.21%;
  descent-override: 42.66%;
  line-gap-override: 0%;
  size-adjust: 93.76%;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-4d72739b0e.woff2) format('woff2');
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-7683b72ed3.woff2) format('woff2');
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-303d60869f.woff2) format('woff2');
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-752875b4c3.woff2) format('woff2');
  unicode-range:
    U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304,
    U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-231f594ad8.woff2) format('woff2');
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-8e38e3fbd7.woff2) format('woff2');
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-4d72739b0e.woff2) format('woff2');
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-7683b72ed3.woff2) format('woff2');
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-303d60869f.woff2) format('woff2');
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-752875b4c3.woff2) format('woff2');
  unicode-range:
    U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304,
    U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-231f594ad8.woff2) format('woff2');
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-8e38e3fbd7.woff2) format('woff2');
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4 Fallback';
  src: local(Times New Roman);
  ascent-override: 87.87%;
  descent-override: 28.41%;
  line-gap-override: 0%;
  size-adjust: 117.91%;
}

/* Every value is a token from @daysli/tokens/css; nothing here is typed in by hand. */

html,
body {
  margin: 0;
}

body {
  min-height: 100dvh;
  background: var(--color-bg-default);
  color: var(--color-text-primary);
  /* The UI face is the platform's system font (design.md: SF Pro / Roboto / Inter). */
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Inter,
    sans-serif;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-brand-primary);
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* Hidden means hidden: a component's own display (a button, a row) never brings back what a page or its script hid,
   such as the tools that only work with a script. */
[hidden] {
  display: none !important;
}

/* ui.css */
/* The public pages' one stylesheet. Every colour, space, radius and type value is a token from
   @daysli/tokens/css (design.md, Stage 2). Under 900px one column; from 900px two columns where a
   page asks for it (screens.md "Adaptation"). */

.u-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  min-height: 100dvh;
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .u-wide {
    max-width: 64rem;
  }

  .u-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }
}

/* Header: the page's address in meta type, and a back link when the page has a parent. */
.u-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.u-address {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.u-back {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  gap: var(--space-2);
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: var(--type-title-section-weight);
}

.u-back:hover {
  text-decoration: underline;
}

.u-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.u-footer {
  margin-top: auto;
  padding-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.u-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--size-target-ios);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.u-brandMark {
  display: block;
  width: var(--size-icon);
  height: var(--size-icon);
}

/* Type */
.u-h1 {
  margin: 0;
  font-size: var(--type-title-page-size);
  line-height: var(--type-title-page-line-height);
  font-weight: var(--type-title-page-weight);
  letter-spacing: var(--type-title-page-tracking);
  overflow-wrap: anywhere;
}

.u-h2 {
  margin: 0;
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
  font-weight: var(--type-title-section-weight);
  letter-spacing: var(--type-title-section-tracking);
  overflow-wrap: anywhere;
}

.u-body {
  margin: 0;
  overflow-wrap: anywhere;
}

.u-support {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
}

.u-meta {
  margin: 0;
  font-size: var(--type-meta-size);
  line-height: var(--type-meta-line-height);
  font-weight: var(--type-meta-weight);
  letter-spacing: var(--type-meta-tracking);
  text-transform: var(--type-meta-transform);
  color: var(--color-text-secondary);
}

/*
 * V1 · 07: what somebody wrote, in the face the product writes in.
 *
 * The bio on a profile and the owner's note on a status page are theirs; everything around them is
 * the app arranging things. The family is a token, the size is the `serif.quote` role.
 */
.u-serif {
  font-family: var(--font-serif);
  font-size: var(--type-serif-quote-size);
  line-height: var(--type-serif-quote-line-height);
  font-weight: var(--type-serif-quote-weight);
  margin: 0;
  overflow-wrap: anywhere;
}

/*
 * Somebody's own words, quoted (V1 · 07: "the owner's note in serif").
 *
 * Every `.quote` on these pages is writing — the owner's note when they decline, and the requester's
 * message echoed back on the review step and the status page. The product's rule is that writing is
 * serif and arranging is sans, so the class carries the face rather than each use remembering to.
 */
.u-quote {
  margin: 0;
  padding-left: var(--space-3);
  border-left: 2px solid var(--color-border-strong);
  overflow-wrap: anywhere;
  font-family: var(--font-serif);
  font-size: var(--type-serif-quote-size);
  line-height: var(--type-serif-quote-line-height);
  font-weight: var(--type-serif-quote-weight);
}

.u-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.u-stackTight {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.u-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

/* Cards and rows */
.u-card {
  box-sizing: border-box;
  padding: var(--space-4);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.u-soft {
  background: var(--color-brand-soft);
  border-color: var(--color-brand-soft);
  color: var(--color-text-primary);
}

/* accessibility.md: on a brand.soft ground all text uses text.primary (secondary is 4.36:1). */
.u-soft .u-support,
.u-soft .u-meta,
.u-heroSplit .u-support,
.u-heroSplit .u-meta {
  color: var(--color-text-primary);
}

.u-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border-subtle);
}

.u-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--size-row);
  padding: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: inherit;
  text-decoration: none;
}

a.u-row:hover .u-rowTitle {
  text-decoration: underline;
}

.u-rowTitle {
  flex: 1;
  overflow-wrap: anywhere;
}

.u-rowValue {
  color: var(--color-text-secondary);
  text-align: right;
  flex: none;
}

.u-chevron {
  color: var(--color-text-secondary);
  flex: none;
}

/* Definition rows on review and status pages */
.u-facts {
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--space-2) var(--space-4);
}

.u-facts dt {
  color: var(--color-text-secondary);
}

.u-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Buttons: 52 tall primaries, 44 minimum for everything (components.md) */
.u-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--size-button);
  padding: var(--space-2) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.u-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.u-primary {
  background: var(--color-brand-primary);
  color: var(--color-bg-default);
}

.u-primary:hover:not(:disabled) {
  background: var(--color-brand-pressed);
}

.u-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
}

.u-secondary:hover:not(:disabled) {
  background: var(--color-surface-card);
}

.u-quiet {
  background: transparent;
  color: var(--color-brand-primary);
  min-height: var(--size-target-ios);
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.u-quiet:hover:not(:disabled) {
  text-decoration: underline;
}

/* components.md: destructive fills with status.errorText so its label holds 5.33:1. */
.u-destructive {
  background: var(--color-status-errorText);
  color: var(--color-bg-default);
}

.u-full {
  width: 100%;
}

.u-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Chips: a radio or link that reads as a pill. The checked one carries a fill and weight. */
.u-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-chip {
  position: relative;
  display: inline-flex;
}

.u-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.u-chip label,
.u-chipLink {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-target-ios);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  text-decoration: none;
  cursor: pointer;
}

.u-chip input:checked + label,
.u-chipCurrent {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: var(--color-bg-default);
  font-weight: var(--type-title-section-weight);
}

.u-chip input:focus-visible + label {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.u-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-slots .u-chip,
.u-slots .u-chip label {
  width: 100%;
}

.u-dayStrip {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.u-dayStrip .u-chipLink {
  white-space: nowrap;
}

/* Fields */
.u-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.u-fieldset legend {
  padding: 0;
  margin-bottom: var(--space-1);
}

.u-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.u-label {
  font-weight: var(--type-title-section-weight);
}

.u-optional {
  color: var(--color-text-secondary);
  font-weight: var(--type-body-weight);
}

.u-input,
.u-select {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--size-button);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  font: inherit;
}

.u-input::placeholder {
  color: var(--color-text-placeholder);
}

.u-textarea {
  min-height: calc(var(--size-button) * 2);
  resize: vertical;
}

.u-inputError {
  border-color: var(--color-status-error);
}

.u-error {
  margin: 0;
  color: var(--color-status-error);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

/*
 * V1 · 07: the "Save this link." card on the sent page is a **warning**, not a soft aside.
 *
 * Somebody who gave no email has one way back to their request and this is it, so the card wears the
 * amber the rest of the product uses for "this needs you" rather than the quiet grey of an aside.
 */
.u-warning {
  border-color: var(--color-accent-warm);
  background: var(--color-accent-soft);
  color: var(--color-accent-ink);
}

.u-warning .u-support,
.u-warning .u-body {
  color: var(--color-accent-ink);
}

.u-notice {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--color-accent-soft);
  color: var(--color-accent-ink);
}

/* The honeypot field: off-screen for people, present for scripts (api.md §5.3). */
.u-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.u-srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.u-details summary {
  cursor: pointer;
  color: var(--color-brand-primary);
  min-height: var(--size-target-ios);
  display: flex;
  align-items: center;
  list-style: none;
}

.u-details summary::-webkit-details-marker {
  display: none;
}

.u-challenge {
  min-height: var(--size-target-ios);
}

/* The owner column beside the picker on wide screens; the back link covers it on narrow ones. */
.u-aside {
  display: none;
}

@media (min-width: 900px) {
  .u-aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
}

.u-check {
  color: var(--color-brand-primary);
  flex: none;
}

/* A part of a page that is dark whatever the visitor's system says (the Ink profile, profile.css), carrying
   data-theme so the dark palette applies inside it. The profile itself is styled in profile.css. */

.u-dark {
  background: var(--color-bg-default);
  color: var(--color-text-primary);
}

/* What a chosen time is for the owner in another zone (international booking, 17 October 2026): a quiet line
   with a small clock, never an alert. Early or late for them reads a shade warmer, nothing more. */
.u-zoneNote {
  margin: 0;
  display: flex;
  gap: 0.4em;
  align-items: baseline;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
}

.u-zoneNote::before {
  content: '';
  flex: none;
  width: 0.9em;
  height: 0.9em;
  transform: translateY(0.1em);
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.25'/%3E%3Cpath d='M8 4.5V8l2.25 1.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.u-zoneNoteGentle {
  color: var(--color-accent-ink);
}
.u-moments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.u-moment {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border-subtle);
}
.u-momentReply {
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-top: none;
  border-left: 2px solid var(--color-border-subtle);
}
.u-momentHead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
}
.u-momentAuthor {
  font-weight: var(--type-title-section-weight);
  color: var(--color-text-primary);
}
a.u-momentAuthor {
  color: var(--color-brand-primary);
  text-decoration: none;
}
a.u-momentAuthor:hover {
  text-decoration: underline;
}
.u-momentBody {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.u-momentHearts {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
}
.u-momentReplies {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* The Indigo identity (docs/growth/02-IDENTITY.md): a Daysli Native subscriber's page takes Indigo for Evergreen.
   Contrast: #3336B9 on the light ground 8.5:1; #A9ACF5 on the dark ground 8.8:1 (AAA both). */
.u-indigo {
  --color-brand-primary: #3336b9;
  --color-brand-pressed: #292c99;
}
.u-dark.u-indigo,
[data-theme='dark'] .u-indigo,
/* A dark part inside an Indigo page (the Cover identity panel) takes the dark Indigo, not the dark Evergreen its
   data-theme would otherwise set. */
.u-indigo [data-theme='dark'] {
  --color-brand-primary: #a9acf5;
  --color-brand-pressed: #c2c4f8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .u-indigo {
    --color-brand-primary: #a9acf5;
    --color-brand-pressed: #c2c4f8;
  }
}
.u-momentIndigo,
a.u-momentIndigo {
  color: #3336b9;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .u-momentIndigo {
    color: #a9acf5;
  }
}
[data-theme='dark'] .u-momentIndigo {
  color: #a9acf5;
}

/* profile.css */
/* The public page, daysli.pf-com/{username} (design of 27 October 2026, docs/public-page/07 and Claude Design's
   "Daysli Public Page", Concept A). One page, one order: who they are; one filled primary with the next free times;
   every other way to reach them as a list that says what happens; then Featured, Work, Elsewhere and Moments.
   On a phone that order is the column. From 1024px the person and their content take the left, and the actions a
   sticky column on the right that starts level with the photograph. Every value is a token, so light and dark (and
   Indigo for a Native page, ui.pf-css .pf-indigo) follow on their own. */

.pf-shell {
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  background: var(--color-bg-default);
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
}

.pf-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: var(--space-3) var(--space-5) var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* The address, and the visitor's tools (Share on every width; Save contact and Open on your phone on a desk). */
.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--size-target-ios);
  margin-bottom: var(--space-5);
}

.pf-address {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.pf-tools {
  display: flex;
  gap: var(--space-2);
  flex: none;
}

.pf-tool {
  box-sizing: border-box;
  flex: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-target-ios);
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-primary);
  font: inherit;
  font-size: var(--type-support-size);
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
  cursor: pointer;
}

.pf-tool:hover {
  background: var(--color-surface-card);
}

.pf-toolDesk {
  display: none;
}

/* The person ------------------------------------------------------------------------------------------------- */

.pf-identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Cover and Split are the owner's card designs, worn by this block alone: a dark panel, or a card. Never an empty
   band (the hero the page had before kept a third of itself empty). */
.pf-identityCover,
.pf-identitySplit {
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
}

.pf-identitySplit {
  border: 1px solid var(--color-border-subtle);
}

.pf-who {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.pf-avatar {
  flex: none;
  box-sizing: border-box;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-brand-soft);
  color: var(--color-brand-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: var(--type-title-section-weight);
  overflow: hidden;
}

.pf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-naming {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pf-nameRow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pf-name {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

/* Ink keeps its serif name; nothing else on the page is set in serif but the introduction. */
.pf-nameInk {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

/* Daysli Native, said as a small Indigo mark beside the name (its words are the mark's accessible name). */
.pf-diamond {
  flex: none;
  width: 0.5625rem;
  height: 0.5625rem;
  border-radius: 2px;
  background: var(--color-brand-primary);
  transform: rotate(45deg);
}

.pf-role {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pf-line {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: 1.35;
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

/* Presence only: the one green dot on the page, and only for what the owner set, while it lasts. */
.pf-presence {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.pf-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-status-success);
}

.pf-intro {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* The actions -------------------------------------------------------------------------------------------------- */

.pf-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pf-primary {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.5rem;
  padding: var(--space-3) var(--space-5);
  border-radius: 1rem;
  background: var(--color-brand-primary);
  color: var(--color-bg-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  font-size: 1.0625rem;
  font-weight: 650;
  text-decoration: none;
}

.pf-primary:hover {
  background: var(--color-brand-pressed);
}

.pf-primaryMeta {
  font-size: 0.95rem;
  font-weight: 500;
}

.pf-free {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pf-freeHead {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.pf-slots {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pf-slot {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  padding: 0 0.875rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  text-decoration: none;
}

.pf-slot:hover {
  border-color: var(--color-brand-primary);
}

/* While the free times load: quiet placeholders the size of a chip, no motion. */
.pf-slotWait {
  width: 7.5rem;
  background: var(--color-border-subtle);
  border-color: transparent;
}

.pf-more {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  padding: 0 0.875rem;
  color: var(--color-brand-primary);
  font-size: 0.95rem;
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
}

.pf-more:hover {
  text-decoration: underline;
}

.pf-soon {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: var(--color-text-secondary);
}

.pf-waysTitle {
  margin: var(--space-6) 0 0;
  font-size: 0.8125rem;
  font-weight: var(--type-title-section-weight);
  color: var(--color-text-secondary);
}

.pf-ways {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-way {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 4rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  text-decoration: none;
}

.pf-way:hover .pf-wayTitle {
  text-decoration: underline;
}

.pf-wayMain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pf-wayHead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 var(--space-2);
}

.pf-wayTitle {
  font-size: 1rem;
  font-weight: var(--type-title-section-weight);
  overflow-wrap: anywhere;
}

.pf-wayDur,
.pf-wayLine {
  font-size: var(--type-support-size);
  line-height: 1.35;
  color: var(--color-text-secondary);
}

.pf-badge {
  align-self: flex-start;
  margin-top: 3px;
  padding: 2px var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-brand-soft);
  color: var(--color-text-primary);
  font-size: 0.75rem;
  font-weight: var(--type-title-section-weight);
}

.pf-mark {
  flex: none;
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.pf-foot {
  margin: var(--space-3) 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

/* The way back to an earlier request, under the footnote (Phase 2 §2 D). */
.pf-findLink {
  display: inline-block;
  margin-top: var(--space-2);
  padding: var(--space-2) 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pf-findLink:hover {
  color: var(--color-text-primary);
}

/* The rest of the page ---------------------------------------------------------------------------------------- */

/* Hours (Phase 2 §2 E): one line under the person, the week further down. */
.pf-hoursLine {
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  color: inherit;
  opacity: 0.85;
}

.pf-hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.pf-hours dt {
  color: var(--color-text-secondary);
}

.pf-hours dd {
  margin: 0;
  color: var(--color-text-primary);
}

.pf-hours .pf-hoursToday {
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Notes on a request (Phase 2 §2 C), oldest first; the owner's set apart by a rule in the brand's colour. */
.pf-notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-note {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  border-left: 3px solid var(--color-border-subtle);
}

.pf-noteOwner {
  border-left-color: var(--color-brand-primary);
}

.pf-noteWho {
  margin: 0 0 var(--space-1);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.pf-noteText {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--color-text-primary);
}

.pf-content {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pf-section {
  display: flex;
  flex-direction: column;
}

.pf-sectionTitle {
  margin: 0 0 var(--space-1);
  font-size: 0.8125rem;
  font-weight: var(--type-title-section-weight);
  color: var(--color-text-secondary);
}

.pf-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  text-decoration: none;
}

a.pf-feature:hover .pf-featureTitle {
  text-decoration: underline;
}

.pf-featureTitle {
  font-size: 1.0625rem;
  font-weight: var(--type-title-section-weight);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pf-featureLine {
  font-size: var(--type-support-size);
  line-height: 1.4;
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.pf-work {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.5rem;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  text-decoration: none;
}

a.pf-work:hover .pf-workName {
  text-decoration: underline;
}

.pf-tile {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: var(--color-brand-soft);
  color: var(--color-brand-primary);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 650;
}

.pf-workText {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pf-workName {
  font-size: 0.95rem;
  font-weight: var(--type-title-section-weight);
  overflow-wrap: anywhere;
}

.pf-workDomain {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

/* Moments with nothing public to show: one quiet row, never a heading and two sign-in prompts. */
.pf-quietRow {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3rem;
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  text-decoration: none;
}

.pf-open {
  flex: none;
  color: var(--color-brand-primary);
  font-weight: var(--type-title-section-weight);
}

.pf-momentsHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Save contact and Share, side by side under the content on a phone (on a desk they are at the top). */
.pf-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.pf-pairButton {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.875rem;
  background: transparent;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.95rem;
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
  cursor: pointer;
}

.pf-pairButton:hover {
  background: var(--color-surface-card);
}

.pf-own {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.pf-brand {
  display: flex;
  justify-content: center;
  padding-top: var(--space-6);
}

/* On this phone: what the visitor chose to keep here, and only here --------------------------------------------- */

.pf-phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: 1.125rem;
  background: var(--color-surface-card);
}

.pf-phoneLabel {
  margin: 0;
  font-size: 0.75rem;
  font-weight: var(--type-title-section-weight);
  color: var(--color-text-secondary);
}

.pf-phoneItem {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pf-phoneTitle {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
}

.pf-phoneMeta {
  margin: 0;
  font-size: var(--type-support-size);
  color: var(--color-text-secondary);
}

.pf-phoneLinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-3);
}

.pf-phoneLink {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  color: var(--color-brand-primary);
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
}

.pf-phoneLink:hover {
  text-decoration: underline;
}

.pf-phoneForget {
  min-height: var(--size-target-ios);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font: inherit;
  font-size: var(--type-support-size);
  cursor: pointer;
}

/* Share: a card with the page's code, to hold up for someone next to you ------------------------------------- */

.pf-dialog {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: none;
  border-radius: var(--radius-sheet);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  box-shadow: var(--elevation-dialog);
}

.pf-dialog::backdrop {
  background: rgba(20, 22, 21, 0.36);
}

.pf-dialogBody {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
}

.pf-dialogHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.pf-dialogTitle {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
}

.pf-close {
  flex: none;
  width: var(--size-target-ios);
  height: var(--size-target-ios);
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-bg-default);
  color: var(--color-text-primary);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.pf-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: 1.125rem;
  background: var(--color-bg-default);
}

/* The code stays dark on white in both themes: that is what cameras read. */
.pf-qr {
  flex: none;
  width: 7rem;
  height: 7rem;
  padding: var(--space-1);
  border-radius: 0.5rem;
  background: #ffffff;
}

.pf-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pf-cardText {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.pf-cardName {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.pf-cardRole {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.pf-cardAddress {
  margin: var(--space-1) 0 0;
  font-size: 0.8125rem;
  color: var(--color-brand-primary);
  overflow-wrap: anywhere;
}

.pf-dialogNote {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

/* The steps: the owner stays in view, as in the sheet the design draws ------------------------------------------- */

.pf-stepOwner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

a.pf-stepOwner {
  color: var(--color-text-primary);
  text-decoration: none;
}

a.pf-stepOwner:hover .pf-stepName {
  text-decoration: underline;
}

.pf-stepOwner .pf-mark {
  margin-left: auto;
}

.pf-stepAvatar {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.8125rem;
}

.pf-stepWho {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pf-stepKicker {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.pf-stepName {
  font-size: 1rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.pf-summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0.875rem;
  border-radius: 0.875rem;
  background: var(--color-brand-soft);
}

.pf-summaryText {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: var(--type-support-size);
  line-height: 1.4;
}

.pf-summaryChange {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  padding: 0 var(--space-2);
  color: var(--color-brand-primary);
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
}

/* Optional parts of a form, folded until wanted; open on their own when they hold something. */
.pf-fold > summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-target-ios);
  color: var(--color-brand-primary);
  font-weight: var(--type-title-section-weight);
  cursor: pointer;
  list-style: none;
}

.pf-fold > summary::-webkit-details-marker {
  display: none;
}

.pf-foldBody {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.pf-choice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--size-target-ios);
  font-size: var(--type-support-size);
}

.pf-choice input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--color-brand-primary);
}

.pf-keep {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.875rem;
}

.pf-keepLine {
  margin: 0 0 0 2rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

@media (min-width: 1024px) {
  .pf-inner {
    max-width: 80rem;
    padding: var(--space-4) var(--space-12) var(--space-8);
  }

  .pf-top {
    margin-bottom: var(--space-12);
  }

  .pf-toolDesk {
    display: inline-flex;
  }

  .pf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 34rem);
    grid-template-areas:
      'identity actions'
      'content actions';
    grid-template-rows: auto 1fr;
    column-gap: 5rem;
    align-items: start;
  }

  .pf-identity {
    grid-area: identity;
    gap: var(--space-5);
  }

  .pf-who {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .pf-avatar {
    width: 8rem;
    height: 8rem;
    font-size: 2.5rem;
  }

  .pf-name {
    font-size: 3.25rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .pf-diamond {
    width: 0.6875rem;
    height: 0.6875rem;
  }

  .pf-role {
    font-size: 1.1875rem;
  }

  .pf-line {
    font-size: 1rem;
  }

  .pf-intro {
    font-size: 1.75rem;
    line-height: 1.35;
    max-width: 34rem;
  }

  .pf-actions {
    grid-area: actions;
    margin-top: 0;
    position: sticky;
    top: var(--space-6);
  }

  .pf-primary {
    min-height: 3.75rem;
    font-size: 1.125rem;
  }

  .pf-content {
    grid-area: content;
    max-width: 34rem;
  }

  .pf-pair {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pf-dialog[open] {
    animation: rise var(--motion-sheet-in) var(--easing-sheet-in);
  }
}

@keyframes rise {
  from {
    transform: translateY(0.75rem);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* A page with little on it (profile.ts isSolo): one centred column at every width, the person first, the way to reach
   them beneath, Save contact and Share under that. A personal card, never a half-empty form. */
.pf-solo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding-top: var(--space-4);
  text-align: center;
}

.pf-solo .pf-identity {
  box-sizing: border-box;
  align-items: center;
  width: 100%;
}

.pf-solo .pf-who {
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.pf-solo .pf-naming,
.pf-solo .pf-nameRow {
  align-items: center;
  justify-content: center;
}

.pf-solo .pf-naming {
  gap: var(--space-2);
}

.pf-solo .pf-avatar {
  width: 6.5rem;
  height: 6.5rem;
  font-size: 2.25rem;
}

.pf-solo .pf-name {
  font-size: 2.25rem;
  line-height: 1.08;
}

.pf-solo .pf-intro {
  max-width: 30rem;
}

.pf-solo .pf-presence {
  justify-content: center;
}

.pf-solo .pf-actions,
.pf-solo .pf-content {
  width: 100%;
  text-align: left;
}

.pf-solo .pf-actions {
  margin-top: var(--space-8);
}

.pf-solo .pf-foot,
.pf-solo .pf-findLink {
  text-align: center;
  align-self: center;
}

@media (min-width: 1024px) {
  .pf-solo {
    display: flex;
    max-width: 36rem;
    padding-top: 6vh;
  }

  .pf-solo .pf-actions {
    position: static;
    margin-top: var(--space-10, 2.5rem);
  }

  .pf-solo .pf-content {
    margin-top: var(--space-6);
  }

  .pf-solo .pf-avatar {
    width: 8.5rem;
    height: 8.5rem;
    font-size: 2.75rem;
  }

  .pf-solo .pf-name {
    font-size: 3.5rem;
  }

  /* On a desk Save contact and Share are at the top; a solo page has room for them here too, quietly. */
  .pf-solo .pf-pair {
    max-width: 24rem;
    margin: 0 auto;
  }
}

/* page.css */
.p-main {
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

/* Clear space around the lockup is the height of the mark (assets/README.md). */
.p-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-12);
  margin: calc(-1 * var(--space-12));
}

.p-mark {
  display: block;
  width: var(--space-12);
  height: var(--space-12);
}

/* Source Sans 3, 600, −0.015em: the wordmark spec, as live text. */
.p-wordmark {
  margin: 0;
  font-size: var(--type-title-page-size);
  line-height: var(--type-title-page-line-height);
  letter-spacing: -0.015em;
  color: var(--color-brand-primary);
}

.p-title {
  margin: 0;
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
  font-weight: var(--type-title-section-weight);
}

.p-line {
  margin: 0;
  max-width: 32rem;
  color: var(--color-text-secondary);
}

/* The paragraphs under the tagline: the same measure and colour, stacked with breathing room. */
.p-about {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 32rem;
  text-align: left;
}

.p-footer {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.p-footer a {
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  text-decoration: none;
}

.p-footer a:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}

/* legal.css */
/* The two legal pages. Long-form reading rather than the marketing lockup of the home page:
   one column, a comfortable measure, and the same tokens as everything else. */

.g-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-12);
  color: var(--color-text-primary);
}

.g-back {
  display: inline-block;
  margin-bottom: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  text-decoration: none;
}

.g-back:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.g-title {
  margin: 0 0 var(--space-1);
  font-size: var(--type-title-page-size);
  line-height: var(--type-title-page-line-height);
  color: var(--color-brand-primary);
}

.g-updated {
  margin: 0 0 var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.g-lede {
  margin: 0 0 var(--space-6);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.g-page h2 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
}

.g-page h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-title-section-weight);
}

.g-page p,
.g-page li {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.g-page p {
  margin: 0 0 var(--space-3);
}

.g-page ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

.g-page li {
  margin-bottom: var(--space-2);
}

.g-page a {
  color: var(--color-brand-primary);
}

.g-page code {
  padding: 0 var(--space-1);
  border-radius: var(--radius-control);
  background: var(--color-brand-soft);
  font-size: 0.95em;
}

/* Unmissable while these pages are unreviewed. If one is ever deployed by accident, it should
   be obvious at a glance that it is not final. */
.g-draft {
  margin: 0 0 var(--space-6);
  padding: var(--space-4);
  border: 1px solid var(--color-status-error);
  border-radius: var(--radius-card);
  color: var(--color-status-error);
}

.g-draft p:last-child {
  margin-bottom: 0;
}

/* The one thing worth pulling out of the prose on each page. */
.g-callout {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  border-left: 3px solid var(--color-brand-primary);
  background: var(--color-brand-soft);
  border-radius: var(--radius-card);
}

.g-callout p:last-child {
  margin-bottom: 0;
}

.g-table {
  width: 100%;
  margin: 0 0 var(--space-5);
  border-collapse: collapse;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.g-table th,
.g-table td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border-subtle);
}

.g-table th {
  color: var(--color-text-secondary);
}

.g-footer {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.g-table th,
.g-table td {
  overflow-wrap: anywhere;
}

/* On a phone a three-column table is too narrow to read: each row becomes a small card, each cell led by its column's
   name (data-label, written by scripts/legal-pages.mjs). */
@media (max-width: 40rem) {
  .table thead {
    display: none;
  }

  .g-table tr {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .g-table td {
    display: block;
    padding: 0 0 var(--space-1);
    border-bottom: 0;
  }

  .g-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--color-text-secondary);
    font-size: var(--type-support-size);
  }
}

/* help.css */
/* daysli.com/help: a small help centre, made for phones first (owner, 25 October 2026). One column, generous touch
   targets (at least 48px), questions that open in place (<details>, no script), and Daysli Care always one tap away.
   Every value is a token. */

.hc-center {
  display: grid;
  gap: var(--space-6);
}

.hc-intro {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

/* Contact Daysli Care: the first thing on the page, and again at the end. */
.hc-contact {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--color-brand-soft);
}

.hc-contact h2 {
  margin: 0;
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
}

.hc-contact p {
  margin: 0;
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.hc-actions {
  display: grid;
  gap: var(--space-2);
}

.hc-mail,
.hc-write {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-control);
  font-size: var(--type-body-size);
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}

.hc-mail {
  background: var(--color-brand-primary);
  color: var(--color-bg-default);
}

.hc-write {
  border: 1px solid var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: transparent;
}

.hc-urgent {
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

/* Topics: two per row on a phone, three on a wider screen. */
.hc-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-topics a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-control);
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  text-decoration: none;
}

@media (min-width: 40rem) {
  .hc-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hc-section {
  display: grid;
  gap: var(--space-2);
  scroll-margin-top: var(--space-4);
}

.hc-section h2 {
  margin: 0 0 var(--space-1);
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
}

/* One question: the whole row is the button. */
.hc-question {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
}

.hc-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  cursor: pointer;
  list-style: none;
}

.hc-question summary::-webkit-details-marker {
  display: none;
}

.hc-question summary::after {
  content: '+';
  flex: none;
  color: var(--color-brand-primary);
  font-size: 1.25em;
  line-height: 1;
}

.hc-question[open] summary::after {
  content: '−';
}

.hc-answer {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--color-text-primary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.hc-answer p {
  margin: 0 0 var(--space-2);
}

.hc-answer p:last-child {
  margin-bottom: 0;
}

.hc-answer a {
  color: var(--color-brand-primary);
}

.hc-form {
  scroll-margin-top: var(--space-4);
}

/* plans.css */
/* The plans and installing Daysli (daysli.com/pricing, /install; the launch of 27 October 2026). Daysli Web wears
   Evergreen #245C4F and Daysli Native Indigo #3336B9 (docs/growth/02-IDENTITY.md). */

.pl-page {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  gap: var(--space-6);
}

.pl-lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.pl-plans {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 48rem) {
  .pl-plans {
    grid-template-columns: 1fr 1fr;
  }
}

.pl-plan {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-border-subtle);
  border-top: 4px solid #245c4f;
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
}

.pl-native {
  border-top-color: #3336b9;
}

.pl-tag {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #245c4f;
}

.pl-native .pl-tag {
  color: #3336b9;
}

.pl-name {
  margin: 0;
  font-size: 1.5rem;
}

.pl-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.pl-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: var(--space-1);
  color: var(--color-text-primary);
}

.pl-action {
  justify-self: start;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: #245c4f;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.pl-action:hover {
  filter: brightness(1.08);
}

.pl-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.pl-tableWrap {
  overflow-x: auto;
}

.pl-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pl-table th,
.pl-table td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
  vertical-align: top;
  color: var(--color-text-primary);
}

.pl-table thead th {
  font-weight: 600;
}

.pl-table tbody th {
  font-weight: 400;
  color: var(--color-text-secondary);
}

.pl-steps {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 48rem) {
  .pl-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.pl-device {
  padding: var(--space-4);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
}

.pl-device h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
}

.pl-device ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: var(--space-1);
}

/* Monthly or yearly, once Daysli is on sale (src/client/pricing.js): one choice for both plans. */
.pl-period {
  justify-self: start;
  width: fit-content;
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: var(--color-surface-card);
}

.pl-period legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pl-periodChoice {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.pl-periodChoice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pl-periodChoice:has(input:checked) {
  background: var(--color-text-primary);
  color: var(--color-surface-card);
}

.pl-periodChoice:has(input:focus-visible) {
  outline: 2px solid #245c4f;
  outline-offset: 2px;
}

.pl-native .pl-action {
  background: #3336b9;
}

/* developers.css */
/* The developer docs (developer-api-webhooks.md §17): long-form reading with code. The same tokens as
   the rest of the site; the one thing typed by hand is the monospace stack, which has no token. */

.d-shell {
  max-width: 64rem;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-12);
  display: grid;
  gap: var(--space-8);
  color: var(--color-text-primary);
}

@media (min-width: 860px) {
  .d-shell {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}

.d-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-content: start;
}

@media (min-width: 860px) {
  .d-nav {
    flex-direction: column;
    position: sticky;
    top: var(--space-6);
  }
}

.d-brand {
  color: var(--color-brand-primary);
  font-weight: var(--type-title-section-weight);
  text-decoration: none;
  margin-bottom: var(--space-2);
}

.d-navLink {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

.d-navLink:hover,
.d-navLink:focus-visible {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.d-page {
  min-width: 0;
}

.d-page h1 {
  margin: 0 0 var(--space-3);
  font-size: var(--type-title-page-size);
  line-height: var(--type-title-page-line-height);
  color: var(--color-brand-primary);
}

.d-page h2 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--type-title-section-size);
  line-height: var(--type-title-section-line-height);
}

.d-page h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  font-weight: var(--type-title-section-weight);
}

.d-page p,
.d-page li,
.d-page td,
.d-page th {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.d-page p {
  margin: 0 0 var(--space-3);
}

.d-page ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

.d-page a {
  color: var(--color-brand-primary);
}

.d-lede {
  color: var(--color-text-secondary);
}

.d-promise {
  margin: var(--space-4) 0 var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-card);
  background: var(--privacy-private-bg);
  border: 1px solid var(--privacy-private-border);
  color: var(--privacy-private-ink);
}

.d-code,
.d-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

.d-code {
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--color-surface-paper);
  border: 1px solid var(--color-border-subtle);
  overflow-x: auto;
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
  white-space: pre;
}

.d-page code {
  font-size: 0.92em;
}

.d-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--space-4);
  display: block;
  overflow-x: auto;
}

.d-table th,
.d-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.d-table th {
  color: var(--color-text-secondary);
  font-weight: var(--type-title-section-weight);
}

.d-method {
  display: inline-block;
  min-width: 3.25rem;
  font-weight: var(--type-title-section-weight);
  color: var(--color-brand-primary);
}

.d-route {
  margin: var(--space-6) 0 var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.d-meta {
  color: var(--color-text-secondary);
  font-size: var(--type-support-size);
  line-height: var(--type-support-line-height);
}

/* On a phone a row reads as a little block — name, then what it means — rather than three columns
   squeezed into a width that has room for one. */
@media (max-width: 600px) {
  .table thead {
    display: none;
  }

  .d-table tr {
    display: block;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .d-table td {
    display: block;
    padding: 0 0 var(--space-1);
    border-bottom: none;
  }
}

/* landing.css */
/*
 * daysli.com homepage (docs/website/01 and 02). Mobile first; wider layouts by container queries. Sizes in em/rem, every
 * row wraps, nothing clips at 200% text. No inline styles (the Content-Security-Policy allows stylesheets only).
 *
 * The Living theme (docs/website/02 §5): the page's colours are the site's tokens, set again for each time of day on
 * <html data-phase> (src/home/phase.ts). They are registered as colours, so when a time of day passes while someone is
 * reading the page drifts into the next over a minute and a half rather than changing at once; a choice made in the
 * Appearance switch (data-quick) applies in under a second. Without JavaScript there is no data-phase, and the tokens'
 * own light or dark (the device's setting) apply.
 */
@property --color-bg-default {
  syntax: '<color>';
  inherits: true;
  initial-value: #fafaf8;
}
@property --color-surface-card {
  syntax: '<color>';
  inherits: true;
  initial-value: #ffffff;
}
@property --color-text-primary {
  syntax: '<color>';
  inherits: true;
  initial-value: #191918;
}
@property --color-text-secondary {
  syntax: '<color>';
  inherits: true;
  initial-value: #63635f;
}
@property --color-brand-primary {
  syntax: '<color>';
  inherits: true;
  initial-value: #245c4f;
}
@property --home-glow {
  syntax: '<color>';
  inherits: true;
  initial-value: #e9f2ee;
}

:root[data-phase] {
  transition:
    --color-bg-default 90s linear,
    --color-surface-card 90s linear,
    --color-text-primary 90s linear,
    --color-text-secondary 90s linear,
    --color-brand-primary 90s linear,
    --home-glow 90s linear;
}

:root[data-quick] {
  transition-duration: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  :root[data-phase] {
    transition: none;
  }
}

/* Morning: warm ivory, a sunrise, soft green. */
:root[data-phase='morning'] {
  color-scheme: light;
  --color-bg-default: #fbf6ee;
  --color-surface-card: #fffdf9;
  --color-surface-paper: #fff8ef;
  --color-text-primary: #22261f;
  --color-text-secondary: #5b5d52;
  --color-border-subtle: #eadfd1;
  --color-border-strong: #b9ad9c;
  --color-brand-primary: #2e6a4f;
  --color-brand-pressed: #24553f;
  --color-brand-onPrimary: #ffffff;
  --color-brand-soft: #e7f0e8;
  --home-glow: #f6dcc3;
}

/* Daylight: Daysli's own paper, evergreen, white surfaces. */
:root[data-phase='day'] {
  color-scheme: light;
  --color-bg-default: #fafaf8;
  --color-surface-card: #ffffff;
  --color-surface-paper: #ffffff;
  --color-text-primary: #191918;
  --color-text-secondary: #63635f;
  --color-border-subtle: #e6e6e1;
  --color-border-strong: #a9a9a3;
  --color-brand-primary: #245c4f;
  --color-brand-pressed: #1b4a3f;
  --color-brand-onPrimary: #ffffff;
  --color-brand-soft: #e9f2ee;
  --home-glow: #e9f2ee;
}

/* Evening: blush, terracotta, muted mauve. */
:root[data-phase='evening'] {
  color-scheme: light;
  --color-bg-default: #f6edea;
  --color-surface-card: #fff9f7;
  --color-surface-paper: #fff6f2;
  --color-text-primary: #2e2228;
  --color-text-secondary: #66545d;
  --color-border-subtle: #e7d6d3;
  --color-border-strong: #b7a09f;
  --color-brand-primary: #9a4a35;
  --color-brand-pressed: #7f3c2a;
  --color-brand-onPrimary: #ffffff;
  --color-brand-soft: #f3e1df;
  --home-glow: #ebd2dc;
}

/* Night: deep navy, charcoal, soft sage, warm white. */
:root[data-phase='night'] {
  color-scheme: dark;
  --color-bg-default: #121a2a;
  --color-surface-card: #1a2338;
  --color-surface-paper: #1d2740;
  --color-text-primary: #f1ece3;
  --color-text-secondary: #b3b9c6;
  --color-border-subtle: #2a3550;
  --color-border-strong: #5d6a86;
  --color-brand-primary: #a9c4a8;
  --color-brand-pressed: #c0d6bf;
  --color-brand-onPrimary: #13201a;
  --color-brand-soft: #22304a;
  --home-glow: #22304a;
}

.l-page {
  container-type: inline-size;
  min-height: 100dvh;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--color-bg-default);
  color: var(--color-text-primary);
  overflow-x: clip;
}

.l-page a {
  color: var(--color-brand-primary);
}

.l-wrap {
  box-sizing: border-box;
  max-width: 74em;
  margin: 0 auto;
  padding-inline: clamp(1em, 5cqi, 4em);
}

/* Off-screen until it has focus, then the first thing on the page. */
.l-skip {
  position: absolute;
  left: -9999px;
  top: 0.75em;
  z-index: 5;
  padding: 0.75em 1em;
  border-radius: 0.6em;
  background: var(--color-brand-primary);
  color: var(--color-brand-onPrimary);
  font-weight: 600;
  text-decoration: none;
}

.l-skip:focus {
  left: 1em;
}

.l-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25em 1em;
  padding-block: 1em;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-height: 2.75em;
  text-decoration: none;
}

.l-page .l-brand {
  color: var(--color-text-primary);
}

.l-mark,
.l-footMark {
  display: block;
  width: 2em;
  height: 2em;
}

.l-footMark {
  width: 1.5em;
  height: 1.5em;
}

.l-markDark {
  display: none;
}

:root[data-phase='night'] .l-markLight {
  display: none;
}

:root[data-phase='night'] .l-markDark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-phase]) .l-markLight {
    display: none;
  }
  :root:not([data-phase]) .l-markDark {
    display: block;
  }
}

.l-brandName {
  font-size: 1.25em;
  letter-spacing: -0.015em;
}

.l-headerLink {
  margin-left: auto;
  min-height: 2.75em;
  display: flex;
  align-items: center;
  padding: 0 0.9em;
  border-radius: 0.6em;
  font-weight: 600;
  text-decoration: none;
}

.l-page .l-headerLink {
  color: var(--color-text-primary);
}

/* Pricing and Sign in, together at the right of the header on every width (a bare span once left them at the left). */
.l-headerNav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25em;
}

.l-headerNav .l-headerLink {
  margin-left: 0;
}

.l-page .l-headerQuiet {
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Type ---------------------------------------------------------------------------------------------------- */

.l-h1,
.l-h2,
.l-h3,
.l-h2Small {
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.l-h1 {
  font-weight: 500;
  font-size: clamp(2.6em, 9cqi, 4.6em);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.l-h2 {
  font-weight: 500;
  font-size: clamp(1.9em, 5.5cqi, 3em);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16em;
}

.l-h2Small {
  font-weight: 600;
  font-size: 1.35em;
  line-height: 1.2;
}

.l-h3 {
  font-size: 1.05em;
  font-weight: 600;
}

.l-subtitle {
  margin: 0.9em 0 0;
  font-size: clamp(1.1em, 2.6cqi, 1.35em);
  font-weight: 600;
  color: var(--color-text-primary);
}

.l-lede,
.l-bodyLarge {
  margin: 0.8em 0 0;
  font-size: 1.15em;
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 34em;
}

.l-body {
  margin: 0.7em 0 0;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 36em;
}

.l-small {
  margin: 0.9em 0 0;
  font-size: 0.9em;
  color: var(--color-text-secondary);
  max-width: 40em;
}

.l-eyebrow {
  margin: 0 0 0.6em;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.l-closing {
  margin: 1em 0 0;
  font-size: clamp(1.25em, 3cqi, 1.6em);
  font-style: italic;
  line-height: 1.3;
  color: var(--color-text-primary);
  max-width: 24em;
}

.l-note {
  margin: 1.2em 0 0;
  padding: 0.8em 1em;
  border-radius: 0.8em;
  background: var(--color-brand-soft);
  color: var(--color-text-primary);
  font-size: 0.95em;
  max-width: 34em;
}

.l-tagline {
  margin: 1.2em 0 0;
  font-style: italic;
  font-size: 1.2em;
  color: var(--color-text-secondary);
}

/* Actions ------------------------------------------------------------------------------------------------- */

.l-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em 1.5em;
  margin-top: 1.6em;
}

.l-primary {
  box-sizing: border-box;
  min-height: 3.25em;
  display: inline-flex;
  align-items: center;
  padding: 0 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05em;
  text-decoration: none;
  background: var(--color-brand-primary);
  border: none;
  cursor: pointer;
}

.l-page .l-primary {
  color: var(--color-brand-onPrimary);
}

.l-primary:hover {
  background: var(--color-brand-pressed);
}

.l-quietLink {
  min-height: 2.75em;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-underline-offset: 0.25em;
}

/* Pictures ------------------------------------------------------------------------------------------------ */

.l-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.4em;
}

.l-phone,
.l-window {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 1.2em 3em -1.2em rgb(0 0 0 / 0.28);
}

.l-phone {
  border-radius: 1.6em;
  border-width: 0.4em;
  border-color: var(--color-text-primary);
}

.l-window {
  border-radius: 0.9em;
}

.l-phone img,
.l-window img {
  display: block;
  width: 100%;
  height: auto;
}

.l-shotDark {
  display: none !important;
}

:root[data-phase='night'] .l-shotLight {
  display: none !important;
}

:root[data-phase='night'] .l-shotDark {
  display: block !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-phase]) .l-shotLight {
    display: none !important;
  }
  :root:not([data-phase]) .l-shotDark {
    display: block !important;
  }
}

/* Hero ---------------------------------------------------------------------------------------------------- */

.l-hero {
  display: grid;
  gap: 2em;
  padding-block: 1em 3em;
}

.l-heroText {
  max-width: 34em;
}

.l-heroVisual {
  position: relative;
  padding-bottom: 3em;
}

.l-heroPhoto {
  aspect-ratio: 3 / 2;
}

.l-heroScreen {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 34%;
  max-width: 15em;
}

.l-heroScreen .l-phone {
  aspect-ratio: 9 / 15;
}

.l-heroScreen .l-phone img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@container (min-width: 56em) {
  .l-hero {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 3em;
    padding-block: 2em 5em;
  }
  .l-heroScreen {
    right: -1em;
    bottom: -1em;
    width: 32%;
  }
}

/* Sections ------------------------------------------------------------------------------------------------ */

.l-section,
.l-story,
.l-final {
  padding-block: clamp(3em, 9cqi, 6.5em);
}

.l-sectionQuiet {
  padding-block: 2.2em;
  border-top: 1px solid var(--color-border-subtle);
}

.l-sectionRule {
  padding-block: 3em;
  border-top: 1px solid var(--color-border-subtle);
}

/* Recognition: small everyday moments that gather into one place. */
.l-moments {
  list-style: none;
  margin: 1.8em 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  max-width: 48em;
}

.l-moment {
  padding: 0.75em 1.1em;
  border-radius: 999px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 0.4em 1.2em -0.6em rgb(0 0 0 / 0.18);
  font-size: 1.02em;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .l-moment {
      animation: gather linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    .l-moment:nth-child(2n) {
      --from: 1.6em;
    }
    .l-moment:nth-child(2n + 1) {
      --from: -1.6em;
    }
  }
}

@keyframes gather {
  from {
    opacity: 0;
    transform: translateX(var(--from, 1em)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The answer: the places, and two real screens. */
.l-places {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.l-places li {
  padding: 0.4em 0.9em;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.92em;
}

.l-windows {
  display: grid;
  gap: 1.2em;
  margin-top: 2.2em;
}

@container (min-width: 56em) {
  .l-windows {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
  .l-windows > :last-child {
    margin-top: 3em;
  }
}

/* Stories: a photograph for the feeling, a real screen for the help. */
.l-story {
  display: grid;
  gap: 2.2em;
  align-items: center;
}

.l-storyVisual {
  position: relative;
  padding-bottom: 2.5em;
}

.l-storyPhoto {
  aspect-ratio: 4 / 5;
  max-height: 34em;
  width: 78%;
}

.l-storyScreen {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  max-width: 15em;
}

/* Each screen keeps its own proportions (scripts/images.py cuts them to what tells the story). */
.l-storyScreen .l-phone img {
  height: auto;
}

.l-privacy .l-storyPhoto {
  width: 100%;
  aspect-ratio: 3 / 2;
}

@container (min-width: 56em) {
  .l-story {
    grid-template-columns: 1fr 1.1fr;
    gap: 4em;
  }
  .l-storyFlip .l-storyText {
    order: 2;
  }
}

.l-storyText {
  max-width: 34em;
}

/* It all comes together. */
.l-connectedLines {
  margin-top: 0.6em;
}

.l-steps {
  list-style: none;
  counter-reset: step;
  margin: 2em 0 0;
  padding: 0;
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
}

.l-step {
  counter-increment: step;
  padding: 1.1em 1.2em 1.2em;
  border-radius: 1em;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
}

.l-step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  margin-bottom: 0.6em;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: var(--color-brand-primary);
  font-weight: 700;
  font-size: 0.85em;
}

.l-step .l-body {
  margin-top: 0.3em;
}

/* Privacy. */
.l-points {
  margin: 1.4em 0 0;
  display: grid;
  gap: 0.9em;
}

.l-points dt {
  font-weight: 600;
}

.l-points dd {
  margin: 0.2em 0 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.l-principles {
  margin: 1.4em 0 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
}

/* "Choose how you use Daysli" (22 October 2026): two plans side by side, stacked on a phone. The web's own evergreen
   for Daysli Web; the native apps' indigo (#3336B9, the Android app's main colour) for Daysli Native Mobile. */
.l-priceLede {
  margin: 0.6em 0 0;
  font-size: 1.25em;
  font-weight: 600;
  color: var(--color-text-primary);
}

.l-plans {
  --indigo: #3336b9;
  --indigo-soft: #eeeefb;
  margin-top: 1.4em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19em), 1fr));
  gap: 1em;
  max-width: 52em;
}

.l-plan {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1.4em 1.4em 1.5em;
  border-radius: 1.1em;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-card, var(--color-bg-default));
}

.l-planWeb {
  border-top: 4px solid var(--color-brand-primary);
}

.l-planNative {
  border-top: 4px solid var(--indigo);
}

.l-planTag {
  margin: 0 0 0.3em;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.l-planWeb .l-planTag {
  color: var(--color-brand-primary);
}

.l-planNative .l-planTag {
  color: var(--indigo);
}

.l-planPrice {
  margin: 0.35em 0 0;
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.l-planAction {
  margin-top: auto;
  align-self: flex-start;
}

.l-plan .l-list {
  margin-bottom: 1.2em;
}

.l-choiceTitle {
  margin-top: 1.6em;
}

/* The light indigo wherever the ground is dark: the page's own night, or (with no time of day set) the system's dark. */
:root[data-phase='night'] .l-plans,
[data-theme='dark'] .l-plans {
  --indigo: #a9acf6;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-phase]):not([data-theme='light']) .l-plans {
    --indigo: #a9acf6;
  }
}

/* Quiet sections: costs, where it runs, questions, about. */
.l-list,
.l-platforms {
  margin: 0.8em 0 0;
  padding-left: 1.2em;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.l-platforms {
  list-style: none;
  padding: 0;
}

.l-faq {
  margin-top: 0.8em;
  display: grid;
  gap: 0.4em;
  max-width: 48em;
}

.l-faqItem {
  border-bottom: 1px solid var(--color-border-subtle);
  padding-block: 0.7em;
}

.l-faqItem summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 2em;
  display: flex;
  align-items: center;
}

.l-about {
  max-width: 48em;
}

/* The invitation. */
.l-final {
  text-align: center;
  background: radial-gradient(60em 30em at 50% 0%, var(--home-glow), transparent 70%);
}

.l-final .l-h2,
.l-final .l-bodyLarge,
.l-final .l-closing {
  margin-inline: auto;
}

.l-final .l-bodyLarge {
  margin-top: 0.3em;
}

.l-final .l-actions {
  justify-content: center;
}

/* Footer ---------------------------------------------------------------------------------------------------- */

.l-footerRule {
  border-top: 1px solid var(--color-border-subtle);
  margin-top: 1em;
}

.l-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5em 2.5em;
  padding-block: 2.2em 3em;
}

.l-footBrand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.l-footName {
  font-weight: 600;
}

.l-footTag {
  font-style: italic;
  color: var(--color-text-secondary);
}

.l-footNav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.2em;
}

.l-footNav a {
  min-height: 2.75em;
  display: inline-flex;
  align-items: center;
}

.l-copyright {
  color: var(--color-text-secondary);
  font-size: 0.9em;
  align-self: center;
}

.l-appearance {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.l-appearanceLegend {
  padding: 0;
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 0.4em;
}

.l-appearanceChoices {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25em;
  padding: 0.25em;
  border-radius: 999px;
  background: var(--color-brand-soft);
}

.l-appearanceChoice {
  position: relative;
  display: inline-flex;
}

.l-appearanceChoice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.l-appearanceChoice span {
  min-height: 2.5em;
  display: inline-flex;
  align-items: center;
  padding: 0 1em;
  border-radius: 999px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.l-appearanceChoice input:checked + span {
  background: var(--color-surface-card);
  color: var(--color-text-primary);
  box-shadow: 0 0.2em 0.6em -0.3em rgb(0 0 0 / 0.3);
}

.l-appearanceChoice input:focus-visible + span {
  outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, currentColor);
  outline-offset: 2px;
}

.l-appearanceNote {
  margin: 0.5em 0 0;
  font-size: 0.85em;
  color: var(--color-text-secondary);
}

/* site.css */
/*
 * The site's own few classes (prefixed `s-` by scripts/build.mjs). The two faces stand in for next/font's classes on
 * the Next.js site: the same families, the same metric-matched fallbacks (styles/fonts.css).
 */
.s-serif {
  font-family: 'Source Serif 4', 'Source Serif 4 Fallback', serif;
  font-style: normal;
}

.s-wordmark {
  font-family: 'Source Sans 3', 'Source Sans 3 Fallback', sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* `hidden` wins over a class's display (.field and .stack-tight are flex): the site's own scripts hide and show
   with the attribute. */
[hidden] {
  display: none !important;
}

/* A photograph offered in several sizes (src/pages/home.ts `photo`): the frame lays out the image, not the wrapper. */
.s-picture {
  display: contents;
}
