@font-face {
  font-family: "Inter Variable";
  src: url("./assets/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html,
body { margin: 0; min-height: 100%; }

body {
  color: #1c1e21;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.video-section {
  padding: 44px 14px 38px;
  background: #000b2d;
}

.video-wrap {
  width: min(100%, 400px);
  margin: 0 auto;
}

.video-wrap .tp { max-width: 400px; }

.pitch-offer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 24px auto 0;
  padding: 0 12px;
}

.pitch-offer[hidden] { display: none; }

.pitch-offer__button {
  display: block;
  width: 416.672px;
  max-width: 100%;
  padding: 10px 24px;
  border: 0 solid #e4e4e7;
  border-radius: 8px;
  color: #fff;
  background: #009e23;
  box-shadow: none;
  font-family: "Inter Variable", Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -.112px;
  text-align: center;
  text-decoration: none;
}

.pitch-offer__button:hover { background: #009e23; }

.pitch-offer__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.comments {
  padding: 18px 16px 34px;
  background: #fff;
}

.comments__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.comments__inner > h1 {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e9ebee;
  color: #1c1e21;
  font-size: 14px;
  font-weight: 700;
}

.thread { display: grid; gap: 22px; }

.comment {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment__content {
  flex: 1;
  min-width: 0;
}

.comment__content > h2 {
  margin: 1px 0 3px;
  color: #385898;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.comment__content > p {
  margin: 0;
  color: #1c1e21;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.38;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
  color: #90949c;
  font-size: 12px;
}

.actions button {
  padding: 0;
  border: 0;
  color: #4267b2;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.actions button:hover,
.actions button:focus-visible { text-decoration: underline; }

.actions button[aria-pressed="true"] {
  color: #1877f2;
  font-weight: 700;
}

.actions time { color: #90949c; }

.avatar {
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8290a6;
  font-size: 12px;
  font-weight: 700;
}

.avatar--blue { background: #4267b2; }
.avatar--green { background: #4b8b6b; }
.avatar--amber { background: #b57c35; }
.avatar--purple { background: #72559a; }
.avatar--rose { background: #a55264; }
.avatar--slate { background: #68778d; }
.avatar--teal { background: #347f82; }
.avatar--navy { background: #344b75; }

.replies {
  display: grid;
  gap: 15px;
  margin-top: 13px;
  padding-left: 8px;
  border-left: 1px solid #e1e4e8;
}

.comment--reply .avatar {
  flex-basis: 36px;
  height: 36px;
  font-size: 10px;
}

.reply-form {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.reply-form[hidden] { display: none; }

.reply-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #ccd0d5;
  border-radius: 18px;
  outline: 0;
  color: #1c1e21;
  background: #f5f6f7;
  font: 13px Arial, Helvetica, sans-serif;
}

.reply-form input:focus { border-color: #8eadd6; background: #fff; }

.reply-form button {
  padding: 7px 11px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #4267b2;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.comment--visitor {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #edf0f3;
}

.comment--visitor .avatar { background: #5b6678; }

@media (max-width: 560px) {
  .video-section { padding: 0 0 22px; }
  .pitch-offer { margin-top: 16px; }
  .comments { padding: 14px 12px 26px; }
  .thread { gap: 20px; }
  .comment__content > p { font-size: 13.5px; line-height: 1.4; }
  .avatar { flex-basis: 42px; height: 42px; font-size: 11px; }
  .replies { padding-left: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
