@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --paper-deep: #eeebe0;
  --ink: #1f2923;
  --muted: #73776d;
  --green: #25483b;
  --green-dark: #19372d;
  --accent: #d8e56b;
  --line: #deded2;
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-header {
  min-height: 78px;
  padding: 0 clamp(22px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.brand-mark, .cart-product-mark, .order-product-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--green);
}
.brand-mark { width: 27px; height: 27px; border-radius: 50%; }
.brand-mark span, .cart-product-mark span, .order-product-mark span {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: relative;
}
.brand-mark span::after, .cart-product-mark span::after, .order-product-mark span::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  top: 2.5px;
  left: 2.5px;
  border-radius: 50%;
  background: var(--accent);
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.nav-link, .back-link { font-size: 12px; color: var(--muted); transition: color .2s ease; }
.nav-link:hover, .back-link:hover { color: var(--green); }
.cart-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.cart-count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.content-width { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.hero {
  min-height: 600px;
  padding-block: clamp(56px, 8vw, 104px) clamp(58px, 8vw, 96px);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(35px, 8vw, 110px);
}
.hero-copy { padding-block: 12px; }
.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa851; }
h1, h2, p { margin-top: 0; }
.hero h1 {
  margin: 25px 0 42px;
  font-family: var(--display);
  font-size: clamp(45px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.hero h1 em { color: var(--green); font-weight: 500; }
.product-intro { padding-left: 16px; border-left: 1px solid #b9c48a; }
.product-kicker {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .035em;
}
.product-intro h2 {
  margin: 0 0 11px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.description {
  max-width: 355px;
  margin: 0;
  color: #646960;
  font-size: 13px;
  line-height: 1.75;
}
.purchase-row {
  margin: 26px 0 0 16px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.price { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.045em; }
.button {
  min-height: 49px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #142c1d1a; }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a9b84f; outline-offset: 3px; }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-arrow { color: var(--accent); font-size: 17px; font-weight: 400; }
.micro-note {
  margin: 18px 0 0 16px;
  color: var(--muted);
  font-size: 10px;
}
.micro-note span { margin-right: 5px; color: #9aa851; }
.product-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e7e0d2;
  box-shadow: 0 21px 54px #302d1d12;
}
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 43px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f5edeb;
  color: #666a5e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}
.image-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 43px;
  height: 43px;
  display: grid;
  place-content: center;
  border: 1px solid #f7f5ed9c;
  border-radius: 50%;
  color: var(--green-dark);
  background: #f7f5edb8;
  font-family: var(--display);
  font-size: 11px;
  line-height: .9;
  text-align: center;
}
.cart-section {
  padding: 30px 34px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cart-heading .eyebrow { margin-bottom: 8px; }
.cart-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.04em;
}
.cart-title-dot { color: #9aa851; }
.cart-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-product-mark { width: 39px; height: 39px; border-radius: 50%; }
.cart-product-mark span { width: 15px; height: 15px; }
.cart-product-mark span::after { width: 4px; height: 4px; top: 4px; left: 4px; }
.cart-product-name { margin: 0 0 4px; font-size: 12px; font-weight: 700; }
.cart-product-meta { margin: 0; color: var(--muted); font-size: 10px; }
.cart-total { display: flex; flex-direction: column; gap: 5px; }
.cart-total-label { color: var(--muted); font-size: 10px; }
.cart-total strong { font-size: 15px; }
.button-dark { min-width: 143px; color: white; background: #28322c; }
.button-dark:hover { background: #141e18; }
.closing-note {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.closing-mark { color: #a1ae51; font-size: 20px; }
.closing-note p { margin: 0; font-family: var(--display); font-size: 17px; font-style: italic; }
.closing-index { margin-left: auto; color: #8a8b80; font-size: 9px; letter-spacing: .1em; }
.site-footer {
  min-height: 54px;
  padding: 0 clamp(22px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* Checkout */
.checkout-layout {
  min-height: calc(100vh - 133px);
  padding-block: clamp(55px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  align-items: start;
  gap: clamp(42px, 10vw, 140px);
}
.checkout-main h1 {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-size: clamp(45px, 6vw, 66px);
  font-weight: 500;
  letter-spacing: -.055em;
}
.checkout-lede { margin-bottom: 34px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.checkout-form { max-width: 520px; }
.form-field { margin-bottom: 19px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.form-field input, .form-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid #d9d9cd;
  border-radius: 2px;
  background: #fbfaf5;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 105px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a1a398; }
.form-field input:focus, .form-field textarea:focus { border-color: #728c5a; box-shadow: 0 0 0 3px #a9b84f24; outline: 0; }
.demo-disclaimer {
  margin: 4px 0 19px;
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.demo-disclaimer span { color: #85914b; }
.submit-button { min-width: 175px; }
.cash-app-option { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cash-app-heading { margin: 0 0 10px; font-size: 12px; font-weight: 700; }
.cash-app-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #263a2e; color: #fff; background: #263a2e; text-decoration: none; font-size: 11px; font-weight: 700; }
.cash-app-button:hover { background: #18291f; }
.cash-app-button[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }
.cash-app-disclaimer { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.order-card { margin-top: 52px; padding: 26px; border: 1px solid var(--line); background: #f1efe6; }
.order-card h2 { margin: 8px 0 26px; font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.035em; }
.order-product { padding: 17px 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-product-mark { width: 40px; height: 40px; border-radius: 50%; }
.order-product-mark span { width: 15px; height: 15px; }
.order-product-mark span::after { width: 4px; height: 4px; top: 4px; left: 4px; }
.order-product-info { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.order-product-info strong, .order-price { font-size: 11px; }
.order-product-info span { color: var(--muted); font-size: 10px; }
.order-total { padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; }
.order-total strong { font-size: 16px; }
.order-footnote { margin: 18px 0 0; color: var(--muted); font-size: 10px; }
.checkout-footer { min-height: 54px; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding-inline: 22px; }
  .content-width { width: min(100% - 40px, 560px); }
  .hero { min-height: auto; padding-block: 50px 55px; grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { margin-block: 22px 30px; font-size: clamp(47px, 11vw, 68px); }
  .hero-copy { padding-block: 0; }
  .product-visual { grid-row: 1; }
  .product-img { aspect-ratio: 1.08 / 1; }
  .image-caption { min-height: 39px; }
  .cart-section { padding: 25px 0; grid-template-columns: 1fr; gap: 20px; }
  .cart-content { flex-wrap: wrap; row-gap: 18px; }
  .cart-item { flex: 1 1 55%; }
  .cart-total { margin-left: 52px; }
  .button-dark { margin-left: auto; }
  .closing-note { min-height: 100px; gap: 10px; }
  .closing-note p { font-size: 14px; }
  .closing-index { display: none; }
  .site-footer { min-height: 62px; padding-inline: 20px; gap: 12px; font-size: 9px; }
  .checkout-layout { min-height: auto; padding-block: 52px 60px; grid-template-columns: 1fr; gap: 24px; }
  .checkout-main h1 { font-size: 52px; }
  .order-card { margin-top: 0; }
}

@media (max-width: 430px) {
  .site-nav { gap: 15px; }
  .nav-link { display: none; }
  .brand { font-size: 12px; }
  .purchase-row { gap: 14px; }
  .button { gap: 18px; }
  .cart-content { display: grid; grid-template-columns: 1fr auto; }
  .cart-item { grid-column: 1 / -1; }
  .cart-total { margin-left: 0; }
  .button-dark { min-width: 126px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* Stripe checkout and order history */
.demo-disclaimer { align-items: flex-start; }
.checkout-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 2px solid #a1ae51;
  background: #efefe2;
  color: #53594b;
  font-size: 11px;
  line-height: 1.65;
}
.checkout-message strong { color: var(--green-dark); letter-spacing: .04em; }
.checkout-message.is-error { border-color: #a84738; background: #f7e9e4; color: #87392e; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.orders-layout {
  min-height: calc(100vh - 133px);
  padding-block: clamp(55px, 8vw, 100px);
}
.orders-layout h1 {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: -.055em;
}
.orders-list { max-width: 760px; margin: 28px 0 20px; display: grid; gap: 12px; }
.order-history-card { padding: 19px 20px; border: 1px solid var(--line); background: #f1efe6; }
.order-history-header, .order-history-details { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.order-date { color: var(--muted); font-size: 10px; }
.order-status { font-size: 10px; font-weight: 700; text-align: right; }
.status-paid { color: #2e6845; }
.status-processing, .status-pending { color: #7b6a2c; }
.status-failed { color: #9c4135; }
.order-history-details { margin-top: 16px; font-size: 12px; }
.order-history-details strong { font-size: 14px; }
.empty-orders { color: var(--muted); font-size: 12px; }
.order-back-button { margin-top: 12px; }
@media (max-width: 760px) {
  .orders-layout { min-height: auto; padding-block: 52px 60px; }
  .order-history-card { padding: 16px; }
}
@media (max-width: 480px) {
  .order-history-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .order-status { text-align: left; }
}
