/* DM Mono, Inter, Manrope and Newsreader (SIL Open Font License), served
   from assets/fonts with the faces and unicode ranges Google Fonts uses,
   so a page only downloads the scripts it draws. Inter's files are
   variable, so one file draws 400 to 600. */
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-mono-400-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;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-mono-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/dm-mono-500-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;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/dm-mono-500-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-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;
}
/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-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;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-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;
}

/* v16: the morning's notes, the day it saves, the features, the clinic's
   hours, the law. Warm bone paper, the brand's navy as the ink, brass for
   the italic lines and the small marks. Paper sits on desks of faint chart
   grid: the hero's file of the morning, four notes each signed in the
   chair; a typical day, without and with Genivo; and the clinic chart that
   works out the hours given back, on a band of deeper paper of its own.
   Between them, the four features one after the other, joined by a brass
   thread, each on a plate of its own earthy tone, and one navy band for
   the law. Each section opens on its heading alone, and is simply there
   when it is reached: only what shows something plays. */
:root {
  --part-gap: 0.3em;
  color-scheme: light;
  --paper: #f7f4ef;
  --paper-deep: #ede8e0;
  --sheet: #fdfcf9;
  --desk: #ebe3d5;
  --ink: #0e1b2b;
  --ink-hover: #22374f;
  /* Body grey and quiet grey, a step darker than v36 so long text holds
     on bone without going hard: 7.9:1 and 5.4:1 on the paper. */
  --ink-2: #424c5c;
  --ink-3: #5c6471;
  --line: rgba(14, 27, 43, 0.1);
  --line-strong: rgba(14, 27, 43, 0.2);
  --grid-line: rgba(14, 27, 43, 0.05);
  /* The app's brass, deepened so it holds on bone; on navy it takes the
     app's lit highlight instead. */
  --brass: #8c6118;
  --brass-soft: #efe3c9;
  --brass-lit: #e0bf62;
  --on-ink: #f2efe9;
  --on-ink-2: rgba(242, 239, 233, 0.74);
  --on-ink-line: rgba(242, 239, 233, 0.14);
  --alert: #a32d2d;
  --header-height: 84px;
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5.5rem, 11vw, 9rem);
  --plate-radius: clamp(0.9rem, 1.3vw, 1.2rem);
  --panel-radius: clamp(1.25rem, 1.8vw, 1.75rem);
  --sheet-shadow:
    0 1px 2px rgba(14, 27, 43, 0.06),
    0 1.25rem 2.5rem -1.5rem rgba(14, 27, 43, 0.22),
    0 3rem 6rem -3rem rgba(14, 27, 43, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "DM Mono", ui-monospace, monospace;
  --serif: "Newsreader", Georgia, serif;
  --app: "Inter", Arial, sans-serif;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

/* Nothing may widen the page on a phone. Safari on iOS lets a finger pan
   past body's overflow-x, so html clips too, and each part of the page
   clips its own sides (overflow-x: clip makes no scroll box, so the header
   stays fixed and the threads still run down). Text keeps its size when
   the phone turns. */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

main,
.site-footer {
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

a {
  color: inherit;
}

h1 em,
h2 em,
h3 em,
.footer-tagline em {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* Every two-part heading breaks before its italic line; each part then
   wraps on its own, balanced, so no word is left alone on a line. One
   gap between the two parts, in the heading's own size, so it reads the
   same on every heading, from the hero to a feature, phone or desktop. */
h1 em,
h2 em,
h3 em {
  display: block;
  margin-top: var(--part-gap);
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* ---------- Shared pieces ---------- */

/* A short brass rule, then the label: the one warm mark over each section. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--ink-hover);
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--ink);
}

.button-small {
  min-height: 2.5rem;
  padding: 0 1.1rem;
  font-size: 0.88rem;
}

.button-wide {
  width: 100%;
}

.section-head {
  max-width: var(--container);
  margin: 0 auto;
}

.section-head h2,
.pricing-head h2 {
  max-width: 13em;
  margin: 1.4rem 0 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-lede {
  max-width: 31rem;
  margin: 1.4rem 0 0;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* A drawn brass check before each line. */
.check-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.check-list li::before {
  flex: none;
  width: 0.65rem;
  height: 0.35rem;
  border: solid var(--brass);
  border-width: 0 0 1.5px 1.5px;
  content: "";
  transform: translateY(-0.2rem) rotate(-45deg);
}

/* Paper on a desk of faint chart grid: the hero's note, the team's chart. */
.desk,
.chart-desk {
  border-radius: var(--panel-radius);
  background-color: var(--desk);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-position:
    center top,
    center -1px,
    -1px center;
  background-size:
    auto,
    1.75rem 1.75rem,
    1.75rem 1.75rem;
}

/* ---------- Plates ----------

   Each animation on a tone of its own, drawn in the navy ink, with the
   tone as the animation's paper. Earthy, quiet tones that sit on the bone
   paper, warm and cool by turns down the page: clay, slate, oat, sage,
   and the brass of the hours for the time card. */
.tone-clay { --plate: #ecdacd; }
.tone-slate { --plate: #dae0e8; }
.tone-oat { --plate: #e9e1cd; }
.tone-sage { --plate: #d9e2d4; }
.tone-brass { --plate: #eddcb9; }
.tone-mist { --plate: #d7e3e4; }

.plate {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--plate-radius);
  background: var(--plate, var(--paper-deep));
  color: var(--ink);
  isolation: isolate;
}

.plate::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(14, 27, 43, 0.06);
  content: "";
  pointer-events: none;
}

.plate .gp {
  --gp-alert: var(--alert);
}

.plate .gc {
  --gc-paper: var(--plate);
  --gc-alert: var(--alert);
}

.plate .gr {
  --gr-paper: var(--plate);
}

.plate .gh {
  --gh-paper: var(--plate);
}

.plate .gt {
  --gt-paper: var(--plate);
}

.visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ---------- Header ----------

   A bar that floats over the page: clear at the top, then a sheet of
   frosted paper once the page moves under it. */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}

.header-bar {
  position: relative;
  display: flex;
  max-width: calc(var(--container) + 2.5rem);
  height: 60px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 1.1rem 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.site-header[data-scrolled="true"] .header-bar,
.site-header.is-menu-open .header-bar {
  border-color: var(--line);
  background: color-mix(in srgb, var(--sheet) 94%, transparent);
  box-shadow: 0 0.75rem 2rem -1.25rem rgba(14, 27, 43, 0.28);
  backdrop-filter: saturate(1.3) blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: auto;
  height: 2.15rem;
}

.header-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.5rem 0 clamp(2rem, 4vw, 3.5rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.nav-login {
  border-radius: 4px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-login:hover,
.nav-login:focus-visible {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

.lang-switch button {
  padding: 0.45rem 0.35rem;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 180ms ease;
}

.lang-switch button:hover,
.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
  cursor: default;
}

.menu-toggle {
  display: none;
}

/* Below desktop the links fold into a sheet that drops from the bar. */
@media (max-width: 1099px) {
  .header-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: var(--sheet);
    box-shadow: 0 1.5rem 3rem -1.5rem rgba(14, 27, 43, 0.3);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  .is-menu-open .header-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .nav-account {
    gap: 0.7rem;
    margin-top: 1.5rem;
  }

  .nav-login,
  .nav-account .button {
    display: inline-flex;
    flex: 1;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  .nav-login {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
  }

  .lang-switch {
    padding-left: 0;
    border-left: 0;
  }

  .menu-toggle {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: none;
    cursor: pointer;
    transition: border-color 180ms ease;
  }

  .menu-toggle:hover {
    border-color: var(--ink);
  }

  .menu-toggle span {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .is-menu-open .menu-toggle span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .is-menu-open .menu-toggle span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
}

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

.hero {
  padding: calc(var(--header-height) + clamp(2.5rem, 7vh, 5rem)) var(--gutter) 0;
}

.hero-copy {
  display: flex;
  max-width: 56rem;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(2.75rem, 6.4vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lede {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--ink-2);
  font-size: clamp(1.28rem, 1.75vw, 1.5rem);
  letter-spacing: -0.012em;
  line-height: 1.42;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.1rem;
}



/* ---------- Morning ----------

   The morning's notes under the hero, on the desk: four appointments, each
   tab with its time and the minute its note was signed, and the open note
   below it, as in a file. The reader opens the one they want (script.js,
   "Morning"); nothing turns by itself. The notes share one cell, so the
   file keeps the height of the longest whichever is open. */
.morning {
  max-width: var(--container);
  margin: clamp(3rem, 7vh, 4.5rem) auto 0;
  padding: clamp(1.25rem, 4.5vw, 4rem) clamp(0.75rem, 3.5vw, 3rem);
}

.file {
  max-width: 60rem;
  margin: 0 auto;
  text-align: left;
}

.file-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.file-head p {
  margin: 0;
}

.file-day {
  color: var(--ink);
}

.file-tally {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brass);
}

.file svg.tick {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

/* The tabs stand on the open note, inset from its corners: the open one
   in front of the sheet, the others behind it. */
.file-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0 0.85rem;
}

.file-tab {
  position: relative;
  z-index: 0;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-width: 0;
  margin: 0 0 -0.5rem;
  padding: 0.75rem 0.95rem 1.2rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 0.8rem 0.8rem 0 0;
  background: var(--paper-deep);
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.file-tab:hover {
  background: var(--paper);
  color: var(--ink);
}

.file-tab[aria-selected="true"] {
  z-index: 2;
  border-color: transparent;
  background: var(--sheet);
  color: var(--ink);
  cursor: default;
}

.file-tab:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: -4px;
}

.tab-time {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.tab-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tab-signed {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.file svg.tick-small {
  width: 0.85rem;
  height: 0.85rem;
}

/* The open note, on the sheet. */
.file-notes {
  position: relative;
  z-index: 1;
  display: grid;
  border-radius: 1rem;
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
}

.file-note {
  grid-area: 1 / 1;
  padding: clamp(1.25rem, 2.6vw, 1.9rem) clamp(1.1rem, 3vw, 2.4rem) clamp(1.1rem, 2.2vw, 1.5rem);
}

.file-note:focus-visible {
  border-radius: 1rem;
  outline: 2px solid var(--brass);
  outline-offset: -2px;
}

/* The notes left closed keep their room, unseen. */
.file-note[hidden] {
  display: block;
  visibility: hidden;
}

.note-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1.5rem;
  padding: 0 0 1rem;
}

.note-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.note-slot {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-rows {
  margin: 0;
}

.note-row {
  display: grid;
  grid-template-columns: minmax(11rem, 0.36fr) minmax(0, 1fr);
  gap: 0.3rem 1.5rem;
  padding: 0.68rem 0;
  border-top: 1px solid var(--line);
}

.note-row dt {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 0.15rem;
}

.note-row .row-num {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.note-row .row-label {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.note-row dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--app);
  font-size: 0.9rem;
  line-height: 1.5;
}

.note-row dd span {
  display: block;
}

.note-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--line);
}

.note-signature {
  display: block;
  width: 8.5rem;
  height: 2.25rem;
  overflow: visible;
  border-bottom: 1px solid var(--line-strong);
}

.note-signature path {
  fill: none;
  stroke: var(--ink);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.note-signed {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The morning's end: lunch, with nothing to catch up on. */
.file-foot {
  margin: 1.4rem 0 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

/* Opening another note: it comes in quickly and its signature is drawn.
   Only once the reader has turned to one, so nothing moves on arrival. */
.morning[data-turned] .file-note:not([hidden]) {
  animation: note-in 260ms ease both;
}

.morning[data-turned] .file-note:not([hidden]) .note-signature path {
  animation: sign 900ms var(--ease-out) 200ms both;
}

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

@keyframes sign {
  from { stroke-dashoffset: 1; }
}

/* Below 760px each section's text goes under its label. */
@media (max-width: 759px) {
  .note-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-row dd {
    padding-left: 2.1rem;
  }
}

/* Below 640px the four tabs are a list above the note, as in a day sheet:
   each appointment's time and name, and the minute it was signed. */
@media (max-width: 639px) {
  .file-tabs {
    grid-template-columns: minmax(0, 1fr);
    margin: 0 0 0.75rem;
    padding: 0;
  }

  .file-tab {
    grid-template-areas:
      "time signed"
      "name signed";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.1rem 0.75rem;
    margin: 0;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0.8rem;
  }

  .tab-time {
    grid-area: time;
  }

  .tab-name {
    grid-area: name;
  }

  .tab-signed {
    grid-area: signed;
    margin: 0;
  }

  .file-tab[aria-selected="true"] {
    border-color: var(--brass);
    box-shadow: 0 1px 2px rgba(14, 27, 43, 0.06);
  }
}

@media (max-width: 479px) {
  .note-row dd {
    padding-left: 0;
  }

  .note-sign {
    align-items: center;
  }
}

/* ---------- Why ----------

   Notes eat into the whole day, not only its end: the case in three
   figures, and a typical day beside it, without Genivo and with it. */
.why {
  padding: var(--section-space) var(--gutter) 0;
}

.why-inner {
  display: grid;
  max-width: var(--container);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  margin: 0 auto;
}

.why .section-head {
  margin: 0;
}

.why-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--line-strong);
}

.why-figures > div {
  padding: 1.4rem 1.25rem 0 0;
}

.why-figures > div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.why-figures dt {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

/* The hours given back, in the brass of the italic lines. */
.why-figures > div:nth-child(2) dt {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.02em;
}

.why-figures dd {
  margin: 0.65rem 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* The typical day: a clinic's schedule on the desk, the same
   appointments in two columns. Times are hours from 8 h (--from, --to,
   --at), each --hour tall. Without Genivo, the notes are hatched brass
   pieces; with Genivo, each appointment is checked off, and the time the
   notes took is left free (dashed). */
.day-desk {
  padding: clamp(1rem, 3.5vw, 2.75rem) clamp(0.75rem, 3vw, 2.5rem);
}

.day {
  --hour: 3rem;
  --axis: 2.6rem;
  --col-gap: 0.65rem;
  max-width: 30rem;
  margin: 0 auto;
  padding: 1.15rem clamp(0.85rem, 2.4vw, 1.4rem) 1rem;
  border-radius: 1rem;
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--ink);
}

.day-kind {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-gain {
  margin: 0;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}

.day-cols,
.day-body {
  display: grid;
  grid-template-columns: var(--axis) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--col-gap);
}

.day-cols {
  padding: 0.9rem 0 0.75rem;
}

.day-cols p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.day-cols [data-col="without"] {
  color: var(--ink-2);
}

.day-cols [data-col="with"] {
  color: var(--brass);
}

/* Room under the day for the way out. */
.day-body {
  position: relative;
  height: calc(var(--hour) * 10 + 0.5rem);
}

.day-hours {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-hours li {
  position: absolute;
  top: calc(var(--at) * var(--hour));
  right: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
}

.day-col {
  position: relative;
  height: calc(var(--hour) * 10);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% var(--hour);
}

.day-col > [style*="--from"] {
  position: absolute;
  top: calc(var(--from) * var(--hour) + 1px);
  right: 0;
  left: 0;
  height: calc((var(--to) - var(--from)) * var(--hour) - 1px);
}

.appt,
.lunch {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.3rem;
  padding: 0.28rem 0.4rem 0 0.45rem;
  overflow: hidden;
  border-radius: 0 4px 4px 0;
  font-family: var(--app);
  font-size: 0.7rem;
  line-height: 1.22;
}

.appt {
  border-left: 2px solid var(--ink);
  background: rgba(14, 27, 43, 0.055);
  color: var(--ink);
}

.lunch {
  border-left: 2px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-3);
  font-style: italic;
}

.appt-check {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

/* An hour of notes, in pieces. */
.notes {
  border-left: 2px solid var(--brass);
  border-radius: 0 3px 3px 0;
  background:
    repeating-linear-gradient(135deg, rgba(140, 97, 24, 0.5) 0 1px, transparent 1px 4px),
    var(--brass-soft);
  transform-origin: left center;
}

.notes-late {
  display: flex;
  align-items: center;
  padding: 0 0.4rem;
}

.notes-late span {
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  background: var(--sheet);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* The same time, given back. */
.free {
  border: 1px dashed rgba(140, 97, 24, 0.5);
  border-radius: 3px;
}

/* Closing time, across both days. */
.day-close {
  position: absolute;
  top: calc(var(--at) * var(--hour));
  right: 0;
  left: calc(var(--axis) + var(--col-gap));
  border-top: 1.5px solid var(--ink);
}

.day-close span {
  position: absolute;
  right: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateY(-55%);
}

/* The way out: half an hour after closing, or at closing. */
.leave {
  position: absolute;
  top: calc(var(--at) * var(--hour) + 0.4rem);
  left: 0;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-col="without"] .leave {
  background: var(--ink);
  color: var(--paper);
}

[data-col="with"] .leave {
  background: var(--brass);
  color: var(--sheet);
}

.day-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.76rem;
}

.day-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.day-key-notes::before {
  width: 1.1rem;
  height: 0.6rem;
  border-left: 2px solid var(--brass);
  background:
    repeating-linear-gradient(135deg, rgba(140, 97, 24, 0.5) 0 1px, transparent 1px 4px),
    var(--brass-soft);
  content: "";
}

.day-key-signed::before {
  width: 0.6rem;
  height: 0.32rem;
  margin: 0 0.25rem 0.2rem;
  border: solid var(--brass);
  border-width: 0 0 1.5px 1.5px;
  content: "";
  transform: rotate(-45deg);
}

/* The first time the day is well in view, the notes take their pieces of
   it one by one, and the other day checks its appointments off. */
.can-reveal .day-desk .notes {
  transition: transform 700ms var(--ease-out) calc(250ms + var(--i) * 220ms);
}

.can-reveal .day-desk .appt-check,
.can-reveal .day-desk .free,
.can-reveal .day-desk .leave {
  transition: opacity 500ms ease calc(200ms + var(--i, 8) * 110ms);
}

.can-reveal .day-desk:not(.is-revealed) .notes {
  transform: scaleX(0);
}

.can-reveal .day-desk:not(.is-revealed) .appt-check,
.can-reveal .day-desk:not(.is-revealed) .free,
.can-reveal .day-desk:not(.is-revealed) .leave {
  opacity: 0;
}

/* ---------- Features ----------

   All four open, one after the other: each one's animation as a figure,
   its copy beside it, the sides trading places down the page. A brass
   thread runs from each figure to the next. */

.features {
  --feature-gap: clamp(4.5rem, 10vw, 8.5rem);
  padding: var(--section-space) var(--gutter) 0;
}

.feature-num {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.feature-name {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-flow {
  position: relative;
  max-width: var(--container);
  margin: clamp(4rem, 8vw, 6.5rem) auto 0;
}

.feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--feature-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Below 700px: the number, the title and the text, then the plate, so
   the reader knows what each animation shows before it plays. */
.feature {
  position: relative;
  display: grid;
  grid-template-areas:
    "label"
    "heading"
    "copy"
    "figure";
  gap: 1.25rem;
  scroll-margin-top: 1.5rem;
}

/* On phones the thread is a short drop between two features. */
.feature:not(:last-child)::after {
  position: absolute;
  top: calc(100% + (var(--feature-gap) - 2.5rem) / 2);
  left: 50%;
  width: 1px;
  height: 2.5rem;
  background: var(--brass);
  content: "";
  opacity: 0.55;
}

.feature-label {
  display: flex;
  grid-area: label;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
}

.feature-label::before {
  order: 1;
  width: 1.75rem;
  height: 1px;
  background: var(--brass);
  content: "";
}

.feature-label .feature-name {
  order: 2;
}

.feature-figure {
  grid-area: figure;
  margin: 0;
}

.feature-figure .plate {
  box-shadow: 0 2rem 4rem -2.75rem rgba(14, 27, 43, 0.4);
}


.feature-copy {
  grid-area: copy;
}

.feature-heading {
  grid-area: heading;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.feature-text {
  max-width: 30rem;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.7;
}

/* The one click's form: what there is to fill in before the appointment,
   struck out one by one the first time it is seen. */
.no-form {
  max-width: 24rem;
  margin-top: 1.75rem;
  padding: 1rem 1.2rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.8rem;
}

.no-form-title {
  margin: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.no-form-fields {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.no-form-fields li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0 0.4rem;
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* The field's empty line. */
.no-form-fields li::after {
  flex: 1;
  min-width: 2rem;
  border-bottom: 1px dotted var(--line-strong);
  content: "";
}

.no-form-fields s {
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1.5px;
}

.can-reveal .no-form-fields s {
  transition: text-decoration-color 400ms ease;
}

.can-reveal .no-form-fields li:nth-child(1) s { transition-delay: 300ms; }
.can-reveal .no-form-fields li:nth-child(2) s { transition-delay: 550ms; }
.can-reveal .no-form-fields li:nth-child(3) s { transition-delay: 800ms; }
.can-reveal .no-form-fields li:nth-child(4) s { transition-delay: 1050ms; }

.can-reveal .feature-copy:not(.is-revealed) .no-form-fields s {
  text-decoration-color: transparent;
}

.no-form-foot {
  margin: 0.85rem 0 0;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.35;
}

/* The threads, measured from the layout (script.js, layoutThreads). Each
   draws the first time the figure it leads to comes into view. */
.threads {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.thread path {
  fill: none;
  stroke: var(--brass);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-width: 1.5;
  opacity: 0;
  transition:
    stroke-dashoffset 1800ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 200ms ease;
}

.thread circle {
  fill: var(--brass);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 200ms ease,
    transform 500ms var(--ease-out);
}

.thread[data-drawn="true"] path {
  stroke-dashoffset: 0;
  opacity: 0.7;
}

.thread[data-drawn="true"] circle {
  opacity: 1;
  transform: scale(1);
}

.thread[data-drawn="true"] circle:last-of-type {
  transition-delay: 1650ms;
}

/* From 700px the figure and the copy sit side by side, trading sides from
   one feature to the next, with the threads between the figures. */
@media (min-width: 700px) {
  .features {
    --figure-column: 0.9fr;
    --copy-column: 1.1fr;
  }

  .feature {
    grid-template-areas:
      "figure ."
      "figure label"
      "figure heading"
      "figure copy"
      "figure .";
    grid-template-columns: minmax(0, var(--figure-column)) minmax(0, var(--copy-column));
    grid-template-rows: 1fr auto auto auto 1fr;
    gap: 1.4rem clamp(2.5rem, 7vw, 7rem);
  }

  .feature[data-side="end"] {
    grid-template-areas:
      ". figure"
      "label figure"
      "heading figure"
      "copy figure"
      ". figure";
    grid-template-columns: minmax(0, var(--copy-column)) minmax(0, var(--figure-column));
  }

  /* The plate centres on the copy whichever is taller, so on a short
     laptop screen the text never starts and ends below the animation. */
  .feature-figure {
    align-self: center;
  }

  .feature:not(:last-child)::after {
    display: none;
  }

  .threads {
    display: block;
  }
}

/* From 1024px the two halves are even, and each plate fits the screen
   whole, below the header. */
@media (min-width: 1024px) {
  .features {
    --figure-column: 1fr;
    --copy-column: 1fr;
  }

  .feature-figure {
    width: min(100%, (100svh - var(--header-height) - 7rem) * 0.8);
  }

  .feature[data-side="end"] .feature-figure {
    justify-self: end;
  }

  /* The four empty fields in two columns, so the first feature's copy
     stays within its plate's height. */
  .no-form {
    max-width: 30rem;
  }

  .no-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

/* ---------- Clinic ----------

   For the owner, on a band of deeper paper so it reads as its own
   section: the heading and its lede in one column; the time card, one
   practitioner's month, then the same multiplied by their team, worked out
   on a clinic chart laid a little askew on the desk; then what the clinic
   gets, in a row. */
.clinics {
  margin-top: var(--section-space);
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.clinics-inner {
  display: grid;
  max-width: var(--container);
  gap: clamp(3rem, 6vw, 4.5rem);
  margin: 0 auto;
}

.clinics .section-head {
  max-width: 54rem;
  margin: 0;
}

.clinics .section-head h2 {
  max-width: 15em;
}

/* What the clinic gets, three across under the chart. */
.clinics-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
}

.clinics-points li {
  font-size: 1rem;
}

/* Each gain: what the owner gets, then why, a step quieter. */
.clinics-points .point {
  display: grid;
  gap: 0.35rem;
}

.clinics-points strong {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.clinics-points .point-detail {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* One practitioner's month, times the team. */
.clinics-work {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) auto minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.clinics-figure.feature-figure {
  grid-area: auto;
  width: 100%;
  max-width: 27rem;
  justify-self: end;
}

.clinics-times {
  color: var(--brass);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  font-style: italic;
  line-height: 1;
}

/* A cool desk, so the chart's paper and the time card's brass both hold. */
.chart-desk {
  padding: clamp(1.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3.5rem);
  background-color: #dfe3e3;
}

.chart {
  max-width: 32rem;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 1rem;
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
  rotate: -1deg;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}

.chart-kind {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chart-rx {
  margin: 0;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2.25rem;
  font-style: italic;
  line-height: 0.8;
}

.chart-fields {
  margin: 0;
}

.chart-fields > div {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.3rem 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.chart-fields > .chart-input {
  align-items: center;
}

.chart-fields dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.chart-fields dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.chart-fields .chart-dx {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.chart-input dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

/* The two fields the reader fills in: a count, and one of three times. */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.stepper button {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.stepper button:hover:not([aria-disabled="true"]) {
  background: var(--paper-deep);
}

.stepper button[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
}

.stepper svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.stepper-value {
  min-width: 2.25ch;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: center;
}

.choice {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--paper-deep);
}

.choice button {
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

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

.choice button[aria-pressed="true"] {
  background: var(--sheet);
  color: var(--ink);
  box-shadow:
    0 1px 2px rgba(14, 27, 43, 0.08),
    0 0.25rem 0.75rem -0.25rem rgba(14, 27, 43, 0.14);
}

.choice-unit {
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* The prognosis: the month's hours, large, then the year's. */
.chart-fields > .chart-outcome {
  padding-bottom: 0.25rem;
  border-bottom: 0;
}

.chart-outcome dd {
  display: grid;
  gap: 0.5rem;
}

.calc-hours {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.65rem;
}

[data-calc-hours] {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.calc-hours-label {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.calc-year {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.35;
}

.chart-foot {
  margin: 1.25rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ---------- Law ----------

   The one navy band in the page: the laws by name, as a register under
   the heading, then what becomes of a recording, a card each. */
.law {
  padding: var(--section-space) var(--gutter);
  background: var(--ink);
  color: var(--on-ink);
}

.law .eyebrow {
  color: var(--brass-lit);
}

.law h2 em {
  color: var(--brass-lit);
}

.principles {
  display: grid;
  max-width: var(--container);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 1.75rem 1.75rem 2rem;
  border: 1px solid var(--on-ink-line);
  border-radius: 1.1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.25rem;
  background: rgba(242, 239, 233, 0.03);
}

.principle-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--brass-lit);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.principles h3 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.principles p {
  grid-column: 1 / -1;
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: var(--on-ink-2);
  text-wrap: pretty;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* One card across below 640px. */
@media (max-width: 639px) {
  .principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .principles li {
    padding: 1.4rem 1.4rem 1.6rem;
  }
}

/* The laws, as a register under the heading. */
.law-list {
  display: grid;
  max-width: var(--container);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0;
  border-top: 1px solid var(--on-ink-line);
  list-style: none;
}

.law-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.2rem 1rem;
  padding: 1.5rem 1.5rem 0 0;
}

.law-list li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--on-ink-line);
}

.law-list svg {
  grid-row: span 2;
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--brass-lit);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.law-name {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.law-scope {
  color: var(--on-ink-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Pricing ---------- */

.pricing {
  padding: var(--section-space) var(--gutter);
}

.pricing-head {
  display: flex;
  max-width: 44rem;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

/* A segmented control: a white thumb that slides one half over. */
.billing-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--paper-deep);
  isolation: isolate;
}

.billing-toggle::before {
  position: absolute;
  z-index: -1;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  border-radius: 999px;
  background: var(--sheet);
  box-shadow:
    0 1px 2px rgba(14, 27, 43, 0.08),
    0 0.25rem 0.75rem -0.25rem rgba(14, 27, 43, 0.14);
  content: "";
  transform: translateX(100%);
  transition: transform 420ms var(--ease-out);
}

.billing-toggle[data-billing-period="monthly"]::before {
  transform: translateX(0);
}

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 220ms ease;
}

.billing-toggle button[aria-pressed="true"] {
  color: var(--ink);
}

.billing-save {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pricing-card {
  display: grid;
  max-width: 58rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  overflow: hidden;
  border-radius: var(--panel-radius);
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
}

.pricing-summary {
  padding: clamp(2rem, 4vw, 3rem);
}

.pricing-plan {
  margin: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5rem;
  margin: 1.4rem 0 0;
}

.pricing-amount {
  display: inline-block;
  font-size: clamp(3.25rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

/* The dollar sign: small and raised beside the figure, not the figure's size. */
.pricing-currency {
  margin: 0 0.08em;
  font-size: 0.42em;
  letter-spacing: 0;
  vertical-align: 0.95em;
}

.pricing-period {
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.pricing-was {
  color: var(--ink-3);
  font-size: 0.95rem;
}

.pricing-note {
  margin: 0.7rem 0 2rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}


.pricing-features {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 1px solid var(--line);
  background-color: var(--desk);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
  list-style: none;
}

/* A drawn check in a pale ring. */
.pricing-features li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricing-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.35rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  content: "";
}

.pricing-features li::after {
  position: absolute;
  top: 0.33rem;
  left: 0.5rem;
  width: 0.28rem;
  height: 0.52rem;
  border: solid var(--brass);
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: rotate(45deg);
}

/* ---------- Questions ---------- */

.faq {
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--line);
}

.faq-inner {
  display: grid;
  max-width: var(--container);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  margin: 0 auto;
}

.faq-inner .section-head {
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 1.35rem 3rem 1.35rem 0;
  border-radius: 4px;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--ink-hover);
}

/* A plus that turns into a minus. */
.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 0.85rem;
  height: 1.5px;
  border-radius: 1px;
  background: var(--brass);
  content: "";
  transition: transform 260ms var(--ease-out);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 36rem;
  margin: -0.35rem 0 0;
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-list details[open] p {
  animation: rise-small 360ms var(--ease-out);
}

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

   The page closes on the brand's navy: a last call to start, then the
   wordmark in its own light colors, the links and the legal line. */
.site-footer {
  padding: 0 var(--gutter);
  background: var(--ink);
  color: var(--on-ink);
}

.site-footer :focus-visible {
  outline-color: var(--on-ink);
}

.footer-cta,
.footer-inner,
.footer-bar {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding: clamp(5rem, 13vh, 8.5rem) 0 clamp(4rem, 10vh, 6rem);
  border-bottom: 1px solid var(--on-ink-line);
}

.footer-cta h2 {
  max-width: 14em;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.042em;
  line-height: 1.05;
  text-wrap: balance;
}

.footer-cta h2 em,
.footer-tagline em {
  color: var(--brass-lit);
}


.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button-light {
  background: var(--on-ink);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
}

.button-outline-light {
  border-color: rgba(242, 239, 233, 0.28);
  color: var(--on-ink);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: var(--on-ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  padding: clamp(2.75rem, 7vh, 4.5rem) 0;
}

.footer-brand .wordmark img {
  height: 2.6rem;
}

.footer-tagline em {
  white-space: nowrap;
}

.footer-tagline {
  max-width: 18ch;
  margin: 1.75rem 0 0;
  color: var(--on-ink-2);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-column h2 {
  margin: 0 0 1.25rem;
  color: var(--on-ink-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.footer-top {
  border-radius: 2px;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-column a {
  color: rgba(242, 239, 233, 0.86);
  font-size: 0.94rem;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-top:hover,
.footer-top:focus-visible {
  color: #fff;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--on-ink-line);
  color: var(--on-ink-2);
  font-size: 0.8rem;
}

.footer-bar p {
  margin: 0;
}

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

/* ---------- Smaller screens ---------- */

@media (max-width: 1023px) {
  .why-inner,
  .clinics-inner,
  .faq-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .clinics .section-head,
  .why .section-head {
    max-width: 38rem;
  }

  /* Stacked, the day would run past a screen to repeat the figures above
     it, and the clinics' animation shows the day again further down. */
  .why .day-desk {
    display: none;
  }

  .clinics-points {
    grid-template-columns: minmax(0, 1fr);
    max-width: 38rem;
    justify-self: center;
    width: 100%;
  }

  .day-desk {
    width: 100%;
    max-width: 38rem;
    justify-self: center;
  }

  .clinics-work {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .clinics-figure.feature-figure {
    max-width: 24rem;
    justify-self: center;
  }

  .chart-desk {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding-top: 8px;
  }

  .header-bar {
    height: 56px;
    padding: 0 0.5rem 0 1.1rem;
  }

  .wordmark img {
    height: 1.95rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .footer-cta-actions .button {
    width: 100%;
  }

  .law-list {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .law-list li,
  .law-list li + li {
    padding: 1.25rem 0;
    border-top: 1px solid var(--on-ink-line);
    border-left: 0;
  }

  .why-figures {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .why-figures > div,
  .why-figures > div + div {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .why-figures dt {
    font-size: 2.2rem;
  }

  .why-figures dd {
    margin: 0;
  }

  .pricing-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-features {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-list summary {
    font-size: 1rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* On narrow charts, each label sits over its line; the day's hours are a
   little shorter, and its labels a little smaller. */
@media (max-width: 559px) {
  .day {
    --hour: 2.75rem;
    --axis: 2.1rem;
    --col-gap: 0.45rem;
  }

  .appt,
  .lunch {
    padding: 0.22rem 0.3rem 0 0.38rem;
    font-size: 0.64rem;
  }

  .appt-check {
    width: 0.75rem;
    height: 0.75rem;
  }

  .day-hours li {
    font-size: 0.54rem;
  }

  .leave {
    padding: 0.2rem 0.4rem;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .chart-fields > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .chart {
    rotate: -0.5deg;
  }
}

/* With reduced motion another note opens at once, and nothing here moves
   on its own. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .morning *,
  .morning *::before,
  .morning *::after,
  .thread path,
  .thread circle,
  .faq-list details[open] p {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- v28 ----------

   Under the hero, on the grid desk: one exam, four moments. The navy card
   is the chair, live: what is said types in, and the words that matter
   light up in brass. The paper sheet is the note: the line charted from
   them writes itself into its section, in the dentist's shorthand
   (script.js, "The hero's desk"). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.chair {
  max-width: var(--container);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 4.5vw, 4rem);
}

.chair-heads,
.chair-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 62rem;
  margin: 0 auto;
}

.chair-heads {
  margin-bottom: 1rem;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The chair, live. */
.chair-live {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  border-radius: 1rem;
  background: var(--ink);
  box-shadow: var(--sheet-shadow);
  color: var(--on-ink);
}

.chair-live-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--on-ink-line);
  color: var(--on-ink-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chair-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #e05a4f;
  animation: chair-pulse 1.6s ease-in-out infinite;
}

/* Off screen, the dot rests too. */
.chair:not([data-live]) .chair-dot {
  animation-play-state: paused;
}

@keyframes chair-pulse {
  50% {
    opacity: 0.35;
  }
}

.chair-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.chair-who {
  margin: auto 0 0;
  color: var(--brass-lit);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chair-words {
  min-height: calc(3 * 1.32em);
  margin: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.32;
}

.chair-c {
  opacity: 0;
  transition: opacity 180ms ease;
}

.chair-c.on {
  opacity: 1;
}

/* The words the line is charted from: a brass wash sweeps under them. */
.chair-key {
  padding: 0 0.08em;
  margin: 0 -0.08em;
  border-radius: 0.2em;
  background: linear-gradient(rgba(224, 191, 98, 0.32), rgba(224, 191, 98, 0.32)) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition:
    background-size 420ms var(--ease-out),
    color 420ms ease;
}

.chair-key.lit {
  background-size: 100% 100%;
  color: #fff;
}

/* The note. */
.chair-sheet {
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  border-radius: 1rem;
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
}

.chair-sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chair-sheet-kind {
  color: var(--ink-3);
}

.chair-fields {
  margin: 0;
}

.chair-fields > div {
  display: grid;
  gap: 0.35rem;
  margin: 0 -0.75rem;
  padding: 0.85rem 0.75rem;
  border-radius: 0.6rem;
  transition: background-color 1200ms ease;
}

.chair-fields > div {
  position: relative;
}

.chair-fields > div + div::before {
  position: absolute;
  top: 0;
  right: 0.75rem;
  left: 0.75rem;
  height: 1px;
  background: var(--line);
  content: "";
}

.chair-fields dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chair-fields dd {
  min-height: 1.5em;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-line;
}

.chair-fields > div:last-child dd {
  min-height: 3em;
}

/* An empty section shows where its line will go, as a pale bar. */
.chair-fields > [data-state="empty"] dd::before {
  display: block;
  width: 62%;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--paper-deep);
  content: "";
}

.chair-fields > div:last-child[data-state="empty"] dd::before {
  box-shadow: 0 1.5em 0 var(--paper-deep);
}

.chair-fields > [data-state="writing"] dd::after {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--brass);
  content: "";
  vertical-align: -0.15em;
}

.chair-fields > [data-state="writing"],
.chair-fields > [data-state="fresh"] {
  background: var(--brass-soft);
  transition-duration: 200ms;
}

[data-clearing] .chair-fields dd,
[data-clearing] .chair-words {
  opacity: 0;
  transition: opacity 600ms ease;
}

/* Phones: the chair above the note, one under the other. */
@media (max-width: 699px) {
  .chair {
    padding: 1.25rem 1rem 1.4rem;
  }

  .chair-heads {
    display: none;
  }

  .chair-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .chair-live,
  .chair-sheet {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .chair-live {
    gap: 0.85rem;
  }

  .chair-live-head {
    padding-bottom: 0.8rem;
  }

  .chair-words {
    font-size: 1.22rem;
  }

  .chair-fields > div {
    padding: 0.65rem 0.75rem;
  }

  .chair-fields dd {
    font-size: 0.95rem;
  }
}

/* Feature 03, drawn on its plate like the others: what is said, in ink on
   the oat, like feature 02's words on slate; under it the note, the plate's
   one sheet. Sized in the plate's width (cqw) at the other plates' reading
   size: the spoken line as large as the templates' sections, the note's
   lines as large as the revision's. */
.plate-chair {
  container-type: inline-size;
}

.plate-chair .chair {
  position: absolute;
  inset: 0;
  display: flex;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 5.5cqw 5cqw;
}

.plate-chair .chair-stage {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5cqw;
}

.plate-chair .chair-live {
  min-height: 0;
  gap: 2.6cqw;
  padding: 0 3cqw;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}

.plate-chair .chair-live-head,
.plate-chair .chair-sheet-head {
  gap: 1.8cqw;
  padding-bottom: 2.4cqw;
  font-size: 2.75cqw;
}

.plate-chair .chair-live-head {
  border-bottom: max(1px, 0.25cqw) solid rgba(14, 27, 43, 0.2);
  color: var(--ink-2);
}

.plate-chair .chair-dot {
  width: 2cqw;
  height: 2cqw;
  background: var(--brass);
}

.plate-chair .chair-who {
  margin: 0;
  color: var(--brass);
  font-size: inherit;
}

.plate-chair .chair-words {
  min-height: calc(3 * 1.26em);
  margin: 0;
  font-size: 6.1cqw;
  line-height: 1.26;
}

/* The words a line comes from: underlined in brass on the oat, where a
   wash would not show. */
.plate-chair .chair-key {
  background-image: linear-gradient(var(--brass), var(--brass));
  background-position: 0 100%;
  background-size: 0% max(1.5px, 0.4cqw);
}

.plate-chair .chair-key.lit {
  background-size: 100% max(1.5px, 0.4cqw);
  color: inherit;
}

.plate-chair .chair-sheet {
  padding: 4.25cqw 4.5cqw 3cqw;
  border-radius: 3cqw;
  box-shadow: 0 1px 2px rgba(14, 27, 43, 0.06), 0 12px 30px -16px rgba(14, 27, 43, 0.28);
}

.plate-chair .chair-sheet-head {
  border-bottom-width: max(1.5px, 0.45cqw);
}

.plate-chair .chair-sheet-kind {
  color: var(--ink-2);
}

.plate-chair .chair-fields > div {
  gap: 0.6cqw;
  margin: 0 -2cqw;
  padding: 1.9cqw 2cqw;
  border-radius: 1.6cqw;
}

.plate-chair .chair-fields > div + div::before {
  right: 2cqw;
  left: 2cqw;
}

.plate-chair .chair-fields dt {
  color: var(--ink-2);
  font-size: 2.6cqw;
}

.plate-chair .chair-fields dd {
  min-height: 1.4em;
  font-size: 4.1cqw;
  line-height: 1.4;
}

.plate-chair .chair-fields > div:last-child dd {
  min-height: 2.8em;
}

.plate-chair .chair-fields > [data-state="empty"] dd::before {
  height: 1.3cqw;
  margin-top: 1.4cqw;
  background: rgba(14, 27, 43, 0.1);
}

.plate-chair .chair-fields > div:last-child[data-state="empty"] dd::before {
  box-shadow: 0 1.4em 0 rgba(14, 27, 43, 0.1);
}

.plate-chair .chair-fields > [data-state="writing"] dd::after {
  width: max(1.5px, 0.45cqw);
}

/* Desktop features keep v23's spacing: the heading now sits in its own grid
   row, so it takes back the space it had inside the copy. */
@media (min-width: 700px) {
  .feature-heading {
    margin-top: 1.25rem;
  }

  .feature-text {
    margin-top: -0.15rem;
  }
}

/* Phones only: each feature opens on a hairline, like a chapter, with its
   number and name, then its heading and text held together, then the
   animation, so the section's heading never reads as the first feature's
   title. Desktop needs none of this: the sides trading places already mark
   each feature. */
@media (max-width: 699px) {
  .feature-label {
    padding-top: 1.1rem;
    border-top: 1px solid var(--line-strong);
  }

  .feature-heading {
    margin-top: -0.35rem;
  }

  .feature-copy {
    margin-top: -0.45rem;
  }

  .feature-figure {
    margin-top: 0.5rem;
  }
}

/* The clinic chart, full length again on its grid desk, in one voice: the
   labels in mono, every answer in the same text size and weight, and one
   figure set large, the hours back each month. */
.chart {
  max-width: 34rem;
}

.chart-fields dd,
.chart-fields .chart-dx {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.calc-hours-label,
.calc-year {
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.chart-outcome dd {
  gap: 0.35rem;
}

/* ---------- Why, as a strip ----------

   Phones and tablets: the typical day as one bar per day across the hours
   (--from, --to, --at in hours from 8 h, a tenth of the bar each). The
   half hour past closing is the point, so closing is a line through both. */
.strip-desk {
  display: none;
  margin: 2rem 0 0;
  padding: 0.9rem 0.75rem;
}

.strip {
  padding: 1rem 1rem 0.9rem;
  border-radius: 1rem;
  background: var(--sheet);
  box-shadow: var(--sheet-shadow);
}

.strip-rows {
  position: relative;
  padding-top: 2.1rem;
}

.strip-row {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding-bottom: 2.05rem;
}

.strip-name {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

[data-col="without"] .strip-name {
  color: var(--ink-2);
}

[data-col="with"] .strip-name {
  color: var(--brass);
}

.strip-bar {
  position: relative;
  height: 1.9rem;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 10% 100%;
}

.strip-bar > [style*="--from"] {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--from) * 10%);
  width: calc((var(--to) - var(--from)) * 10% - 1.5px);
  padding: 0;
}

/* Booked time as a quiet track; the notes stand over it in solid brass,
   each at least wide enough to see, so the eye lands on them. */
.strip-bar > .appt,
.strip-bar > .lunch {
  top: 38%;
  bottom: 38%;
  border: 0;
  border-radius: 999px;
}

.strip-bar > .appt {
  background: rgba(14, 27, 43, 0.16);
}

.strip-bar > .lunch {
  background: none;
}

.strip-bar > .notes {
  z-index: 1;
  width: max(0.7rem, calc((var(--to) - var(--from)) * 10%));
  border: 0;
  border-radius: 3px;
  background: var(--brass);
  box-shadow: 0 0 0 2px var(--sheet);
}

.strip .day-key-notes::before {
  border: 0;
  border-radius: 2px;
  background: var(--brass);
}

.strip-bar > .leave {
  z-index: 2;
}

/* The time given back is simply empty here: no box that reads as notes. */
.strip-bar > .free {
  display: none;
}

.strip-bar > .leave {
  top: calc(100% + 0.45rem);
  left: calc(var(--at) * 10%);
  transform: translateX(-100%);
}

.strip-close {
  position: absolute;
  z-index: 1;
  top: 1.15rem;
  bottom: 1.1rem;
  left: calc(var(--at) * 10%);
  border-left: 1.5px solid var(--ink);
}

.strip-close span {
  position: absolute;
  top: -0.55rem;
  right: -1px;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--sheet);
  box-shadow: inset 0 0 0 1px var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.strip-hours {
  position: relative;
  height: 0.8rem;
  margin: -0.3rem 0 0;
  padding: 0;
  list-style: none;
}

.strip-hours li {
  position: absolute;
  left: calc(var(--at) * 10%);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.strip-hours li:first-child {
  transform: none;
}

.strip-hours li:last-child {
  transform: translateX(-100%);
}

.strip .day-key {
  margin-top: 0.9rem;
}

.can-reveal .strip-desk .notes {
  transition: transform 700ms var(--ease-out) calc(250ms + var(--i) * 220ms);
}

.can-reveal .strip-desk .free,
.can-reveal .strip-desk .leave {
  transition: opacity 500ms ease calc(200ms + var(--i, 8) * 110ms);
}

.can-reveal .strip-desk:not(.is-revealed) .notes {
  transform: scaleX(0);
}

.can-reveal .strip-desk:not(.is-revealed) .free,
.can-reveal .strip-desk:not(.is-revealed) .leave {
  opacity: 0;
}

@media (max-width: 1023px) {
  .why .strip-desk {
    display: block;
  }
}

/* Phones: the three figures side by side, as figures, not as a table. */
@media (max-width: 767px) {
  .why .why-figures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem;
    border-top: 1px solid var(--line-strong);
  }

  .why .why-figures > div,
  .why .why-figures > div + div {
    display: block;
    padding: 1rem 0.75rem 0 0;
    border-top: 0;
  }

  .why .why-figures > div + div {
    padding-left: 0.75rem;
    border-left: 1px solid var(--line);
  }

  .why .why-figures dt {
    font-size: 2rem;
  }

  .why .why-figures dd {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }
}
