/**
 * design-system.css — Appcademic 2026 redesign.
 * Modern SaaS/minimal visual system (approved design direction), replacing
 * the old Bootstrap-template look. Loaded on every page, after style.css/
 * page CSS/base.css, so it wins the cascade for anything it targets.
 * Fonts: Sora (headings) + Plus Jakarta Sans (body) — loaded via <head> link.
 */

:root {
  --bg: oklch(98.4% 0.004 255);
  --surface: oklch(100% 0 0);
  --ink: oklch(23% 0.024 260);
  --muted: oklch(48% 0.022 260);
  --border: oklch(91% 0.009 255);
  --blue: oklch(56% 0.17 258);
  --blue-ink: oklch(40% 0.16 258);
  --cyan: oklch(74% 0.11 200);
  --blue-soft: oklch(95% 0.025 258);
  --cyan-soft: oklch(95% 0.03 200);
  --dark: oklch(20% 0.03 262);
  --header-bg: oklch(100% 0 0);
  --section-tint: oklch(96% 0.016 250);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-card: 0 24px 48px -28px rgba(20, 30, 60, 0.28);
  --header-h: 84px;
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
}

/* ----------------------------------------------------------------
   Reset the old template's look for anything the new system owns
   ---------------------------------------------------------------- */
html { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ds h1, .ds h2, .ds h3, .ds h4,
.ds-h1, .ds-h2, .ds-h3, .ds-h4 {
  font-family: "Sora", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.ds p { margin: 0; }
.ds a { color: var(--blue-ink); text-decoration: none; }
.ds a:hover { color: var(--blue); }

.ds-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .ds-wrap { padding: 0 20px; }
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms;
}

.ds-btn-primary,
.ds a.ds-btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.06);
}

.ds-btn-primary:hover,
.ds a.ds-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(20, 20, 30, 0.35);
  color: #fff;
}

.ds-btn-ghost,
.ds a.ds-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.ds-btn-ghost:hover,
.ds a.ds-btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-ink);
}

.ds-btn-light,
.ds a.ds-btn-light {
  background: #fff;
  color: var(--blue-ink);
}

.ds-btn-light:hover,
.ds a.ds-btn-light:hover {
  transform: translateY(-2px);
  color: var(--blue-ink);
}

@media (prefers-reduced-motion: reduce) {
  .ds-btn:hover { transform: none; }
}

/* ----------------------------------------------------------------
   Eyebrow / pill label
   ---------------------------------------------------------------- */
.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-ink);
  background: var(--blue-soft);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ----------------------------------------------------------------
   Cards
   ---------------------------------------------------------------- */
.ds-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

@media (prefers-reduced-motion: reduce) {
  .ds-card-hover:hover { transform: none; }
}

.ds-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ds-icon-tile svg { stroke: var(--blue-ink); }
.ds-icon-tile.blue { background: var(--blue-soft); }
.ds-icon-tile.cyan { background: var(--cyan-soft); }

/* ----------------------------------------------------------------
   Header / Nav
   ---------------------------------------------------------------- */
#header.ds-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.06);
  z-index: 997;
  display: flex;
  align-items: center;
  transition: none;
}

.ds-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ds-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ds-logo img { width: 30px; height: 30px; display: block; }

.ds-logo-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.ds-navlinks {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-navlinks > li { position: relative; }

.ds-navlinks a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ds-navlinks a.active,
.ds-navlinks a:hover { color: var(--blue-ink); }

.ds-navlinks .ds-dropdown-menu {
  display: block;
  position: absolute;
  left: -14px;
  top: calc(100% + 14px);
  min-width: 240px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-navlinks > li:hover > .ds-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ds-navlinks .ds-dropdown-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
}

.ds-navlinks .ds-dropdown-menu a:hover { background: var(--blue-soft); }

.ds-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}

.ds-nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .ds-navlinks-desktop, .ds-header-cta { display: none; }
  .ds-nav-toggle { display: flex; }
}

/* Mobile nav drawer */
.ds-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: rgba(15, 20, 35, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
}

.ds-mobile-nav.is-open { opacity: 1; visibility: visible; }

.ds-mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--surface);
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.ds-mobile-nav.is-open .ds-mobile-nav-panel { transform: translateX(0); }

.ds-mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  padding: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  color: var(--ink);
}

.ds-mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 8px;
  border-radius: 8px;
}

.ds-mobile-nav a:hover { background: var(--blue-soft); }

.ds-mobile-nav .ds-mobile-group-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 16px 8px 4px;
}

.ds-mobile-nav .ds-btn { margin-top: 16px; }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.ds-hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 900px 520px at 12% 0%, var(--blue-soft), transparent 60%),
    radial-gradient(ellipse 800px 480px at 100% 10%, var(--cyan-soft), transparent 55%);
}

/* Full-bleed tinted section background — used to alternate rhythm down a
   long page (e.g. the homepage) so it doesn't read as one flat field. */
.ds-section-tint {
  background: var(--section-tint);
}

/* Full-bleed dark section — a bolder break in the rhythm (e.g. right below
   the hero banner). Flips heading/body text to light, on-brand colors;
   .ds-card children keep their own white background + dark text as-is. */
.ds-section-dark {
  background: var(--dark);
}

.ds-section-dark h1, .ds-section-dark h2, .ds-section-dark h3, .ds-section-dark h4 {
  color: #fff;
}

.ds-section-dark p {
  color: oklch(75% 0.015 260);
}

.ds-section-dark .ds-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: oklch(88% 0.03 258);
}

/* .ds-card children keep dark text on their own white card background —
   without this, a card's h3 title would inherit the section's white
   heading color and vanish against the white card. */
.ds-section-dark .ds-card h1,
.ds-section-dark .ds-card h2,
.ds-section-dark .ds-card h3,
.ds-section-dark .ds-card h4 {
  color: var(--ink);
}

/* Buttons on a dark section need their own contrast — the default primary
   (near-black on near-black) and ghost (dark border/text on dark) both
   disappear otherwise. */
.ds-section-dark .ds-btn-primary,
.ds-section-dark a.ds-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.ds-section-dark .ds-btn-ghost,
.ds-section-dark a.ds-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ds-section-dark .ds-btn-ghost:hover,
.ds-section-dark a.ds-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ----------------------------------------------------------------
   Terminal / activity-feed card — a distinct visual for automation-style
   content (avoids the generic chat-bubble mockup used elsewhere).
   ---------------------------------------------------------------- */
.ds-terminal {
  background: oklch(16% 0.025 262);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  font-family: "Sora", monospace;
  overflow: hidden;
}

.ds-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ds-terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.ds-terminal-title {
  margin-left: 6px;
  font-size: 12px;
  color: oklch(65% 0.02 260);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.ds-terminal-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ds-terminal-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  color: oklch(85% 0.01 260);
  opacity: 0;
  transform: translateX(-6px);
  animation: ds-terminal-in 500ms ease-out forwards;
}

.ds-terminal-row .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.ds-terminal-row .t {
  margin-left: auto;
  color: oklch(50% 0.015 260);
  font-size: 11.5px;
  white-space: nowrap;
  padding-left: 10px;
}

.ds-terminal-row.pending .dot {
  background: oklch(70% 0.14 80);
  box-shadow: 0 0 8px oklch(70% 0.14 80);
  animation: ds-pulse-dot 1.4s infinite;
}

@keyframes ds-terminal-in {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ds-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-terminal-row { animation: none; opacity: 1; transform: none; }
  .ds-terminal-row.pending .dot { animation: none; }
}

/* ----------------------------------------------------------------
   Manual-vs-automated comparison list
   ---------------------------------------------------------------- */
.ds-compare-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ds-compare-col.before {
  background: transparent;
  border: 1px dashed var(--border);
}

.ds-compare-col.after {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.ds-compare-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ds-compare-col.before .ds-compare-label { color: var(--muted); }
.ds-compare-col.after .ds-compare-label { color: var(--blue-ink); }

.ds-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.ds-compare-col.before .ds-compare-item {
  color: var(--muted);
}

.ds-compare-col.before .ds-compare-item svg { color: oklch(62% 0.14 25); }
.ds-compare-col.after .ds-compare-item svg { color: var(--blue); }

.ds-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 56px;
  align-items: center;
}

.ds-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}

.ds-hero-gradient-text {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.ds-hero-stat-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.ds-hero-stat-label { font-size: 13px; color: var(--muted); }

.ds-hero-divider { width: 1px; height: 30px; background: var(--border); }

@media (max-width: 900px) {
  .ds-hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .ds-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
}

/* Hero visual: gradient panel with floating cards, no WebGL */
.ds-hero-visual {
  position: relative;
  min-height: 420px;
}

.ds-hero-visual-bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  overflow: hidden;
}

.ds-hero-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
}

.ds-float-card {
  position: absolute;
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .ds-hero-visual { min-height: 300px; }
}

/* ----------------------------------------------------------------
   Solutions grid
   ---------------------------------------------------------------- */
.ds-section { padding: 40px 0 96px; }
.ds-section-head { max-width: 640px; margin-bottom: 48px; }
.ds-section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.15; margin-top: 16px; margin-bottom: 12px; }
.ds-section-head p { font-size: 17px; color: var(--muted); line-height: 1.6; }

.ds-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ds-solution-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ds-solution-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.ds-solution-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

@media (max-width: 980px) {
  .ds-solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .ds-solutions-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Feature rows (product pages)
   ---------------------------------------------------------------- */
.ds-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}

.ds-feature-row.reverse .ds-feature-text { order: 2; }
.ds-feature-row.reverse .ds-feature-visual { order: 1; }

.ds-feature-text h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin: 16px 0 12px; }
.ds-feature-text p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Cap plain (non-card) feature images so a tall portrait photo or a tiny
   icon can't blow the row's height out. Each <img> already carries
   width:100%;height:100%;object-fit:contain inline — that only works once
   its parent has an explicit height to resolve the percentages against,
   which is what this adds. */
.ds-feature-visual {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-feature-visual.ds-card { min-height: 220px; height: auto; padding: 26px; }

@media (max-width: 860px) {
  .ds-feature-visual { height: 260px; }
}

/* A 3-node "system A -> AI -> system B" flow diagram (used on the AI
   Automation page). Fixed-width nodes + arrows are wide enough to overflow
   a phone screen at full size, so scale everything down under 480px. */
.ds-integration-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

@media (max-width: 480px) {
  .ds-integration-flow { gap: 8px; }
  .ds-integration-flow .ds-icon-tile { width: 42px !important; height: 42px !important; }
  .ds-integration-flow .ds-icon-tile svg { width: 20px; height: 20px; }
  .ds-integration-flow svg[width="34"] { width: 16px; }
  .ds-integration-flow span { font-size: 10.5px !important; }
}

@media (max-width: 860px) {
  .ds-feature-row,
  .ds-feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .ds-feature-row.reverse .ds-feature-text,
  .ds-feature-row.reverse .ds-feature-visual { order: initial; }
}

/* ----------------------------------------------------------------
   CTA band
   ---------------------------------------------------------------- */
.ds-cta-band {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ds-cta-band h2 { font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.ds-cta-band p { font-size: 15px; color: rgba(255, 255, 255, 0.9); }

@media (max-width: 700px) {
  .ds-cta-band { padding: 36px 28px; }
}

/* ----------------------------------------------------------------
   Testimonials
   ---------------------------------------------------------------- */
.ds-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
}

.ds-logo-row span {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--muted);
}

.ds-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ds-testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ds-testimonial-card .ds-stars { display: flex; gap: 4px; color: var(--blue); }
.ds-testimonial-card p.quote { font-size: 15px; line-height: 1.65; color: var(--ink); }

.ds-testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.ds-testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue-soft);
}

.ds-testimonial-user .name { font-weight: 600; font-size: 14px; }
.ds-testimonial-user .role { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .ds-testimonial-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.ds-footer { background: var(--dark); color: #fff; }

.ds-footer-grid {
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.ds-footer-brand p { font-size: 14px; line-height: 1.6; color: oklch(75% 0.01 260); max-width: 260px; margin-top: 16px; }

.ds-footer-col-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: oklch(65% 0.015 260);
  margin-bottom: 16px;
}

.ds-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: oklch(85% 0.008 260);
}

.ds-footer-col a { color: inherit; }
.ds-footer-col a:hover { color: #fff; }

.ds-footer-bottom {
  border-top: 1px solid oklch(32% 0.02 262);
  padding: 20px 24px;
  font-size: 13px;
  color: oklch(60% 0.015 260);
  text-align: center;
}

@media (max-width: 860px) {
  .ds-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ds-footer-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Floating Telegram button (was relying on style.css's .back-to-top,
   which pages using this redesign no longer load)
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;
}

.pulse {
  animation: ds-pulse 2s infinite;
}

@keyframes ds-pulse {
  0% { box-shadow: 0 0 0 0 rgba(39, 167, 231, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(39, 167, 231, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 167, 231, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}

/* ----------------------------------------------------------------
   Simple inner-page banner (about / contact / pricing / license)
   ---------------------------------------------------------------- */
.ds-page-banner {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 56px;
  text-align: center;
}

.ds-page-banner h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.ds-page-banner p { font-size: 17px; color: var(--muted); margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Old-template neutralizers: kill remnants that would otherwise show
   through beneath the new header/hero on redesigned pages. */
.ds-page main#main { padding-top: 0; }

/* ===== Footer social buttons (FB / IG) ===== */
.ds-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.ds-footer-social .ds-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #fff; flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ds-footer-social .ds-social-btn:hover { transform: translateY(-2px); }
.ds-footer-social .ds-social-btn--fb:hover { background: #1877f2; }
.ds-footer-social .ds-social-btn--ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.ds-footer-social .ds-social-btn svg { width: 20px; height: 20px; fill: currentColor; }
