/* Roomery for shops: the partner pages (/shops/ and /shops/feed/).
   Loaded after site.css and built from its tokens, so the pages read as the
   same site. Nothing here changes the landing page. */

.wordmark__sub {
  font-family: var(--font); font-weight: 500; font-stretch: 100%; font-size: 0.9375rem;
  letter-spacing: -0.01em; color: var(--ink-soft); margin-left: 9px;
}
.wordmark--light .wordmark__sub { color: var(--dark-soft); }
.wordmark__sub { white-space: nowrap; }
/* On a phone the bar keeps the name and the menu; "Add your shop" moves into the menu. */
@media (max-width: 559px) { .nav__end .btn { display: none; } }
.sheet__links .sheet__cta { color: var(--accent); }
button.btn { cursor: pointer; }
.btn--chalk { background: var(--chalk); color: var(--ink); }
.btn--chalk:hover { background: var(--chalk-deep); }

/* ── Page hero ────────────────────────────────────── */
.page-hero { padding: clamp(36px, 5vw, 80px) 0 0; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
}
.page-title {
  font-size: clamp(2.6rem, 6vw, 4.875rem);
  font-weight: 600; letter-spacing: -0.05em; line-height: 0.97; text-wrap: balance;
  margin-left: -0.03em;
}
.page-hero .lede { margin-top: 24px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-hero__note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-soft); }

/* A real Roomery picture, whole, with a sketch of the list that sits under a design
   hanging off its lower edge. */
.shot { position: relative; padding-bottom: 104px; }
.shot > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); background: var(--chalk); }
.shot__card {
  position: absolute; left: 14px; right: 14px; bottom: 0;
  background: #fff; border-radius: var(--r-m); padding: 16px 18px 4px;
  box-shadow: 0 0 0 1px rgba(14, 14, 18, 0.05), 0 24px 48px -20px rgba(14, 14, 18, 0.38);
}
@media (min-width: 620px) { .shot__card { left: 24px; right: auto; width: min(372px, 72%); } }
.shot__label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.shot__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9375rem;
}
.shot__row strong { font-weight: 600; }
.shot__row span { color: var(--accent); font-weight: 500; white-space: nowrap; }
.shot__note { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-soft); }

/* ── Three steps ──────────────────────────────────── */
.trio { display: grid; gap: 16px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio .cell { min-height: 0; padding-bottom: 32px; }
.trio .cell h3 { margin-top: 48px; }
.cell__n { font-size: 0.875rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ── What we need ─────────────────────────────────── */
.need { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .need { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}
.need .lede { margin-top: 22px; }
.need .ticks { border-top: 0; padding-top: 0; margin-top: 30px; }
.need .ticks li { color: var(--ink-soft); }
.need .ticks strong { color: var(--ink); font-weight: 600; }
.need .btn { margin-top: 34px; }
.panel { background: var(--chalk); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.panel p { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border-radius: 999px; padding: 8px 15px; font-size: 0.9375rem; font-weight: 500; }

/* ── Countries ────────────────────────────────────── */
.lands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 620px) { .lands { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); } }
.lands li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: var(--chalk); border-radius: 14px; padding: 13px 16px; font-size: 0.9375rem; font-weight: 500;
}
.lands span { color: var(--ink-soft); font-size: 0.8125rem; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }

/* ── Apply ────────────────────────────────────────── */
.apply { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .apply { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .apply__lead { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.apply__lead .lede { margin-top: 22px; }
.apply__lead .lede + .lede { margin-top: 14px; }
.form { background: var(--bg); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); display: grid; gap: 26px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 0.9375rem; font-weight: 600; padding: 0; }
.field > legend { margin-bottom: 8px; }
.field__hint { font-size: 0.875rem; color: var(--ink-soft); }
.field__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 4px; }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 0;
  background: var(--chalk); font: inherit; color: var(--ink); transition: background-color 0.2s;
}
.input::placeholder { color: #6b6d76; }
.input:hover { background: var(--chalk-deep); }
.input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 14px; background: #fff; }
textarea.input { min-height: 112px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px;
  background: var(--chalk); font-size: 0.9375rem; font-weight: 500; transition: background-color 0.2s, color 0.2s;
}
.check input:hover + span { background: var(--chalk-deep); }
.check input:checked + span { background: var(--ink); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.textlink { color: var(--accent); font-size: 0.875rem; font-weight: 550; text-decoration: underline; text-underline-offset: 3px; min-height: 28px; }
.form__foot { display: grid; gap: 12px; }
.form .btn { width: 100%; }
.form__status, .form__error { font-size: 0.9375rem; font-weight: 500; }
.form__error { color: #b3261e; }
.form a, .apply__lead a { color: var(--accent); text-underline-offset: 3px; }

/* ── The specification ───────────────────────────── */
.doc { padding: 0 0 clamp(88px, 11vw, 152px); }
.doc__grid { display: grid; }
.toc { display: none; }
@media (min-width: 1080px) {
  .doc__grid { grid-template-columns: 200px minmax(0, 1fr); gap: 80px; align-items: start; }
  .toc { display: grid; gap: 0; position: sticky; top: calc(var(--nav-h) + 32px); margin-top: clamp(48px, 6vw, 80px); }
}
.toc h2 { font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 10px; }
.toc a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); padding: 7px 0; }
.toc a:hover { color: var(--ink); }
.prose { min-width: 0; max-width: 860px; }
.prose > section { padding-top: clamp(48px, 6vw, 80px); }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 18px; text-wrap: balance; }
.prose h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; margin: 30px 0 8px; }
.prose p { color: var(--ink-soft); max-width: 68ch; text-wrap: pretty; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.prose .ticks { border-top: 0; padding-top: 0; margin-top: 22px; }
.prose .ticks li { color: var(--ink-soft); max-width: 64ch; }
.dots { margin-top: 14px; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 22px; color: var(--ink-soft); max-width: 68ch; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875em;
  background: var(--chalk); color: var(--ink); border-radius: 6px; padding: 2px 6px; white-space: nowrap;
}
.table-wrap { margin-top: 22px; overflow-x: auto; border-radius: var(--r-m); background: var(--chalk); -webkit-overflow-scrolling: touch; }
.table-wrap + p { margin-top: 20px; }
.table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.spec { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.spec--small { min-width: 460px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid #dcdce1; }
.spec thead th { border-top: 0; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.spec td { color: var(--ink-soft); }
.spec tbody th { color: var(--ink); font-weight: 550; white-space: nowrap; }
.spec code { background: #fff; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.pill--soft { background: #fff; color: var(--ink-soft); }
.code {
  margin: 22px 0 0; background: var(--dark); color: #e9e9ef; border-radius: var(--r-m); padding: 20px 22px;
  overflow-x: auto; font: 400 0.8125rem/1.7 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2;
}
.code:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.code code { background: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ready { margin-top: clamp(56px, 7vw, 96px); background: var(--chalk); border-radius: var(--r-xl); padding: clamp(28px, 4.5vw, 56px); display: grid; gap: 22px; justify-items: start; }
.ready .lede { max-width: 34em; }
