@charset "UTF-8";
/* ── Fonts ─────────────────────────────────────────── */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype"); }
@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/DMSerifDisplay-Italic.ttf") format("truetype"); }
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Figtree-Regular.ttf") format("truetype"); }
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Figtree-Medium.ttf") format("truetype"); }
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Figtree-SemiBold.ttf") format("truetype"); }
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Figtree-Bold.ttf") format("truetype"); }
/* ── Design tokens ───────────────────────────────
   Black & white — stark, minimal, no shades of gray.
   ─────────────────────────────────────────────────*/
:root {
  --ink: #0a0a0a;
  --ink-soft: #555;
  --ink-faint: #999;
  --paper: #ffffff;
  --paper-card: #f5f5f5;
  --border: #ddd;
  --accent: #0a0a0a;
  --accent-bg: #eee;
  --green-bg: #e6f0e6;
  --green-text: #2d6a4f;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;
  --content-w: 800px;
  --wide-w: 800px; }

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased; }

/* ── Layout ────────────────────────────────────── */
.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--space-sm); }

/* ── Site header ───────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border); }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm); }

.site-title {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: normal;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em; }
  .site-title:hover {
    opacity: 0.7; }

/* ── Site nav ──────────────────────────────────── */
.site-nav {
  display: flex;
  gap: var(--space-sm); }

.site-nav-link {
  font-size: 0.875rem;
  color: var(--ink-faint);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s; }
  .site-nav-link:hover {
    color: var(--ink); }
  .site-nav-link.active {
    color: var(--ink); }

/* ── Mobile sidebar for public pages ──────────── */
.site-menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--ink);
  line-height: 1; }

@media (min-width: 768px) {
  .site-menu-toggle {
    display: none; } }
@media (max-width: 767px) {
  .site-nav {
    display: none; } }
/* ── Site footer ──────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: var(--space-2xl);
  padding: var(--space-md) 0; }

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm); }

.site-footer-copy {
  font-size: 0.8125rem;
  color: var(--ink-faint); }

.site-footer-nav {
  display: flex;
  gap: var(--space-md); }
  .site-footer-nav a {
    font-size: 0.8125rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s; }
    .site-footer-nav a:hover {
      color: var(--ink); }

.site-sidebar {
  display: none; }

/* Public-page backdrop — same class the admin layout uses, but app.css
   never loads _admin.scss, so the rule lives here. */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150; }
  .sidebar-backdrop.show {
    display: block; }

@media (max-width: 767px) {
  .site-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    background: var(--ink);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 200; }
    .site-sidebar.open {
      transform: translateX(0); }
    .site-sidebar .sidebar-brand {
      padding: var(--space-md);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
      .site-sidebar .sidebar-brand a {
        font-family: var(--display);
        font-size: 1rem;
        color: #fff;
        text-decoration: none;
        letter-spacing: 0.04em;
        text-transform: lowercase; }
    .site-sidebar .sidebar-nav {
      flex: 1;
      padding: 1.5rem 0 0.375rem;
      display: flex;
      flex-direction: column; }
    .site-sidebar .sidebar-link {
      display: block;
      padding: 0.4375rem var(--space-md);
      color: rgba(255, 255, 255, 0.55);
      text-decoration: none;
      font-size: 0.8125rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      border-left: 3px solid transparent;
      transition: color 0.15s, background 0.15s, border-color 0.15s;
      line-height: 1.35; }
      .site-sidebar .sidebar-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.03); }
      .site-sidebar .sidebar-link.active {
        color: #fff;
        border-left-color: #fff;
        background: rgba(255, 255, 255, 0.05); }

  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem; }

  .site-footer-nav {
    gap: var(--space-sm); } }
/* ── Hero / intro ──────────────────────────────── */
.hero {
  padding: var(--space-2xl) 0 var(--space-lg);
  text-align: center; }
  .hero h1 {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm); }
  .hero p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 1rem auto; }
  .hero a {
    text-decoration: none; }
  .hero .hero-body .attachment--preview {
    margin: 0 auto var(--space-md); }
    .hero .hero-body .attachment--preview img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover; }

/* ── Section heading ───────────────────────────── */
.section-heading {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em; }

.section-cta {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg); }

/* ── Post list (homepage) ──────────────────────── */
.post-list {
  display: flex;
  flex-direction: column; }

.post-preview {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-sm); }
  .post-preview:first-child {
    padding-top: 0; }
  .post-preview:last-child {
    border-bottom: none; }

.post-link {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s; }
  .post-link:hover {
    color: var(--accent); }

.post-date {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  white-space: nowrap; }

/* ── Single post ───────────────────────────────── */
.post {
  padding: var(--space-2xl) 0 var(--space-xl); }

.post-header {
  margin-bottom: var(--space-lg);
  text-align: center; }
  .post-header .post-title {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm); }
  .post-header .post-date {
    font-size: 0.8125rem; }

/* ── Reply via email ──────────────────────────── */
.post-reply {
  margin-top: var(--space-md);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft); }
  .post-reply a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px; }
    .post-reply a:hover {
      color: var(--ink-soft); }

/* ── Prev / next navigation ───────────────────── */
.post-nav {
  display: flex;
  gap: var(--space-sm);
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
  margin-top: var(--space-md); }

.post-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: var(--space-sm);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s; }
  .post-nav-item:hover, .post-nav-item:focus-visible {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink); }
    .post-nav-item:hover .post-nav-title, .post-nav-item:focus-visible .post-nav-title {
      text-decoration: underline;
      text-decoration-color: #fff;
      text-underline-offset: 3px; }
    .post-nav-item:hover .post-nav-arrow, .post-nav-item:focus-visible .post-nav-arrow {
      transform: translateX(-4px); }
  .post-nav-item:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px; }

.post-nav-next {
  text-align: right; }
  .post-nav-next .post-nav-label {
    justify-content: flex-end; }
  .post-nav-next .post-nav-arrow {
    transform: none; }
  .post-nav-next:hover .post-nav-arrow, .post-nav-next:focus-visible .post-nav-arrow {
    transform: translateX(4px); }

.post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.2s; }
  .post-nav-item:hover .post-nav-label, .post-nav-item:focus-visible .post-nav-label {
    color: #fff; }

.post-nav-arrow {
  display: inline-block;
  transition: transform 0.2s; }

.post-nav-title {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-decoration: none; }

@media (max-width: 640px) {
  .post-nav {
    flex-direction: column; } }
@media (prefers-reduced-motion: reduce) {
  .post-nav-arrow {
    transition: none; } }
/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1.4; }
  .btn:hover {
    background: var(--accent); }

.btn-link {
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-family: var(--sans);
  padding: 0;
  transition: color 0.2s; }
  .btn-link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px; }

/* Secondary action — hairline outline, inverts to solid on hover */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4; }
  .btn-outline:hover {
    background: var(--ink);
    color: #fff; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  line-height: 1;
  text-decoration: none !important; }

@keyframes flash-in {
  from {
    transform: scale(0.6);
    opacity: 0; }
  to {
    transform: scale(1);
    opacity: 1; } }
@keyframes flash-out {
  from {
    transform: scale(1);
    opacity: 1; }
  to {
    transform: scale(0.6);
    opacity: 0; } }
.flash-notice,
.flash-error {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  max-width: 380px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: flash-in 0.35s ease-out; }
  .flash-notice.fade-out,
  .flash-error.fade-out {
    animation: flash-out 0.3s ease-in forwards; }

.flash-notice {
  background: var(--green-bg);
  border: 1px solid var(--green-text);
  color: var(--green-text); }

.flash-error {
  background: #fdecea;
  border: 1px solid #d32f2f;
  color: #d32f2f; }

/* ── Form group (shared) ───────────────────────── */
.form-group {
  margin-bottom: var(--space-sm); }
  .form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--ink); }
  .form-group input[type="text"],
  .form-group input[type="date"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--sans);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s; }
    .form-group input[type="text"]:focus,
    .form-group input[type="date"]:focus,
    .form-group input[type="email"]:focus,
    .form-group input[type="tel"]:focus,
    .form-group select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-bg); }

/* ── Form actions & layout ─────────────────────── */
.form-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-lg); }

.form-actions--tight {
  margin-top: var(--space-sm); }

.settings-hint {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: var(--space-xs); }

.test-email-status {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--ink-faint); }
  .test-email-status:empty {
    display: none; }
  .test-email-status--ok {
    color: var(--green-text); }
  .test-email-status--err {
    color: #d32f2f; }

.form-row {
  display: flex;
  gap: var(--space-md);
  align-items: flex-end; }
  .form-row .form-group {
    flex: 1; }

/* ── Checkbox ──────────────────────────────────── */
.checkbox-group {
  margin-bottom: 0.5rem; }

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.375rem;
  font-weight: 400 !important;
  font-size: 0.875rem;
  cursor: pointer; }
  .checkbox-label input[type="checkbox"] {
    margin-top: 0.375rem;
    flex-shrink: 0; }

.required {
  color: #d32f2f; }

/* ── Product grid (public) ────────────────────── */
.product-grid {
  display: flex;
  flex-direction: column; }

.product-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s; }
  .product-card:hover {
    opacity: 0.7; }
  .product-card + .product-card {
    border-top: 1px solid var(--border); }
  .product-card:first-child {
    padding-top: 0; }

.product-card-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0; }

.product-card-body {
  flex: 1;
  min-width: 0; }

.products h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm); }

.products--upsell {
  margin-top: var(--space-md); }

.product-card-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  color: var(--ink); }

.product-card-price {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-card);
  padding: 0.125rem 0.5rem;
  border-radius: 3px; }

/* ── Product detail (public) ───────────────────── */
.product-detail {
  padding: var(--space-xl) 0 var(--space-xl); }

.product-detail-right {
  padding-top: 0; }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  align-items: start; }

.product-featured-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: var(--space-md); }

.product-short-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  line-height: 1.6; }

.product-detail-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm); }

.product-detail-right .product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm); }

.product-description {
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border); }

@media (min-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 2fr 3fr;
    gap: var(--space-lg); }

  .product-detail-right {
    padding-top: var(--space-lg); }

  .product-detail-title {
    font-size: 2rem; }

  .product-description {
    margin-top: var(--space-lg); } }
/* ── Product CTA ───────────────────────────────── */
.product-cta {
  margin-top: 2rem;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--accent);
  border-radius: 8px; }
  .product-cta .btn {
    background: #fff;
    color: var(--accent); }
    .product-cta .btn:hover {
      background: var(--accent);
      color: #fff;
      outline: 1px solid #fff; }

/* ── Product actions (show page) ──────────────── */
.product-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm); }

.added-text {
  font-size: 0.875rem;
  color: var(--ink-faint); }

/* ── Cart page ──────────────────────────────────── */
.cart-page {
  padding: var(--space-lg) 0; }
  .cart-page h1 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-md); }
  .cart-page .empty-state {
    padding: var(--space-md) 0 var(--space-sm); }

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border); }

.cart-item-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0; }

.cart-item-body {
  flex: 1;
  min-width: 0; }

.cart-item-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400; }

.cart-item-price {
  font-size: 0.8125rem;
  color: var(--ink-soft); }

.cart-total {
  text-align: right;
  padding: var(--space-sm) 0;
  font-size: 1.125rem; }

/* ── Checkout page ──────────────────────────────── */
.cart-checkout {
  padding: var(--space-xl) 0; }
  .cart-checkout h1 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-md); }
  .cart-checkout .purchase-form {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem; }

.checkout-layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start; }
  @media (min-width: 768px) {
    .checkout-layout {
      grid-template-columns: 1fr 1fr; } }

.checkout-product {
  display: flex;
  align-items: center;
  gap: var(--space-sm); }
  @media (min-width: 768px) {
    .checkout-product {
      display: block; } }

.checkout-product-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0; }
  @media (min-width: 768px) {
    .checkout-product-img {
      width: 100%;
      height: auto;
      margin-bottom: var(--space-sm); } }

.checkout-product-body {
  flex: 1;
  min-width: 0; }

.checkout-product-name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400; }
  @media (min-width: 768px) {
    .checkout-product-name {
      font-family: var(--display);
      font-size: 1.25rem;
      font-weight: 400;
      margin-bottom: 0.25rem; } }

.checkout-product-price {
  font-size: 0.8125rem;
  color: var(--ink-soft); }
  @media (min-width: 768px) {
    .checkout-product-price {
      font-size: 1rem; } }

.checkout-summary h2 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 400; }

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem; }

.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0 0;
  margin-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 1rem; }

/* ── Order page (public) ────────────────────────── */
.order-page {
  padding: var(--space-xl) 0;
  max-width: 600px;
  margin: 0 auto; }

.order-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-md);
  margin-bottom: var(--space-md); }
  .order-card h1 {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border); }

.order-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; }

.order-item {
  display: flex;
  align-items: center;
  gap: 0.75rem; }

.order-item-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0; }

.order-item-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  gap: var(--space-sm); }

.order-item-name {
  font-size: 0.9375rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.order-item-price {
  font-size: 0.875rem;
  color: var(--ink-soft);
  white-space: nowrap; }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: 1rem; }

.order-email {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--ink-faint); }

.order-paid {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--green-bg);
  border-radius: 8px; }
  .order-paid svg {
    color: var(--green-text);
    margin-bottom: var(--space-sm); }
  .order-paid p {
    color: var(--green-text);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm); }

.order-instructions {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-md);
  margin-bottom: var(--space-md); }
  .order-instructions h2 {
    font-family: var(--display);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-sm); }

.order-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6; }

/* ── Purchase form ─────────────────────────────── */
.purchase-form-section {
  margin-top: var(--space-lg); }

.purchase-form-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem; }

.purchase-form-section h2 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1rem; }

.purchase-form .form-group {
  margin-bottom: 0.75rem; }
.purchase-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem; }
.purchase-form input[type="text"],
.purchase-form input[type="email"],
.purchase-form input[type="tel"] {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: var(--sans);
  transition: border-color 0.2s; }
  .purchase-form input[type="text"]:focus,
  .purchase-form input[type="email"]:focus,
  .purchase-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent); }
.purchase-form .form-actions {
  margin-top: 1.5rem; }

/* ── Purchase detail / payment page ──────────────── */
.purchase-detail {
  padding: var(--space-xl) 0;
  max-width: 600px; }
  .purchase-detail h1 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-md); }
  .purchase-detail p {
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem; }

.purchase-paid {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--green-bg);
  border-radius: 6px; }
  .purchase-paid p {
    color: var(--green-text);
    margin-bottom: var(--space-sm);
    font-size: 1rem; }

.payment-instructions {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--paper-card);
  border-radius: 6px; }
  .payment-instructions h2 {
    font-family: var(--display);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-sm); }

.payment-note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--ink-soft); }

/* ── Empty State ───────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--space-sm) 0;
  color: var(--ink-faint);
  font-style: italic;
  font-size: 0.9em; }

/* ── Search Box ───────────────────────────────── */
.search-box {
  margin-bottom: var(--space-lg); }

.search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--sans);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; }
  .search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg); }

.search-results {
  margin-top: var(--space-md); }

/* ── Thank you page ──────────────────────────────── */
.thank-you {
  padding: var(--space-2xl) 0;
  text-align: center;
  max-width: 480px;
  margin: 0 auto; }
  .thank-you h1 {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: var(--space-md); }
  .thank-you p {
    font-size: 1rem;
    color: var(--ink-soft);
    margin-bottom: var(--space-sm); }
  .thank-you .btn {
    margin-top: var(--space-md); }

/* ── Lexxy content links (match 404 link style) ──── */
.lexxy-content p:has(a) a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s; }
  .lexxy-content p:has(a) a:not(.btn):hover, .lexxy-content p:has(a) a:not(.btn):focus-visible {
    color: var(--ink-soft); }

/* ── Attachment preview ─────────────────────────── */
.attachment--preview figcaption {
  color: #6b7280;
  font-size: 0.875em;
  margin-top: 0.25em; }

/* ── First run setup ─────────────────────────────── */
.first-run {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-md) 0;
  animation: fr-rise 0.45s ease-out; }
  .first-run .fr-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft); }
    .first-run .fr-eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green-text); }
  .first-run .fr-heading {
    margin-top: var(--space-xs);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3; }
  .first-run .fr-lede {
    margin: var(--space-xs) auto 0;
    max-width: 34rem;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.875rem; }
  .first-run .fr-card {
    margin: var(--space-md) auto 0;
    padding: var(--space-md) var(--space-md);
    max-width: 500px;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px; }
    .first-run .fr-card .fr-hint {
      margin-top: 0.25rem;
      font-size: 0.75rem;
      color: var(--ink-faint); }
    .first-run .fr-card input[type="text"],
    .first-run .fr-card input[type="email"],
    .first-run .fr-card input[type="password"] {
      width: 100%;
      padding: 0.6rem 0.75rem;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 0.9375rem;
      font-family: var(--sans);
      background: #fff;
      transition: border-color 0.2s, box-shadow 0.2s; }
      .first-run .fr-card input[type="text"]:focus,
      .first-run .fr-card input[type="email"]:focus,
      .first-run .fr-card input[type="password"]:focus {
        outline: none;
        border-color: var(--ink);
        box-shadow: 0 0 0 1px var(--ink); }
  .first-run .fr-submit {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: var(--space-xs);
    padding: 0.6rem 1.25rem;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 6px;
    font: 500 0.875rem var(--sans);
    cursor: pointer;
    transition: background 0.2s, color 0.2s; }
    .first-run .fr-submit:hover {
      background: #fff;
      color: var(--ink); }
    .first-run .fr-submit:focus-visible {
      outline: 2px solid var(--ink);
      outline-offset: 2px; }
  .first-run .fr-actions {
    margin-top: var(--space-md);
    text-align: center; }
    .first-run .fr-actions .btn {
      padding: 0.6rem 1.5rem; }
  .first-run .fr-note {
    margin-top: var(--space-sm);
    text-align: center;
    font-size: 0.75rem;
    color: var(--ink-faint); }

@keyframes fr-rise {
  from {
    opacity: 0;
    transform: translateY(12px); }
  to {
    opacity: 1;
    transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .first-run {
    animation: none; } }
/* ── 404 ───────────────────────────────────────── */
/* Signature: giant italic serif "404" crossed out
   by a diagonal hairline — the page literally gone. */
.not-found {
  padding: var(--space-xl) 0 var(--space-2xl);
  text-align: center;
  animation: not-found-rise 0.5s ease-out both; }
  .not-found .not-found-code {
    position: relative;
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(5rem, 18vw, 9rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
    margin-bottom: var(--space-md); }
    .not-found .not-found-code::after {
      content: "";
      position: absolute;
      left: 2%;
      right: 2%;
      top: 52%;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      transform: rotate(-7deg); }
  .not-found .not-found-message {
    font-size: 1.125rem;
    color: var(--ink);
    margin-bottom: var(--space-xs); }
  .not-found .not-found-maybe {
    font-size: 1rem;
    color: var(--ink-faint);
    margin-bottom: var(--space-lg); }
  .not-found .not-found-link {
    font-size: 1rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s; }
    .not-found .not-found-link:hover, .not-found .not-found-link:focus-visible {
      color: var(--ink-soft); }

@keyframes not-found-rise {
  from {
    opacity: 0;
    transform: translateY(8px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .not-found {
    animation: none; } }

/*# sourceMappingURL=app.css.map */
