:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --card: #fdfdfc;
  --border: #e8e6e1;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #60a5fa;
  --accent-strong: #2563eb;
  --accent-soft: #dbeafe;
  --cream: #fffaf0;
  --shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
  --shadow-soft: 0 12px 36px rgba(31, 41, 55, 0.08);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.95), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(255, 250, 240, 0.9), transparent 26rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  touch-action: manipulation;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(232, 230, 225, 0.74);
  background: rgba(247, 246, 243, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.nav-back:hover {
  transform: translateY(-2px);
  background: white;
  color: var(--text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  transition:
    color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.nav-cta {
  background: var(--text);
  color: white !important;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.section {
  padding: 104px 0;
}

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
  padding-top: 0;
  padding-bottom: 48px;
}

.eyebrow {
  width: max-content;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.76);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

h1 span,
h2 span {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button,
.project-links a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.button:hover,
.project-links a:hover,
.social-card:hover {
  transform: translateY(-3px);
}

.primary {
  background: var(--text);
  color: white;
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.18);
}

.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.74);
}

.stats {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px 0 0;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.stats dt {
  font-size: 1.15rem;
  font-weight: 800;
}

.stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.portrait-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76%, 420px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 42px;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -58%);
}

.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  object-fit: cover;
}

.orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  filter: blur(3px);
}

.orb-one {
  top: 64px;
  right: -36px;
  width: 160px;
  height: 160px;
  background: rgba(96, 165, 250, 0.28);
}

.orb-two {
  bottom: 82px;
  left: -28px;
  width: 120px;
  height: 120px;
  background: rgba(132, 204, 180, 0.28);
}

.float-card {
  position: absolute;
  min-width: 188px;
  padding: 18px;
  border: 1px solid rgba(232, 230, 225, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.float-card strong,
.float-card span {
  display: block;
}

.float-one strong,
.float-two strong {
  font-size: 2.15rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.float-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.float-one {
  top: 78px;
  left: 0;
}

.float-two {
  top: 280px;
  right: 0;
}

.float-three {
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.project-shot-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: #f0f0ee;
}

.project-shot-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(32px);
  transform: scale(1.25);
  opacity: 1;
  pointer-events: none;
}

.project-shot-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.project-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.gradient-a {
  background: linear-gradient(135deg, #dbeafe, #f7f6f3 45%, #93c5fd);
}

.gradient-b {
  background: linear-gradient(135deg, #dbeafe, #ffffff 42%, #84ccb4);
}

.gradient-c {
  background: linear-gradient(135deg, #111827, #60a5fa 58%, #f7f6f3);
}

.project-content {
  padding: 10px;
}

.project-index {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.project h3 {
  margin: 10px 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.project-content > p,
.problem-solution p {
  color: var(--muted);
  font-size: 0.94rem;
}

.project-content > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.problem-solution {
  display: grid;
  gap: 6px;
  margin: 18px 0;
}

.problem-solution strong {
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-links a {
  border: 1px solid var(--border);
  background: white;
}

.showcase-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.build-section,
.archive-section {
  border-block: 1px solid rgba(232, 230, 225, 0.66);
  background: rgba(255, 255, 255, 0.36);
}

.build-grid,
.social-grid,
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.build-card,
.social-card,
.roadmap article,
.about-grid article,
.archive-grid article {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.05);
}

.build-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 26px;
}

.build-card h3,
.about-grid h3,
.roadmap h3 {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.build-card h3 {
  margin-bottom: 0;
}

.build-card p,
.about-grid p,
.roadmap p,
.social-card p {
  color: var(--muted);
}

.build-card .tags li {
  padding: 5px 9px;
  font-size: 0.68rem;
}

.build-card span {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-grid article {
  min-height: 520px;
  padding: 28px;
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.about-card-head h3 {
  margin: 0 0 10px;
  color: #0f172a;
}

.about-icon,
.item-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #6d4cff;
  background: linear-gradient(135deg, #f4f0ff, #ebe4ff);
}

.about-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
}

.about-icon i,
.item-icon i {
  line-height: 1;
}

.title-line {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #6d4cff;
}

.about-lead {
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  line-height: 1.75;
}

.belief-list,
.focus-list {
  display: grid;
  gap: 28px;
}

.about-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 800;
}

.about-item strong,
.process li span {
  display: block;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.about-item p,
.process li p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.process ol {
  position: relative;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0 0 0 50px;
  list-style: none;
  counter-reset: step;
}

.process ol::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 16px;
  border-left: 2px dashed #e5e0f5;
}

.process li {
  position: relative;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8f7fb);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.04);
  counter-increment: step;
}

.process li::before {
  content: counter(step);
  position: absolute;
  top: 16px;
  left: -50px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6d4cff;
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(109, 76, 255, 0.26);
}

.focus-list .about-item {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.focus-list .about-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.social-card {
  min-height: 220px;
  padding: 26px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.social-card:hover {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: var(--shadow-soft);
}

.social-card span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.social-card span i {
  font-size: 1.8rem;
}

.social-card strong {
  display: block;
  margin: 42px 0 12px;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.archive-grid article {
  padding: 22px;
}

.archive-grid span {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
}

.archive-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.roadmap article {
  min-height: 190px;
  padding: 24px;
}

.roadmap span {
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer {
  padding: 54px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  background: white;
  color: var(--text);
}

.copyright {
  width: min(100% - 40px, var(--container));
  margin: 30px auto 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

@media (max-width: 980px) {
  .hero,
  .showcase,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .build-grid,
  .social-grid,
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-back {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
    line-height: 0.92;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    margin: 28px 0 0;
  }

  .button,
  .project-links a {
    width: 100%;
  }

  .stats,
  .build-grid,
  .social-grid,
  .roadmap,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 390px);
    min-height: 430px;
    margin: 10px auto 0;
  }

  .portrait-card {
    top: 50%;
    left: 50%;
    width: min(78vw, 320px);
    border-radius: 32px;
    transform: translate(-50%, -50%);
  }

  .portrait-img {
    border-radius: 32px;
  }

  .float-card {
    min-width: 132px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .float-one strong,
  .float-two strong {
    font-size: 1.55rem;
  }

  .float-card span {
    font-size: 0.76rem;
  }

  .float-one {
    top: 18px;
    left: 0;
  }

  .float-two {
    top: auto;
    right: 0;
    bottom: 78px;
  }

  .float-three {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .project {
    padding: 14px;
    border-radius: 30px;
  }

  .project-shot-wrap {
    min-height: 205px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Theme switcher ---------- */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

:root[data-theme="dark"] {
  --bg: #0d1117;
  --surface: #161b22;
  --card: #1c2128;
  --border: #2d333b;

  --text: #f0f6fc;
  --muted: #8b949e;

  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.25);
  --cream: #0d1117;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { background: var(--surface); border-color: var(--muted); }
.theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme-toggle .theme-icon { font-size: 1rem; line-height: 1; }

:root[data-theme="dark"] .theme-icon--sun { display: inline; }
:root[data-theme="dark"] .theme-icon--moon { display: none; }
:root:not([data-theme="dark"]) .theme-icon--sun { display: none; }
:root:not([data-theme="dark"]) .theme-icon--moon { display: inline; }

:root[data-theme="dark"] body {
  background: var(--bg);
}

:root[data-theme="dark"] body::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(139, 148, 158, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 148, 158, 0.06) 1px, transparent 1px);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(45, 51, 59, 0.82);
  background: rgba(22, 27, 34, 0.82);
}

:root[data-theme="dark"] .eyebrow {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(56, 189, 248, 0.10);
}

:root[data-theme="dark"] .secondary,
:root[data-theme="dark"] .stats div,
:root[data-theme="dark"] .float-card,
:root[data-theme="dark"] .nav-back,
:root[data-theme="dark"] .nav-menu,
:root[data-theme="dark"] .project,
:root[data-theme="dark"] .project-links a {
  border-color: var(--border);
  background: rgba(22, 27, 34, 0.78);
}

:root[data-theme="dark"] .primary {
  background: var(--text);
  color: var(--bg);
}

:root[data-theme="dark"] .project-shot-wrap {
  border-color: rgba(139, 148, 158, 0.18);
  background: #161b22;
}

:root[data-theme="dark"] .project-shot-wrap::after {
  background: rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .build-section,
:root[data-theme="dark"] .archive-section {
  border-block-color: rgba(45, 51, 59, 0.82);
  background: rgba(22, 27, 34, 0.38);
}

:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .nav-back:hover,
:root[data-theme="dark"] .nav-menu a:hover {
  background: rgba(28, 33, 40, 0.92);
}

:root[data-theme="dark"] .build-card,
:root[data-theme="dark"] .social-card,
:root[data-theme="dark"] .roadmap article,
:root[data-theme="dark"] .about-grid article,
:root[data-theme="dark"] .archive-grid article,
:root[data-theme="dark"] .footer {
  border-color: var(--border);
  background: rgba(22, 27, 34, 0.72);
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .about-card-head h3,
:root[data-theme="dark"] .about-item strong,
:root[data-theme="dark"] .process li span {
  color: var(--text);
}

:root[data-theme="dark"] .about-icon,
:root[data-theme="dark"] .item-icon {
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.92), rgba(28, 33, 40, 0.92));
}

:root[data-theme="dark"] .title-line,
:root[data-theme="dark"] .process li::before {
  background: var(--accent-strong);
}

:root[data-theme="dark"] .process ol::before {
  border-left-color: rgba(125, 211, 252, 0.32);
}

:root[data-theme="dark"] .process li {
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.94), rgba(28, 33, 40, 0.84));
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .footer-links a:hover {
  background: rgba(28, 33, 40, 0.92);
}

:root[data-theme="dark"] .gradient-a,
:root[data-theme="dark"] .gradient-b {
  background: linear-gradient(135deg, #0d1117, #1c2128 55%, #7dd3fc);
}

:root[data-theme="dark"] .gradient-c {
  background: linear-gradient(135deg, #0d1117, #2d333b 58%, #161b22);
}
