:root {
  color-scheme: light;
  font: 16px/1.5 Arial, sans-serif;
  color: #222a23;
  background: #f0f3ec;
  --accent: #28583f;
  --line: #dce4d8;
  --muted: #506053;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.preview { width: min(100% - 40px, 540px); margin: 0 auto; padding: 44px 0 64px; }
.brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wordmark { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.demo-label { border: 1px solid #ced8c8; border-radius: 99px; padding: 4px 12px; color: #365240; font-size: 13px; }
.intro { margin: 31px 0 24px; }
h1 { margin: 0 0 9px; font-size: clamp(32px, 7vw, 44px); letter-spacing: -.045em; line-height: 1.12; }
.intro p { margin: 0; color: var(--muted); }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 36px #1c342710; }
.chat-heading { display: flex; gap: 13px; align-items: center; padding: 17px 22px; background: #eaf1e7; border-bottom: 1px solid var(--line); }
.chat-heading strong, .chat-heading div span { display: block; }
.chat-heading div span { font-size: 13px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.conversation { padding: 22px; }
.bubble { margin: 0 0 18px; padding: 11px 14px; border-radius: 4px 13px 13px 13px; background: #f0f4ed; color: #2e4435; font-size: 15px; }
form { display: grid; gap: 7px; }
label { font-size: 14px; font-weight: 700; }
input, button { font: inherit; }
input { width: 100%; min-height: 46px; border: 1px solid #bac8bc; border-radius: 9px; background: #fff; color: #202820; padding: 8px 12px; margin-bottom: 5px; }
input:focus-visible, button:focus-visible { outline: 3px solid #8ebc9d; outline-offset: 2px; }
button { cursor: pointer; min-height: 44px; border-radius: 9px; }
button:disabled { cursor: wait; opacity: .66; }
.primary { border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 8px 14px; font-weight: 700; }
.primary:hover { background: #204b35; }
.secondary { width: 100%; border: 1px solid #bdcdbf; background: #fff; color: #28583f; padding: 7px 14px; font-weight: 700; }
.secondary:hover { background: #f2f6f0; }
.link { border: 0; background: transparent; padding: 4px 0; text-align: left; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.mail { display: grid; justify-items: start; margin: 12px 0; padding: 13px 15px; border: 1px solid #c8d8ca; border-radius: 11px; background: #f7faf5; }
.mail strong { font-size: 14px; }
.digits { color: #224830; font: 700 25px/1.7 ui-monospace, monospace; letter-spacing: .14em; }
#code-form { margin-top: 15px; }
.shipment-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.order-title { font-size: 22px; margin: 0 0 16px; overflow-wrap: anywhere; }
.shipment-card h3 { font-size: 14px; margin: 0 0 5px; color: var(--muted); }
.shipment-card p { margin: 0; color: var(--accent); font-weight: 700; }
.shipment-card .shipment-note { margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 400; }
.shipment-card a, .help a { color: var(--accent); text-underline-offset: 3px; }
.shipment-card a { display: inline-block; margin-top: 12px; }
.help { font-size: 14px; }
dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; font-size: 14px; margin: 13px 0 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.feedback { margin: 14px 0 0; padding: 9px 12px; border-radius: 8px; color: #862e23; background: #fff0eb; font-size: 14px; }
@media (max-width: 430px) {
  .preview { width: calc(100% - 28px); padding-top: 23px; }
  .intro { margin: 23px 0 19px; }
  .chat-heading, .conversation { padding: 15px; }
  dl { grid-template-columns: 1fr; gap: 3px; }
  dd { text-align: left; margin-bottom: 5px; }
}
