body.content-page {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, "Segoe UI Symbol", "Noto Sans Symbols", "Arial Unicode MS", sans-serif;
  color: #172033;
  background: radial-gradient(circle, rgba(0,0,0,0.16) 1px, transparent 1px), #f3f3f3;
  background-size: 24px 24px;
}

.content-top-bar { justify-content: space-between; }
.content-logo { color: #fff; text-decoration: none; }
.content-menu-host { margin-left: auto; display: flex; align-items: center; }
.content-menu-host .aiigle-info-menu-wrap { margin-left: 0 !important; }
.content-menu-host .aiigle-info-menu { top: 50px !important; right: 0 !important; }

.content-shell {
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 104px 0 64px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: stretch;
  margin-bottom: 22px;
}

.content-card, .hero-copy, .hero-side, .feature-card {
  background: rgba(255,255,255,.94);
  border: 1px solid #d8dee8;
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
}

.hero-copy, .hero-side, .content-card, .feature-card { padding: 30px; }

.hero-copy h1, .content-card h1 {
  margin: 0 0 12px;
  color: #2b579a;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.hero-copy p, .content-card p, .feature-card p {
  color: #445066;
  font-size: 17px;
  line-height: 1.62;
}

.hero-side { display: flex; flex-direction: column; justify-content: center; background: #2b579a; color: #fff; }
.hero-side h2 { margin: 0 0 12px; font-size: 26px; font-weight: 400; }
.hero-side p { color: rgba(255,255,255,.84); }
.content-card { margin-bottom: 18px; }
.content-card h2, .feature-card h3 { margin: 0 0 10px; color: #2b579a; font-weight: 400; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.content-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 11px 16px;
  background: #2b579a;
  color: #fff;
  text-decoration: none;
}

.content-link:hover { background: #1e4e8c; }

.content-footer {
  width: 100%;
  padding: 28px 12px 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.content-footer a, .content-footer span { color: #64748b; text-decoration: none; }
.content-footer a:hover { color: #172033; text-decoration: underline; }

@media (max-width: 760px) {
  .content-top-bar {
    height: 50px !important;
    min-height: 50px !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }

  .content-menu-host { margin-left: auto; }

  .content-menu-host .aiigle-info-menu,
  body.aiigle-info-open .content-menu-host .aiigle-info-menu {
    top: 50px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
  }

  .content-shell {
    width: calc(100vw - 24px);
    padding: 78px 0 42px;
  }

  .hero-panel, .feature-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-side, .content-card, .feature-card { padding: 22px; }
}


/* Impressum page: keep hero-panel layout, but use normal text spacing */
.impressum-panel .hero-copy,
.impressum-panel .hero-side {
  justify-content: flex-start;
}

.impressum-panel .hero-copy h1 {
  margin: 0 0 24px;
}

.impressum-panel .hero-copy h2,
.impressum-panel .hero-side h2 {
  margin: 26px 0 10px;
}

.impressum-panel .hero-copy h2:first-of-type,
.impressum-panel .hero-side h2:first-of-type {
  margin-top: 0;
}

.impressum-panel .hero-copy p,
.impressum-panel .hero-side p {
  margin: 0 0 18px;
  padding: 0;
}

.impressum-panel .hero-copy p:last-child,
.impressum-panel .hero-side p:last-child {
  margin-bottom: 0;
}

.impressum-panel .contact-line {
  margin-bottom: 10px;
}

.impressum-panel a {
  color: #2b579a;
}

.impressum-panel .hero-side a {
  color: #ffffff;
}


/* Aiigle about-page workflow animation */
.about-flow-hero {
  height: 50vh;
  min-height: 360px;
  max-height: 560px;
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(0,0,0,0.16) 1px, transparent 1px), #f3f3f3;
  background-size: 22px 22px;
  border: 1px solid #d8dee8;
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
  position: relative;
}

.about-flow-stage {
  position: relative;
  width: 920px;
  height: 420px;
  transform-origin: top left;
  margin: 0 auto;
}

.about-flow-svg {
  position: absolute;
  inset: 0;
  width: 920px;
  height: 420px;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.about-flow-svg marker path { fill: #000; }

.about-flow-line {
  fill: none;
  stroke: #000;
  stroke-width: 4;
  marker-end: url(#about-flow-triangle);
  opacity: .78;
  transition: stroke .25s ease, opacity .25s ease, stroke-width .25s ease;
}

.about-flow-line.is-running {
  stroke: #000;
  stroke-width: 4;
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  opacity: 1;
  animation: about-flow-dash-move 1s linear infinite;
}

.about-flow-line.is-done {
  stroke: #4CAF50;
  opacity: .92;
}

@keyframes about-flow-dash-move {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -16; }
}

.about-flow-node {
  position: absolute;
  z-index: 2;
  width: 180px;
  min-height: 78px;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0,0,0,.10);
  overflow: hidden;
  font-family: Arial, "Segoe UI Symbol", "Noto Sans Symbols", "Arial Unicode MS", sans-serif;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-flow-node.is-running {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(33,150,243,.22);
  border-color: rgba(33,150,243,.7);
}

.about-flow-node.is-done {
  border-color: rgba(76,175,80,.75);
  box-shadow: 0 16px 26px rgba(76,175,80,.18);
}

.about-flow-header {
  position: relative;
  padding: 4px 7px;
  z-index: 3;
  background-color: #2196F3;
  color: #fff;
  text-align: center;
  font-size: 13px;
  min-height: 23px;
  overflow: hidden;
  transition: background-color .6s ease;
}

.about-flow-tool {
  float: right;
  margin-top: -2px;
  margin-right: 1px;
}

.about-flow-node.is-running .about-flow-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,.3) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.3) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: about-flow-stripes 1s linear infinite;
  pointer-events: none;
}

.about-flow-node.is-done .about-flow-header {
  background-color: #4CAF50;
}

.about-flow-node.is-done .about-flow-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  animation: about-flow-done-glow 1.8s ease-out forwards;
  pointer-events: none;
}

@keyframes about-flow-stripes {
  from { background-position: 0 0; }
  to { background-position: 20px 0; }
}

@keyframes about-flow-done-glow {
  from { opacity: 1; }
  to { opacity: 0; }
}

.about-flow-body { height: 150px; background: #fff; }
.about-flow-small-body { height: 30px; }
.about-flow-mid-body { height: 50px; }
.about-flow-plot-body { height: 70px; }

.about-flow-input {
  display: block;
  width: calc(100% - 12px);
  margin: 4px 6px 6px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.2);
  font-size: 11px;
  color: #64748b;
  background: #fff;
  box-sizing: border-box;
}

.about-flow-port {
  position: absolute;
  min-width: 10px;
  min-height: 10px;
  font-size: 12px;
  line-height: 1.2;
  color: #333;
  white-space: nowrap;
  z-index: 4;
}

.about-flow-port::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #000;
  border-radius: 5px;
  background: #fff;
  transform: translateY(-50%);
}

.about-flow-port.black::after { background: #000; }

.about-flow-port-in {
  left: -2px;
  padding-left: 20px;
  text-align: left;
}

.about-flow-port-in::after { left: 3px; }

.about-flow-port-out {
  right: 7px;
  padding-right: 20px;
  text-align: right;
}

.about-flow-port-out::after { right: 3px; }

.about-flow-node-load { left: 112px; top: 54px; }
.about-flow-node-import { left: 28px; top: 162px; }
.about-flow-node-predict { left: 372px; top: 108px; }
.about-flow-node-matrix { left: 456px; top: 226px; }
.about-flow-node-ux { left: 720px; top: 170px; }

.about-flow-stage.is-paused .about-flow-line,
.about-flow-stage.is-paused .about-flow-header::before {
  animation-play-state: paused;
}

@media (max-width: 760px) {
  .about-flow-hero {
    height: 50vh;
    min-height: 320px;
    max-height: none;
  }

  .about-flow-stage {
    margin-left: 0;
  }

  .about-flow-node {
    width: 172px;
  }

  .about-flow-port {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-flow-line,
  .about-flow-header::before,
  .about-flow-header::after {
    animation: none !important;
  }
}

/* Legal/content pages: readable document spacing */
.content-card {
  margin-bottom: 24px;
  padding: 42px 46px;
  border-radius: 0;
}

.content-card > *:first-child {
  margin-top: 0;
}

.content-card > *:last-child {
  margin-bottom: 0;
}

.content-card h1 {
  margin: 0 0 28px;
  padding: 0;
}

.content-card h2 {
  margin: 34px 0 12px;
  padding: 0;
  line-height: 1.25;
}

.content-card h2:first-of-type {
  margin-top: 0;
}

.content-card h3 {
  margin: 26px 0 10px;
  padding: 0;
  line-height: 1.3;
  color: #2b579a;
  font-weight: 400;
}

.content-card p {
  margin: 0 0 18px;
  padding: 0;
  max-width: 100%;
}

.content-card ul,
.content-card ol {
  margin: 8px 0 22px 28px;
  padding: 0;
  color: #172033;
}

.content-card li {
  margin: 0 0 8px;
  padding-left: 2px;
  line-height: 1.55;
  font-size: 17px;
  color: #172033;
}

.content-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .content-card {
    padding: 26px 22px;
    margin-bottom: 18px;
  }

  .content-card h1 {
    margin-bottom: 22px;
    font-size: clamp(30px, 10vw, 42px);
  }

  .content-card h2 {
    margin: 28px 0 10px;
    font-size: 24px;
  }

  .content-card p,
  .content-card li {
    font-size: 16px;
    line-height: 1.58;
  }

  .content-card ul,
  .content-card ol {
    margin-left: 22px;
  }
}
img {max-width:100%}
.feature-card > img {  
  display: block;
  max-width: min(100%, 270px);
  height: auto;
  margin: 0 auto;
}
pre {padding:5px}

/* Extends content.css without modifying it */

.store-search input{
 width:100%;
 padding:14px;
 border:1px solid #d8dee8;
 box-sizing:border-box;
}

.store-stats{
 display:grid;
 grid-template-columns:repeat(4,1fr);
 gap:18px;
 margin-bottom:18px;
}

.store-grid{
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
 gap:20px;
}

.store-card{
 background:#fff;
 border:1px solid #d8dee8;
 box-shadow:0 18px 45px rgba(15,23,42,.10);
}

.store-card-header{
 height:180px;
 background:#eef3fb;
}

.store-card-body{
 padding:20px;
}

.store-actions{
    display:flex;
    margin-top:18px;
}

.store-actions button{
    flex:1;
    height:46px;
    background:#fff;
    border:none;
    color:#2b579a;
    font-weight:500;
    font-size:12px !important;
}

.store-actions button:hover{
    background:#f7f9fc;
}

.store-import{
    
    margin-right:10px;
}

.store-run{
    background:#2b579a !important;
    color:#fff !important;
}

.store-meta{
    display:flex;
    gap:14px;
    color:#64748b;
    font-size:13px;
}
.store-actions .icon{
    width:18px;
    height:18px;
    background:#fff;
    display:inline-block;
    mask-repeat:no-repeat;
    mask-position:center;
    mask-size:contain;
    -webkit-mask-repeat:no-repeat;
    -webkit-mask-position:center;
    -webkit-mask-size:contain;
}

.store-actions .store-import .icon{
    mask-image:url("https://aiigle.com/lib/svg/new.svg");
    -webkit-mask-image:url("https://aiigle.com/lib/svg/new.svg");
    margin-right:5px;
}

.store-actions .store-run .icon{
    mask-image:url("https://aiigle.com/lib/svg/play.svg");
    -webkit-mask-image:url("https://aiigle.com/lib/svg/play.svg");
    margin-right:5px;
}

@media(max-width:760px){
 .store-stats{
  grid-template-columns:1fr 1fr;
 }
}
