/* ================================================================
   AXIVELO — subpage layer (blog, calculator, legal & support set)
   Loads AFTER main.css and reuses its tokens. Landing-only sections
   are simply absent from these documents.
   ================================================================ */

.page-main {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(130px, 18vh, 190px) clamp(20px, 5vw, 48px) clamp(80px, 10vh, 120px);
  min-height: 72svh;
}
.page-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(46% 30% at 50% 0%, rgba(245, 166, 35, 0.07), transparent 70%);
}
.page-head { margin-bottom: clamp(40px, 7vh, 64px); max-width: 760px; }
.page-head .sec-tag { margin-bottom: 20px; }
.page-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: -0.02em; line-height: 1.0;
  margin-bottom: 20px;
}
.page-dek { color: var(--ink-dim); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; max-width: 620px; }

/* --- placeholder stub --- */
.stub {
  position: relative;
  border: 1px dashed rgba(245, 166, 35, 0.35);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(18, 24, 44, 0.45), rgba(8, 11, 22, 0.85));
  padding: clamp(34px, 5vw, 56px);
  overflow: hidden;
}
.stub + .stub { margin-top: 22px; }
.stub-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.12em; color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.4); border-radius: 100px;
  padding: 7px 16px; margin-bottom: 22px;
}
.stub-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
.stub h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.stub p { color: var(--ink-dim); max-width: 560px; }
.stub .mono-note { margin-top: 20px; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-faint); }

/* ghost skeleton lines — the shape of future content */
.ghost { margin-top: 30px; display: flex; flex-direction: column; gap: 13px; }
.ghost i {
  display: block; height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(180, 200, 255, 0.07), rgba(180, 200, 255, 0.12), rgba(180, 200, 255, 0.07));
  background-size: 220% 100%;
  animation: ghostShift 2.6s ease-in-out infinite;
}
.ghost i:nth-child(2) { width: 92%; animation-delay: 0.15s; }
.ghost i:nth-child(3) { width: 78%; animation-delay: 0.3s; }
.ghost i:nth-child(4) { width: 85%; animation-delay: 0.45s; }
.ghost i:nth-child(5) { width: 55%; animation-delay: 0.6s; }
@keyframes ghostShift { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* --- card grids (blog ghosts, legal hub) --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.pg-card {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(165deg, rgba(18, 24, 44, 0.55), rgba(8, 11, 22, 0.9));
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 26px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
a.pg-card:hover { transform: translateY(-4px); border-color: rgba(245, 166, 35, 0.45); }
.pg-card .pgc-tag { font-size: 10.5px; letter-spacing: 0.1em; color: var(--gold); }
.pg-card h2, .pg-card h3 { font-size: 1.25rem; }
.pg-card p { color: var(--ink-dim); font-size: 0.93rem; flex: 1; }
.pg-card .pgc-cta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-faint); }
a.pg-card:hover .pgc-cta { color: var(--gold); }
.pg-card.is-ghost { pointer-events: none; }

/* --- contact strip --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: rgba(8, 11, 22, 0.75);
  padding: 24px 26px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.contact-card:hover { border-color: rgba(245, 166, 35, 0.45); transform: translateY(-3px); }
.contact-card .cc-label { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-faint); }
.contact-card .cc-mail { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 500; color: var(--gold-hi); word-break: break-all; }
.contact-card p { font-size: 0.88rem; color: var(--ink-dim); }

/* --- legal doc shell --- */
.doc-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.doc-meta span { font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }
.doc-meta b { color: var(--ink-dim); font-weight: 500; }

/* --- back strip --- */
.page-back { margin-top: 46px; }
.page-back a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-dim); }
.page-back a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .card-grid, .card-grid.two, .contact-grid { grid-template-columns: 1fr; }
}
