/* ov-components.css — Nav, Footer, Cards, Workflow SVG nodes, Auth */

/* ═══ NAV ═══ */
.ov-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: background var(--ov-t-base), box-shadow var(--ov-t-base);
}

/* Dark-top pages: transparent initially */
body.ov-page--dark-top .ov-nav {
  background: transparent;
}
body.ov-page--dark-top .ov-nav--scrolled {
  background: var(--ov-bg-dark);
  box-shadow: 0 1px 0 var(--ov-border-dark);
}

/* Light-top pages: solid white */
body.ov-page--light-top .ov-nav {
  background: var(--ov-bg-white);
  box-shadow: 0 1px 0 var(--ov-border-light);
}

.ov-nav__inner {
  max-width: var(--ov-container-max);
  margin: 0 auto;
  padding: 0 var(--ov-container-px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ov-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ov-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

/* Logo visibility by page theme */
.ov-nav__logo-light { display: block; }
.ov-nav__logo-dark  { display: none; }

body.ov-page--light-top .ov-nav__logo-light { display: none; }
body.ov-page--light-top .ov-nav__logo-dark  { display: block; }

/* When scrolled on dark-top, still show light logo */
body.ov-page--dark-top .ov-nav__logo-light { display: block; }
body.ov-page--dark-top .ov-nav__logo-dark  { display: none; }

.ov-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  flex: 1;
}

.ov-nav__link {
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--ov-t-fast), color var(--ov-t-fast);
  white-space: nowrap;
}

/* Dark-top page nav links */
body.ov-page--dark-top .ov-nav__link {
  color: var(--ov-fg-dark-secondary);
}
body.ov-page--dark-top .ov-nav__link:hover {
  color: var(--ov-fg-dark-primary);
  background: rgba(255,255,255,0.06);
}

/* Light-top page nav links */
body.ov-page--light-top .ov-nav__link {
  color: var(--ov-fg-light-secondary);
}
body.ov-page--light-top .ov-nav__link:hover {
  color: var(--ov-fg-light-primary);
  background: rgba(15,23,42,0.04);
}

.ov-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.ov-nav__signin {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: background var(--ov-t-fast), color var(--ov-t-fast);
}

body.ov-page--dark-top .ov-nav__signin {
  color: var(--ov-fg-dark-secondary);
}
body.ov-page--dark-top .ov-nav__signin:hover {
  color: var(--ov-fg-dark-primary);
  background: rgba(255,255,255,0.06);
}
body.ov-page--light-top .ov-nav__signin {
  color: var(--ov-fg-light-secondary);
}
body.ov-page--light-top .ov-nav__signin:hover {
  color: var(--ov-fg-light-primary);
  background: rgba(15,23,42,0.04);
}

/* Hamburger */
.ov-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  margin-left: auto;
}
.ov-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: transform var(--ov-t-fast), opacity var(--ov-t-fast);
}
body.ov-page--dark-top .ov-nav__hamburger span { background: var(--ov-fg-dark-primary); }
body.ov-page--light-top .ov-nav__hamburger span { background: var(--ov-fg-light-primary); }

/* Mobile menu */
.ov-nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  padding: 1.5rem var(--ov-container-px);
  overflow-y: auto;
  flex-direction: column;
  gap: 0.25rem;
}
.ov-nav__mobile.is-open { display: flex; }

body.ov-page--dark-top .ov-nav__mobile {
  background: var(--ov-bg-dark);
  border-top: 1px solid var(--ov-border-dark);
}
body.ov-page--light-top .ov-nav__mobile {
  background: var(--ov-bg-white);
  border-top: 1px solid var(--ov-border-light);
}

.ov-nav__mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--ov-t-fast);
}
body.ov-page--dark-top .ov-nav__mobile-link { color: var(--ov-fg-dark-primary); }
body.ov-page--dark-top .ov-nav__mobile-link:hover { background: rgba(255,255,255,0.06); }
body.ov-page--light-top .ov-nav__mobile-link { color: var(--ov-fg-light-primary); }
body.ov-page--light-top .ov-nav__mobile-link:hover { background: rgba(15,23,42,0.04); }

.ov-nav__mobile-divider {
  height: 1px;
  margin: 0.75rem 0;
}
body.ov-page--dark-top .ov-nav__mobile-divider { background: var(--ov-border-dark); }
body.ov-page--light-top .ov-nav__mobile-divider { background: var(--ov-border-light); }

.ov-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}
.ov-nav__mobile-actions .ov-btn {
  justify-content: center;
  width: 100%;
}

@media (max-width: 900px) {
  .ov-nav__links { display: none; }
  .ov-nav__actions { display: none; }
  .ov-nav__hamburger { display: flex; }
}

/* ═══ FOOTER ═══ */
.ov-footer {
  background: var(--ov-bg-dark);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.ov-footer__inner {
  max-width: var(--ov-container-max);
  margin: 0 auto;
  padding: 0 var(--ov-container-px);
}

.ov-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.ov-footer__brand-desc {
  font-size: 0.9rem;
  color: var(--ov-fg-dark-secondary);
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}

.ov-footer__col-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ov-fg-dark-secondary);
  margin-bottom: 1rem;
}

.ov-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ov-footer__link {
  font-size: 0.875rem;
  color: var(--ov-fg-dark-secondary);
  transition: color var(--ov-t-fast);
}
.ov-footer__link:hover { color: var(--ov-fg-dark-primary); }

.ov-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--ov-border-dark);
}
.ov-footer__legal-row {
  font-size: 0.8125rem;
  color: var(--ov-fg-dark-secondary);
  line-height: 1.6;
}
.ov-footer__legal-row a {
  color: var(--ov-fg-dark-secondary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--ov-t-fast), text-decoration-color var(--ov-t-fast);
}
.ov-footer__legal-row a:hover {
  color: var(--ov-fg-dark-primary);
  text-decoration-color: currentColor;
}

@media (max-width: 900px) {
  .ov-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ov-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ov-footer__grid { grid-template-columns: 1fr; }
}

/* ═══ HERO SECTION ═══ */
.ov-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.ov-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.55;
}

.ov-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 40%, rgba(15,23,42,0.65) 100%);
  z-index: 1;
}

.ov-hero__container {
  position: relative;
  z-index: 2;
  max-width: var(--ov-container-max);
  margin: 0 auto;
  padding: 0 var(--ov-container-px);
  width: 100%;
}

.ov-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ov-hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ov-fg-dark-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.ov-hero__headline em {
  font-style: normal;
  color: var(--ov-violet-dark);
}

.ov-hero__subhead {
  font-size: 1.125rem;
  color: var(--ov-fg-dark-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}

.ov-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.ov-hero__visual {
  position: relative;
}

.ov-hero__canvas-img {
  width: 100%;
  height: auto;
  border-radius: var(--ov-r-card);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.ov-hero__stat-strip {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ov-border-dark);
}
.ov-hero__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ov-fg-dark-primary);
}
.ov-hero__stat-label {
  font-size: 0.8125rem;
  color: var(--ov-fg-dark-secondary);
}

@media (max-width: 900px) {
  .ov-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ov-hero__subhead { max-width: 100%; }
}

/* ═══ WORKFLOW NODE SVG ═══ */
.ov-flow-svg { overflow: visible; }

.ov-node-rect {
  rx: 8;
  ry: 8;
}

/* ═══ FEATURE CARD ═══ */
.ov-feature-card {
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  padding: 1.75rem;
  transition: box-shadow var(--ov-t-base), border-color var(--ov-t-base);
}
.ov-feature-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  border-color: rgba(108,99,255,0.3);
}

.ov-section--light .ov-feature-card {
  background: var(--ov-bg-white);
}

.ov-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(108,99,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--ov-violet-aa);
}

.ov-feature-card__heading {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-bottom: 0.5rem;
}
.ov-feature-card__desc {
  font-size: 0.9rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.6;
}

/* Dark context feature card */
.ov-section--dark .ov-feature-card,
.ov-section--dark-alt .ov-feature-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--ov-border-dark);
}
.ov-section--dark .ov-feature-card:hover,
.ov-section--dark-alt .ov-feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(108,99,255,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.ov-section--dark .ov-feature-card__icon,
.ov-section--dark-alt .ov-feature-card__icon {
  background: rgba(108,99,255,0.2);
  color: var(--ov-violet-dark);
}
.ov-section--dark .ov-feature-card__heading,
.ov-section--dark-alt .ov-feature-card__heading {
  color: var(--ov-fg-dark-primary);
}
.ov-section--dark .ov-feature-card__desc,
.ov-section--dark-alt .ov-feature-card__desc {
  color: var(--ov-fg-dark-secondary);
}

/* ═══ BLOG CARD ═══ */
.ov-blog-card {
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  overflow: hidden;
  transition: box-shadow var(--ov-t-base), transform var(--ov-t-base);
}
.ov-blog-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.1);
  transform: translateY(-2px);
}

.ov-blog-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ov-bg-light);
}
.ov-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  height: auto;
  display: block;
  transition: transform var(--ov-t-slow);
}
.ov-blog-card:hover .ov-blog-card__img { transform: scale(1.03); }

.ov-blog-card__body {
  padding: 1.25rem;
}
.ov-blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ov-violet-aa);
  margin-bottom: 0.5rem;
}
.ov-blog-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.ov-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ov-blog-card__meta {
  font-size: 0.8125rem;
  color: var(--ov-fg-light-secondary);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.ov-blog-card__meta-dot { color: var(--ov-border-light); }

/* Dark context blog card (e.g., featured on dark hero) */
.ov-section--dark .ov-blog-card {
  background: var(--ov-bg-dark-alt);
  border-color: var(--ov-border-dark);
}
.ov-section--dark .ov-blog-card__category { color: var(--ov-violet-dark); }
.ov-section--dark .ov-blog-card__title    { color: var(--ov-fg-dark-primary); }
.ov-section--dark .ov-blog-card__excerpt  { color: var(--ov-fg-dark-secondary); }
.ov-section--dark .ov-blog-card__meta     { color: var(--ov-fg-dark-secondary); }

/* ═══ TESTIMONIAL CARD ═══ */
.ov-testimonial {
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  padding: 1.75rem;
}
.ov-testimonial__quote {
  font-size: 1rem;
  color: var(--ov-fg-light-primary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.ov-testimonial__quote::before { content: '"'; }
.ov-testimonial__quote::after  { content: '"'; }
.ov-testimonial__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
}
.ov-testimonial__role {
  font-size: 0.8125rem;
  color: var(--ov-fg-light-secondary);
  margin-top: 0.2rem;
}
.ov-testimonial__stars {
  margin-bottom: 1rem;
  color: var(--ov-amber);
  font-size: 0.875rem;
  letter-spacing: 1px;
}

/* ═══ PRICING CARD ═══ */
.ov-pricing-card {
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ov-t-base), transform var(--ov-t-base);
}
.ov-pricing-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}

.ov-pricing-card--featured {
  background: var(--ov-bg-dark);
  border-color: var(--ov-violet);
  box-shadow: 0 0 0 2px var(--ov-violet), 0 16px 48px rgba(108,99,255,0.25);
  transform: scale(1.03);
}
.ov-pricing-card--featured:hover {
  box-shadow: 0 0 0 2px var(--ov-violet), 0 24px 64px rgba(108,99,255,0.35);
}

.ov-pricing-card__tier-name {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--ov-fg-light-secondary);
}
.ov-pricing-card--featured .ov-pricing-card__tier-name { color: var(--ov-violet-dark); }

.ov-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.ov-pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ov-fg-light-primary);
}
.ov-pricing-card--featured .ov-pricing-card__amount { color: var(--ov-fg-dark-primary); }

.ov-pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ov-fg-light-secondary);
  align-self: flex-start;
  margin-top: 0.5rem;
}
.ov-pricing-card--featured .ov-pricing-card__currency { color: var(--ov-fg-dark-secondary); }

.ov-pricing-card__period {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
}
.ov-pricing-card--featured .ov-pricing-card__period { color: var(--ov-fg-dark-secondary); }

.ov-pricing-card__tagline {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
  margin-bottom: 1.5rem;
}
.ov-pricing-card--featured .ov-pricing-card__tagline { color: var(--ov-fg-dark-secondary); }

.ov-pricing-card__divider {
  height: 1px;
  background: var(--ov-border-light);
  margin: 1.25rem 0;
}
.ov-pricing-card--featured .ov-pricing-card__divider { background: var(--ov-border-dark); }

.ov-pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ov-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ov-fg-light-secondary);
}
.ov-pricing-card--featured .ov-pricing-card__features li { color: var(--ov-fg-dark-secondary); }

.ov-pricing-card__features li::before {
  content: '✓';
  color: var(--ov-teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}
.ov-pricing-card__cta { margin-top: auto; }
.ov-pricing-card__cta .ov-btn { width: 100%; justify-content: center; }

/* ═══ COMPARISON TABLE ═══ */
.ov-compare-table {
  width: 100%;
  border-collapse: collapse;
}
.ov-compare-table th,
.ov-compare-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ov-border-dark);
  font-size: 0.9rem;
}
.ov-compare-table th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ov-fg-dark-secondary);
  white-space: nowrap;
}
.ov-compare-table td { color: var(--ov-fg-dark-primary); }
.ov-compare-table thead tr { border-bottom: 2px solid var(--ov-border-dark); }
.ov-compare-table .ov-check  { color: var(--ov-teal); font-weight: 700; }
.ov-compare-table .ov-cross  { color: var(--ov-fg-dark-secondary); opacity: 0.4; }
.ov-compare-table .ov-partial { color: var(--ov-amber); }
.ov-compare-table tr:hover td { background: rgba(255,255,255,0.03); }
.ov-compare-table .ov-col-orchvyne th { color: var(--ov-violet-dark); }

/* ═══ FAQ ACCORDION ═══ */
.ov-faq__item {
  border-bottom: 1px solid var(--ov-border-light);
}
.ov-section--dark .ov-faq__item,
.ov-section--dark-alt .ov-faq__item { border-color: var(--ov-border-dark); }

.ov-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ov-fg-light-primary);
  transition: color var(--ov-t-fast);
}
.ov-faq__question:hover { color: var(--ov-violet-aa); }
.ov-section--dark .ov-faq__question,
.ov-section--dark-alt .ov-faq__question {
  color: var(--ov-fg-dark-primary);
}
.ov-section--dark .ov-faq__question:hover,
.ov-section--dark-alt .ov-faq__question:hover {
  color: var(--ov-violet-dark);
}

.ov-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ov-t-fast);
  color: var(--ov-fg-light-secondary);
}
.ov-section--dark .ov-faq__icon,
.ov-section--dark-alt .ov-faq__icon { color: var(--ov-fg-dark-secondary); }

.ov-faq__item.is-open .ov-faq__icon { transform: rotate(45deg); }

.ov-faq__answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.7;
}
.ov-section--dark .ov-faq__answer,
.ov-section--dark-alt .ov-faq__answer { color: var(--ov-fg-dark-secondary); }
.ov-faq__item.is-open .ov-faq__answer { display: block; }

/* ═══ AUTH CARD ═══ */
.ov-auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem var(--ov-container-px) 3rem;
}

.ov-auth-card {
  background: var(--ov-bg-dark-alt);
  border: 1px solid var(--ov-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
}

body.ov-page--light-top .ov-auth-screen { background: var(--ov-bg-light); }
body.ov-page--light-top .ov-auth-card {
  background: var(--ov-bg-white);
  border-color: var(--ov-border-light);
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
}

.ov-auth-card__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ov-fg-dark-primary);
  margin-bottom: 0.375rem;
}
body.ov-page--light-top .ov-auth-card__heading { color: var(--ov-fg-light-primary); }

.ov-auth-card__sub {
  font-size: 0.9rem;
  color: var(--ov-fg-dark-secondary);
  margin-bottom: 2rem;
}
body.ov-page--light-top .ov-auth-card__sub { color: var(--ov-fg-light-secondary); }

.ov-auth-field {
  margin-bottom: 1.25rem;
}
.ov-auth-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ov-fg-dark-secondary);
}
body.ov-page--light-top .ov-auth-label { color: var(--ov-fg-light-secondary); }

.ov-auth-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--ov-border-dark);
  border-radius: var(--ov-r-btn);
  color: var(--ov-fg-dark-primary);
  font-size: 0.9375rem;
  transition: border-color var(--ov-t-fast), box-shadow var(--ov-t-fast);
}
.ov-auth-input:focus {
  outline: none;
  border-color: var(--ov-violet);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.2);
}
body.ov-page--light-top .ov-auth-input {
  background: var(--ov-bg-white);
  border-color: var(--ov-border-light);
  color: var(--ov-fg-light-primary);
}
.ov-auth-input::placeholder { color: var(--ov-fg-dark-secondary); opacity: 0.7; }
body.ov-page--light-top .ov-auth-input::placeholder { color: var(--ov-fg-light-secondary); opacity: 0.7; }

.ov-auth-submit {
  width: 100%;
  margin-top: 0.5rem;
}
.ov-auth-submit .ov-btn { width: 100%; justify-content: center; }

.ov-auth-footer-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ov-fg-dark-secondary);
}
body.ov-page--light-top .ov-auth-footer-links { color: var(--ov-fg-light-secondary); }
.ov-auth-footer-links a {
  color: var(--ov-violet-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--ov-t-fast);
}
body.ov-page--light-top .ov-auth-footer-links a { color: var(--ov-violet-aa); }
.ov-auth-footer-links a:hover { text-decoration-color: currentColor; }

/* ═══ CHANGELOG ENTRY ═══ */
.ov-changelog-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--ov-border-light);
}
.ov-changelog-entry:last-child { border-bottom: none; }

.ov-changelog-entry__meta {
  padding-top: 0.2rem;
}
.ov-changelog-entry__date {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
  margin-bottom: 0.5rem;
}
.ov-changelog-entry__version {
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--ov-font-mono);
  color: var(--ov-violet-aa);
  background: rgba(108,99,255,0.08);
  padding: 0.2em 0.5em;
  border-radius: var(--ov-r-badge);
  display: inline-block;
}
.ov-changelog-entry__heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-bottom: 0.5rem;
}
.ov-changelog-entry__summary {
  font-size: 0.9375rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}
.ov-changelog-entry__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ov-changelog-entry__bullets li {
  font-size: 0.9rem;
  color: var(--ov-fg-light-secondary);
  padding-left: 1.25rem;
  position: relative;
}
.ov-changelog-entry__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ov-violet-aa);
  font-size: 0.75rem;
  top: 0.1em;
}

@media (max-width: 640px) {
  .ov-changelog-entry {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ═══ SECURITY FEATURE CARD ═══ */
.ov-security-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
}
.ov-security-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(108,99,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--ov-violet-aa);
}
.ov-security-card__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-bottom: 0.35rem;
}
.ov-security-card__desc {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.6;
}

/* ═══ INTEGRATION CARD ═══ */
.ov-integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem;
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  text-align: center;
  transition: box-shadow var(--ov-t-fast), border-color var(--ov-t-fast);
}
.ov-integration-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
  border-color: rgba(108,99,255,0.3);
}
.ov-integration-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 8px;
}
.ov-integration-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ov-fg-light-primary);
}
.ov-integration-card__category {
  font-size: 0.75rem;
  color: var(--ov-fg-light-secondary);
}

/* ═══ USE CASE CARD ═══ */
.ov-uc-card {
  background: var(--ov-bg-white);
  border: 1px solid var(--ov-border-light);
  border-radius: var(--ov-r-card);
  padding: 1.75rem;
  transition: box-shadow var(--ov-t-base), transform var(--ov-t-base);
}
.ov-uc-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.ov-uc-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.ov-uc-card__heading {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-bottom: 0.5rem;
}
.ov-uc-card__desc {
  font-size: 0.9rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ov-uc-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ov-violet-aa);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--ov-t-fast), color var(--ov-t-fast);
}
.ov-uc-card:hover .ov-uc-card__link { gap: 0.5rem; }

/* ═══ GRID UTILITIES ═══ */
.ov-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ov-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ov-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.ov-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .ov-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ov-grid-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .ov-grid-3 { grid-template-columns: 1fr; }
  .ov-grid-2 { grid-template-columns: 1fr; }
  .ov-grid-4 { grid-template-columns: 1fr 1fr; }
  .ov-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .ov-grid-4 { grid-template-columns: 1fr; }
  .ov-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ SECTION HEADER ═══ */
.ov-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.ov-section-header .ov-eyebrow { margin-bottom: 0.75rem; display: block; }
.ov-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}
.ov-section-header p {
  font-size: 1.0625rem;
  line-height: 1.65;
}
.ov-section--dark  .ov-section-header p,
.ov-section--dark-alt .ov-section-header p { color: var(--ov-fg-dark-secondary); }
.ov-section--light .ov-section-header p,
.ov-section--white .ov-section-header p,
.ov-section--cream .ov-section-header p  { color: var(--ov-fg-light-secondary); }

/* ═══ LEGAL CONTENT ═══ */
.ov-legal-content { max-width: 760px; margin: 0 auto; }
.ov-legal-content .legal-header { margin-bottom: 2.5rem; }
.ov-legal-content .legal-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--ov-fg-light-primary);
  margin-bottom: 0.5rem;
}
.ov-legal-content .legal-meta {
  font-size: 0.875rem;
  color: var(--ov-fg-light-secondary);
}
.ov-legal-content h2 {
  font-size: 1.25rem;
  color: var(--ov-fg-light-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.ov-legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.ov-legal-content p {
  font-size: 0.9375rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.ov-legal-content ul, .ov-legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}
.ov-legal-content li {
  font-size: 0.9375rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}
.ov-legal-content address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.7;
}
.ov-legal-content a {
  color: var(--ov-violet-aa);
  text-decoration: underline;
}
.ov-legal-content a:hover { color: var(--ov-violet); }
.ov-legal-content section { margin-bottom: 0.5rem; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--ov-border-light);
  padding: 0.625rem 0.875rem;
  text-align: left;
  color: var(--ov-fg-light-secondary);
}
.legal-table th {
  background: var(--ov-bg-light);
  font-weight: 600;
  color: var(--ov-fg-light-primary);
}

/* ═══ ARTICLE BODY ═══ */
.ov-blog-article__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem var(--ov-container-px);
}
body.ov-page--light-top .ov-blog-article__body h2 {
  font-size: 1.5rem;
  color: var(--ov-fg-light-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
body.ov-page--light-top .ov-blog-article__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ov-fg-light-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
body.ov-page--light-top .ov-blog-article__body p {
  font-size: 1rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
body.ov-page--light-top .ov-blog-article__body ul,
body.ov-page--light-top .ov-blog-article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}
body.ov-page--light-top .ov-blog-article__body li {
  font-size: 1rem;
  color: var(--ov-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
body.ov-page--light-top .ov-blog-article__body code {
  font-family: var(--ov-font-mono);
  font-size: 0.875em;
  background: var(--ov-bg-light);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--ov-violet-aa);
}
body.ov-page--light-top .ov-blog-article__body a {
  color: var(--ov-violet-aa);
  text-decoration: underline;
}

/* ═══ ARTICLE COVER ═══ */
.ov-blog-article__cover {
  width: 100%;
  height: auto;
  border-radius: var(--ov-r-card);
  margin-bottom: 2.5rem;
}

/* ═══ SUBPAGE HERO ═══ */
.ov-subhero {
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.ov-subhero__inner {
  max-width: var(--ov-container-max);
  margin: 0 auto;
  padding: 0 var(--ov-container-px);
}
.ov-subhero__eyebrow { margin-bottom: 0.875rem; display: block; }
.ov-subhero__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.ov-subhero__desc {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 2rem;
}
.ov-subhero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.ov-section--light .ov-subhero__heading { color: var(--ov-fg-light-primary); }
.ov-section--light .ov-subhero__desc    { color: var(--ov-fg-light-secondary); }
.ov-section--dark  .ov-subhero__heading { color: var(--ov-fg-dark-primary); }
.ov-section--dark  .ov-subhero__desc    { color: var(--ov-fg-dark-secondary); }

/* ═══ LOGO TICKER ═══ */
.ov-ticker {
  overflow: hidden;
  position: relative;
}
.ov-ticker::before, .ov-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ov-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--ov-bg-dark-alt), transparent);
}
.ov-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--ov-bg-dark-alt), transparent);
}
.ov-ticker__track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: ov-ticker-scroll 28s linear infinite;
  width: max-content;
}
.ov-ticker__track:hover { animation-play-state: paused; }
@keyframes ov-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ov-ticker__item {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ov-fg-dark-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
}
.ov-ticker__item i { color: var(--ov-fg-dark-secondary); font-size: 1rem; }
