/*
 * EQYERA public content pages and genuine product screenshot frames.
 * Scoped to the public shell; the authenticated application shell is unchanged.
 */

.eq-public-page {
  margin: 0;
  min-height: 100vh;
  background: var(--eq-bg);
  color: var(--eq-text);
  font-family: var(--eq-font-sans);
  letter-spacing: var(--eq-body-tracking);
}

.eq-public-page *,
.eq-public-page *::before,
.eq-public-page *::after {
  box-sizing: border-box;
}

.eq-public-page [hidden] {
  display: none !important;
}

.eq-public-shell {
  width: 100%;
  max-width: var(--eq-container);
  margin: 0 auto;
  padding: 0 var(--eq-gutter);
}

.eq-public-main {
  min-height: 60vh;
}

/* Shared page hero */
.eq-public-hero {
  padding: 68px 0 48px;
  border-bottom: 1px solid var(--eq-border);
}

.eq-public-hero__copy {
  max-width: 760px;
}

.eq-public-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--eq-accent-orange);
  font-family: var(--eq-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eq-public-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--eq-text);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 400;
  letter-spacing: var(--eq-heading-tracking);
  line-height: 1.04;
}

.eq-public-hero__lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--eq-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.eq-public-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--eq-text-muted);
  font-family: var(--eq-font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  list-style: none;
}

.eq-public-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eq-public-hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--eq-accent-orange);
}

/* Content layout and sections */
.eq-public-body {
  padding: 54px 0 80px;
}

.eq-public-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.eq-public-rail {
  position: sticky;
  top: calc(var(--eq-header-height) + 28px);
  padding-top: 4px;
}

.eq-public-rail__label {
  margin: 0 0 10px;
  color: var(--eq-text-muted);
  font-family: var(--eq-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eq-public-rail a {
  display: block;
  padding: 7px 0;
  color: var(--eq-text-secondary);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.eq-public-rail a:hover,
.eq-public-rail a:focus-visible {
  color: var(--eq-text);
}

.eq-public-content {
  min-width: 0;
}

.eq-public-section {
  padding: 0 0 38px;
  border-bottom: 1px solid var(--eq-border);
  margin-bottom: 38px;
}

.eq-public-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.eq-public-section h2 {
  margin: 0;
  color: var(--eq-text);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.eq-public-section h3 {
  margin: 26px 0 8px;
  color: var(--eq-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.eq-public-section p,
.eq-public-section li {
  color: var(--eq-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.eq-public-section p {
  margin: 12px 0 0;
}

.eq-public-section ul,
.eq-public-section ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.eq-public-section li + li {
  margin-top: 6px;
}

.eq-public-section a {
  color: var(--eq-text);
  text-decoration-color: var(--eq-border);
  text-underline-offset: 3px;
}

.eq-public-section a:hover {
  text-decoration-color: var(--eq-accent-orange);
}

.eq-public-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--eq-border);
  border-left: 2px solid var(--eq-accent-orange);
  background: var(--eq-surface);
  color: var(--eq-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.eq-public-note strong {
  color: var(--eq-text);
  font-weight: 500;
}

.eq-public-draft {
  margin: 0 0 26px;
  padding: 12px 14px;
  border: 1px solid rgba(241, 148, 71, 0.35);
  background: rgba(241, 148, 71, 0.06);
  color: var(--eq-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.eq-public-draft strong {
  color: var(--eq-text);
  font-weight: 500;
}

.eq-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 28px;
  color: var(--eq-text-muted);
  font-family: var(--eq-font-mono);
  font-size: 10px;
  line-height: 1.5;
}

/* Data cards and callouts */
.eq-public-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--eq-border);
  background: var(--eq-border);
}

.eq-public-card {
  min-height: 150px;
  padding: 22px;
  background: var(--eq-surface);
}

.eq-public-card h3 {
  margin-top: 0;
}

.eq-public-card p {
  margin-top: 8px;
}

.eq-public-card__index {
  display: block;
  margin-bottom: 20px;
  color: var(--eq-accent-orange);
  font-family: var(--eq-font-mono);
  font-size: 10px;
}

/* FAQ */
.eq-faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eq-faq-item {
  background-color: #131517;
  border: 1px solid #232326;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.eq-faq-item:hover,
.eq-faq-item[open] {
  border-color: #303131;
}

.eq-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--eq-font-display, 'Host Grotesk', -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.eq-faq-item summary::-webkit-details-marker {
  display: none;
}

.eq-faq-item summary::after {
  content: "+";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #232326;
  color: #9a9fa5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--eq-font-sans, -apple-system, sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.eq-faq-item[open] summary::after {
  content: "−";
  background-color: #303131;
  color: #ffffff;
}

.eq-faq-item summary:focus-visible {
  outline: 2px solid #f19447;
  outline-offset: -2px;
}

.eq-faq-item__answer {
  max-width: 100%;
  padding: 0 16px 14px;
}

.eq-faq-item__answer p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--eq-font-sans, -apple-system, sans-serif);
  font-size: 13px;
  line-height: 1.6;
  color: #9a9fa5;
}

.eq-faq-item__answer a {
  color: #f19447;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eq-faq-item__answer p + p {
  margin-top: 10px;
}

/* Contact */
.eq-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.eq-contact-card {
  padding: 22px;
  border: 1px solid var(--eq-border);
  background: var(--eq-surface);
}

.eq-contact-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.eq-contact-card p {
  margin-top: 6px;
  font-size: 13px;
}

.eq-contact-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--eq-text);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: var(--eq-border);
  text-underline-offset: 3px;
}

.eq-contact-card a:hover {
  text-decoration-color: var(--eq-accent-orange);
}

/* Product UI stage frame */
.eq-product-shot {
  position: relative;
  margin: 32px 0 0;
  padding: 22px 26px;
  background-color: #D6D6D6;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.eq-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #F7F7F8;
  border: 1px solid #E3E5E8;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  object-position: top center;
}

.eq-product-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  margin-top: 14px;
  color: var(--eq-text-muted);
  font-family: var(--eq-font-mono);
  font-size: 10px;
  line-height: 1.5;
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  border-radius: var(--eq-radius-sm, 6px);
}

.eq-product-shot figcaption strong {
  color: var(--eq-text-secondary);
  font-weight: 500;
}

.eq-product-shot--hero {
  width: 100%;
  margin: 46px 0 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.eq-product-shot--wide {
  width: 100%;
}

.eq-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.eq-product-grid .eq-product-shot {
  min-width: 0;
}

.eq-product-grid .eq-product-shot:first-child {
  grid-column: 1 / -1;
}

/* 404 */
.eq-404 {
  display: flex;
  min-height: 58vh;
  align-items: center;
  padding: 70px 0 90px;
}

.eq-404__inner {
  max-width: 620px;
}

.eq-404__code {
  margin: 0 0 16px;
  color: var(--eq-accent-orange);
  font-family: var(--eq-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eq-404 h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.eq-404 p {
  margin: 18px 0 0;
  color: var(--eq-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.eq-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .eq-public-hero {
    padding: 52px 0 38px;
  }

  .eq-public-body {
    padding: 38px 0 64px;
  }

  .eq-public-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .eq-public-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--eq-border);
  }

  .eq-public-rail__label {
    width: 100%;
  }

  .eq-public-rail a {
    padding: 4px 0;
  }

  .eq-public-cards,
  .eq-contact-grid,
  .eq-product-grid {
    grid-template-columns: 1fr;
  }

  .eq-product-grid .eq-product-shot:first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .eq-public-shell {
    padding: 0 20px;
  }

  .eq-public-hero {
    padding-top: 42px;
  }

  .eq-public-hero h1 {
    font-size: 37px;
  }

  .eq-public-hero__lede {
    font-size: 15px;
  }

  .eq-public-section h2 {
    font-size: 22px;
  }

  .eq-product-shot figcaption {
    display: block;
  }

  .eq-product-shot figcaption span:last-child {
    display: block;
    margin-top: 3px;
  }
}
.eq-public-note a {
  color: var(--eq-text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--eq-border);
  text-underline-offset: 3px;
}

.eq-public-note a:hover,
.eq-public-note a:focus-visible {
  text-decoration-color: var(--eq-accent-orange);
}
