
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

/* Developindigital Resources — matching main website */

:root {
  --bg: #05080f;
  --navy: #0a1224;
  --navy2: #121c36;
  --violet: #7c5cff;
  --violet-soft: #a78bfa;
  --cyan: #2de2e6;
  --blue: #4d8dff;
  --magenta: #e879f9;
  --text: #e8eefc;
  --text-dark: #0d1424;
  --muted: #8b9bb8;
  --cream: #f0ebe3;
  --cream-deep: #e6dfd4;
  --border: rgba(125, 150, 200, 0.18);
  --border-strong: rgba(125, 150, 200, 0.32);
  --white: #fff;
  --glow: 0 0 40px rgba(124, 92, 255, 0.25);
  --glow-cyan: 0 0 36px rgba(45, 226, 230, 0.2);
  --radius: 20px;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.2);
}

.nav {
  width: min(1140px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
  line-height: 1.25;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand span {
  font-size: 16px;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-links a {
  color: #c5d0e8;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cyan);
}

.nav-links a:last-child {
  padding: 10px 17px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--glow-cyan);
}

.nav-links a:last-child:hover {
  color: var(--bg);
  filter: brightness(1.08);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(124, 92, 255, 0.32), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(45, 226, 230, 0.14), transparent 45%),
    linear-gradient(160deg, #05080f 0%, #0c1528 45%, #0a1224 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 226, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 230, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1140px, calc(100% - 40px));
  min-height: 440px;
  margin: auto;
  padding: 82px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 850px;
  margin: 20px 0;
  color: var(--text);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
}

.hero-description {
  max-width: 620px;
  color: #a8b8d4;
  font-size: 16px;
  line-height: 1.75;
}

.hero-note {
  display: inline-flex;
  margin-top: 25px;
  padding: 11px 16px;
  color: #d8e5fa;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* Resources section */

.resources-section {
  position: relative;
  overflow: hidden;
  padding: 94px 20px 105px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #f0ebe3 0%, #f6f2ec 48%, #e8e2d8 100%);
}

.resources-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, transparent 90%);
}

.section-heading {
  position: relative;
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  color: var(--violet);
}

.section-heading h2 {
  margin-top: 16px;
  color: var(--text-dark);
  font-size: clamp(30px, 4.2vw, 46px);
}

.section-heading > p:last-child {
  margin-top: 16px;
  color: #5a6578;
  font-size: 15px;
  line-height: 1.7;
}

/* Resource cards */

.resource-grid {
  position: relative;
  width: min(1140px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.resource-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 255, 255, 0.84)
  );
  box-shadow:
    0 4px 24px rgba(13, 20, 36, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--magenta));
}

.resource-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.resource-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.resource-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--magenta), var(--violet));
}

.resource-card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 42px rgba(13, 20, 36, 0.12),
    0 0 0 1px rgba(124, 92, 255, 0.16);
}

.resource-card .tag {
  display: inline-block;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resource-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
}

.resource-card h2 a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.resource-card h2 a:hover {
  color: var(--violet);
}

.resource-card p {
  margin: 0 0 20px;
  color: #566176;
  font-size: 14px;
  line-height: 1.7;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.read-link:hover {
  gap: 11px;
  color: #5b21b6;
}

/* Project call to action */

.resource-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 20px;
  color: var(--text);
  background:
    radial-gradient(ellipse 60% 60% at 90% 20%, rgba(124, 92, 255, 0.27), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(45, 226, 230, 0.12), transparent 55%),
    linear-gradient(160deg, #05080f, #0c1528 50%, #0a1224);
  border-top: 1px solid var(--border);
}

.resource-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 226, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 230, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.resource-cta > div {
  position: relative;
  width: min(850px, 100%);
  margin: auto;
  text-align: center;
}

.resource-cta .eyebrow {
  color: var(--cyan);
}

.resource-cta h2 {
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 44px);
}

.resource-cta > div > p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px auto 25px;
  color: #a8b8d4;
  font-size: 15px;
  line-height: 1.75;
}

.button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), #5b9dff);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--glow-cyan);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45, 226, 230, 0.35);
}

/* Footer */

.site-footer {
  padding: 35px 20px 22px;
  color: var(--text);
  background: #03060d;
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(1140px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
}

.footer-brand p {
  margin-top: 6px;
  color: #8b9bb8;
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #a8b8d4;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  color: #7a8bab;
  border-top: 1px solid rgba(125, 150, 200, 0.12);
  font-size: 12px;
}

/* Responsive */

@media (max-width: 900px) {
  .nav-links {
    gap: 14px;
  }

  .resource-grid {
    gap: 16px;
  }

  .resource-card {
    padding: 25px 22px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }

  .nav {
    width: calc(100% - 28px);
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-links {
    width: 100%;
    gap: 8px 16px;
    padding-bottom: 5px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .nav-links a:last-child {
    padding: 8px 12px;
  }

  .hero-inner {
    width: calc(100% - 36px);
    min-height: 0;
    padding: 58px 0 54px;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-note {
    font-size: 12px;
    line-height: 1.5;
  }

  .resources-section {
    padding: 70px 18px 75px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .resource-card {
    padding: 25px 22px;
  }

  .resource-card h2 {
    font-size: 21px;
  }

  .resource-cta {
    padding: 65px 20px;
  }

  .resource-cta h2 {
    font-size: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    gap: 14px 18px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .nav-links {
    gap: 8px 12px;
  }

  .nav-links a {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Homepage-matching navigation logo */
.site-header .nav .brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: auto;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
  flex-shrink: 0;
}

.site-header .nav .brand .logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  font: 800 26px var(--font-display);
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: var(--glow-cyan);
}

.site-header .nav .brand .logo span {
  color: #d4fff8;
}

.site-header .nav .brand .brand-text {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header .nav .brand .brand-text strong {
  display: block;
  color: var(--text);
  font: 700 15px var(--font-display);
  letter-spacing: -0.03em;
}

.site-header .nav .brand .brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* =========================================
   DEVELOPINDIGITAL — SHARED RESOURCE STYLES
   Applies to all resource article pages
========================================= */

:root {
  --bg-dark: #080e1c;
  --bg-header: #15191f;
  --text-dark: #101728;
  --text-light: #eaf0ff;
  --muted: #9eacc6;
  --cyan: #22d3e5;
  --blue: #439bfa;
  --purple: #8058ff;
  --surface: #f5f0eb;
  --border: rgba(150, 170, 205, 0.2);
  --content-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.75;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(19, 23, 29, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--content-width);
  min-height: 76px;
  margin: auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand small {
  margin-top: 5px;
  color: #8493ad;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #d6deed;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cyan);
}

.nav-links a:last-child {
  padding: 12px 19px;
  color: #07101e;
  background: linear-gradient(110deg, var(--cyan), var(--blue));
  border-radius: 30px;
}

/* ARTICLE HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 85px;
  color: var(--text-light);
  background:
    radial-gradient(ellipse at 75% 5%, rgba(106, 65, 220, 0.30), transparent 42%),
    radial-gradient(ellipse at 5% 80%, rgba(16, 190, 210, 0.13), transparent 35%),
    linear-gradient(115deg, #070c17, #0c1428);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(120, 150, 200, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 200, 0.10) 1px, transparent 1px);
  background-size: 38px 38px;
}

.hero-inner {
  position: relative;
  max-width: var(--content-width);
  margin: auto;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: #edf1ff;
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.hero-inner > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #aab8d1;
  font-size: 16px;
  line-height: 1.8;
}

/* ARTICLE LAYOUT */

.layout {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 75px 22px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 55px;
  align-items: start;
}

article {
  min-width: 0;
  color: #39445a;
  font-size: 16px;
  line-height: 1.9;
}

article p {
  margin: 0 0 22px;
}

.article-meta {
  margin-bottom: 25px;
  color: #7656e9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

article h2 {
  margin: 48px 0 15px;
  color: #111a2d;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
}

article h3 {
  margin: 30px 0 10px;
  color: #18233a;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
}

article ul,
article ol {
  margin: 12px 0 28px;
  padding-left: 25px;
}

article li {
  margin: 8px 0;
  padding-left: 4px;
}

article li::marker {
  color: #7656e9;
}

article a {
  color: #6550d9;
  font-weight: 650;
  text-decoration: none;
}

article a:hover {
  color: #168da9;
  text-decoration: underline;
}

/* CALLOUT AND CHECKLIST */

.callout {
  margin: 30px 0;
  padding: 22px 25px;
  background: #e9f5fb;
  border: 1px solid #c9e8f2;
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
}

.callout p {
  margin: 0;
  color: #263d55;
}

.checklist {
  margin: 20px 0 30px;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e4e6ed;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(20, 30, 50, 0.04);
}

.checklist ul {
  margin: 0;
}

/* SIDEBAR */

aside {
  position: sticky;
  top: 105px;
}

.toc,
.side-card {
  margin-bottom: 22px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7ef;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(20, 30, 50, 0.05);
}

.toc h2,
.side-card h2 {
  margin: 0 0 17px;
  color: #111a2d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin: 9px 0;
  color: #7656e9;
  font-size: 13px;
}

.toc a {
  color: #59657b;
  text-decoration: none;
}

.toc a:hover {
  color: #6550d9;
}

.side-card p {
  margin: 0 0 20px;
  color: #69758b;
  font-size: 14px;
}

.button {
  display: inline-block;
  padding: 12px 19px;
  color: #07101e;
  background: linear-gradient(110deg, var(--cyan), var(--blue));
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

/* FOOTER */

.site-footer {
  padding: 42px 22px;
  color: #d9e2f4;
  background: #0b1222;
  border-top: 1px solid rgba(150, 170, 205, 0.16);
}

.footer-inner {
  max-width: var(--content-width);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 18px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: #8e9bb4;
  font-size: 13px;
}

.footer-inner > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner a {
  color: #b7c4dc;
  text-decoration: none;
  font-size: 13px;
}

.footer-inner a:hover {
  color: var(--cyan);
}

.footer-inner > p {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(150, 170, 205, 0.15);
}

/* RESPONSIVE TABLET */

@media (max-width: 850px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 18px;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 560px) {
  .nav {
    padding: 15px 18px;
  }

  .nav-links {
    gap: 12px 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-links a:last-child {
    padding: 9px 14px;
  }

  .hero {
    padding: 65px 20px 60px;
  }

  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }

  .hero-inner > p:last-child {
    font-size: 14px;
  }

  .layout {
    padding: 45px 20px 60px;
  }

  article {
    font-size: 15px;
  }

  article h2 {
    margin-top: 38px;
    font-size: 26px;
  }

  article h3 {
    font-size: 19px;
  }

  aside {
    display: block;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner > div:nth-child(2) {
    flex-direction: column;
    gap: 12px;
  }
}

/* Homepage-style horizontal brand logo */
.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #765cff 0%, #28c9e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 5px 18px rgba(40, 201, 232, 0.2);
}

.brand-icon span {
  color: #fff;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
}

.brand-icon i {
  position: absolute;
  width: 7px;
  height: 4px;
  background: #b7fff5;
  bottom: -9px;
  left: 16px;
  border-radius: 1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.brand-copy strong {
  color: #f4f6ff;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.brand-copy small {
  color: #899bb9;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 1.1px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .brand {
    gap: 9px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 13px;
  }
}

/* Consistent homepage-style horizontal logo */
.site-header .brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-shrink: 0;
  color: #f4f6ff;
  text-decoration: none;
}

.site-header .brand-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #765cff 0%, #28c9e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 5px 18px rgba(40, 201, 232, 0.2);
}

.site-header .brand-icon span {
  color: #fff;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
}

.site-header .brand-icon i {
  position: absolute;
  width: 7px;
  height: 4px;
  background: #b7fff5;
  bottom: -9px;
  left: 16px;
  border-radius: 1px;
}

.site-header .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.site-header .brand-copy strong {
  display: block;
  color: #f4f6ff;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.site-header .brand-copy small {
  display: block;
  margin: 0;
  color: #9eacc6;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  font-weight: 700;
}