/* app-ui.css
   Expanded minimalist corporate layout on top of base-ui.css
   - More whitespace + larger type
   - Side-by-side hero image
   - Placeholder “visual break” sections
   - Subtle borders on panels/buttons
*/


html {
  font-size: 17px; /* overall scale up */
  scrollbar-gutter: stable;
}

/* JS safe initial visibility */

html.js body {
	visibility: hidden;
}

.theme-toggle {
	visibility: hidden;
}

html.js .theme-toggle {
	visibility: visible;
}


body {
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main {
	padding: 50px;
}

.layout-constrained .main {
	padding: 10px 0px 50px 50px;
}

.small {
	font-size: 0.80rem;
}

.mb-20 {
	margin-bottom: 20px !important;
}

.p-0 {
	padding: 0 !important;
}

.pt-0 {
	padding-top: 0 !important;
}

/* More vertical rhythm */
section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-tight {
  padding-bottom: 1.5rem;
}

.layout-constrained {
	max-width: 1120px;
   margin: 0 auto;
  padding: 0 1rem;
}

.layout-constrained .section {

}

.nav-toggle {
  color: var(--dark-text-primary);
}


/*  Always dark background */

.nav-horizontal {
	margin-left: 48px;
}

.nav-horizontal a {
	color: var(--dark-text-secondary);
	text-transform: uppercase;
}

.nav-horizontal a:hover {
	color: var(--dark-text-primary);
}

.nav-horizontal a.active {
    color: var(--dark-text-primary);
    background-color: transparent;
	padding: 0px 10px;
	border: none;
}

.theme-toggle button {
    border: none;
    background: transparent;
    color: var(--color-text-primary);
}

.sidebar .button-block {
	width: 100%;
}


/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  border: none;
}

.app-logo img {
  height: 40px;
  width: auto;
  border: none;
}

/* Header line more subtle */
.app-header {
  border-bottom: 1px solid color-mix(in srgb, var(--color-border-default) 40%, transparent);
  min-height: 38px;
  background-color: var(--dark-bg-surface);
  border-bottom: 1px solid var(--dark-border-default);
  overflow: visible;
  padding: 0;
}

.app-header-contents {
	display: flex;
    align-items: center;
    justify-content: space-between;
	width: 100%;
	padding: 2px 20px;
}

/* Eyebrow */
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* Headings */
.hero-title {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

/* Body copy slightly larger */
p,
li {
  font-size: 1.05rem;
}

.sub-title {
  max-width: 60ch;
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.text-muted {
  color: var(--color-text-secondary);
}

/* Hero */
.hero {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.hero-copy {
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1rem;
}

.hero-bullets {
  max-width: 70ch;
  margin-top: 0.75rem;
}

ul li {
  margin-bottom: 0.35rem;
}

.mini-note {
  margin-top: 1rem;
}

/* Hero image: larger but quieter */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100%;
}


.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or "cover" if you prefer */
  display: block;
  border-radius: 0.75rem;
  opacity: 0.92;
  filter: saturate(0.9);
  border: 0px;
}


/* Tight copy helper */
.tight {
  margin-bottom: 0.75rem;
}

/* Panels & lines: more subtle */
.panel {
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--color-border-default) 45%, transparent);
}

.sidebar > .panel {
	margin-bottom: 2rem;
}

/* Buttons: subtle borders */
.button {
  border-color: color-mix(in srgb, var(--color-border-default) 40%, transparent);
  box-shadow: none;
}

.button.button-secondary {
  background: var(--color-bg-button-secondary);
  color: var(--color-text-button-secondary);
}

/* Grid helpers */
.grid {
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* Compact list spacing */
ul.compact {
  margin-top: 0.5rem;
}
ul.compact li {
  margin-bottom: 0.25rem;
}

/* DNRAM split */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.callout {
  background: var(--color-bg-subtle);
  border: 1px solid color-mix(in srgb, var(--color-border-subtle) 55%, transparent);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

/* Optional DNRAM visual */
.dnram-visual {
  margin-top: 1.75rem;
  padding: 1rem;
}

.dnram-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-bg-subtle);
  border: 1px solid color-mix(in srgb, var(--color-border-subtle) 55%, transparent);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* CTA rows */
.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Visual breaks (wide placeholder images) */
.visual-break {
  padding-top: 0;
  padding-bottom: 0;
}

.visual-break img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  
  
}

/* Footer */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-text-secondary);
}

.footer-links a:hover {
  color: var(--color-text-primary);
}



.list-item > a {
	padding: 2px 5px;
	font-size: 15px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .main {
	  padding: 20px;
  }
  
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    height: 26px;
  }
  
  .main {
	  padding: 10px;
  }
  
  .layout-constrained .main {
		padding: 10px 0px 10px 10px;
  }
}
/* ============================
   PRODUCTS PAGE ONLY (SCOPED)
   ============================ */

/* Full-width hero */
.products-page .hero-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.products-page .hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.products-page .hero-copy {
  margin: 0 auto;
  max-width: 70ch;
}

/* Grid layout tuning for this page */
.products-page .products-grid {
  align-items: stretch;
}

/* Panel spacing only for this page */
.products-page .panel.product-card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
}

/* Make CTAs align across cards */
.products-page .product-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Normalize meta height so button position doesn't shift */
.products-page .product-card__meta {
  min-height: 2.6em; /* reserve ~2 lines */
  margin: 0;
}

/* Normalize image area height so the two image cards match */
.products-page .product-card .visual-break {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 220px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;

  padding-top: 0;
  padding-bottom: 0;
}

.products-page .product-card .visual-break img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;

  border-radius: 0.75rem;
}

.products-page .product-card h3 {
  margin-bottom: 0.25rem;
}

.products-page .product-card .section-tight {
  padding-bottom: 0.75rem;
}

.products-page .product-card h3 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid color-mix(
    in srgb,
    var(--color-border-default) 50%,
    transparent
  );
  margin-bottom: 0.75rem;
}

.product-card h3 {
  min-height: 3em;
  line-height: 1.5;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
    min-height: 4em;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}


.product-card .visual-break {
  position: relative;
  z-index: 1;
  margin-top: 0;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .visual-break img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-card {
  min-width: 0;
}



