@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #192b23;
  --muted: #4c6256;
  --line: #dce5dc;
  --green: #185440;
  --dark: #123d31;
  --lime: #d9f881;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #268768;
  outline-offset: 4px;
}
h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { font-weight: 700; font-size: 2rem; letter-spacing: -.1em; text-decoration: none; line-height: 1; }
.brand span { color: #258363; }
.brand-label { color: var(--muted); border-left: 1px solid #d7e2d8; padding-left: 20px; font-size: .875rem; }
nav { display: flex; margin-left: auto; gap: 5px; }
nav a { min-height: 44px; display: grid; place-items: center; padding: 6px 15px; border-radius: 9px; text-decoration: none; font-size: .9375rem; }
nav a:hover { background: #edf3eb; }
nav a[aria-current] { background: #e5efe4; color: #194e3c; font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); padding-top: 52px; gap: 35px; }
.hero-copy { padding: 4px 0 16px; align-self: center; }
.eyebrow { color: var(--green); letter-spacing: .055em; text-transform: uppercase; font-size: .875rem; font-weight: 700; }
.live-dot { background: #4e9271; display: inline-block; width: 7px; height: 7px; vertical-align: 2px; border-radius: 50%; margin-right: 7px; }
h1 { font-size: clamp(3.25rem, 6.5vw, 5.6rem); line-height: .99; font-weight: 700; letter-spacing: -.082em; margin: 16px 0 20px; }
.hero-copy > p:last-child, .catalog-heading p:last-child { max-width: 34ch; font-size: 1.125rem; color: var(--muted); line-height: 1.58; }

.hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 320px;
  align-items: end;
  border-radius: 24px;
  padding: 20px;
  color: #f6fff2;
  background: linear-gradient(152deg, #154b3a, #123f34 56%, #102c27);
}
.art-glow, .art-grid, .art-orbit, .art-mark { position: absolute; pointer-events: none; z-index: -1; }
.art-glow { inset: 0; background: radial-gradient(ellipse at 69% 19%, #84ae5c61, transparent 59%); }
.art-grid { inset: 0; background-image: linear-gradient(#d9f88119 1px, transparent 1px), linear-gradient(90deg, #d9f88119 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at 74% 35%, #000, transparent 77%); }
.art-orbit { width: 340px; height: 340px; border: 1px solid #d8f28458; border-radius: 50%; top: -58px; right: -14px; }
.orbit-two { transform: translate(-20px, 28px); }
.orbit-three { transform: translate(-40px, 56px); }
.art-mark {
  right: 16%;
  top: -37px;
  color: #e8f9cf;
  font-size: clamp(11rem, 23vw, 18rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.175em;
  transform: rotate(-11deg);
  text-shadow: 1px 4px 36px #0a2f22bb;
}
.art-mark span { color: var(--lime); }
.art-info {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #d1f4c448;
  border-radius: 15px;
  padding: 11px 14px;
  background: #133b31e8;
  font-weight: 700;
  line-height: 1.3;
}
.art-info div span { display: block; margin-top: 3px; font-weight: 400; font-size: .875rem; color: #d9e8da; }
.art-symbol, .assistant-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--lime);
  color: #1a4336;
  font-size: 1.3rem;
}

.workspace { margin: 26px 0 60px; }
.workspace.has-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 320px); gap: 21px; align-items: start; }
.conversation { min-width: 0; }
.composer {
  background: var(--white);
  border: 1px solid #cddcd0;
  border-radius: 18px;
  box-shadow: 0 10px 32px #22432b09;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 13px;
}
.composer:focus-within { border-color: #5f947c; }
.composer textarea { border: 0; background: transparent; resize: vertical; min-height: 56px; max-height: 180px; width: 100%; padding: 9px; line-height: 1.45; }
.composer textarea::placeholder { color: #576b60; opacity: 1; }
.composer textarea:focus { outline: none; }
.button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ebf3eb;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.button:hover { background: #e1eee1; }
.button.primary { background: var(--dark); color: #f8fff6; border-color: var(--dark); }
.button.primary:hover { background: var(--green); }
.send-icon { color: var(--lime); font-size: 1.05rem; }
.suggestions { margin-top: 23px; }
.suggestions h2 { font-size: 1rem; margin-bottom: 11px; }
.suggestion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.suggestion {
  min-height: 54px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fcfdfa;
  border-radius: 11px;
  font-size: .9375rem;
}
.suggestion:hover { background: #eaf2e8; }
.suggestion-icon { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 7px; background: #eaf2e6; font-size: 1.1rem; color: #265c45; }
.suggestion-note { margin-top: 11px; font-size: .875rem; color: var(--muted); }

.messages { display: grid; gap: 18px; margin-bottom: 20px; }
.turn { min-width: 0; }
.turn p { white-space: pre-wrap; overflow-wrap: anywhere; }
.turn.user { justify-self: end; max-width: min(80%, 650px); border-radius: 15px 15px 3px 15px; background: #e5efe2; padding: 13px 16px; }
.turn.assistant { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.assistant-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: .875rem; font-weight: 700; }
.assistant-mark { width: 28px; height: 28px; border-radius: 7px; font-size: .95rem; }
.pending { color: var(--muted); }
.notice { margin-top: 10px; font-size: .9375rem; }
.error { color: #8d2924; }
.order {
  position: sticky;
  top: 16px;
  padding: 17px;
  border-radius: 16px;
  border: 1px solid #d2e2d5;
  background: #edf4ec;
}
.order h2 { font-size: 1.16rem; }
.order-lines { padding: 0; margin: 10px 0; list-style: none; }
.order-lines li { padding: 10px 0; border-bottom: 1px solid #d1e0d3; overflow-wrap: anywhere; }
.order-lines li strong { display: block; font-size: .9375rem; }
.order-lines li span, .order-caption, .order-note { font-size: .875rem; color: var(--muted); }
.order-total { display: flex; gap: 8px; justify-content: space-between; padding-top: 3px; font-weight: 700; }
.order-note { margin-top: 5px; }
.order .button { width: 100%; margin-top: 13px; }
.order-caption { margin-top: 8px; }
.inline-download { margin-top: 13px; }

.catalog-view { padding: 45px 0 60px; }
.catalog-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr); align-items: end; gap: 18px; margin-bottom: 24px; }
.catalog-heading h1 { font-size: clamp(3rem, 7vw, 5rem); }
.catalog-search { display: grid; gap: 6px; font-weight: 700; font-size: .9375rem; }
.catalog-search input { width: 100%; padding: 11px 13px; background: var(--white); border: 1px solid #cddbd0; border-radius: 9px; font-size: 1rem; }
.category-bar { display: flex; flex-wrap: wrap; gap: 7px; }
.category-bar button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fcfdfa;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: .875rem;
}
.category-bar button:hover { background: #edf4e9; }
.category-bar button[aria-pressed="true"] { color: #fff; background: var(--dark); border-color: var(--dark); }
.catalog-status { margin: 18px 0 10px; color: var(--muted); font-size: .9375rem; }
.catalog-grid, .reply-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reply-cards { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fcfdfa;
}
.product-category { font-size: .875rem; color: var(--green); font-weight: 700; }
.product h3 { margin: 5px 0 7px; font-size: 1rem; line-height: 1.38; overflow-wrap: anywhere; }
.price { font-weight: 700; font-size: 1.2rem; }
.stock { font-size: .875rem; color: var(--muted); }
.stock.unavailable { color: #8c3729; }
.ship-details { margin: 10px 0; font-size: .875rem; }
.ship-details summary { min-height: 34px; cursor: pointer; }
.ship-details dl { display: grid; gap: 6px; }
.ship-details dt { color: var(--muted); }
.ship-details dd { line-height: 1.35; overflow-wrap: anywhere; }
.product-actions { margin-top: auto; padding-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 1px 12px; }
.product-actions a, .product-actions button { min-height: 44px; display: inline-flex; align-items: center; color: #205b45; font-size: .875rem; font-weight: 700; }
.product-actions button { text-decoration: underline; background: none; padding: 0; border: 0; text-align: left; }
.product-actions a:hover, .product-actions button:hover { color: var(--ink); }
.more { margin-top: 15px; }
.footer {
  margin-top: auto;
  padding-block: 17px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  display: flex;
  justify-content: space-between;
  gap: 10px 20px;
}
.footer strong { color: var(--ink); display: block; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .hero { padding-top: 36px; gap: 20px; }
  .hero-art { min-height: 285px; }
  .hero-copy > p:last-child, .catalog-heading p:last-child { font-size: 1rem; }
  .workspace.has-order { grid-template-columns: minmax(0, 1fr) 250px; }
  .reply-cards, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 62px; gap: 9px; }
  .brand { font-size: 1.72rem; }
  .brand-label { display: none; }
  nav a { font-size: .875rem; padding-inline: 9px; }
  .hero { display: block; padding-top: 30px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.38rem, 11vw, 4.5rem); margin: 12px 0; }
  .wide-break, .hero-art { display: none; }
  .workspace, .workspace.has-order { display: block; margin: 18px 0 32px; }
  .order { position: static; margin-top: 15px; }
  .suggestion-grid { grid-template-columns: 1fr; gap: 6px; }
  .suggestion { min-height: 46px; padding-block: 5px; }
  .suggestions { margin-top: 19px; }
  .suggestion-note { margin-top: 8px; }
  .catalog-view { padding: 26px 0 32px; }
  .catalog-heading { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
@media (max-width: 430px) {
  .composer { flex-direction: column; align-items: stretch; gap: 5px; padding: 9px; }
  .composer textarea { padding: 6px; }
  .composer .button { align-self: end; }
  .reply-cards, .catalog-grid { grid-template-columns: 1fr; }
  .turn.user { max-width: 90%; }
  .turn.assistant { padding: 12px; }
}
