:root {
  --canvas: #0b120f;
  --background: #0e1512;
  --surface: #111c17;
  --surface-low: #161d1a;
  --surface-high: #242c28;
  --surface-strong: #2f3633;
  --foreground: #e2efe7;
  --muted: #c3c8c3;
  --line: #2e4036;
  --line-strong: #8d928e;
  --accent: #f5ddd8;
  --warning: #8b2626;
  --shadow: rgba(0, 0, 0, 0.22);
  --radius: 0px;
  --header-height: 4rem;
  color-scheme: dark;
}

:root[data-theme='light'] {
  --canvas: #f4f0e8;
  --background: #efe8dd;
  --surface: #f6f1e8;
  --surface-low: #fbf7f0;
  --surface-high: #e7ddd1;
  --surface-strong: #dfd3c3;
  --foreground: #161d1a;
  --muted: #47524d;
  --line: #8d928e;
  --line-strong: #2e4036;
  --accent: #5f463b;
  --warning: #7d2020;
  --shadow: rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 22%),
    var(--canvas);
  color: var(--foreground);
  font-family: 'JetBrains Mono', monospace;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--background);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  color: var(--foreground);
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-nav a,
.theme-toggle-label,
.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: var(--muted);
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--foreground);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.theme-toggle-track {
  position: relative;
  width: 2.4rem;
  height: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-low);
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.1rem;
  left: 0.12rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--foreground);
  transition: transform 160ms ease, background 160ms ease;
}

:root[data-theme='dark'] .theme-toggle-thumb {
  transform: translateX(1.12rem);
}

.scroll-rail {
  position: fixed;
  right: 1rem;
  top: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: var(--background);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
}

.scroll-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
}

.scroll-rail a span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scroll-rail a.is-active span {
  transform: scale(1.25);
  background: var(--foreground);
  border-color: var(--foreground);
}

main {
  padding-top: var(--header-height);
}

.panel {
  border-bottom: 1px solid var(--line);
}

.panel-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.grid-shell {
  position: relative;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.grid-line-bottom {
  border-bottom: 1px solid var(--line);
}

.grid-cell {
  position: relative;
}

.hero-shell {
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  grid-template-areas:
    'copy visual'
    'terminal terminal';
}

.hero-copy,
.hero-visual,
.hero-terminal,
.info-card,
.criteria-card,
.process-column,
.process-map,
.embed-card {
  min-width: 0;
}

.hero-copy,
.hero-visual,
.hero-terminal,
.info-card,
.criteria-card,
.process-column,
.process-map,
.embed-card,
.section-intro {
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.hero-copy {
  grid-area: copy;
  display: grid;
  align-content: center;
  min-height: min(58rem, calc(100vh - var(--header-height) - 10rem));
  padding-block: clamp(3rem, 8vw, 6rem);
  border-right: 1px solid var(--line);
}

.hero-visual {
  grid-area: visual;
  display: grid;
  place-items: center;
  min-height: min(58rem, calc(100vh - var(--header-height) - 10rem));
  overflow: hidden;
  background: var(--canvas);
}

.hero-mechanism-frame {
  width: min(100%, 46rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.hero-terminal {
  grid-area: terminal;
  border-top: 1px solid var(--line);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.hero-mechanism-iframe,
#hero-canvas-container {
  width: 100%;
  height: 100%;
  border: 0;
}

#hero-canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  letter-spacing: -0.035em;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--foreground);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms ease;
}

.panel:hover h2::after,
h2:hover::after {
  transform: scaleX(1);
}

h3 {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  line-height: 0.96;
}

.info-card h3,
.embed-card h3,
.criteria-card h3 {
  margin-bottom: 1.6rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.95rem);
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero-lede,
.section-lede,
.info-card p,
.skill-card p,
.signal-point p,
.process-note,
.embed-card p,
.x-profile-handle,
.card-header a,
.github-links a,
.muted,
.section-meta,
.content-preview figcaption {
  color: var(--muted);
}

.hero-copy .eyebrow,
.section-intro .eyebrow,
.card-header .eyebrow,
.criteria-card .eyebrow {
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 28rem;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  content: '>';
  display: inline-block;
  color: currentColor;
  opacity: 0.68;
  transform: translateX(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button-solid {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.button-ghost {
  background: var(--surface);
}

.terminal-head {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.terminal-head span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--line-strong);
  opacity: 0.7;
}

.terminal-body {
  display: grid;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.terminal-body p {
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.prompt {
  display: inline-block;
  color: var(--foreground);
  animation: prompt-blink 1.15s steps(2, end) infinite;
}

.latency {
  color: var(--foreground);
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.cursor-blink {
  display: inline-block;
  animation: cursor-blink 1s steps(2, end) infinite;
}

@keyframes prompt-blink {
  0%, 48% { opacity: 1; transform: translateX(0); }
  50%, 100% { opacity: 0.24; transform: translateX(1px); }
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.section-shell {
  background: var(--canvas);
}

.section-intro {
  display: grid;
  gap: 1.2rem;
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-intro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transform: scaleX(0.6);
  transform-origin: left;
  transition: transform 620ms ease;
}

.panel:hover .section-intro::after {
  transform: scaleX(1);
}

.tri-grid,
.brutal-grid {
  display: grid;
}

.philosophy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.philosophy-grid > *:not(:last-child),
.signals-grid > *:not(:last-child) {
  border-right: 1px solid var(--line);
}

.projects-grid > *:not(:last-child) {
  border-right: 1px solid var(--line);
}

.info-card,
.criteria-card,
.process-column,
.process-map,
.embed-card {
  background: var(--surface);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.accent-surface {
  background: var(--surface-low);
}

.vault-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.criteria-card {
  border-right: 1px solid var(--line);
}

.process-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-card {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.skill-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.process-map {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
}

.signal-points {
  display: grid;
  gap: 0;
  margin-top: 1rem;
  border: 1px solid var(--line);
}

.signal-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1rem;
  padding: 0.95rem 1rem;
  background: var(--surface-low);
}

.signal-point + .signal-point {
  border-top: 1px solid var(--line);
}

.signal-point span {
  color: var(--foreground);
}

.signal-point strong {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.signal-point p {
  grid-column: 2;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.process-step {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  min-height: 6.5rem;
  align-content: start;
  background: var(--surface-low);
  border-right: 1px solid var(--line);
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 220ms ease;
}

.process-step-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
}

.process-step-skill {
  flex: none;
  min-height: 1.9rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.process-step:last-child {
  border-right: 0;
}

.process-step.active {
  background: var(--foreground);
  color: var(--background);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--background) 18%, transparent);
}

.process-step.active::before {
  opacity: 0.3;
}

.process-step.active span {
  color: inherit;
}

.process-step strong {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
}

.process-note {
  margin-top: 1rem;
}

.skill-modal[hidden] {
  display: none;
}

.skill-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 5vh 0.625rem 0;
}

.skill-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.skill-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(780px, calc(100% - 1.25rem));
  max-height: min(78vh, 900px);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 80px var(--shadow);
  overflow: hidden;
}

.skill-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.skill-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.skill-modal-copy,
.skill-modal-close {
  flex: none;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line);
}

.skill-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.83rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.skill-modal-body code {
  font: inherit;
}

.signals-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-preview-card {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}

.content-preview img {
  display: block;
  width: 100%;
  max-width: 56rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.content-preview figcaption {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-grid .github-links {
  display: grid;
  gap: 0.6rem;
}

.contact-grid .github-links a {
  text-decoration: none;
}

.contact-grid .github-links a:hover,
.contact-grid .github-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.x-embed-shell {
  border: 1px solid var(--line);
  background: var(--surface-low);
}

.x-profile-card {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.x-profile-copy {
  display: grid;
  gap: 0.6rem;
}

.x-profile-handle {
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.x-profile-name {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.x-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .theme-toggle:hover,
  .embed-card:hover,
  .info-card:hover,
  .criteria-card:hover,
  .process-map:hover {
    transform: translateY(-2px);
  }

  .button:hover {
    border-color: var(--foreground);
    box-shadow: 0 10px 24px -18px var(--foreground);
  }

  .button:hover::after {
    opacity: 1;
    transform: translateX(2px);
  }

  .button-ghost:hover {
    background: var(--foreground);
    color: var(--background);
  }

  .theme-toggle:hover {
    border-color: var(--foreground);
  }

  .embed-card:hover,
  .info-card:hover,
  .criteria-card:hover,
  .process-map:hover {
    box-shadow: 0 16px 34px -28px var(--shadow);
  }

  .embed-card:hover .x-profile-handle {
    color: var(--foreground);
    opacity: 1;
    transform: translateX(2px);
  }

  .panel:hover .section-intro::after {
    transform: scaleX(1);
  }

  .hero-terminal:hover .terminal-body p {
    opacity: 0.72;
  }

  .hero-terminal:hover .terminal-body p:hover {
    color: var(--foreground);
    opacity: 1;
    transform: translateX(4px);
  }

  .hero-terminal:hover .latency {
    opacity: 0.52;
  }

  .hero-terminal:hover .terminal-body p:hover .latency {
    opacity: 0.9;
  }

  .process-step:hover {
    border-color: var(--foreground);
  }

  .process-step:hover::before {
    opacity: 0.2;
  }

  .process-step-skill:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, currentColor 10%, transparent);
  }

  .scroll-rail a:hover span {
    transform: scale(1.15);
    border-color: var(--foreground);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .philosophy-grid,
  .vault-grid,
  .signals-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'copy'
      'visual'
      'terminal';
  }

  .hero-copy,
  .hero-visual,
  .hero-terminal,
  .criteria-card,
  .philosophy-grid > *,
  .signals-grid > * {
    border-right: 0;
    border-left: 0;
  }

  .hero-copy {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-right: 0;
  }

  .hero-visual {
    min-height: auto;
    border-top: 1px solid var(--line);
  }

  .hero-visual-frame {
    width: min(100%, 36rem);
    min-height: 28rem;
  }

  .process-column {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
  }

  .skill-card:nth-child(odd) {
    border-right: 0;
  }

  .skill-card:last-child {
    border-bottom: 0;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 4.5rem;
  }

  .site-header {
    height: var(--header-height);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'brand toggle';
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.85rem;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .theme-toggle {
    grid-area: toggle;
    justify-self: end;
  }

  .site-nav,
  .scroll-rail {
    display: none;
  }

  .panel-inner {
    width: min(100%, calc(100% - 1rem));
  }

  .scroll-rail {
    right: 0.6rem;
    top: auto;
    bottom: 0.8rem;
    transform: none;
    flex-direction: row;
    gap: 0.22rem;
    padding: 0.22rem;
  }

  .scroll-rail a {
    width: 1.55rem;
    height: 1.55rem;
  }

  .scroll-rail a span {
    width: 0.42rem;
    height: 0.42rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-copy,
  .hero-visual,
  .hero-terminal,
  .info-card,
  .criteria-card,
  .process-column,
  .process-map,
  .embed-card,
  .section-intro {
    padding: 1rem;
  }

  .hero-copy {
    padding-top: 4.5rem;
    padding-bottom: 1.2rem;
  }

  .hero-visual {
    padding: 0;
    align-items: stretch;
    background: transparent;
  }

  .hero-visual-frame {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-left: 0;
    border-right: 0;
  }

  .hero-etching {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    opacity: 0.78;
  }

  .hero-terminal {
    padding-top: 0.9rem;
  }

  .process-step-skill {
    min-height: 1.8rem;
    padding-inline: 0.45rem;
    font-size: 0.63rem;
  }

  .skill-modal {
    padding-top: 2.5vh;
  }

  .skill-modal-panel {
    width: min(100%, calc(100% - 0.8rem));
    max-height: 86vh;
  }

  .skill-modal-head {
    align-items: start;
  }

  .skill-modal-actions {
    gap: 0.45rem;
  }

  .skill-modal-copy,
  .skill-modal-close {
    min-height: 1.9rem;
    padding-inline: 0.6rem;
  }

  .skill-modal-head,
  .skill-modal-body {
    padding-inline: 0.85rem;
  }

  .hero-actions,
  .x-profile-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
