@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --queep-display: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --page: #fdfcfc;
  --surface: #fff;
  --ink: #1c1917;
  --muted: #6e6860;
  --border: #eeeae7;
  --blue: #2358f3;
  --rail: 1304px;
  --rail-width: min(92.5%, var(--rail));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 57px; }
body { margin: 0; color: var(--ink); background: var(--page); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: #cbd7ff; color: #15151c; }
.agency-rails { width: var(--rail-width); margin-inline: auto; }
.talk-mark { display: block; width: var(--talk-width, 100px); aspect-ratio: 3.25; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.agency-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.agency-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 520;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.agency-button:hover { background: #f4f2f0; }
.agency-button:active { transform: scale(.98); }
.agency-button-primary { background: var(--blue); color: #fff; border-color: transparent; }
.agency-button-primary:hover { background: #194ae0; box-shadow: 0 6px 22px #2358f32b; }

.agency-close {
  overflow: clip;
  background: radial-gradient(circle, #ffffff13 .85px, transparent 1.15px) 0 0 / 29px 29px, #0d0d0d;
  color: #fff;
  border-top: 1px solid #252525;
}
.agency-close-inner {
  padding: clamp(84px, 12vw, 166px) clamp(25px, 4vw, 54px) clamp(100px, 13vw, 176px);
  border-inline: 1px solid #222;
}
.agency-close h2 { margin: 0 0 42px; font-size: clamp(55px, 8.1vw, 116px); font-weight: 420; letter-spacing: -.065em; line-height: .98; }
.agency-close h2 span { font-family: var(--queep-display); font-weight: 650; letter-spacing: inherit; }
.agency-close .agency-button { min-height: 50px; padding-inline: 30px; font-size: clamp(15px, 1.75vw, 22px); font-weight: 450; }
.agency-close p { margin: 31px 0 0; color: #a8a29e; font: 12px/1.6 ui-monospace, monospace; text-transform: uppercase; }

.agency-footer { background: #0d0d0d; color: #fff; border-top: 1px solid #252525; }
.agency-footer > .agency-rails { border-inline: 1px solid #222; }
.agency-footer-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 35px; padding: 67px clamp(25px, 4vw, 54px) 73px; }
.agency-footer-wordmark { align-self: start; width: max-content; }
.agency-footer-wordmark img { display: block; filter: brightness(0) invert(1); }
.agency-footer h2 { margin: 0 0 23px; font-size: 14px; font-weight: 600; }
.agency-footer-columns div a, .agency-footer-columns div button { display: block; padding: 0; margin: 0 0 12px; border: 0; color: #a5a09d; background: none; font-size: 14px; line-height: 1.5; text-align: left; cursor: pointer; }
.agency-footer-columns div :is(a, button):hover { color: #fff; }
.agency-footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 13px; padding: 25px clamp(25px, 4vw, 54px) 106px; border-top: 1px solid #252525; color: #a5a09d; font-size: 13px; }

.agency-icon-button { width: 34px; height: 34px; border: 0; border-radius: 50%; padding: 0; display: inline-grid; place-items: center; flex: 0 0 auto; background: transparent; cursor: pointer; color: inherit; }
.agency-icon-button:hover { background: #f0eeec; }
.agency-dialog { max-width: calc(100% - 28px); max-height: 84dvh; border: 1px solid #e7e5e4; border-radius: 12px; padding: 0; background: #fff; color: #16171a; box-shadow: 0 16px 50px #1315152c; }
.agency-dialog::backdrop { background: #0008; }
.agency-search { width: 512px; }
.agency-search-bar { display: flex; align-items: center; gap: 9px; height: 49px; padding-inline: 13px 8px; border-bottom: 1px solid #e7e5e4; color: #6c6a68; }
.agency-search-bar input { width: 100%; background: #fff; border: 0; padding: 8px 0; color: #16171a; outline: none; font-size: 15px; }
.agency-search-bar input::placeholder { color: #55514e; }
.agency-search-bar .agency-icon-button { font-size: 21px; }
.agency-search-content { max-height: min(540px, 68dvh); overflow-y: auto; padding: 12px 9px 15px; }
.agency-search-content > p { margin: 0 8px 7px; font-size: 12px; font-weight: 600; }
.agency-search-content ul { list-style: none; padding: 0; margin: 0; }
.agency-search-content li > a { display: grid; grid-template-columns: 17px 1fr; align-items: start; gap: 10px; padding: 11px 8px; border-radius: 8px; }
.agency-search-content li > a:hover, .agency-search-content li > a:focus { background: #f7f7f6; }
.agency-search-content li > a > span:first-child { color: #787775; }
.agency-search-content strong { font-size: 14px; font-weight: 570; }
.agency-search-content small { display: block; margin-top: 3px; color: #6b6d73; font-size: 14px; line-height: 1.4; }
.agency-search-content em { font-style: normal; font-size: 10px; color: #777; border: 1px solid #e9e9e7; padding: 2px 4px; margin-left: 6px; border-radius: 3px; }
.agency-search-empty { padding: 12px 8px; font-size: 14px; color: #6b6d73; }

.agency-request { width: 470px; padding: 32px; }
.agency-request-close { position: absolute; top: 12px; right: 14px; font-size: 23px; }
.agency-request h2 { font-size: 26px; letter-spacing: -.04em; margin: 0 29px 14px 0; }
.agency-request h3 { margin: 0; font-size: 19px; }
.agency-request p { font-size: 14px; line-height: 1.55; color: #625e59; margin: 0 0 16px; }
.agency-request label { display: grid; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 550; }
.agency-request :is(input, select, textarea) { width: 100%; border: 1px solid #dfddda; border-radius: 9px; padding: 10px 11px; background: #fdfcfc; color: #171717; font-size: 14px; }
.agency-request select { min-height: 41px; }
.agency-request textarea { resize: vertical; margin: 0 0 12px; }
.agency-request .agency-button { margin-top: 4px; }
.agency-request [role=status] { margin: 10px 0 0; }

.agency-assistant { position: fixed; z-index: 40; bottom: 19px; left: 50%; transform: translateX(-50%); width: min(500px, calc(100% - 28px)); color: #1c1917; }
.agency-assistant-bar { display: flex; align-items: center; gap: 10px; min-height: 57px; padding: 8px 12px 8px 14px; border: 1px solid #ebeae8; border-radius: 100px; background: #fff; box-shadow: 0 7px 21px #1f171f22, 0 1px 5px #18171a14; }
.agency-assistant-orb { width: 29px; height: 29px; flex: 0 0 auto; border-radius: 50%; background: radial-gradient(circle at 32% 39%, #fcfcff, transparent 60%), radial-gradient(circle at 67% 76%, #ead3f5, transparent 74%), conic-gradient(from .18turn, #bed7f7, #e2f9f0, #cbd5f5, #e9e8fc, #bed7f7); border: 1px solid #c6cbdf30; }
.agency-assistant input { min-width: 0; flex: 1; padding: 8px 0; border: 0; outline: 0; color: #2d2a26; background: transparent; font-size: 14px; }
.agency-assistant input::placeholder { color: #79746f; }
.agency-assistant .agency-icon-button { color: #625e59; }
.agency-assistant .agency-assistant-send { background: var(--blue); color: #fff; }
.agency-assistant .agency-assistant-send:disabled { color: #88827c; background: #f3f1ef; cursor: default; }
.agency-assistant-bar:focus-within { border-color: #9fb4ff; }
.agency-assistant-panel { background: #fff; border: 1px solid #e7e4e0; border-radius: 18px; box-shadow: 0 11px 44px #20180f25; margin: 0 0 10px; overflow: hidden; }
.agency-assistant-panel header { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; gap: 12px; border-bottom: 1px solid #edeae6; font-size: 14px; }
.agency-assistant-panel header span { color: #5e5a55; font: 11px ui-monospace, monospace; background: #f3f1ef; padding: 3px 6px; border-radius: 5px; }
.agency-assistant-body { max-height: min(52dvh, 325px); overflow: auto; padding: 16px 18px 18px; }
.agency-assistant-body p { margin: 0; font-size: 13px; line-height: 1.55; }
.agency-assistant-suggestions div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.agency-assistant-suggestions button { border: 1px solid #e5e1dc; background: #faf9f8; color: #242221; border-radius: 99px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.agency-assistant-suggestions button:hover { border-color: #a3b7ff; background: #f0f4ff; }
.agency-assistant-turn { margin-top: 15px; }
.agency-assistant-turn > p { max-width: 90%; width: fit-content; margin: 0 0 12px auto; background: #eaf0ff; padding: 8px 12px; border-radius: 11px; overflow-wrap: anywhere; }
.agency-assistant-answer { border: 1px solid #ebe8e3; padding: 11px 12px; border-radius: 11px; }
.agency-assistant-answer strong { display: block; margin-bottom: 3px; font-size: 14px; }
.agency-assistant-answer a { display: inline-block; margin-top: 7px; color: #1944ca; font-size: 13px; font-weight: 530; }
.agency-assistant-answer a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .agency-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; padding-top: 40px; padding-bottom: 42px; }
  .agency-footer-wordmark { grid-column: 1 / -1; }
  .agency-close h2 { margin-bottom: 28px; }
  .agency-close p { margin-top: 22px; }
  .agency-assistant { bottom: max(12px, env(safe-area-inset-bottom)); }
  .agency-assistant-bar { min-height: 50px; gap: 7px; }
  .agency-request { padding: 25px 21px; }
}

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