@font-face {
  font-family: "OTR Account Display";
  src: url("/assets/fonts/reader-reference-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "OTR Reader Serif";
  src: url("/assets/fonts/reader-reference-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
/* The reader account pages share one responsive layout. The form remains first in the phone's reading and focus order. */
.auth-reader {
  --auth-paper: #fcf4ec;
  --auth-chrome: #fff9f2;
  --auth-panel: #fefdf7;
  --auth-ink: #251a17;
  --auth-muted: #63584d;
  --auth-accent: #874018;
  --auth-line: #d3c8b6;
  --auth-control-line: #b9ad9d;
  --auth-focus: #005d59;
  --auth-shadow: 0 9px 26px rgba(74, 50, 26, .085);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--auth-paper);
  color: var(--auth-ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.45;
  color-scheme: light;
}
.auth-reader *, .auth-reader *::before, .auth-reader *::after { box-sizing: border-box; }
.auth-reader :where(a, button, input, select) { font: inherit; }
.auth-reader :where(button, select) { cursor: pointer; }
.auth-reader a { color: var(--auth-accent); text-underline-offset: .18em; }
.auth-reader :where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--auth-focus); outline-offset: 3px; }
.auth-header, .auth-footer { background: var(--auth-chrome); color: var(--auth-muted); }
.auth-header { border-bottom: 1px solid var(--auth-line); }
.auth-footer { margin-top: auto; border-top: 1px solid var(--auth-line); }
.auth-main {
  width: min(87.1%, 83.6rem);
  margin: 0 auto;
  padding-block: clamp(2rem, 3.65vw, 3.5rem) clamp(1.8rem, 2.84vw, 2.7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.134fr) minmax(0, 1fr);
  grid-template-areas: "intro card" "benefits card" "preview card" "brand card";
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(2rem, 5.4vw, 5.2rem);
  align-items: start;
}
.auth-main > * { min-width: 0; }
.auth-intro { grid-area: intro; }
.auth-card { grid-area: card; }
.auth-benefits { grid-area: benefits; }
.auth-preview { grid-area: preview; }
.auth-brand-note { grid-area: brand; }
.auth-intro :where(h1,p), .auth-card :where(h2,p), .auth-preview :where(h2,h3,p), .auth-brand-note p { margin: 0; }
.auth-intro h1 {
  color: var(--auth-ink);
  font: 700 clamp(3rem, 4.43vw, 4.25rem)/1.06 "OTR Reader Serif", Georgia, "Times New Roman", serif;
  letter-spacing: -.004em;
  overflow-wrap: anywhere;
}
.auth-intro > p:last-child {
  margin-block: .8rem 1.48rem;
  color: var(--auth-muted);
  font-size: clamp(1rem, 1.27vw, 1.215rem);
  line-height: 1.48;
}
.auth-card, .auth-preview {
  border: 1px solid var(--auth-line);
  border-radius: 1.25rem;
  background: var(--auth-panel);
  box-shadow: var(--auth-shadow);
}
.auth-card { padding: 1.35rem clamp(1rem, 1.93vw, 1.85rem) 1.2rem; }
.auth-preview { padding: .8rem 1.25rem 1rem; }
.auth-card h2, .auth-preview h2 {
  font-family: "OTR Account Display", system-ui, sans-serif;
  color: var(--auth-ink);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.auth-card h2 { font-size: clamp(1.6rem, 2.06vw, 1.97rem); }
.auth-preview h2 { font-size: clamp(1.4rem, 1.77vw, 1.7rem); }
.auth-card input:not([type=hidden]):not([type=checkbox]) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.83rem;
  padding: .55rem .75rem;
  border: 1px solid var(--auth-control-line);
  border-radius: .55rem;
  background-color: white;
  color: var(--auth-ink);
  font-size: max(1rem, 1em);
}
.auth-card input[aria-invalid=true] { border-color: #a63022; }
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1.5rem;
  min-height: 5.18rem;
  padding: .75rem max(4.6%, calc((100% - 87rem) / 2));
}
.auth-header :where(a), .auth-footer :where(a), .auth-card :where(a), .auth-benefits :where(a) { text-decoration: none; }
.auth-reader a:hover { text-decoration: underline; }
.auth-brand { display: inline-flex; align-items: center; gap: .48rem; color: var(--auth-ink) !important; white-space: nowrap; line-height: 1; }
.auth-brand, .auth-brand:hover { text-decoration: none !important; }
.auth-brand img { display: block; max-width: 14rem; height: 2.25rem; width: auto; }
.auth-header nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.85vw, 2.75rem); }
.auth-header nav a { color: var(--auth-muted); font-size: .94rem; font-weight: 690; padding: .75rem 0; }
.auth-switch { min-height: 2.7rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .55rem 1.55rem; border: 1px solid var(--auth-line); border-radius: 3rem; background: var(--auth-panel); color: var(--auth-ink) !important; font-size: .9rem; font-weight: 730; white-space: nowrap; }
.auth-eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 .24rem; color: var(--auth-accent); font-size: .72rem; font-weight: 760; line-height: 1.4; letter-spacing: .025em; text-transform: uppercase; }
.auth-intro .auth-eyebrow::before { content: ""; display: block; width: 1.7rem; height: 2px; background: #a75323; flex: none; }
.auth-signup .auth-intro h1 { max-width: 17ch; font-size: clamp(2.85rem, 3.66vw, 3.52rem); line-height: 1.12; }
.auth-signup .auth-intro > p:last-child { margin-top: 2.05rem; }
.auth-card-lead { color: var(--auth-muted); font-size: .9rem; line-height: 1.45; margin-block: .12rem .61rem !important; }
.auth-providers { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; }
.auth-providers > * { flex: 1 1 12.5rem; min-width: 0; }
.auth-provider, .auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 3rem;
  padding: .55rem .7rem;
  border: 1px solid var(--auth-control-line);
  border-radius: .63rem;
  color: var(--auth-ink) !important;
  background: #fff;
  font-size: .91rem;
  line-height: 1.35;
  font-weight: 730;
  text-align: center;
  text-decoration: none;
}
.auth-provider:hover { border-color: var(--auth-accent); }
.auth-provider-mark { display: inline-flex; align-items: center; justify-content: center; color: #14604e; font-size: 1.03em; }
.auth-provider-mark :where(svg,img) { width: 1.14em; height: 1.14em; }
.auth-provider-mark.google, .auth-provider[data-provider=google] .auth-provider-mark { color: #245caa; }
.auth-divider { display: flex; align-items: center; gap: .65rem; margin: .63rem 0 .5rem; color: var(--auth-muted); font-size: .76rem; line-height: 1.35; text-align: center; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1 1 1.25rem; height: 1px; background: var(--auth-line); }
.auth-field { display: block; min-width: 0; margin: 0 0 .18rem; }
.auth-field > label, .auth-field > .auth-field-label {
  display: block;
  margin: 0 0 .23rem;
  color: var(--auth-ink);
  font-size: .86rem;
  font-weight: 690;
}
.auth-password { display: block; position: relative; min-width: 0; }
.auth-password input { padding-inline-end: 4.2rem !important; }
.auth-reveal { position: absolute; inset-inline-end: .2rem; inset-block: 2px; min-width: 3.7rem; padding: .3rem; border: 0; border-radius: .45rem; background: transparent; color: var(--auth-accent); font-size: .78rem; font-weight: 730; }
.auth-reveal:hover { text-decoration: underline; }
.auth-submit { min-height: 3.2rem; margin-top: .36rem; color: #fff9f2 !important; background: var(--auth-ink); border-color: var(--auth-ink); font-size: 1rem; }
.auth-submit:hover { background: #403029; }
.auth-submit[disabled], .auth-provider[disabled] { cursor: wait; opacity: .7; }
.auth-alternative { display: block; margin: .5rem 0 !important; text-align: center; font-size: .89rem; font-weight: 730; color: var(--auth-accent); }
.auth-alternative a, .auth-utilities a { display: inline-flex; align-items: center; min-height: 1.55rem; }
.auth-utilities { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding-top: .3rem; border-top: 1px solid var(--auth-line); font-size: .81rem; font-weight: 690; }
.auth-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; padding: 0; margin: 0 0 .62rem; list-style: none; }
.auth-benefits > * { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 2.47rem; margin: 0; padding: .32rem; border: 1px solid #ded0bc; border-radius: .57rem; color: var(--auth-accent); background: #fff7eb; font-size: .78rem; font-weight: 700; line-height: 1.28; text-align: center; }
.auth-benefits svg { flex: none; width: 1em; height: 1em; }
.auth-preview { position: relative; min-width: 0; }
.auth-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; margin-bottom: .25rem; }
.auth-preview-badge, .auth-count, .auth-follow-chip { display: inline-flex; align-items: center; justify-content: center; padding: .32rem .55rem; border: 1px solid var(--auth-line); border-radius: 2rem; color: var(--auth-ink); font-size: .73rem; font-weight: 720; line-height: 1.4; }
.auth-preview-badge { position: absolute; inset-inline-end: 1.1rem; top: .78rem; }
.auth-preview .auth-eyebrow { padding-inline-end: 6rem; }
.auth-preview-keyword { display: flex; align-items: center; gap: .48rem; margin-block: .28rem .13rem; }
.auth-example-query { flex: 1; display: flex; align-items: center; gap: .46rem; min-width: 0; min-height: 2.42rem; padding: .25rem .7rem; overflow-wrap: anywhere; border: 1px solid var(--auth-line); border-radius: .62rem; background: #fff; font-weight: 710; }
.auth-example-query :where(svg) { width: 1em; height: 1em; color: var(--auth-accent); flex: none; }
.auth-preview-help { margin: 0; color: var(--auth-muted); font-size: .78rem; line-height: 1.45; }
.auth-example-signal { display: flex; min-height: 4.15rem; justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: .5rem; row-gap: .3rem; padding: .42rem .62rem; margin-block: .57rem .47rem; border: 1px solid #e4d2af; border-radius: .65rem; background: #fdf1e5; }
.auth-follow-chip { color: #255846; border-color: #a6c9b5; background: #e1f1e7; font-size: .73rem; }
.auth-example-signal :where(h3,strong) { font-size: 1rem; line-height: 1.2; }
.auth-brand-note { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem 0; color: var(--auth-muted); }
.auth-brand-note p { font-size: .94rem; line-height: 1.6; }
.auth-brand-note img { display: block; width: clamp(7rem, 12.5vw, 12rem); height: auto; object-fit: contain; margin-inline-end: .5rem; }
.auth-footer { min-height: 5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .95rem max(4.6%, calc((100% - 87rem) / 2)) 1.2rem; font-size: .82rem; font-weight: 650; }
.auth-footer nav { display: flex; flex-wrap: wrap; gap: .35em; }
@media (max-width: 58rem) {
  .auth-header nav { display: none; }
  .auth-header { min-height: clamp(4.35rem,17vw,5.4rem); padding-inline: clamp(1rem,4.3vw,1.4rem); }
  .auth-brand img { max-width: min(43vw,14rem); }
  .auth-main {
    --mobile-em: clamp(.95rem, 3.84vw, 1.2rem);
    width: min(91.7%,38rem);
    padding-block: clamp(1.25rem,5.15vw,1.68rem) clamp(1rem,4vw,1.25rem);
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "intro" "card" "benefits" "preview" "brand";
    grid-template-rows: auto;
    font-size: var(--mobile-em);
  }
  .auth-intro h1, .auth-signup .auth-intro h1 { font-size: 2.43em; line-height: 1.08; letter-spacing: -.004em; }
  .auth-signup .auth-intro h1 { max-width: 17ch; }
  .auth-intro .auth-eyebrow { margin-bottom: .4em; }
  .auth-intro > p:last-child, .auth-signup .auth-intro > p:last-child { margin: .54em 0 1.08em; font-size: 1.1em; line-height: 1.4; }
  .auth-card { padding: 1.05em 1em .57em; border-radius: 1.2em; }
  .auth-card h2 { font-size: 1.69em; }
  .auth-eyebrow { font-size: .7em; }
  .auth-card-lead { margin: .5em 0 .86em !important; font-size: .85em; }
  .auth-providers { flex-direction: column; gap: .37em; }
  .auth-providers > * { flex: 0 0 auto; }
  .auth-provider { min-height: max(44px,3em); border-radius: .64em; font-size: .93em; }
  .auth-divider { margin: 1.05em 0 .67em; font-size: .74em; }
  .auth-field { margin-bottom: .3em; }
  .auth-field > label, .auth-field > .auth-field-label { margin-bottom: .27em; font-size: .85em; }
  .auth-card input:not([type=hidden]):not([type=checkbox]) { min-height: max(44px,2.93em); border-radius: .6em; font-size: max(16px,1em); }
  .auth-reveal { font-size: .74em; }
  .auth-submit { min-height: max(45px,3.15em); font-size: 1em; }
  .auth-alternative { margin: .15em 0 !important; }
  .auth-alternative, .auth-utilities { font-size: .82em; }
  .auth-alternative a, .auth-utilities a { min-height: 2.4em; }
  .auth-benefits { margin: 1.1em 0 .65em; gap: .32em; }
  .auth-benefits > * { min-height: 3.3em; padding: .35em .15em; gap: .32em; border-radius: .7em; font-size: max(.75rem,.66em); }
  .auth-preview { border-radius: 1.18em; padding: .8em .82em .72em; }
  .auth-preview h2 { font-size: 1.5em; }
  .auth-preview-badge { inset-inline-end: .9em; top: 1.15em; font-size: max(.74rem,.63em); }
  .auth-preview-help { font-size: max(.75rem,.68em); }
  .auth-example-query { min-height: 2.65em; border-radius: .6em; }
  .auth-count { font-size: max(.75rem,.68em); }
  .auth-brand-note { justify-content: flex-end; padding: .35em .48em 0; }
  .auth-brand-note p { display: none; }
  .auth-brand-note img { width: 4.6em; max-height: 4em; margin: 0; }
  .auth-footer { align-items: baseline; min-height: 4.75rem; padding-inline: clamp(1rem,4.3vw,1.4rem); font-size: clamp(.74rem,2.55vw,.8rem); }
}
@media (max-width: 24rem) {
  .auth-footer { flex-wrap: wrap; gap: .4rem 1rem; }
  .auth-main { width: calc(100% - 1.5rem); }
  .auth-count { white-space: normal; }
}
@media (forced-colors: active) {
  .auth-switch, .auth-card, .auth-preview, .auth-submit, .auth-provider, .auth-benefits > *, .auth-example-signal { border-color: CanvasText; }
}

.auth-reader [hidden] { display: none !important; }
.auth-skip { position: fixed; z-index: 10; top: .45rem; inset-inline-start: .45rem; padding: .65rem 1rem; border-radius: .5rem; background: var(--auth-panel); transform: translateY(-180%); }
.auth-skip:focus { transform: none; }
.auth-brand { gap: 0; font-size: clamp(1.22rem, 1.6vw, 1.55rem); letter-spacing: -.025em; }
.auth-brand img { width: 1.15em; height: 1.38em; margin-inline-end: .36em; }
.auth-brand strong { font-weight: 810; }
.auth-brand > span { font-weight: 425; color: var(--auth-muted); }
.auth-footer > p { margin: 0; }
.auth-footer nav > a { min-height: 1.55rem; }
.auth-footer nav > a + a::before { content: "·"; color: var(--auth-muted); margin-inline-end: .35em; }
.auth-footer details { position: relative; }
.auth-footer nav { column-gap: .75rem; align-items: baseline; }
.auth-utilities summary, .auth-footer summary { min-height: 1.6rem; display: inline-flex; gap: .3em; align-items: center; cursor: pointer; color: var(--auth-accent); font-weight: 690; list-style: none; }
.auth-utilities summary::-webkit-details-marker, .auth-footer summary::-webkit-details-marker { display: none; }
.auth-footer summary, .auth-footer nav > a { display: inline-flex; align-items: center; }
.auth-utilities summary:hover, .auth-footer summary:hover { text-decoration: underline; }
.auth-terms[open] { flex-basis: 100%; }
.auth-terms[open] > div { padding-block: .4rem; font-size: .92rem; font-weight: 420; line-height: 1.55; }
.auth-terms p + p { margin-top: .55em; }
.auth-footer details > :not(summary) {
  position: absolute;
  z-index: 4;
  inset-block-end: calc(100% + .6rem);
  inset-inline-end: 0;
  width: min(20rem, 83vw);
  max-height: 58vh;
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--auth-line);
  border-radius: .75rem;
  background: var(--auth-panel);
  box-shadow: var(--auth-shadow);
  font-size: .9rem;
  font-weight: 450;
  line-height: 1.55;
}
.auth-footer details p { margin: .35rem 0; }
.auth-footer details :where(select,input) { max-width: 100%; min-height: 2.65rem; }
.auth-footer details img { display: block; width: 4rem; height: auto; margin-inline-start: auto; }
.auth-form-help, [data-account-notice]:not(:empty) { margin-block: .32rem .45rem !important; color: var(--auth-muted); }
.auth-form-help { font-size: .75rem; line-height: 1.22; }
.auth-form-help small { font-size: inherit; }
[data-account-notice]:not(:empty) { border-inline-start: 3px solid var(--auth-accent); padding: .45rem .6rem; font-size: .94rem; font-weight: 600; background: #fff5e8; }
.auth-provider-google { color: #245caa; font-weight: 800; }
.auth-preview label { display: block; font-size: .87em; font-weight: 730; }
.auth-example-query input { border: 0; outline-offset: 2px; border-radius: .25rem; width: 100%; min-width: 0; background: transparent; color: var(--auth-ink); padding: .12rem; font-size: max(16px,1em); font-weight: 680; }
.auth-example-query > span, .auth-benefits li:last-child > span { display: inline-block; transform: rotate(-45deg); color: var(--auth-accent); }
.auth-example-signal > div { flex: 1 1 11rem; min-width: 0; }
.auth-example-signal .auth-eyebrow { padding-inline-end: 0; font-size: .7rem; margin-bottom: .05rem; }
.auth-example-signal strong { display: block; }
.auth-example-signal strong + p { margin-top: .1em; color: var(--auth-muted); font-size: .75rem; }
.auth-follow-chip { min-height: 1.85rem; }
.auth-follow-chip[aria-pressed=false] { background: var(--auth-panel); color: var(--auth-ink); border-color: var(--auth-control-line); }
@media (max-width: 58rem) {
  .auth-brand { font-size: clamp(1.18rem,4.72vw,1.52rem); }
  .auth-brand-note > div { display: none; }
  .auth-footer { flex-wrap: wrap; }
  .auth-footer details { position: static; }
  .auth-footer { position: relative; }
  .auth-footer details > :not(summary) { inset-inline: 4.2%; width: auto; inset-block-end: calc(100% + .38rem); }
  .auth-utilities summary { min-height: 2.4em; }
  .auth-example-signal { min-height: 4.1em; }
  .auth-follow-chip { min-height: 2rem; }
}

/* Draw the account-switch arrow and provider star with their real shapes in every script/font. */
.auth-switch > span { position: relative; display: inline-block; width: .62rem; height: .62rem; font-size: 0; }
.auth-switch > span::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 68%; height: 68%; border-top: 1.6px solid currentColor; border-inline-end: 1.6px solid currentColor; }
.auth-switch > span::after { content: ""; position: absolute; top: 44%; left: -3%; width: 115%; height: 1.6px; background: currentColor; transform: rotate(-45deg); }
.auth-provider-mark:not(.auth-provider-google) { font-size: 0; width: .88rem; height: .88rem; flex: none; background: linear-gradient(0deg, transparent 46%, currentColor 47% 54%, transparent 55%), linear-gradient(45deg, transparent 48%, currentColor 49% 53%, transparent 54%), linear-gradient(90deg, transparent 46%, currentColor 47% 54%, transparent 55%), linear-gradient(-45deg, transparent 48%, currentColor 49% 53%, transparent 54%); }
@media (min-width: 58.001rem) {
  .auth-intro h1 { position: relative; top: -.24rem; }
  .auth-signup .auth-card { padding-bottom: .88rem; }
  .auth-intro > p:last-child { margin-top: .29rem; }
  .auth-signup .auth-intro > p:last-child { margin-top: 1.8rem; }
  .auth-preview { padding-bottom: .87rem; }
  .auth-preview-head { margin-bottom: .12rem; }
  .auth-example-signal { margin-block: .44rem .32rem; min-height: 3.95rem; }
  .auth-brand-note { padding-top: .6rem; }
}
@media (max-width: 58rem) {
  .auth-signup .auth-intro { container-type: inline-size; }
  .auth-signup .auth-intro > p:last-child { margin-bottom: 1.48em; }
  .auth-signup .auth-card { padding-bottom: .92em; }
  .auth-signup .auth-intro h1 { max-width: none; font-size: clamp(2rem, 10.2cqi, 3.05rem); }
  .auth-example-signal strong { font-size: max(.875rem, .8em); }
  .auth-example-signal > div { flex-basis: 9.5em; }
  .auth-example-signal strong + p { font-size: max(.75rem,.61em); }
  .auth-footer { align-content: flex-start; min-height: 5rem; padding-block: .85rem; row-gap: .3rem; }
  .auth-login .auth-footer { min-height: clamp(4.8rem,26vw,8.125rem); }
}
@media (max-width: 58rem) {
  .auth-header { flex-wrap: wrap; gap: .4rem .7rem; }
  .auth-brand { flex-wrap: wrap; max-width: 100%; min-width: 0; }
  .auth-brand strong { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
  .auth-switch { max-width: 100%; margin-inline-start: auto; }
}
.auth-example-query > span, .auth-benefits [data-auth-keyword-preview] > span {
  position: relative; display: inline-block; flex: none;
  width: .75em; height: .75em; margin-inline-end: .18em;
  border: 1.5px solid currentColor; border-radius: 50%; font-size: 1em;
  line-height: 0; transform: none; color: transparent;
}
.auth-example-query > span { border-color: var(--auth-accent); }
.auth-benefits [data-auth-keyword-preview] > span { border-color: var(--auth-accent); }
.auth-example-query > span::after, .auth-benefits [data-auth-keyword-preview] > span::after {
  content: ""; position: absolute; top: 83%; left: 78%;
  width: .4em; height: 1.5px; background: var(--auth-accent);
  transform-origin: left center; transform: rotate(45deg);
}
@media (min-width: 25rem) and (max-width: 30rem) {
  .auth-example-signal { padding-inline: .5rem; column-gap: .25rem; }
  .auth-example-signal strong { font-size: max(.8125rem,.78em); }
}
