/* LeafTide / HW / ML04 — TODAY show skin over the H&W VSL kit
   (assets/main/css/vsl-kit.css, loaded first). The kit runs the stage, the
   pinned player, the comments and the CTA; this file is only the look. */

:root {
  /* No webfont is loaded; this stack is upright everywhere: Helvetica Neue
     on Apple, Arial on Windows, Roboto on Android through the generic. */
  --font-display: "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --font-fb: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;

  /* 4:5 video: the kit's defaults for ratio and reserves fit it as they are */
  --vsl-top-h: 50px;
  --vsl-headline-m: 21px;

  --ink: #111827;
  --headline: #374151;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--vsl-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- TODAY top bar ------------------------------------------------------ */

.today {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.today__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: var(--vsl-top-h);
  margin: 0 auto;
  padding: 0 16px;
}

.today__logo {
  width: auto;
  height: 30px;
}

.today__nav,
.today__signin {
  display: none;
}

.today__right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #333;
}

.today__right svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

@media (min-width: 768px) {
  .today__nav {
    display: flex;
    gap: 28px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
  }

  .today__signin {
    display: block;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
  }
}

/* ---- Headline ----------------------------------------------------------- */

.headline {
  padding: 16px 0 8px;
}

.headline h1 {
  color: var(--headline);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

/* ---- Player card -------------------------------------------------------- */

.vsl-video {
  padding: 8px 0;
}

.vsl-video__box {
  border-radius: 12px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* "as seen on" strip under the player; it steps aside with the offer */
.today-logos {
  width: 150px;
  height: auto;
  margin: 8px auto 0;
}

body.is-revealed .today-logos {
  display: none;
}

/* ---- Comments (Facebook look) ------------------------------------------- */

/* The metrics here are copied from the real Facebook comment UI on purpose;
   they don't follow this page's spacing rhythm. Spacing and meta text are
   in em, so they scale from 13px on phones to 16px above 576px; names and
   comment text stay at 16px everywhere, as in the original. */
.comments {
  padding-bottom: 32px;
}

.fb {
  font-family: var(--font-fb);
  font-size: 13px;
}

.fb__count {
  margin: 2.125em 0 0.625em;
  color: #555;
  font-size: 1.1em;
  font-weight: 700;
}

.fb__list {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  padding: 1.25em 1.25em 0;
  border: 1px solid #e9ebee;
  border-radius: 1.25em;
}

.fb__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.625em;
}

.fb__row--reply {
  margin-left: 3.625em;
}

.fb__avatar {
  flex-shrink: 0;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  object-fit: cover;
}

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

.fb__bubble {
  padding: 0.375em 0.75em 0.75em;
  border-radius: 0.75em;
  background: #f0f2f5;
}

.fb__name {
  color: #365899;
  font-size: 16px;
  font-weight: 700;
}

.fb__text {
  color: #050505;
  font-size: 16px;
}

.fb__meta {
  display: flex;
  gap: 0.3125em;
  margin: 0.125em 0 0 0.75em;
  color: #888;
  font-size: 0.8em;
}

.fb__meta b {
  font-weight: 600;
}

.fb__likes {
  position: absolute;
  right: 0;
  bottom: -0.625em;
  display: flex;
  align-items: center;
  padding: 1px 4px 1px 0;
  border: 2px solid #eaebef;
  border-radius: 999px;
  background: #fff;
  color: #888;
  font-size: 0.875em;
  line-height: 1;
}

.fb__likes img {
  width: 2.2em;
  height: auto;
}

.fb__closed {
  margin: 0.9375em 0 5px;
  color: #555;
  font-size: 0.875em;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 576px) {
  .fb {
    font-size: 16px;
  }

  .fb__likes {
    bottom: 0;
  }
}

/* ---- Footer ------------------------------------------------------------- */

.foot {
  padding: 48px 0;
  background: #000;
  color: #fff;
  text-align: center;
}

.foot__links {
  margin-bottom: 24px;
  list-style: none;
  font-size: 14px;
}

.foot__links li {
  display: inline-block;
  margin: 0 4px;
}

.foot__mark {
  font-size: 13px;
}
