/* Citizen Press Release Mobile Landing Page */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-Regular.woff2") format("woff2"),
       url("assets/fonts/Anton-Regular.ttf")   format("truetype");
  font-display: swap;
}

/* Jost — used as a free Futura substitute. The font stack tries
   system Futura first (works on macOS) and falls back to bundled Jost. */
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/Jost-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg:        #111d33;
  --green:     #90bc53;
  --pink:      #cb4698;
  --yellow:    #f1c542;
  --ink:       #1a1a1a;
  --ink-soft:  #5a5a5a;
  --paper:     #fff;

  --display: "Anton", "Bebas Neue", Impact, sans-serif;
  --futura:  "Futura", Arial, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: 14px/1.45 var(--futura);
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; height: auto; }
button { font: inherit; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
ul     { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

.page {
  max-width: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

/* ----- Hero ----- */
.hero {
  display: flex;
  flex-direction: column;
  height: 350px;
  padding: 14px ;
  overflow: hidden;
 
  background:
       url("assets/images/Phone-small.png") 100% 100% no-repeat,
    #000;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 16px var(--display);
}

.logo__dot     { width: 16px; height: 16px; }
.hamburger img { width: 24px; height: 24px; }

.hero__content {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.hero__title {
  margin-bottom: 8px;
  font: 28px/1.2 var(--display);
  letter-spacing: 0.1rem;
  transform: scaleX(0.8);
  transform-origin: left;
}

.hero__title-accent {
  display: inline-block;
  margin-top: 4px;
  color: var(--green);
}

.hero__tagline {
  margin-bottom: 24px;
  font: 14px var(--display);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 197px;
  height: 35px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
  transition: transform .15s ease;
}

.cta:hover  { transform: translateY(-1px); }
.cta__label { font: 15px var(--display); }
.cta__icon  { width: 18px; height: 18px; }

/* Trust bar — no badge borders, just thin white dividers between items */
.trust-bar {
  display: flex;
  align-items: center;
  margin-top: 25px;
  flex-wrap: nowrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  font: 12px/1.17 var(--futura);
  letter-spacing: 0.1px;
  transform: scaleX(0.9);
  transform-origin: left;
  white-space: nowrap;
}

.trust-bar__item img { width: 13px; height: 13px; }

.trust-bar__divider {
  display: block;
  flex-shrink: 0;
  width: 1px;
  height: 17px;
  margin-left: -4px;
  margin-right: 4px;
  background: #fff;
}

/* ----- Chevron divider — centered on the hero/comparison boundary ----- */
.chevron {
  display: flex;
  justify-content: center;
  margin-top: -16px;
  position: relative;
  z-index: 3;
}

.chevron img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* ----- Comparison ----- */
.comparison {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px 10px;
  background: var(--bg);
}

.comparison__title {
  text-align: center;
  font: 16px/0.875 var(--display);
  transform: scaleX(0.9);
}

.comparison__title-accent { color: var(--green); }

.comparison__sub {
  font-size: 10px;
  margin-block: 5px;
  color: rgba(255,255,255,.7);
}

/* ----- Cards (side-by-side) ----- */
.cards {
  display: flex;
  gap: 10px;
  width: 100%;
  position: relative;
}

/* Decorative ↔ badge that overlaps both cards */
.cards::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e9eef5
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111d33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 7 9'/><polyline points='4 12 7 15'/><line x1='4' y1='12' x2='20' y2='12'/><polyline points='20 12 17 9'/><polyline points='20 12 17 15'/></svg>")
    center / 18px no-repeat;
  box-shadow: 0 0 0 3px var(--bg), 0 2px 6px rgba(0,0,0,.4);
  pointer-events: none;
  z-index: 4;
}

.card {
  flex: 1 1 0;
  min-width: 0;
  height: 422px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  overflow: hidden;
}

.card__header {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 10px 0;
  background: #1d2c4a;
}

.card__header--alert { background: var(--pink); }

.card__bar         { width: 15px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.card__bar--green  { background: var(--green); }
.card__bar--yellow { background: var(--yellow); }

.card__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.card__title {
  font: 16px/0.438 var(--display);
  color: #fff;
  letter-spacing: 0.18px;
  transform: scaleX(0.9);
  transform-origin: left;
}

.card__sub {
  margin-top: 6px;
  font-size: 10px;
  line-height: 0.76;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.1px;
  transform: scaleX(0.9);
  transform-origin: left;
  font-family: var(--display)
}

.alert-text {
  font-size: 10px;
  color: #ffe14a;
  line-height: 0.76;
  transform-origin: left;
}

/* ----- Verified card body ----- */
.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 10px 14px;
  color: var(--ink);
  overflow-y: auto;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 8px;
 
}

.article__badge {
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid #0d3f62;
  border-radius: 2px;
  background: #8dcafc;
  color: #0d3f62;
  font: 11px var(--display);
}

.article__headline {
  font: 500 12px/1.17 var(--futura);
  letter-spacing: -0.7px;
}
.article__body {
  font: 500 10px/1.2 var(--futura);
  letter-spacing: -0.9px;
  color: #2a2a2a;
  transform: scaleX(0.9);
  transform-origin: left;
  text-align: justify;
  hyphens: auto;
  word-break: break-word;
}
.article__figure     { margin: 0; }
.article__figure img {
  width: 100%;
  height: 85px;
  border-radius: 2px;
  object-fit: cover;
}

.profile {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
}

.profile__avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #ddd;
  object-fit: cover;
}

.profile__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.profile__name-row {
  letter-spacing: -0.75px;
}

.profile__name {
  font: 700 9px var(--futura);
  color: var(--ink);
}

.profile__verified {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 3px;
  vertical-align: middle;
  flex-shrink: 0;
}

.profile__meta {
  font: 9px var(--futura);
  color: var(--ink-soft);
  line-height: 1.3;
}

.profile__meta span { display: inline; }

.profile__views { font: 9px var(--futura); color: var(--ink-soft); }

/* Pills — each in its own border, no green fill */
.article__badges {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.badge-pill {
  display: inline-flex;
  flex: 1;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  font: 600 7px/1.62 var(--futura);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.badge-pill img { width: 10px; height: 10px; }

.badge-pill > span {
  display: inline-block;
  transform: scaleX(0.9);
  transform-origin: left;
}

.article-preview {
  display: flex;
  gap: 8px;
  padding: 10px 0;
  margin: 0 -10px -14px;
  border-top: 1px solid #e5e5e5;
}

.article-preview__bar {
  width: 60px;
  height: 12px;
  border-radius: 2px;
  background: #1d4f7a;
}

.article-preview__text {
  font: 600 11px/1.13 var(--futura);
  color: var(--ink);
  letter-spacing: -1px;
  transform: scaleX(0.9);
  transform-origin: left;
}

/* ----- Circulating card ----- */
.news-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  color: var(--ink);
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.news-item:last-child { border-bottom: 0; }

.news-item__headline {
  font: 10px/1.3 var(--futura);
  color: inherit;
  text-decoration: none;
}

.news-item__headline:hover { text-decoration: underline; }

.news-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.news-item__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 600 8px var(--futura);
  color: var(--ink-soft);
}

.news-item__source img {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.news-item__date {
  font: 8px var(--display);
  color: #3f3e3e;
}

/* ----- Footer ----- */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 16px 10px 26px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}

.footer__icon { width: 22px; height: 22px; 
  filter: grayscale(1);
}

/* ============================================================
   Desktop overrides — only apply at viewport ≥ 768px
   Mobile CSS above is unchanged.
   ============================================================ */
@media (min-width: 768px) {

  .page {
    max-width: 786px;
  }

  /* ----- Hero — two-column feel: text left, phone right ----- */
  .hero {
    height: 640px;
    padding: 30px 60px;
    background:
      linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.55) 40%, rgba(0,0,0,0) 60%),
      url("assets/images/hero-phone.jpg") right bottom / 100% auto no-repeat,
      #000;
  }

  .logo            { font-size: 24px; gap: 10px; }
  .logo__dot       { width: 22px; height: 22px; }
  .hamburger img   { width: 32px; height: 32px; }

  .hero__content {
    max-width: 540px;
    margin-top: 90px;
  }

  .hero__title       { font-size: 64px; margin-bottom: 16px; }
  .hero__title-accent { margin-top: 8px; }
  .hero__tagline     { font-size: 24px; margin-bottom: 36px; }

  .cta {
    max-width: 360px;
    padding: 16px 28px;
    gap: 14px;
    border-radius: 8px;
  }
  .cta__label { font-size: 22px; }
  .cta__icon  { width: 24px; height: 24px; }

  .trust-bar         { gap: 14px; margin-top: 36px; }
  .trust-bar__item   { gap: 8px; font-size: 16px; }
  .trust-bar__item img { width: 18px; height: 18px; }
  .trust-bar__divider  { height: 24px; }

  /* ----- Chevron ----- */
  .chevron        { margin-top: -24px; }
  .chevron img    { width: 48px; height: 48px; }

  /* ----- Comparison ----- */
  .comparison {
    padding: 30px 40px 50px;
  }

  .comparison__title { font-size: 32px; }
  .comparison__sub   { font-size: 16px; margin-top: 8px; }

  /* ----- Cards ----- */
  .cards {
    gap: 24px;
    margin-top: 36px;
    max-width: 1100px;
  }

  .card__header   { padding: 18px 20px; gap: 14px; }
  .card__bar      { width: 24px; height: 12px; }
  .card__title    { font-size: 28px; }
  .card__sub      { font-size: 14px; margin-top: 6px; }
  .alert-text     { font-size: 14px; }

  .card__body     { padding: 20px; gap: 18px; }

  .article        { gap: 14px; }
  .article__badge { font-size: 14px; padding: 5px 12px; }
  .article__headline { font-size: 22px; }
  .article__body  { font-size: 16px; }

  .profile        { gap: 14px; }
  .profile__avatar { width: 56px; height: 56px; }
  .profile__name  { font-size: 16px; }
  .profile__verified { width: 18px; height: 18px; margin-left: 6px; }
  .profile__meta,
  .profile__views { font-size: 14px; }

  .article__badges { padding: 8px; gap: 10px; }
  .badge-pill      { font-size: 13px; padding: 5px 12px; gap: 6px; }
  .badge-pill img  { width: 14px; height: 14px; }

  .article-preview {
    padding: 16px 20px;
    margin: 0 -20px -20px;
    gap: 12px;
  }
  .article-preview__bar  { width: 6px; }
  .article-preview__text { font-size: 16px; }

  /* ----- Circulating card ----- */
  .news-item             { padding: 16px 20px; gap: 8px; }
  .news-item__headline   { font-size: 16px; }
  .news-item__source     { font-size: 14px; gap: 8px; }
  .news-item__source img { width: 18px; height: 18px; }
  .news-item__date       { font-size: 14px; }

  /* ----- Swap-arrows badge between cards ----- */
  .cards::after {
    width: 48px;
    height: 48px;
    background-size: 28px;
    box-shadow: 0 0 0 4px var(--bg), 0 4px 10px rgba(0,0,0,.4);
  }

  /* ----- Footer ----- */
  .footer {
    padding: 20px 40px 30px;
    font-size: 16px;
    gap: 12px;
  }
  .footer__icon { width: 28px; height: 28px; }
}
