@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&display=swap");

:root {
  --blackberry-cream: #542344;
  --cool-steel: #7d98a1;
  --powder-blue: #a9b4c2;
  --platinum: #eef1ef;
  --dark-teal: #104547;
  --background: var(--platinum);
  --paper: #ffffff;
  --ink: var(--dark-teal);
  --muted: #4f6971;
  --line: rgba(169, 180, 194, 0.72);
  --accent: var(--blackberry-cream);
  --accent-strong: #3e1831;
  --accent-soft: rgba(125, 152, 161, 0.2);
  --secondary: var(--cool-steel);
  --shadow: 0 24px 80px rgba(16, 69, 71, 0.14);
  --font-sans: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at top left, rgba(84, 35, 68, 0.12), transparent 32rem),
    linear-gradient(115deg, rgba(169, 180, 194, 0.28), transparent 44rem),
    var(--background);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
footer {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 92px;
  padding: 0 max(28px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.brand,
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 62px;
  height: auto;
  display: block;
  color: var(--dark-teal);
}

.brand span {
  color: #111827;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
}

nav a,
footer a {
  position: relative;
  color: #111827;
  font-size: 16px;
  text-decoration: none;
}

nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 42px;
}

nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

nav a.is-active {
  color: var(--dark-teal);
  font-weight: 760;
}

nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--dark-teal);
  content: "";
}

.hero {
  width: 100%;
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.verse-stage {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 74px max(160px, calc((100vw - 1120px) / 2 + 90px)) 54px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.68)),
    repeating-linear-gradient(0deg, rgba(16, 69, 71, 0.025), rgba(16, 69, 71, 0.025) 1px, transparent 1px, transparent 5px),
    var(--background);
  box-shadow: none;
}

.verse-copy {
  width: min(100%, 1020px);
  margin: 0 auto;
  text-align: center;
}

.today-label {
  margin: 0 0 24px;
  color: var(--dark-teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.4vw, 74px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

cite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 14px;
  color: var(--dark-teal);
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#verse-reference {
  color: var(--dark-teal);
  font-size: 24px;
}

#verse-translation {
  color: var(--muted);
  font-size: 13px;
}

.chapter-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blackberry-cream);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.chapter-link:hover,
.chapter-link:focus-visible {
  text-decoration: underline;
}

.share-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 20px;
}

.share-main-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--dark-teal);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
}

.share-main-button svg {
  width: 18px;
  height: 18px;
}

.share-main-button:hover,
.share-main-button:focus-visible,
.share-links a:hover,
.share-links a:focus-visible,
.share-links button:hover,
.share-links button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.share-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.share-links a,
.share-links button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(169, 180, 194, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0 12px;
  text-decoration: none;
}

.share-links a[aria-disabled="true"],
.share-main-button:disabled,
.share-links button:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.share-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.verse-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 36px auto 8px;
  color: var(--dark-teal);
}

.verse-logo span {
  width: 58px;
  height: 2px;
  background: var(--cool-steel);
}

.verse-logo svg {
  width: 34px;
  height: 34px;
}

.refresh-control {
  position: absolute;
  top: 28px;
  right: max(34px, calc((100vw - 1120px) / 2));
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.refresh-button {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--dark-teal);
  cursor: pointer;
}

.refresh-button:hover,
.refresh-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.refresh-button svg {
  width: 28px;
  height: 28px;
}

.section-divider {
  width: 100%;
  padding: 80px 0;
}

.section-divider::before {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
}

.signup {
  width: min(100% - 40px, 900px);
  padding: 34px 0 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.signup h1,
.page-panel h1 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.signup h1 {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 1.18;
}

.signup p,
.page-panel p {
  color: var(--muted);
  font-size: 17px;
}

.signup p {
  margin: 0;
  font-size: 17px;
}

label {
  display: none;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.signup-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: min(100%, 720px);
  margin: 24px auto 0;
}

.signup-row > input,
.signup-row > .category-picker,
.signup-row > .primary-button {
  height: 58px;
}

.signup-row > input {
  border-right: 0;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 58px;
  padding: 0 15px;
}

input {
  border-radius: 8px 0 0 8px;
}

input[type="file"] {
  display: flex;
  align-items: center;
  height: 58px;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1;
}

input[type="file"]::file-selector-button {
  height: 36px;
  margin: 0 12px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(238, 241, 239, 0.72);
  color: var(--dark-teal);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

input[type="file"]::file-selector-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

select {
  border-radius: 8px;
}

textarea {
  min-height: 150px;
  resize: vertical;
  padding: 12px 15px;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
}

.primary-button {
  height: 58px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--dark-teal);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  padding: 0 22px;
  white-space: nowrap;
}

.signup-help {
  width: min(100%, 720px);
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

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

.category-picker {
  position: relative;
  min-width: 190px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.category-picker summary {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  color: var(--dark-teal);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  list-style: none;
}

.category-picker summary::-webkit-details-marker {
  display: none;
}

.category-picker summary::after {
  margin-left: 12px;
  color: var(--muted);
  content: "▾";
}

.category-options {
  position: absolute;
  right: 0;
  z-index: 10;
  width: min(340px, calc(100vw - 40px));
  max-height: 320px;
  overflow: auto;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: left;
}

.category-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
}

.category-option:hover {
  background: rgba(238, 241, 239, 0.76);
}

.category-option input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 4px;
}

.category-option strong,
.category-option small {
  display: block;
}

.category-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.secondary-button,
.danger-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--dark-teal);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  padding: 9px 14px;
  text-decoration: none;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--dark-teal);
}

.danger-button {
  border-color: rgba(84, 35, 68, 0.36);
  color: var(--blackberry-cream);
}

.danger-button:hover,
.danger-button:focus-visible {
  border-color: var(--blackberry-cream);
  background: rgba(84, 35, 68, 0.06);
}

.link-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.status-message {
  min-height: 28px;
  margin: 18px auto 0;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.signup-success {
  width: min(100%, 820px);
  min-height: 88px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(35, 163, 86, 0.38);
  border-radius: 8px;
  background: rgba(236, 253, 245, 0.92);
  color: #15803d;
  text-align: center;
}

.signup-success svg {
  width: 42px;
  height: 42px;
  color: #16a34a;
  justify-self: end;
}

.signup-success strong,
.signup-success span span {
  display: block;
}

.signup-success strong {
  color: #111827;
  font-size: 20px;
  font-weight: 800;
}

.signup-success span span {
  margin-top: 2px;
  color: #166534;
  font-size: 17px;
  font-weight: 600;
}

.trust-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 0;
  border-bottom: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  padding: 38px 0 56px;
}

.trust-band div {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 18px;
  align-items: start;
}

.trust-band svg {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  color: var(--dark-teal);
}

.trust-band h2,
.page-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer {
  min-height: 86px;
  color: var(--muted);
  font-size: 12px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

footer p {
  margin: 0;
}

.simple-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.page-panel {
  margin-top: 64px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.page-panel h2 {
  margin-top: 32px;
}

.unsubscribed-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.unsubscribed-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(0deg, rgba(16, 69, 71, 0.025), rgba(16, 69, 71, 0.025) 1px, transparent 1px, transparent 5px),
    var(--background);
  box-shadow: var(--shadow);
  text-align: center;
}

.unsubscribed-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--dark-teal);
}

.unsubscribed-icon svg {
  width: 38px;
  height: 38px;
}

.unsubscribed-panel h1 {
  margin: 0;
  color: #111827;
  font-family: var(--font-sans);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.unsubscribed-copy {
  width: min(100%, 620px);
  margin: 22px auto 32px;
  color: var(--muted);
  font-size: 20px;
}

.unsubscribed-panel .primary-button {
  border-radius: 8px;
}

.is-loading {
  opacity: 0.58;
}

.admin-login {
  width: min(520px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.admin-brand {
  justify-content: center;
}

.admin-login-panel {
  margin-top: 42px;
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-label {
  display: block;
}

.admin-login-form input {
  height: 52px;
  border-radius: 8px;
}

.admin-login-form .primary-button {
  border-radius: 8px;
}

.admin-header form {
  margin: 0;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.admin-top,
.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-top {
  margin-bottom: 26px;
}

.admin-top h1,
.admin-panel h2 {
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.admin-top h1 {
  color: #111827;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.admin-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-accordion {
  padding: 0;
}

.admin-accordion > summary {
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.admin-accordion > summary::-webkit-details-marker {
  display: none;
}

.admin-accordion > summary::after {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 22px;
  font-weight: 800;
  content: "+";
}

.admin-accordion[open] > summary::after {
  content: "−";
}

.admin-accordion > .book-list,
.admin-accordion > .category-manager,
.admin-accordion > .table-wrap {
  padding: 0 24px 24px;
}

.admin-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.subscriber-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toggle-row,
.status-toggle {
  display: inline-flex;
  align-items: center;
}

.toggle-row {
  gap: 10px;
  color: var(--dark-teal);
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.toggle-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 4px;
}

.status-toggle {
  --status-color: #16a34a;
  min-width: 150px;
  height: 48px;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 6px 16px;
  border: 1px solid rgba(22, 163, 74, 0.38);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.status-toggle input {
  order: 2;
  width: 46px;
  min-width: 46px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background: #22c55e;
  cursor: pointer;
  position: relative;
}

.status-toggle input::before {
  position: absolute;
  top: 4px;
  left: 22px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.22);
  content: "";
  transition: left 150ms ease;
}

.status-toggle.is-paused {
  border-color: rgba(220, 38, 38, 0.44);
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.status-toggle.is-paused input {
  background: #dc2626;
}

.status-toggle.is-paused input::before {
  left: 4px;
}

.book-section {
  margin-top: 24px;
}

.book-list {
  display: block;
}

.book-section h3 {
  margin: 0 0 12px;
  color: #111827;
  font-family: var(--font-sans);
  font-size: 24px;
  letter-spacing: 0;
}

.book-accordion-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.book-accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.book-accordion.is-disabled {
  opacity: 0.58;
}

.book-summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.book-summary input,
.chapter-mode input,
.chapter-option input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
}

.chapter-controls {
  padding: 0 14px 16px 44px;
}

.chapter-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.chapter-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 241, 239, 0.42);
  color: var(--dark-teal);
  font-size: 13px;
  font-weight: 800;
}

.category-manager {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  margin-top: 20px;
}

.category-manager .admin-label,
.category-manager input,
.category-manager textarea,
.category-manager .category-enabled,
.category-manager .category-actions {
  grid-column: 1 / -1;
}

.category-manager .secondary-button {
  height: 58px;
}

.category-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.category-actions .primary-button,
.category-actions .danger-button {
  width: auto;
  border-radius: 8px;
}

#download-category-csv[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: #111827;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.select-cell {
  width: 42px;
  text-align: center;
}

.admin-table input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 4px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.46);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  width: min(100%, 560px);
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  line-height: 1.15;
}

.modal-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.modal-panel ul {
  max-height: 240px;
  margin: 18px 0 0;
  padding: 14px 18px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 241, 239, 0.58);
}

.modal-panel li {
  margin: 6px 0;
  color: #111827;
  overflow-wrap: anywhere;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .site-header,
  footer,
  .hero {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    width: 100%;
    min-height: auto;
    padding: 16px 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand-mark {
    width: 52px;
    height: auto;
  }

  .brand span {
    font-size: 28px;
  }

  nav {
    width: 100%;
    min-height: 46px;
    gap: 24px;
    overflow-x: auto;
  }

  nav a {
    height: 46px;
    white-space: nowrap;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 0;
  }

  .verse-stage {
    min-height: 430px;
    padding: 88px 24px 44px;
  }

  blockquote {
    font-size: clamp(32px, 10vw, 48px);
  }

  .refresh-control {
    top: 18px;
    right: 18px;
    font-size: 12px;
  }

  .refresh-button {
    width: 50px;
    height: 50px;
  }

  .signup-row {
    flex-direction: column;
    gap: 10px;
  }

  input,
  .primary-button {
    border-radius: 8px;
  }

  .primary-button {
    width: 100%;
  }

  .signup-success {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .signup-success svg {
    width: 34px;
    height: 34px;
  }

  .trust-band {
    padding: 28px 20px;
  }

  .trust-band div {
    grid-template-columns: 48px 1fr;
  }

  .trust-band svg {
    width: 42px;
    height: 42px;
  }

  .page-panel {
    padding: 32px 24px;
  }

  .unsubscribed-page {
    width: min(100% - 28px, 680px);
    padding: 36px 0;
  }

  .unsubscribed-panel {
    min-height: auto;
    padding: 42px 24px;
  }

  .unsubscribed-panel h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .unsubscribed-copy {
    font-size: 18px;
  }

  .admin-top,
  .admin-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscriber-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .book-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}
