/*
 * RiskyBiz — Stylesheet
 * AI-Powered Enterprise Risk Assessment Platform
 * A Design Frameworks portfolio build
 *
 * Color palette (all hardcoded):
 *   Background:       #F8F7FF
 *   Text:             #16103A
 *   Accent:           #6D28D9
 *   Surface/card:     #FFFFFF
 *   Muted text:       #5B5280
 *   Border:           #DDD8F5
 *   Dark section bg:  #16103A
 *   Dark section text:#EDE9FF
 *
 * Fonts: Space Grotesk (headings), Inter (body)
 * Mobile-first. No external frameworks.
 */

/* ====================================================
   RESET & BASE
   ==================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #F8F7FF;
  color: #16103A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ====================================================
   FOCUS STYLES — keyboard accessibility
   ==================================================== */

:focus-visible {
  outline: 2.5px solid #6D28D9;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ====================================================
   TYPOGRAPHY
   ==================================================== */

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #16103A;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw + 0.75rem, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw + 0.4rem, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: #16103A;
  max-width: 66ch;
}

a {
  color: #6D28D9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #5b21b6;
}

/* ====================================================
   UTILITY
   ==================================================== */

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ====================================================
   PORTFOLIO CREDIT BAR
   ==================================================== */

.portfolio-credit {
  background-color: #EDE9FF;
  border-bottom: 1px solid #DDD8F5;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #5B5280;
  padding: 0.4rem 1rem;
  letter-spacing: 0.02em;
}

.portfolio-credit a {
  color: #5B5280;
  font-weight: 500;
}

.portfolio-credit a:hover {
  color: #6D28D9;
}

/* ====================================================
   SITE HEADER & NAV
   ==================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #F8F7FF;
  border-bottom: 1px solid #DDD8F5;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #16103A;
  letter-spacing: -0.02em;
}

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #16103A;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background-color: #EDE9FF;
}

/* Nav links */
.nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: #F8F7FF;
  border-bottom: 1px solid #DDD8F5;
  padding: 0.75rem 1.25rem 1rem;
  z-index: 99;
}

.nav-links--open {
  display: flex;
}

.nav-links li {
  border-bottom: 1px solid #EDE9FF;
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #16103A;
  text-decoration: none;
  padding: 0.65rem 0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #6D28D9;
}

.nav-cta-link {
  color: #6D28D9 !important;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 2rem;
    align-items: center;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    padding: 0;
    font-size: 0.9rem;
  }
}

/* ====================================================
   BUTTONS
   ==================================================== */

.btn-primary,
.btn-ghost {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: #6D28D9;
  color: #FFFFFF;
  border: 2px solid #6D28D9;
}

.btn-primary:hover {
  background-color: #5b21b6;
  border-color: #5b21b6;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
}

.btn-ghost {
  background-color: transparent;
  color: #16103A;
  border: 2px solid #DDD8F5;
}

.btn-ghost:hover {
  border-color: #6D28D9;
  color: #6D28D9;
  transform: translateY(-1px);
}

/* ====================================================
   HERO
   ==================================================== */

.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Decorative background geometry */
.hero-geo {
  position: absolute;
  top: -40px;
  right: -60px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6D28D9;
  background-color: #EDE9FF;
  border: 1px solid #DDD8F5;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: #5B5280;
  margin-bottom: 1.25rem;
  max-width: 54ch;
  line-height: 1.6;
}

.hero-sub {
  font-size: 0.97rem;
  color: #16103A;
  margin-bottom: 2rem;
  max-width: 56ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.78rem;
  color: #5B5280;
  font-style: italic;
  max-width: none;
}

/* Hero card (fake metrics) */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  background-color: #FFFFFF;
  border: 1px solid #DDD8F5;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.1);
  max-width: 320px;
  margin: 0 auto;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #EDE9FF;
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.hero-card-dot--green { background-color: #22C55E; }
.hero-card-dot--yellow { background-color: #FACC15; }
.hero-card-dot--red { background-color: #EF4444; }

.hero-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5B5280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.2rem;
}

.hero-card-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid #F0EEFF;
}

.hero-card-metric:last-of-type {
  border-bottom: none;
}

.hero-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5B5280;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-card-value--up { color: #6D28D9; }
.hero-card-value--green { color: #22C55E; }
.hero-card-value--neutral { color: #16103A; }

.hero-card-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F0EEFF;
}

.hero-card-bar-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5B5280;
  white-space: nowrap;
}

.hero-card-bar {
  flex: 1;
  height: 6px;
  background-color: #EDE9FF;
  border-radius: 3px;
  overflow: hidden;
}

.hero-card-bar-fill {
  height: 100%;
  background-color: #6D28D9;
  border-radius: 3px;
  transition: width 0.8s ease;
}

.hero-card-bar-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6D28D9;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 7rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 320px;
    column-gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0 9rem;
  }
}

/* ====================================================
   SECTION HEADERS (shared)
   ==================================================== */

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6D28D9;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  max-width: none;
}

.section-subhead {
  font-size: 1rem;
  color: #5B5280;
  margin-top: 0.75rem;
  max-width: 60ch;
  line-height: 1.65;
}

/* ====================================================
   SECTION: FEATURES
   ==================================================== */

.section-features {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #DDD8F5;
  border-bottom: 1px solid #DDD8F5;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: #F8F7FF;
  border: 1px solid #DDD8F5;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 6px 24px rgba(109, 40, 217, 0.1);
  transform: translateY(-2px);
  border-color: #c4b5fd;
}

.feature-icon {
  flex-shrink: 0;
}

.feature-body h3 {
  margin-bottom: 0.5rem;
}

.feature-body p {
  font-size: 0.92rem;
  color: #5B5280;
  line-height: 1.7;
  max-width: none;
  margin-bottom: 0.75rem;
}

.feature-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6D28D9;
  background-color: #EDE9FF;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Integration bar */
.integration-bar {
  border-top: 1px solid #DDD8F5;
  padding-top: 2rem;
  text-align: center;
}

.integration-label {
  font-size: 0.78rem;
  color: #5B5280;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: none;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  align-items: center;
}

.integration-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5B5280;
  opacity: 0.6;
  letter-spacing: -0.01em;
}

.integration-divider {
  color: #DDD8F5;
  font-size: 1.2rem;
  line-height: 1;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .section-features {
    padding: 7rem 0;
  }
}

/* ====================================================
   SECTION: LIVE DASHBOARD (DARK)
   ==================================================== */

.section-dashboard {
  background-color: #16103A;
  padding: 5rem 0;
}

.dashboard-header {
  margin-bottom: 3rem;
}

.section-label--light {
  color: #a78bfa;
}

.section-dashboard h2 {
  color: #EDE9FF;
}

.dashboard-subhead {
  font-size: 0.95rem;
  color: #a78bfa;
  margin-top: 0.75rem;
  max-width: 58ch;
  line-height: 1.65;
}

/* Dashboard grid */
.dashboard-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}

/* Individual cards */
.dash-card {
  background-color: #1E1650;
  border: 1px solid #2D2060;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.dash-card--wide {
  grid-column: 1 / -1;
}

.dash-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: none;
}

/* Gauge */
.dash-gauge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.dash-gauge-value {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #EDE9FF;
  line-height: 1;
}

.dash-card-reading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #EDE9FF;
  text-align: center;
  letter-spacing: 0.05em;
  max-width: none;
  margin-top: 0.25rem;
}

.dash-card-reading--good {
  color: #22C55E;
}

/* Mercury status */
.dash-status-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.dash-status-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dash-status-text--green { color: #22C55E; }

.dash-card-note {
  font-size: 0.78rem;
  color: #5B5280;
  max-width: none;
  line-height: 1.5;
}

/* Arrow indicator */
.dash-arrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Eight ball */
.dash-eightball {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.dash-card-reading {
  font-size: 0.85rem;
}

/* Bar rows */
.dash-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dash-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-bar-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a78bfa;
  width: 72px;
  flex-shrink: 0;
}

.dash-bar-track {
  flex: 1;
  height: 8px;
  background-color: #2D2060;
  border-radius: 4px;
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.dash-bar-fill--low  { background-color: #22C55E; }
.dash-bar-fill--med  { background-color: #FACC15; }
.dash-bar-fill--high { background-color: #EF4444; }

.dash-bar-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #EDE9FF;
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

/* Alerts */
.dash-alert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dash-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.dash-alert svg { flex-shrink: 0; margin-top: 2px; }

.dash-alert--warn { color: #FACC15; }
.dash-alert--info { color: #a78bfa; }
.dash-alert--good { color: #22C55E; }

/* Disclaimer */
.dashboard-disclaimer {
  font-size: 0.73rem;
  color: #5B5280;
  font-style: italic;
  max-width: 72ch;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section-dashboard {
    padding: 7rem 0;
  }

  .dashboard-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .dash-card--wide {
    grid-column: span 2;
  }
}

/* ====================================================
   SECTION: TESTIMONIALS
   ==================================================== */

.section-testimonials {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border: 1px solid #DDD8F5;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.08);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
}

.testimonial-card blockquote p {
  font-size: 0.97rem;
  color: #16103A;
  line-height: 1.72;
  max-width: none;
  font-style: italic;
}

.testimonial-card blockquote footer {
  margin-top: 0.75rem;
}

.testimonial-card blockquote cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: #5B5280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Stats row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #DDD8F5;
  border-radius: 8px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #6D28D9;
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #5B5280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background-color: #DDD8F5;
  align-self: stretch;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .section-testimonials {
    padding: 7rem 0;
  }
}

/* ====================================================
   SECTION: DEMO CTA
   ==================================================== */

.section-demo {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #DDD8F5;
  border-bottom: 1px solid #DDD8F5;
}

.demo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.demo-hex {
  flex-shrink: 0;
  opacity: 0.7;
}

.demo-content h2 {
  margin-bottom: 0.75rem;
}

.demo-content p {
  font-size: 1rem;
  color: #5B5280;
  margin: 0 auto 1.75rem;
  max-width: 50ch;
  line-height: 1.75;
}

.demo-note {
  font-size: 0.8rem;
  color: #5B5280;
  font-style: italic;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .section-demo {
    padding: 7rem 0;
  }

  .demo-inner {
    flex-direction: row;
    text-align: left;
    max-width: 100%;
  }

  .demo-content p {
    margin-left: 0;
  }
}

/* ====================================================
   PORTFOLIO CTA SECTION
   ==================================================== */

.section-portfolio-cta {
  padding: 5rem 0;
  background-color: #16103A;
}

.portfolio-cta-inner {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.portfolio-cta-inner h2 {
  color: #EDE9FF;
  margin-bottom: 1rem;
}

.portfolio-cta-inner p {
  color: #a78bfa;
  font-size: 1rem;
  margin: 0 auto 2rem;
  max-width: 50ch;
  line-height: 1.75;
}

.section-portfolio-cta .btn-primary {
  background-color: #6D28D9;
  border-color: #6D28D9;
  color: #FFFFFF;
}

.section-portfolio-cta .btn-primary:hover {
  background-color: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.4);
}

@media (min-width: 768px) {
  .section-portfolio-cta {
    padding: 7rem 0;
  }
}

/* ====================================================
   FOOTER
   ==================================================== */

.site-footer {
  background-color: #F8F7FF;
  border-top: 1px solid #DDD8F5;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #16103A;
  letter-spacing: -0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #5B5280;
  text-decoration: none;
}

.footer-links a:hover {
  color: #6D28D9;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: #5B5280;
  max-width: none;
}

.footer-credit {
  display: block;
  margin-top: 0.25rem;
}

.footer-credit a {
  color: #5B5280;
  font-size: 0.78rem;
}

.footer-credit a:hover {
  color: #6D28D9;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-credit {
    display: inline;
    margin-top: 0;
    margin-left: 0.75rem;
  }
}

/* ====================================================
   PRINT
   ==================================================== */

@media print {
  .portfolio-credit,
  .site-header,
  .nav-toggle,
  .section-dashboard {
    display: none;
  }

  body {
    background-color: #FFFFFF;
    color: #000000;
  }
}
