@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/site/assets/roboto-400.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/site/assets/roboto-500.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/site/assets/roboto-700.ttf") format("truetype");
}

:root {
  --site-sans-stack: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --book-background: rgb(253, 251, 249);
  --primary-red: rgb(240, 81, 56);
  --separator-gray: rgb(176, 176, 176);
  --text-black: rgb(17, 17, 17);
  --muted-text: rgba(17, 17, 17, 0.72);
  --panel-background: rgba(255, 255, 255, 0.78);
  --panel-background-strong: rgba(255, 255, 255, 0.92);
  --panel-border: rgba(17, 17, 17, 0.12);
  --panel-shadow: 0 22px 44px rgba(34, 22, 16, 0.06);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(240, 81, 56, 0.09), transparent 26rem),
    radial-gradient(circle at bottom right, rgba(240, 81, 56, 0.06), transparent 22rem),
    var(--book-background);
  color: var(--text-black);
  font-family: var(--site-sans-stack);
}

body[data-site-ready="false"] {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(var(--max-width), calc(100vw - 1.8rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

body.share-page .site-shell {
  padding-bottom: 4rem;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.2rem;
}

.site-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.35rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 14px;
}

.brandmark img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.brandmark-copy {
  display: grid;
  gap: 0.18rem;
}

.eyebrow {
  margin: 0;
  color: var(--primary-red);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-title,
.display-title,
.section-title,
.panel-title,
.policy-content h2,
.policy-content h3 {
  margin: 0;
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.02;
}

.brand-title {
  font-size: 2rem;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.top-links a {
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.policy-content .inline-link {
  color: var(--text-black);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.policy-content .inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.top-links a:hover,
.policy-content .inline-link:hover {
  color: var(--primary-red);
}

.divider {
  height: 1px;
  margin: 1.25rem 0;
  background: rgba(176, 176, 176, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.25rem;
  align-items: center;
  padding: 1.3rem 0 2rem;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.display-title {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  letter-spacing: -0.04em;
}

.accent {
  color: var(--primary-red);
}

.body-copy,
.section-copy,
.panel-copy,
.footer-copy,
.policy-content p,
.policy-content li {
  margin: 0;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
}

.app-store-link img {
  width: 186px;
  height: auto;
}

.note {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.manifesto-quote {
  position: relative;
  margin: 0;
  padding: 2.75rem 4.6rem 2.75rem 0;
  color: rgba(17, 17, 17, 0.76);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 16pt;
  line-height: 1.22;
  text-align: left;
  text-wrap: balance;
}

.manifesto-quote::before,
.manifesto-quote::after {
  position: absolute;
  top: 50%;
  color: rgba(240, 81, 56, 0.28);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(5rem, 11vw, 8.5rem);
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.manifesto-quote::before {
  content: none;
  left: 0.2rem;
}

.manifesto-quote::after {
  content: '"';
  right: 0.2rem;
}

.hero-visual,
.panel,
.gallery-card,
.feature-strip,
.cta-panel,
.form-panel,
.policy-panel,
.admin-panel,
.table-wrap,
.status-banner,
.empty-state {
  border: 1px solid var(--panel-border);
  background: var(--panel-background);
  box-shadow: var(--panel-shadow);
}

.hero-visual,
.cta-panel,
.panel,
.form-panel,
.policy-panel,
.admin-panel,
.empty-state {
  padding: 1.1rem;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-visual .gallery-button img,
.hero-visual .hero-photo {
  aspect-ratio: auto;
  object-fit: contain;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.tutorial-carousel {
  display: grid;
  gap: 1rem;
  outline: none;
}

.tutorial-slides {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--panel-border);
  background: var(--panel-background);
  box-shadow: var(--panel-shadow);
  padding: 1.1rem;
}

.tutorial-slide {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.tutorial-slide[hidden] {
  display: none;
}

.tutorial-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.tutorial-media .gallery-button,
.tutorial-video-frame,
.tutorial-sequence-player {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1170 / 2532;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-media .gallery-button img,
.tutorial-video-frame video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.tutorial-sequence-player {
  position: relative;
  overflow: hidden;
}

.tutorial-sequence-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid rgba(17, 17, 17, 0.08);
  opacity: 0;
  transition: opacity 260ms ease;
}

.tutorial-sequence-frame.is-active {
  opacity: 1;
}

.tutorial-copy {
  display: grid;
  gap: 0.85rem;
  align-content: center;
  min-width: 0;
}

.tutorial-controls {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.tutorial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.tutorial-dot {
  appearance: none;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
  cursor: pointer;
}

.tutorial-dot.is-active {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.tutorial-arrow {
  appearance: none;
  min-width: 56px;
  min-height: 48px;
  font-size: 1.35rem;
  line-height: 1;
}

.tutorial-arrow[disabled] {
  opacity: 0.38;
  cursor: default;
}

.feature-strip-item {
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(176, 176, 176, 0.56);
}

.feature-strip-item:last-child {
  border-right: 0;
}

.feature-strip-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.14rem;
}

.section {
  padding: 0.4rem 0 1rem;
}

.share-hero .panel {
  display: grid;
  gap: 1rem;
}

.share-hero .display-title {
  margin-bottom: 0.2rem;
}

.profile-name-link {
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.profile-name-link:hover {
  color: var(--primary-red);
}

.share-store-section {
  padding-top: 0.15rem;
}

.share-store-actions {
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--panel-border);
  background: var(--panel-background-strong);
  box-shadow: var(--panel-shadow);
}

.share-metadata-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1rem;
}

.share-stats-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.share-stats-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.share-stats-line::-webkit-scrollbar {
  display: none;
}

.share-stat-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 24px;
  flex: 0 0 auto;
  color: var(--text-black);
}

.share-stat-value {
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  font-size: 1.05rem;
  line-height: 1;
}

.share-details-toggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.share-details-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.share-details-chevron {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-0.01em);
}

.share-details-toggle[aria-expanded="true"] .share-details-chevron {
  transform: rotate(90deg) translateX(0.02em);
}

.share-details-toggle:hover {
  color: var(--primary-red);
}

.share-details-toggle:focus,
.share-details-toggle:focus-visible,
.share-details-toggle:active {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.share-details-toggle:focus,
.share-details-toggle:focus-visible,
.share-details-toggle:active {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.share-details-wrap[hidden] {
  display: none;
}

.share-metric-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.share-metric-row-badge {
  min-height: 32px;
}

.share-metric-icon {
  width: 24px;
  height: 24px;
  color: rgba(17, 17, 17, 0.72);
}

.share-metric-emoji {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 1.05rem;
  line-height: 1;
}

.share-metric-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-metric-icon-vegan {
  color: rgb(64, 143, 95);
}

.share-metric-icon-dairy {
  color: rgb(203, 104, 84);
}

.share-metric-icon-gluten {
  color: rgb(176, 146, 47);
}

.share-metric-copy {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  min-width: 0;
}

.share-metric-label {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-metric-value {
  min-width: 0;
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.08rem;
  line-height: 1.35;
  text-decoration: none;
}

.share-metric-value.is-link {
  color: var(--primary-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.share-metric-badge-text {
  min-width: 0;
  color: var(--text-black);
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.share-details-wrap {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.15rem;
}

.share-ingredients-panel {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.share-instructions-panel {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.share-alarms-panel {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.profile-recipes-panel {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.profile-stats-line {
  flex-wrap: wrap;
  overflow: visible;
}

.profile-stat-inline {
  display: grid;
  gap: 0.15rem;
  align-items: start;
}

.profile-recipe-list {
  display: grid;
  gap: 0.8rem;
}

.profile-recipe-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0;
  color: var(--text-black);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 176, 176, 0.56);
}

.profile-recipe-card:last-child {
  border-bottom: 0;
}

.profile-recipe-card:hover .profile-recipe-title {
  color: var(--primary-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.profile-recipe-title {
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 700;
  line-height: 1.08;
}

.profile-recipe-preview {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.98rem;
  line-height: 1.45;
}

.profile-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.share-page-body {
  min-height: 280px;
  padding: 0.4rem 0;
  width: min(100%, 640px);
  margin: 0 auto;
}

.share-section-title {
  text-align: left;
}

.share-multiplier-field {
  display: inline-grid;
  grid-template-columns: auto minmax(72px, 92px);
  align-items: center;
  gap: 0.6rem;
}

.share-time-field {
  display: inline-grid;
  grid-template-columns: auto minmax(84px, 96px);
  align-items: center;
  gap: 0.6rem;
}

.share-multiplier-label {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-time-label {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-multiplier-field input {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-black);
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  font-size: 1.08rem;
  text-align: right;
  outline: none;
  box-shadow: none;
}

.share-time-field input {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-black);
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  font-size: 1.08rem;
  text-align: center;
  outline: none;
  box-shadow: none;
}

.share-multiplier-field input:focus {
  border-color: var(--primary-red);
}

.share-time-field input:focus {
  border-color: var(--primary-red);
}

.share-ingredient-list {
  display: grid;
  gap: 0.9rem;
}

.share-instructions-content {
  display: grid;
  gap: 1rem;
}

.share-alarm-list {
  display: grid;
  gap: 0.4rem;
}

.share-alarm-row {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  gap: 0.95rem;
  align-items: baseline;
  min-height: 48px;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(176, 176, 176, 0.5);
}

.share-alarm-row:last-child {
  border-bottom: 0;
}

.share-alarm-time {
  color: var(--text-black);
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.share-alarm-name {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.55;
}

.share-instruction-heading {
  margin: 0;
  font-family: var(--site-sans-stack);
  color: var(--text-black);
}

.share-instruction-paragraph {
  margin: 0;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.7;
}

.share-instruction-segment {
  display: inline;
  white-space: normal;
}

.share-text-bold {
  font-weight: 700;
}

.share-text-italic {
  font-style: italic;
}

.share-text-underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.share-ingredient-row {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(176, 176, 176, 0.5);
}

.share-ingredient-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.share-ingredient-row strong {
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.share-ingredient-row span {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.62;
}

.share-ingredient-detail {
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
}

.share-numeric {
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Menlo", "Consolas", monospace;
}

.share-empty {
  padding-top: 0.4rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.03em;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 29%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  scroll-snap-align: start;
}

.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 1284 / 2778;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.cta-panel .display-title,
.panel-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
}

.support-panel {
  max-width: 720px;
}

.support-layout {
  align-items: start;
}

.support-layout .support-panel {
  max-width: none;
}

.support-beta-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.support-beta-panel .button-row {
  justify-content: flex-start;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field-help {
  color: var(--muted-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-black);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  gap: 0.75rem;
}

.checkbox-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.88);
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
  accent-color: var(--primary-red);
}

.checkbox-copy {
  display: grid;
  gap: 0.18rem;
}

.checkbox-copy strong {
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.checkbox-copy span {
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--panel-border);
  cursor: pointer;
}

.button,
.button-primary {
  background: var(--primary-red);
  color: #fff8f5;
  border-color: rgba(0, 0, 0, 0);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-black);
}

.status-banner {
  padding: 0.9rem 1rem;
  color: var(--text-black);
}

.status-banner.is-error {
  border-color: rgba(150, 30, 30, 0.22);
  background: rgba(255, 236, 236, 0.9);
}

.status-banner.is-success {
  border-color: rgba(39, 117, 74, 0.22);
  background: rgba(240, 252, 245, 0.92);
}

.policy-panel {
  padding: 1.4rem;
}

.policy-content {
  display: grid;
  gap: 1.1rem;
}

.policy-content h2 {
  margin-top: 0.4rem;
  font-size: 1.5rem;
}

.policy-content h3 {
  font-size: 1.18rem;
}

.policy-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.locale-dock {
  display: flex;
  justify-content: center;
}

.share-menu-dock {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 50;
}

.share-menu-toggle {
  display: inline-grid;
  justify-items: center;
  gap: 0.24rem;
  width: 56px;
  height: 48px;
  padding: 0.8rem 0.75rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--panel-shadow);
  cursor: pointer;
}

.share-menu-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-black);
}

.share-menu-panel {
  display: none;
  min-width: 220px;
  margin-top: 0.5rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--panel-shadow);
}

.share-menu-panel.is-open {
  display: grid;
}

.share-menu-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 46px;
  padding: 0.85rem 0.95rem;
  border: 0;
  border-bottom: 1px solid rgba(176, 176, 176, 0.44);
  background: transparent;
  color: var(--text-black);
  text-align: left;
  cursor: pointer;
}

.share-menu-option:last-child {
  border-bottom: 0;
}

.share-menu-option-toggle {
  justify-content: flex-start;
  cursor: pointer;
}

.share-menu-option-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-red);
}

.share-menu-option-toggle.is-disabled {
  opacity: 0.56;
  cursor: default;
}

.locale-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 64px;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--panel-shadow);
  color: var(--text-black);
  cursor: pointer;
}

.locale-panel {
  display: none;
  margin-top: 0.5rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--panel-shadow);
}

.locale-panel.is-open {
  display: grid;
}

.locale-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-bottom: 1px solid rgba(176, 176, 176, 0.44);
  background: transparent;
  color: var(--text-black);
  text-align: left;
  cursor: pointer;
}

.locale-option:last-child {
  border-bottom: 0;
}

.locale-option.is-active {
  background: rgba(240, 81, 56, 0.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.84);
  z-index: 60;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  position: relative;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  background: transparent;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 220, 220, 0.92);
  color: rgba(70, 70, 70, 0.95);
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.lightbox-nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

.lightbox-nav-prev {
  left: 1rem;
}

.lightbox-nav-next {
  right: 1rem;
}

.lightbox-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  justify-content: flex-end;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 220, 220, 0.92);
  color: rgba(70, 70, 70, 0.95);
  font-size: 1.7rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.lightbox img {
  max-height: calc(100vh - 2rem);
  margin: 0 auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.summary-card {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
}

.summary-card strong {
  display: block;
  font-family: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.8rem;
}

.table-wrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(176, 176, 176, 0.5);
  text-align: left;
  vertical-align: top;
}

.table th {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.table td {
  font-size: 0.95rem;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.pill.is-open {
  color: #8d2c17;
  background: rgba(240, 81, 56, 0.1);
}

.pill.is-closed {
  color: #275845;
  background: rgba(71, 143, 103, 0.12);
}

.pill.is-archived {
  color: #565656;
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
  .hero,
  .two-column,
  .admin-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .feature-strip-item:nth-child(2n) {
    border-right: 0;
  }

  .feature-strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(176, 176, 176, 0.56);
  }

  .gallery {
    grid-auto-columns: minmax(260px, 44%);
  }

  .tutorial-slide {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }

}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100vw - 1rem), 100%);
    padding-bottom: 5rem;
  }

  body.share-page .site-shell {
    padding-bottom: 5rem;
  }

  .site-topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-links {
    justify-content: flex-start;
  }

  .feature-strip,
  .summary-row {
    grid-template-columns: 1fr;
  }

  .feature-strip-item {
    border-right: 0;
    border-bottom: 1px solid rgba(176, 176, 176, 0.56);
  }

  .feature-strip-item:last-child {
    border-bottom: 0;
  }

  .gallery {
    grid-auto-columns: 84%;
  }

  .share-metadata-grid {
    grid-template-columns: 1fr;
  }

  .share-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .share-multiplier-field,
  .share-time-field {
    justify-self: start;
  }

  .share-metric-copy {
    grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  }

  .share-alarm-row {
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
    gap: 0.8rem;
  }

  .tutorial-slide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "media"
      "copy";
    align-items: start;
  }

  .tutorial-media {
    grid-area: media;
  }

  .tutorial-copy {
    display: contents;
  }

  .tutorial-copy .panel-title {
    grid-area: title;
    margin-bottom: 0.25rem;
  }

  .tutorial-copy .section-copy {
    grid-area: copy;
  }

  .tutorial-media .gallery-button,
  .tutorial-video-frame,
  .tutorial-sequence-player {
    max-width: 340px;
  }

  .tutorial-controls {
    gap: 0.75rem;
  }

  .share-ingredients-panel,
  .share-instructions-panel,
  .share-alarms-panel,
  .share-page-body {
    max-width: 100%;
    width: 100%;
  }

  .share-store-section {
    padding-top: 0;
  }

  .share-store-actions {
    padding: 0.55rem 0.75rem;
  }

  .share-store-actions .app-store-link img {
    width: 168px;
  }

  .brandmark img {
    width: 48px;
    height: 48px;
  }

  .manifesto-quote {
    padding: 2.4rem 3.2rem 2.4rem 0;
  }

  .manifesto-quote::before {
    left: -0.15rem;
  }

  .manifesto-quote::after {
    right: -0.15rem;
  }

  .share-menu-dock {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .lightbox-nav-prev {
    left: 0.5rem;
  }

  .lightbox-nav-next {
    right: 0.5rem;
  }
}
