/* ==========================================================================
   QuickQ content hub — news / blog / article / utility pages
   Extends the landing page without changing its layout system.
   ========================================================================== */

.content-body {
  background: #000;
  color: #fff;
}

.content-main {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 150px 0 100px;
  background:
    radial-gradient(circle at 15% 0%, rgba(33, 113, 255, 0.2), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(0, 179, 255, 0.12), transparent 32%),
    #011022;
}

.content-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 46%);
}

.content-wrap {
  position: relative;
  width: min(1180px, 91.666%);
  margin: 0 auto;
}

.content-kicker {
  display: inline-block;
  color: var(--q-blue-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.content-hero {
  position: relative;
  padding: 30px 0 68px;
}

.content-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.content-hero h1 {
  max-width: 880px;
  margin: 16px 0 20px;
  font-size: clamp(42px, 6.1vw, 82px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.content-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.content-hero__aside {
  padding-bottom: 10px;
  text-align: right;
  white-space: nowrap;
}

.content-hero__aside strong {
  display: block;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.content-hero__aside span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 38px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.content-statline b {
  color: #fff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Featured story
   -------------------------------------------------------------------------- */
.featured-story {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 410px;
  margin-bottom: 46px;
  overflow: hidden;
  border: 1px solid rgba(52, 105, 205, 0.5);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 20%, rgba(33, 113, 255, 0.22), transparent 44%),
    linear-gradient(150deg, #041d47 0%, #011022 74%);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.26);
}

.featured-story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 4vw, 58px);
}

.featured-story h2 {
  max-width: 600px;
  margin: 14px 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.featured-story h2 a,
.story-card h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-story__copy > p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.featured-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.featured-story__media {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  background: #031a33;
}

.featured-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-story:hover .featured-story__media img {
  transform: scale(1.035);
}

.featured-story__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #041d47 0%, rgba(4, 29, 71, 0.28) 34%, transparent 62%),
    linear-gradient(0deg, rgba(0, 12, 26, 0.38), transparent 50%);
}

.content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--q-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.content-button:hover {
  background: #357eff;
  box-shadow: 0 10px 28px rgba(33, 113, 255, 0.32);
  transform: translateY(-2px);
}

.content-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

/* --------------------------------------------------------------------------
   Listing toolbar and story cards
   -------------------------------------------------------------------------- */
.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(75, 141, 255, 0.65);
  color: #fff;
}

.filter-chip.is-active {
  border-color: var(--q-blue);
  background: var(--q-blue);
  color: #fff;
}

.content-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.content-search::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.content-search::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 6px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
}

.content-search input {
  width: 100%;
  height: 42px;
  padding: 0 16px 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: inherit;
  font-size: 13px;
}

.content-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.content-search input:focus {
  border-color: var(--q-blue);
  box-shadow: 0 0 0 3px rgba(33, 113, 255, 0.16);
}

.content-list-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #14346d;
  border-radius: 18px;
  background: #041d47;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  border-color: rgba(75, 141, 255, 0.85);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.story-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #031a33;
}

.story-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 29, 71, 0.48));
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-card:hover .story-card__media img {
  transform: scale(1.045);
}

.story-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.story-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
}

.content-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(75, 141, 255, 0.38);
  border-radius: 999px;
  background: rgba(33, 113, 255, 0.1);
  color: #7fb0ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.story-card h3 a:hover {
  color: #9bc3ff;
}

.story-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.story-card__arrow {
  color: #7fb0ff;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.story-card:hover .story-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.empty-state {
  padding: 70px 0;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.content-error {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  border-radius: 16px;
  background: rgba(255, 80, 80, 0.07);
  color: #ffb3b3;
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.article-breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: #fff;
}

.article {
  width: min(940px, 100%);
  margin: 0 auto;
}

.article__header {
  max-width: 880px;
}

.article__header h1 {
  margin: 16px 0 22px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.article__dek {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.8;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  padding-bottom: 28px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.article__figure {
  margin: 12px 0 42px;
}

.article__figure img {
  display: block;
  width: 100%;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  object-fit: cover;
}

.article__figure figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
}

.article__body {
  max-width: 760px;
  margin: 0 auto;
}

.article__body p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.95;
}

.article__body > p:first-child {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.article__body h2 {
  margin: 48px 0 18px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.article__body ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.article__body li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.85;
}

.article__body li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-blue);
  box-shadow: 0 0 10px rgba(33, 113, 255, 0.7);
}

.article__body blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 2px solid var(--q-blue);
  background: linear-gradient(90deg, rgba(33, 113, 255, 0.12), transparent);
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 8px;
}

.article__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(75, 141, 255, 0.35);
  border-radius: 999px;
  background: rgba(33, 113, 255, 0.08);
  color: #8eb7ff;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.article__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 58px 0;
  padding: 34px;
  border: 1px solid rgba(52, 105, 205, 0.5);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 20%, rgba(33, 113, 255, 0.2), transparent 44%),
    #041d47;
}

.article__cta h2 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.article__related {
  padding-top: 10px;
}

.content-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.content-section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.content-section-head a {
  color: #7fb0ff;
  font-size: 12px;
  text-decoration: none;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
  padding: 22px;
  border: 1px solid #14346d;
  border-radius: 16px;
  background: #041d47;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  border-color: rgba(75, 141, 255, 0.8);
  transform: translateY(-3px);
}

.related-card strong {
  font-size: 15px;
  line-height: 1.5;
}

.related-card > span:last-child {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}

.article-missing {
  max-width: 620px;
  margin: 30px auto;
  padding: 50px;
  border: 1px solid #14346d;
  border-radius: 22px;
  background: #041d47;
  text-align: center;
}

.article-missing h1 {
  margin: 14px 0;
  font-size: 36px;
}

.article-missing p {
  color: rgba(255, 255, 255, 0.55);
}

.article-missing .content-button {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Utility pages: download / subscribe / login
   -------------------------------------------------------------------------- */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.utility-card {
  padding: 28px;
  border: 1px solid #14346d;
  border-radius: 18px;
  background: linear-gradient(155deg, #041d47, #011022);
}

.utility-card h2,
.utility-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.utility-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.75;
}

.utility-card .content-button {
  width: 100%;
  margin-top: 22px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.spec-list b {
  color: #fff;
  font-weight: 500;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  position: relative;
  padding: 34px 28px;
  border: 1px solid #14346d;
  border-radius: 20px;
  background: linear-gradient(155deg, #041d47, #011022);
}

.plan-card.is-featured {
  border-color: var(--q-blue);
  box-shadow: 0 24px 70px rgba(33, 113, 255, 0.2);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--q-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.plan-card__price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 14px 0 22px;
}

.plan-card__price strong {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.plan-card__price span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.plan-card li::before {
  content: "✓";
  margin-right: 8px;
  color: #69a2ff;
}

.plan-card .content-button {
  width: 100%;
}

.plan-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.7;
}

.login-shell {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}

.login-card {
  width: min(440px, 100%);
  padding: 38px;
  border: 1px solid #14346d;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(33, 113, 255, 0.18), transparent 44%),
    #041d47;
}

.login-card h1 {
  margin: 10px 0 8px;
  font-size: 36px;
  font-weight: 800;
}

.login-card > p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.7;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.form-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  outline: 0;
  background: #001021;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.form-field input:focus {
  border-color: var(--q-blue);
  box-shadow: 0 0 0 3px rgba(33, 113, 255, 0.16);
}

.login-card .content-button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.form-status {
  min-height: 20px;
  margin-top: 14px;
  color: #7fb0ff;
  font-size: 12px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Motion and responsive
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 1280px) {
  .content-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .content-main {
    padding-top: 130px;
  }

  .content-grid,
  .utility-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-story {
    grid-template-columns: 1fr;
  }

  .featured-story__media {
    min-height: 300px;
    order: -1;
  }

  .featured-story__overlay {
    background: linear-gradient(0deg, #041d47 0%, transparent 62%);
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .content-main {
    padding: 104px 0 72px;
  }

  .content-wrap {
    width: calc(100% - 36px);
  }

  .content-hero {
    padding: 16px 0 46px;
  }

  .content-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-hero__aside {
    text-align: left;
  }

  .content-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .content-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .content-search {
    min-width: 0;
    width: 100%;
  }

  .content-grid,
  .utility-grid,
  .plan-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .featured-story {
    margin-bottom: 32px;
    border-radius: 18px;
  }

  .featured-story__copy {
    padding: 26px 22px 30px;
  }

  .featured-story__media {
    min-height: 220px;
  }

  .article__header h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .article__body p {
    font-size: 15px;
    line-height: 1.9;
  }

  .article__body > p:first-child {
    font-size: 16px;
  }

  .article__cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }

  .article__cta .content-button {
    width: 100%;
  }

  .login-card {
    padding: 28px 22px;
  }

  .article-missing {
    padding: 34px 24px;
  }
}
@keyframes content-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.reveal{opacity:1;transform:none;transition:none}
.reveal.is-visible{animation:content-rise .55s cubic-bezier(.22,1,.36,1) both}
@media (prefers-reduced-motion: reduce){.reveal.is-visible{animation:none}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
