/* Handl'd (in beta) sign-up. Shared by /handld and the homepage route stop.
   All lowercase; Cormorant Garamond headings, Inter Tight body; accent #C8321C; pill controls.
   @font-face for both families lives in /css/redesign.css (loaded on both pages). */
.hs {
  --hs-accent: #C8321C;
  --hs-ink: #11110f;
  --hs-muted: #5c5a55;
  --hs-line: rgba(17, 17, 15, .18);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--hs-ink);
  text-transform: lowercase;
}
.hs-section {
  background: #fff;
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
}
.hs-inner { max-width: 40rem; margin: 0 auto; }
.hs-kicker {
  font-size: .75rem; font-weight: 500; letter-spacing: .14em;
  color: var(--hs-accent); margin: 0 0 .9rem;
}
.hs-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.02;
  letter-spacing: -.01em; text-transform: lowercase; margin: 0 0 1rem; color: var(--hs-ink);
}
.hs-lede { font-size: 1.05rem; line-height: 1.55; color: #2a2926; margin: 0 0 1.75rem; max-width: 34rem; }
.hs-form { margin: 0; }
.hs-label { display: block; font-size: .8125rem; font-weight: 500; letter-spacing: .02em; margin: 0 0 .5rem; color: var(--hs-ink); }
.hs-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.hs .hs-input {
  flex: 1 1 15rem; min-width: 0; min-height: 3rem;
  font: inherit; font-size: 1rem; text-transform: none; color: var(--hs-ink);
  background: #fff; border: 1px solid var(--hs-line); border-radius: 999px; padding: .75rem 1.25rem;
}
.hs .hs-input::placeholder { color: #5e584f; }
.hs .hs-input:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: 2px; border-color: var(--hs-accent); }
.hs .hs-input[aria-invalid="true"] { border-color: var(--hs-accent); }
.hs .hs-btn {
  flex: 0 0 auto; min-height: 3rem; padding: .75rem 1.6rem;
  font: inherit; font-size: .9375rem; font-weight: 600; letter-spacing: .01em; text-transform: lowercase;
  color: #fff; background: var(--hs-accent); border: 1px solid var(--hs-accent); border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.hs .hs-btn:hover { background: #a82814; border-color: #a82814; }
.hs .hs-btn:focus-visible { outline: 2px solid var(--hs-ink); outline-offset: 3px; }
.hs .hs-btn[disabled] { opacity: .65; cursor: progress; }
.hs .hs-btn .hs-spin { display: none; width: .85em; height: .85em; margin-right: .45em; vertical-align: -.1em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.hs-form.is-loading .hs-btn .hs-spin { display: inline-block; animation: hs-spin .7s linear infinite; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hs-form.is-loading .hs-btn .hs-spin { animation: none; } }
.hs-status { min-height: 1.4em; margin: .75rem 0 0; font-size: .9375rem; }
.hs-status:empty { display: none; }
.hs-status.is-success { color: var(--hs-ink); }
.hs-status.is-error { color: var(--hs-accent); }
.hs-privacy { margin: .9rem 0 0; font-size: .8125rem; color: var(--hs-muted); }
.hs-privacy a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.hs-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hs-done .hs-row { display: none; }

/* compact variant inside the homepage route card */
.route-card .hs-compact { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hs-line); }
.route-card .hs-compact .hs-label { font-size: .75rem; color: var(--hs-muted); margin-bottom: .4rem; }
.route-card .hs-compact .hs-input { flex-basis: 10rem; min-height: 2.6rem; padding: .55rem 1rem; font-size: .9375rem; }
.route-card .hs-compact .hs-btn { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .875rem; }
.route-card .hs-compact p.hs-status, .route-card .hs-compact p.hs-privacy { margin: .5rem 0 0; font-size: .75rem; color: var(--hs-muted); }
.route-card .hs-compact p.hs-status.is-error { color: var(--hs-accent); }
.route-card .hs-compact p.hs-status.is-success { color: var(--hs-ink); font-size: .875rem; }

/* ---------- /handld: Oatly-direction banner tile (matches css/handld.css .hx-* system) ----------
   Hard 2px ink borders, 8px offset shadow (from .hx-tile), flat pink block, poster-weight Inter Tight
   display, monospace labels, one pill (the CTA), hand-drawn envelope doodle, rotated sticker.
   Kept all lowercase (the rest of the page's poster type is caps). */
body.handld-page .hsx { position: relative; overflow: visible; color: var(--hx-ink); }
body.handld-page .hsx .hsx-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin: 0 0 clamp(1.2rem, 3vw, 2rem); padding-bottom: .8rem; border-bottom: 2px solid var(--hx-ink);
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: lowercase;
}
body.handld-page .hsx .hsx-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { body.handld-page .hsx .hsx-grid { grid-template-columns: minmax(0, 1fr) 15rem; } }
body.handld-page .hsx .hsx-title {
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 850;
  font-size: clamp(3.4rem, 11vw, 7.6rem); line-height: .9; letter-spacing: -.03em;
  text-transform: lowercase; margin: 0;
}
body.handld-page .hsx .hsx-sub {
  font-family: "Cormorant Garamond", Garamond, serif; font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.15; margin: .9rem 0 0;
}
body.handld-page .hsx .hsx-body { max-width: 34rem; font-size: 1.05rem; line-height: 1.55; margin: .9rem 0 1.5rem; color: var(--hx-ink); }
body.handld-page .hsx .hsx-label {
  display: block; margin: 0 0 .5rem;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 700; letter-spacing: .09em;
}
body.handld-page .hsx .hsx-row { gap: 0; max-width: 40rem; flex-wrap: nowrap; }
body.handld-page .hsx .hsx-input {
  flex: 1 1 auto; min-height: 3.6rem; padding: .8rem 1.1rem;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem;
  background: #fff; color: var(--hx-ink);
  border: 2px solid var(--hx-ink); border-right: 0; border-radius: 0; box-shadow: none;
}
body.handld-page .hsx .hsx-input:focus-visible { outline: 3px solid var(--hx-red); outline-offset: 2px; border-color: var(--hx-ink); }
body.handld-page .hsx .hsx-input[aria-invalid="true"] { background: #fff4f1; border-color: var(--hx-red); }
body.handld-page .hsx .hsx-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3.6rem; padding: .8rem 1.5rem; margin-left: -1.4rem;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  background: var(--hx-ink); color: #fff; border: 2px solid var(--hx-ink); border-radius: 999px;
}
body.handld-page .hsx .hsx-btn:hover { background: var(--hx-red); border-color: var(--hx-ink); color: #fff; }
body.handld-page .hsx .hsx-btn:focus-visible { outline: 3px solid var(--hx-red); outline-offset: 3px; }
body.handld-page .hsx .hsx-arrow { font-size: 1.1rem; line-height: 1; }
body.handld-page .hsx .hsx-status { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; font-weight: 700; letter-spacing: .03em; margin-top: .8rem; }
body.handld-page .hsx .hsx-status.is-error { color: var(--hx-ink); background: #fff; border: 2px solid var(--hx-ink); padding: .55rem .8rem; display: inline-block; box-shadow: 4px 4px 0 var(--hx-red); }
body.handld-page .hsx .hsx-status.is-success {
  display: inline-block; margin-top: 0; padding: .9rem 1.1rem; background: var(--hx-yellow);
  border: 2px solid var(--hx-ink); box-shadow: 6px 6px 0 var(--hx-ink); transform: rotate(-1.5deg);
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
}
body.handld-page .hsx .hsx-privacy { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .03em; color: var(--hx-ink); margin-top: .9rem; }
body.handld-page .hsx .hsx-privacy a { color: inherit; text-decoration-thickness: 2px; }
body.handld-page .hsx .hsx-art { justify-self: center; }
body.handld-page .hsx .hsx-art svg { display: block; width: clamp(9rem, 22vw, 15rem); height: auto; transform: rotate(-4deg); }
body.handld-page .hsx .hsx-sticker { top: clamp(4.6rem, 8vw, 5.6rem); right: clamp(.8rem, 4vw, 3rem); background: var(--hx-yellow); text-transform: lowercase; }
@media (max-width: 859px) { body.handld-page .hsx .hsx-art { display: none; } }
@media (max-width: 480px) {
  body.handld-page .hsx .hsx-row { flex-wrap: wrap; gap: .7rem; }
  body.handld-page .hsx .hsx-input { flex-basis: 100%; border-right: 2px solid var(--hx-ink); }
  body.handld-page .hsx .hsx-btn { margin-left: 0; width: 100%; justify-content: center; }
}
body.handld-page .hsx .hs-done .hsx-label { display: none; }
body.handld-page .hsx .hsx-row .hsx-input { padding-right: 2.6rem; }
@media (max-width: 480px) { body.handld-page .hsx .hsx-row .hsx-input { padding-right: 1.1rem; } }
